diff options
author | Ludvig Strigeus | 2001-10-09 19:02:28 +0000 |
---|---|---|
committer | Ludvig Strigeus | 2001-10-09 19:02:28 +0000 |
commit | 907f51287c6b5f2f4248dc2ca80e9a286159d790 (patch) | |
tree | 55513139ea82775f5de99652535471ad69959599 /scumm.h | |
parent | 3c2f425cc1296452e466da57ac38c17bba24ff8a (diff) | |
download | scummvm-rg350-907f51287c6b5f2f4248dc2ca80e9a286159d790.tar.gz scummvm-rg350-907f51287c6b5f2f4248dc2ca80e9a286159d790.tar.bz2 scummvm-rg350-907f51287c6b5f2f4248dc2ca80e9a286159d790.zip |
command line parameter support
svn-id: r3414
Diffstat (limited to 'scumm.h')
-rw-r--r-- | scumm.h | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -17,6 +17,9 @@ * * Change Log: * $Log$ + * Revision 1.4 2001/10/09 19:02:28 strigeus + * command line parameter support + * * Revision 1.3 2001/10/09 18:35:02 strigeus * fixed object parent bug * fixed some signed/unsigned comparisons @@ -779,9 +782,6 @@ struct Scumm { void initThings(); - void initVideoMode(); - void initKbdAndMouse(); - void detectSound(); void initRandSeeds(); uint getRandomNumber(uint max); @@ -863,7 +863,7 @@ struct Scumm { void decodeCostData(Actor *a, int frame, uint mask); void scummInit(); - void scummMain(); + void scummMain(int argc, char **argv); void runScript(int script, int a, int b, int16 *lvarptr); void stopScriptNr(int script); @@ -1220,6 +1220,10 @@ struct Scumm { void addToBoxMatrix(byte b); PathVertex *addPathVertex(); void *addToBoxVertexHeap(int size); + + void parseCommandLine(int argc, char **argv); + + void showHelpAndExit(); }; void waitForTimer(Scumm *s); @@ -1231,5 +1235,5 @@ void NORETURN CDECL error(const char *s, ...); void CDECL warning(const char *s, ...); void CDECL debug(int level, const char *s, ...); void checkHeap(); - +void initGraphics(Scumm *s); void updateScreen(Scumm *s); |