git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@28 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2005-08-14 17:49:15 +00:00
parent a1bba487b4
commit f31e26c5d3
19 changed files with 1200 additions and 2361 deletions
+1 -9
View File
@@ -106,7 +106,7 @@ int texy[MAXTEX];
string texname[MAXTEX];
int curtex = 0;
const int FIRSTTEX = 100; // opengl id = loaded id + FIRSTTEX
// std 1+, sky 14+, md3s 20+, mdls 30+
// std 1+, sky 14+, mdls 20+
const int MAXFRAMES = 2; // increase to allow more complex shader defs
int mapping[256][MAXFRAMES]; // ( cube texture, frame ) -> ( opengl id, name )
@@ -370,8 +370,6 @@ void gl_drawframe(int w, int h, float changelod, float curfps)
xtraverts = 0;
renderclients();
//monsterrender();
BotManager.RenderBots(); // Added by Rick
renderentities();
@@ -380,12 +378,6 @@ void gl_drawframe(int w, int h, float changelod, float curfps)
glDisable(GL_CULL_FACE);
// Added by Rick: Need todo here because of drawing the waypoints
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
WaypointClass.Think();
glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
// end add
drawhudgun(fovy, aspect, farplane);
overbright(1);