17 if ((version != 0xFF080038) && (version != 0xFF180038)) {
60 for (
unsigned int l = 0; l < numLights; l++) {
87 std::vector<IndexedRectangle>& triangles,
88 uint16_t& numRectangles, uint16_t& numTriangles) {
90 for (
unsigned int r = 0; r < numRectangles; r++) {
100 rectangles.emplace_back(texture, vertex1, vertex2, vertex3, vertex4);
104 for (
unsigned int t = 0; t < numTriangles; t++) {
113 triangles.emplace_back(texture, vertex1, vertex2, vertex3);
virtual void loadPalette()
virtual void loadAnimatedTextures()
virtual void loadSoundSources()
virtual void loadSoundMap()
virtual void loadRoomMesh(std::vector< IndexedRectangle > &rectangles, std::vector< IndexedRectangle > &triangles, uint16_t &numRectangles, uint16_t &numTriangles)
virtual void loadCinematicFrames()
virtual void seek(long long pos=0)
virtual int load(std::string f)
virtual void loadSampleIndices()
virtual void loadTextiles()
virtual void loadRoomDataEnd(int16_t &alternateRoom, unsigned int &roomFlags)
virtual void loadMeshes()
virtual void loadStaticMeshes()
virtual void loadSprites()
virtual void loadCameras()
virtual uint16_t readU16()
virtual void loadRoomDataEnd(int16_t &alternateRoom, unsigned int &roomFlags)
virtual void loadTextures()
virtual void loadMoveables()
virtual void loadSoundDetails()
virtual uint32_t readU32()
virtual void loadDemoData()
virtual void loadRoomLights()
virtual void loadBoxesOverlapsZones()
virtual void loadFloorData()
virtual void loadExternalSoundFile(std::string f)
int open(std::string f="")