Open main menu
586 bytes removed ,  07:29, 2 January 2008
→‎Misc: Removed some done things (even if it's not my user page...)
(→‎Misc: Removed some done things (even if it's not my user page...))
Line 79: Line 79:
=== Misc ===
=== Misc ===
* Remove the 'addDefaultDirectory' calls from runGame in base/main.cpp. Reason: Their presence causes an asymmetry between the "detect a game" and "run a game" use cases, as different files are "seen" in each case. This can lead to subtle bugs, and also causes ugly code duplication in the AdvancedDetector code right now (there to work around asymmetries like this one)
* Remove the 'addDefaultDirectory' calls from runGame in base/main.cpp. Reason: Their presence causes an asymmetry between the "detect a game" and "run a game" use cases, as different files are "seen" in each case. This can lead to subtle bugs, and also causes ugly code duplication in the AdvancedDetector code right now (there to work around asymmetries like this one)
* Right now the SCUMM engine uses zlib directly. This causes problems when building plugins, as we have to link the SCUMM engine against zlib, so we have to hack the build system to do so. It also causes backlinking problems on e.g. Windows
** Solution #1: Let the ScummVM binary re-export the zlib API. Pro: Very clean and elegant, Con: Might not be possible on all targets (investigate)
** Solution #2: Create thin wrappers around all relevant zlib APIs, put those into a new file common/zlib.cpp, and make SCUMM use those
* add plugin API to fetch a fresh desc string for a given target ?!?
* add plugin API to fetch a fresh desc string for a given target ?!?
* completely get rid of #pragma pack for increased portability
* completely get rid of #pragma pack for increased portability
* rename stdafx.h to prefix.h and include it everywhre first
* rename scummsys.h; and/or split it (types.h, defs.h ... ?)
* rename scummsys.h; and/or split it (types.h, defs.h ... ?)


561

edits