---- MASTER TRACK STRUCT ----
| 291 | |
| 292 | // ---- MASTER TRACK STRUCT ---- |
| 293 | struct TRACK { |
| 294 | // !!! for arrays : structures are aligned to their largest member |
| 295 | // !!! structure members are aligned on their own size (up to the /Zp parameter) |
| 296 | // Attributes |
| 297 | bool bEmpty; |
| 298 | bool bHSMode; |
| 299 | std::string name; |
| 300 | uint32_t nBlocks; |
| 301 | TRKBLOCK *trk; |
| 302 | POLYGONBLOCK *poly; |
| 303 | XOBJBLOCK *xobj; // xobj[4*blk+chunk]; global=xobj[4*nblocks] |
| 304 | uint32_t hs_morexobjlen; |
| 305 | char *hs_morexobj; // 4N & 4N+1 in HS format (xobj[4N] left empty) |
| 306 | uint32_t nTextures; |
| 307 | TEXTUREBLOCK *texture; |
| 308 | COLFILE col; |
| 309 | std::vector<SHARED::CANPT> cameraAnimation; |
| 310 | // GL 3D Render Data |
| 311 | std::vector<TrackBlock> track_blocks; |
| 312 | std::vector<Entity> global_objects; |
| 313 | std::map<unsigned int, Texture> textures; |
| 314 | GLuint textureArrayID; |
| 315 | glm::vec3 sky_top_colour, sky_bottom_colour; |
| 316 | }; |
| 317 | |
| 318 | struct FCE { |
| 319 | struct TVECTOR { |