bool reader = true;
            for(loop = 0; loop < 255; loop++) {
                cambounds[loop].active = false;
                cambounds[loop].direction = 0;
                cambounds[loop].x1 = 0;
                cambounds[loop].y1 = 0;
                cambounds[loop].x2 = 0;
                cambounds[loop].y2 = 0;
                if(reader) {
                    fread(&cambounds[loop].active, sizeof(bool), 1, level);
                    fread(&cambounds[loop].x1, sizeof(int), 1, level);
                    fread(&cambounds[loop].y1, sizeof(int), 1, level);
                    fread(&cambounds[loop].x2, sizeof(int), 1, level);
                    fread(&cambounds[loop].y2, sizeof(int), 1, level);
                    fread(&cambounds[loop].direction, sizeof(char), 1, level);
                }
                if(cambounds[loop].direction == -1) {
                    reader = false;
                    loop = 255;
                }
            }