diff options
| author | Steven Fuller <relnev@icculus.org> | 2001-08-11 03:36:48 +0000 |
|---|---|---|
| committer | Patryk Obara <dreamer.tan@gmail.com> | 2019-08-20 02:22:36 +0200 |
| commit | 9dadcb80240ed2e8df118d92940a954f0e7e669e (patch) | |
| tree | 5feefeb5d8a7d1c56678750110afecc84cbc7b7f /src/main.c | |
| parent | efc384b7b35943fa96249f747bfa08d22f96242a (diff) | |
Threw in texture loading/drawing.
Blending modes (color/texture) are problematic and texture coordinates
aren't yet perfect.
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -70,6 +70,7 @@ int InitialiseWindowsSystem() glEnable(GL_BLEND); glEnable(GL_DEPTH_TEST); + glEnable(GL_TEXTURE_2D); #endif return 0; } @@ -356,7 +357,7 @@ void ThisFramesRenderingHasBegun() /* TODO: this should be in D3D_DrawBackdrop */ #if 1 - glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); + glClear(GL_COLOR_BUFFER_BIT); #endif } @@ -435,10 +436,16 @@ int main(int argc, char *argv[]) AvP.CurrentEnv = AvP.StartingEnv = 0; /* are these even used? */ // AvP.PlayerType = I_Alien; - AvP.PlayerType = I_Marine; + +// AvP.PlayerType = I_Marine; +// SetLevelToLoad(AVP_ENVIRONMENT_DERELICT); /* starting marine level */ // SetLevelToLoad(AVP_ENVIRONMENT_INVASION); /* because the menus aren't implemented */ - SetLevelToLoad(AVP_ENVIRONMENT_DERELICT); /* starting marine level */ -// SetLevelToLoad(AVP_ENVIRONMENT_LEADWORKS_MP); + + + AvP.PlayerType = I_Predator; + SetLevelToLoad(AVP_ENVIRONMENT_WATERFALL); + +// SetLevelToLoad(AVP_ENVIRONMENT_LEADWORKS_MP); /* multiplayer // while(AvP_MainMenus()) { |
