diff options
| author | Steven Fuller <relnev@icculus.org> | 2001-08-18 01:04:24 +0000 |
|---|---|---|
| committer | Patryk Obara <dreamer.tan@gmail.com> | 2019-08-20 02:22:36 +0200 |
| commit | c12ec5ff7e430a9885c3edba0f5ff1875f0b6b6a (patch) | |
| tree | 97f2be9e8a281a9364112caf273841670cd76fa7 /src/main.c | |
| parent | c7f0dd737a14348f8c0a015b8367f8eef479aff3 (diff) | |
Removed/disabled some unused code.
Readded second pass specular drawing.
Fixed particle drawing (lights had mysteriously stopped showing up for a
while).
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -89,6 +89,10 @@ int InitialiseWindowsSystem() SDL_WM_SetCaption("Aliens vs Predator", "Aliens vs Predator"); + /* this is for supporting keyboard input processing with little hassle */ + SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL); + SDL_EnableUNICODE(1); /* toggle it to ON */ + /* -w will disable to first fullscreen, -f will turn it on */ // SDL_WM_ToggleFullScreen(surface); // SDL_WM_GrabInput(SDL_GRAB_ON); @@ -105,6 +109,7 @@ int InitialiseWindowsSystem() glEnable(GL_DEPTH_TEST); glDepthFunc(GL_LEQUAL); + glDepthRange(0.0, 1.0); glEnable(GL_TEXTURE_2D); @@ -588,12 +593,15 @@ int main(int argc, char *argv[]) // SetLevelToLoad(AVP_ENVIRONMENT_TEMPLE); /* starting alien level */ AvP.PlayerType = I_Marine; - SetLevelToLoad(AVP_ENVIRONMENT_DERELICT); /* starting marine level */ +// SetLevelToLoad(AVP_ENVIRONMENT_DERELICT); /* starting marine level */ // AvP.PlayerType = I_Predator; // SetLevelToLoad(AVP_ENVIRONMENT_WATERFALL); /* starting predator level */ -// SetLevelToLoad(AVP_ENVIRONMENT_LEADWORKS_MP); /* multiplayer */ + SetLevelToLoad(AVP_ENVIRONMENT_LEADWORKS_MP); /* multiplayer */ +// SetLevelToLoad(AVP_ENVIRONMENT_SUBWAY_MP); + +// SetLevelToLoad(AVP_ENVIRONMENT_LEADWORKS_COOP); /* coop/skirmish */ // SetLevelToLoad(AVP_ENVIRONMENT_E3DEMOSP); /* demo level */ #endif |
