Commit Graph
18 Commits
Author SHA1 Message Date
Einar Johan Trøan Sømåen 58c3d3df01 WATCHMAKER: Add logic to use the debug mode game data
(For now this is hardcoded to being disabled)
2025-04-18 01:22:04 +02:00
Einar Johan Trøan Sømåen 3f9d18d593 WATCHMAKER: Wrap Camera handling in a class to avoid global constructors 2024-10-27 01:15:39 +02:00
Hubert Maier 41c14e40aa JANITORIAL: WATCHMAKER: Fix typos 2024-09-16 09:41:26 +03:00
Einar Johan Trøan Sømåen d35b01de23 WATCHMAKER: Fix resource leak in Game (Coverity)
CID: 1509172
2023-05-09 02:36:39 +02:00
D G Turner 21e69746d9 WATCHMAKER: Further Fixes for GCC Compiler Warnings 2023-05-04 01:27:58 +01:00
D G Turner 66ab5bc779 WATCHMAKER: Fix Compilation on Some Platforms 2023-04-29 23:51:57 +01:00
Eugene Sandulenko b2b06a0e1f WATCHMAKER: Remove strcpy and sprintf usage 2023-04-30 00:09:16 +02:00
D G Turner ad486c22e2 WATCHMAKER: Further Fixes For GCC Compiler Warnings 2023-04-29 21:37:44 +01: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 d2a7afba15 WATCHMAKER: Movie mesh modifiers into a class.
This reduces the number of global constructors called.
2023-04-29 13:01:08 +02:00
Einar Johan Trøan Sømåen 7d0fe48aed WATCHMAKER: Move scheduler global variables into a class.
To reduce the number of global constructors in play.
2023-04-29 13:01:08 +02:00
Einar Johan Trøan Sømåen 634c448cb4 WATCHMAKER: Drop unused arg to t3dLoadCharacter 2023-04-29 13:01:08 +02:00
Einar Johan Trøan Sømåen 6caa7b59aa WATCHMAKER: Remove most system includes from engine
Only leaving the malloc.h include, as that needs some further code changes.
2023-04-29 13:01:08 +02:00
Einar Johan Trøan Sømåen 4fac22a1b7 WATCHMAKER: Move INV VARS into Init, to reduce the number of global constructors. 2023-04-29 13:01:08 +02:00
Einar Johan Trøan Sømåen a0191f939f WATCHMAKER: Unstub UpdateRoomVisibility
While at it, also drop cstring/stdarg includes in ll_util.cpp
2023-04-29 13:01:08 +02:00
Einar Johan Trøan Sømåen 29f690682d WATCHMAKER: Implement font loading. 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