shotlines

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@52 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2005-10-21 23:15:01 +00:00
parent 211d6474c9
commit f676eb873f
3 changed files with 34 additions and 15 deletions
+4 -6
View File
@@ -340,8 +340,7 @@ void gl_drawframe(int w, int h, float changelod, float curfps)
renderstripssky();
glLoadIdentity();
glLoadIdentity();
glRotated(player1->pitch, -1.0, 0.0, 0.0);
glRotated(player1->yaw, 0.0, 1.0, 0.0);
glRotated(90.0, 1.0, 0.0, 0.0);
@@ -365,9 +364,7 @@ void gl_drawframe(int w, int h, float changelod, float curfps)
renderentities();
renderspheres(curtime);
renderents();
rendershotlines();
renderents();
glDisable(GL_CULL_FACE);
@@ -377,7 +374,8 @@ void gl_drawframe(int w, int h, float changelod, float curfps)
int nquads = renderwater(hf);
overbright(2);
render_particles(curtime);
render_particles(curtime);
rendershotlines();
overbright(1);
glDisable(GL_FOG);