git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@25 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2005-08-08 20:17:39 +00:00
parent 2facde0145
commit 22e6682a65
17 changed files with 1808 additions and 141 deletions
+9 -1
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+, mdls 20+
// std 1+, sky 14+, md3s 20+, mdls 30+
const int MAXFRAMES = 2; // increase to allow more complex shader defs
int mapping[256][MAXFRAMES]; // ( cube texture, frame ) -> ( opengl id, name )
@@ -370,6 +370,8 @@ void gl_drawframe(int w, int h, float changelod, float curfps)
xtraverts = 0;
renderclients();
//monsterrender();
BotManager.RenderBots(); // Added by Rick
renderentities();
@@ -378,6 +380,12 @@ 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);