Commit Graph
18 Commits
Author SHA1 Message Date
Eugene Sandulenko 7523b108c5 WATCHMAKER: Fix warnings 2023-09-19 15:10:15 +02:00
Eugene Sandulenko 3271c8af71 WATCHMAKER: Add missing override keywords 2023-08-13 00:43:17 +02:00
Einar Johan Trøan Sømåen ba21401dd7 WATCHMAKER: Avoid going OOB in LoadedFiles (PVS) 2023-05-12 09:55:51 +02:00
Einar Johan Trøan Sømåen 6aee529e33 WATCHMAKER: Fix accidental copy due to auto. (Coverity)
CID: 1509210
2023-05-09 02:36:22 +02:00
Einar Johan Trøan Sømåen 11387039f1 WATCHMAKER: Fix resource leak (Coverity)
CID: 1509207
2023-05-09 02:36:10 +02:00
D G Turner 19e6798303 WATCHMAKER: Further Fixes For GCC Compiler Warnings 2023-04-30 11:18:15 +01:00
Einar Johan Trøan Sømåen cbb0a52281 WATCHMAKER: Resolve Windows build errors 2023-04-29 23:31:56 +02:00
Einar Johan Trøan Sømåen ca12fc10ab WATCHMAKER: Move room loading to RoomManager.
This lets us remove the dependency on malloc.h.

The replacement logic is not 100% perfect, as the original logic will
resize arrays to load additional t3dBODY-structs, and those would then
be free-d alongside their parent. This logic is currently missing, so
we will use some more memory.

However, we won't leak, as all loads are tracked by the RoomManager, and
will be freed when closing/restarting the game.
2023-04-29 13:01:08 +02:00
Einar Johan Trøan Sømåen 70b0a45344 WACTHMAKER: Fix mistake in t3dFinalizeMaterialList 2023-04-29 13:01:08 +02:00
Einar Johan Trøan Sømåen 1a23491270 WATCHMAKER: Clear out some warnings 2023-04-29 13:01:08 +02:00
Einar Johan Trøan Sømåen 349bf36149 WATCHMAKER: Apply astyle formatting to code base. 2023-04-29 13:01:08 +02:00
Einar Johan Trøan Sømåen 7ab6257e67 WATCHMAKER: Various refactors to attempt to improve the face rendering
* Make faces a proper class
* Initialize batch blocks
* Start refactoring t3dSetFaceVisibility.

Also some further use of hasFileExtension
2023-04-29 13:01:08 +02:00
Einar Johan Trøan Sømåen 55730a1055 WATCHMAKER: Improve some initialization issues. 2023-04-29 13:01:08 +02:00
Einar Johan Trøan Sømåen d93eb81837 WATCHMAKER: Clear some warnings 2023-04-29 13:01:08 +02:00
Einar Johan Trøan Sømåen eb276dece4 WATCHMAKER: Start refactoring t3dFACE. 2023-04-29 13:01:08 +02:00
Einar Johan Trøan Sømåen 183baca702 WATCHMAKER: Fix check for empty string. 2023-04-29 13:01:08 +02:00
Einar Johan Trøan Sømåen d52d67482d WATCHMAKER: Drop \n from calls to warning( 2023-04-29 13:01:08 +02:00
Einar Johan Trøan Sømåen ccf209a001 WATCHMAKER: Add all files after initial cleanup. 2023-04-29 13:01:08 +02:00