We should make some sort of unittests for testing the engine gameplay rules. For example, we could run REC files in the engine, and make the end state matches what we expect. For this, we need several things:
[ ] We need to be able to start and stop the engine and reset its state in between. It would be nice if we wouldn't need to initialize stuff like sound, video and input. Some sort of mock/dummy handlers ?
[ ] REC testcase files, obviously. These should probably be generated with the original OMF2097 binary.
[ ] We can probably just use CUnit for making the unittest files. We probably need some sort of simple framework for running the engine in test mode.
We should make some sort of unittests for testing the engine gameplay rules. For example, we could run REC files in the engine, and make the end state matches what we expect. For this, we need several things: