version 1.8 | | version 1.9 |
---|
| | |
* main() for Inferno | | * main() for Inferno |
* | | * |
* $Log$ | | * $Log$ |
| | * Revision 1.9 1999/09/18 07:56:03 donut |
| | * changed call to texmerge_init so it'll cache as much as possible (great boost on OGL, since uploading textures to the card is slow) |
| | * |
* Revision 1.8 1999/09/16 03:34:15 donut | | * Revision 1.8 1999/09/16 03:34:15 donut |
* cleaned up fullscreen toggle code to make it easy to add support to other targets later, and added -nosdlvidmodecheck | | * cleaned up fullscreen toggle code to make it easy to add support to other targets later, and added -nosdlvidmodecheck |
* | | * |
| | |
mprintf( (0, "\nInitializing 3d system..." )); | | mprintf( (0, "\nInitializing 3d system..." )); |
g3_init(); | | g3_init(); |
mprintf( (0, "\nInitializing texture caching system..." )); | | mprintf( (0, "\nInitializing texture caching system..." )); |
texmerge_init( 10 ); // 10 cache bitmaps | | if (FindArg( "-lowmem" )) |
| | texmerge_init( 10 ); // if we are low on mem, only use 10 cache bitmaps |
| | else |
| | texmerge_init( 9999 ); // otherwise, use as much as possible (its still limited by the #define in texmerge.c, so it won't actually use 9999) -MM |
mprintf( (0, "\nRunning game...\n" )); | | mprintf( (0, "\nRunning game...\n" )); |
#ifdef SCRIPT | | #ifdef SCRIPT |
script_init(); | | script_init(); |