D G Turner
1396df5b2a
WATCHMAKER: Further Fixes For GCC Compiler Warnings
2023-07-09 11:20:43 +01:00
D G Turner
89b0580181
WATCHMAKER: Minor Refactor To Reduce GCC Compiler Warnings
2023-05-21 22:15:44 +01:00
Einar Johan Trøan Sømåen
5747d6fa2a
WATCHMAKER: Fix potential OOB write (Coverity)
...
CID: 1509212
2023-05-09 02:36:28 +02:00
Einar Johan Trøan Sømåen
cbb0a52281
WATCHMAKER: Resolve Windows build errors
2023-04-29 23:31:56 +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
6ea8aefa7b
WATCHMAKER: Reduce the use of t3dFree
...
This does reduce the use of the linear allocator as well.
2023-04-29 13:01:08 +02:00
Einar Johan Trøan Sømåen
7b38c8f7c7
WATCHMAKER: Refactor Add2DStuff logic to avoid global constructors
2023-04-29 13:01:08 +02:00
Einar Johan Trøan Sømåen
439b210bcf
WATCHMAKER: Move WaitingMsgs into MessageSystem
2023-04-29 13:01:08 +02:00
Einar Johan Trøan Sømåen
cf8e6d668d
WATCHMAKER: Refactor Event to be MessageSystem::doEvent
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
6f7a9362e5
WATCHMAKER: Refactor BitmapList to no longer be global
2023-04-29 13:01:08 +02:00
Einar Johan Trøan Sømåen
4119ee5b1a
WATCHMAKER: Fix an unintentional if due to missing braces
2023-04-29 13:01:08 +02:00
Einar Johan Trøan Sømåen
ad47f12c1f
WATCHMAKER: Unstub ME_CONTINUEEFFECT
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