diff options
| author | Steven Fuller <relnev@icculus.org> | 2001-08-11 07:10:38 +0000 |
|---|---|---|
| committer | Patryk Obara <dreamer.tan@gmail.com> | 2019-08-20 02:22:36 +0200 |
| commit | ba13de4472c48cb06081a1c2eb388c1b641af2cf (patch) | |
| tree | 44720b5d9d2568299e3401a43795ebf685ea550b /src/main.c | |
| parent | 9dadcb80240ed2e8df118d92940a954f0e7e669e (diff) | |
Added texture drawing for particles (drawing not yet correct due to black
borders around the images).
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 19 |
1 files changed, 13 insertions, 6 deletions
@@ -69,8 +69,13 @@ int InitialiseWindowsSystem() glLoadIdentity(); glEnable(GL_BLEND); + glEnable(GL_DEPTH_TEST); + glDepthFunc(GL_LEQUAL); + glEnable(GL_TEXTURE_2D); + + glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST); #endif return 0; } @@ -437,16 +442,18 @@ int main(int argc, char *argv[]) // AvP.PlayerType = I_Alien; -// AvP.PlayerType = I_Marine; -// SetLevelToLoad(AVP_ENVIRONMENT_DERELICT); /* starting marine level */ + AvP.PlayerType = I_Marine; + SetLevelToLoad(AVP_ENVIRONMENT_DERELICT); /* starting marine level */ // SetLevelToLoad(AVP_ENVIRONMENT_INVASION); /* because the menus aren't implemented */ - AvP.PlayerType = I_Predator; - SetLevelToLoad(AVP_ENVIRONMENT_WATERFALL); +// 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_E3DEMOSP); /* demo level */ + // while(AvP_MainMenus()) { d3d_light_ctrl.ctrl = LCCM_NORMAL; |
