Eugene Sandulenko
8bff50d668
WATCHMAKER: sprintf -> snprintf in some places
2023-08-13 00:38:24 +02:00
D G Turner
21e69746d9
WATCHMAKER: Further Fixes for GCC Compiler Warnings
2023-05-04 01:27:58 +01:00
D G Turner
2f677c2529
WATCHMAKER: Fix Likely Incorrect Code Causing GCC Compiler Warnings
...
This will need to be checked for correct operation, but the original
code looks like an oversight.
2023-05-02 21:31:56 +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
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
349bf36149
WATCHMAKER: Apply astyle formatting to code base.
2023-04-29 13:01:08 +02:00
Einar Johan Trøan Sømåen
90f4baa744
WATCHMAKER: Fix wrong argument order to seek()
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