- Split the IHNM script functions into a different file
- Added two new defines, ENABLE_IHNM and ENABLE_SAGA2 (enabled by default), which can be used to remove the parts of the SAGA engine which are specific to IHNM and SAGA 2 games. Hopefully, this will reduce the size of the engine even more for platforms with little memory (e.g. the Nintendo DS) svn-id: r35672
This commit is contained in:
parent
a09a7678f4
commit
d5b6996c45
29 changed files with 656 additions and 430 deletions
|
@ -321,15 +321,17 @@ const GameDisplayInfo &SagaEngine::getDisplayInfo() {
|
|||
switch (_gameDescription->gameId) {
|
||||
case GID_ITE:
|
||||
return ITE_DisplayInfo;
|
||||
#ifdef ENABLE_IHNM
|
||||
case GID_IHNM:
|
||||
return IHNM_DisplayInfo;
|
||||
#endif
|
||||
case GID_DINO:
|
||||
return IHNM_DisplayInfo; // TODO
|
||||
return FTA2_DisplayInfo; // TODO
|
||||
case GID_FTA2:
|
||||
return FTA2_DisplayInfo;
|
||||
default:
|
||||
error("getDisplayInfo: Unknown game ID");
|
||||
return IHNM_DisplayInfo; // unreachable
|
||||
return ITE_DisplayInfo; // unreachable
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue