D G Turner
c32aa4e4c6
WATCHMAKER: Fix Redundant Null Pointer Test GCC Compiler Warnings
2023-05-27 23:24:28 +01:00
D G Turner
e092ea2a69
WATCHMAKER: Add FIXME Comment Regarding Sequence Point Issue
...
No functional change.
2023-05-22 23:02:04 +01:00
D G Turner
5300cc6d0a
WATCHMAKER: Fix Sequence Point GCC Compiler Warning
...
This should be checked for the correct logic, as I am unsure if this
code sequence is the intended one. However, this is better than code
with sequence point ambiguity.
2023-05-22 22:56:43 +01:00
D G Turner
c4371efcb1
WATCHMAKER: Further Fixes for GCC Compiler Warnings
2023-05-07 02:20:25 +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
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
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
55cd5c8f20
WATCHMAKER: Improve some const usage (to avoid casting away constness)
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
55730a1055
WATCHMAKER: Improve some initialization issues.
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