Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
trs:room_geometry [2020/05/25 12:24]
zdimension [Room Sector Structure]
trs:room_geometry [2020/05/25 12:26] (current)
zdimension
Line 680: Line 680:
     uint16_t NumZsectors;                                  // ``Width'' of sector list     uint16_t NumZsectors;                                  // ``Width'' of sector list
     uint16_t NumXsectors;                                  // ``Height'' of sector list     uint16_t NumXsectors;                                  // ``Height'' of sector list
-    tr_room_sector SectorList[NumXsectors * NumZsectors];  // List of sectors in this room+    tr3_room_sector SectorList[NumXsectors * NumZsectors];  // List of sectors in this room
  
     int16_t AmbientIntensity;  // Affects externally-lit objects     int16_t AmbientIntensity;  // Affects externally-lit objects
Line 721: Line 721:
     uint16_t NumZsectors;                                  // ``Width'' of sector list     uint16_t NumZsectors;                                  // ``Width'' of sector list
     uint16_t NumXsectors;                                  // ``Height'' of sector list     uint16_t NumXsectors;                                  // ``Height'' of sector list
-    tr_room_sector SectorList[NumXsectors * NumZsectors]; // List of sectors in this room+    tr3_room_sector SectorList[NumXsectors * NumZsectors]; // List of sectors in this room
  
     uint32_t RoomColour;        // In ARGB format!     uint32_t RoomColour;        // In ARGB format!
Line 765: Line 765:
  
     uint16_t* NumPortals; // points to tr5_room_data.NumPortals     uint16_t* NumPortals; // points to tr5_room_data.NumPortals
-    tr_room_sector* SectorList; // points to tr5_room_data.SectorList+    tr3_room_sector* SectorList; // points to tr5_room_data.SectorList
  
     tr5_room_light* Lights;     // points to tr5_room_data.Lights     tr5_room_light* Lights;     // points to tr5_room_data.Lights
Line 849: Line 849:
     tr5_room_light Lights[NumLights];    // Data for the lights (88 bytes * NumRoomLights)     tr5_room_light Lights[NumLights];    // Data for the lights (88 bytes * NumRoomLights)
     tr5_fog_bulb FogBulbs[NumFogBulbs];      // Data for the fog bulbs (36 bytes * NumFogBulbs)     tr5_fog_bulb FogBulbs[NumFogBulbs];      // Data for the fog bulbs (36 bytes * NumFogBulbs)
-    tr_room_sector SectorList[NumXSectors * NumZSectors]; // List of sectors in this room+    tr3_room_sector SectorList[NumXSectors * NumZSectors]; // List of sectors in this room
  
     uint16_t NumPortals;                 // Number of visibility portals to other rooms     uint16_t NumPortals;                 // Number of visibility portals to other rooms
trs/room_geometry.txt · Last modified: 2020/05/25 12:26 by zdimension
Back to top
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0