git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@300 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2006-06-01 22:01:32 +00:00
parent c40015be6c
commit e9159704ba
27 changed files with 2957 additions and 2086 deletions
+9 -1
View File
@@ -283,7 +283,7 @@ void drawhudmodel(int start, int end, float speed, int base)
{
sprintf_sd(mdl)("hudguns/%s", hudgunnames[player1->gunselect]);
rendermodel(mdl, start, end, 0, 1.0f, player1->o.x, player1->o.z, player1->o.y, player1->yaw+90, player1->pitch, false, 1.0f, speed, 0, base);
};
};
void drawhudgun(int w, int h, float aspect, int farplane)
@@ -377,6 +377,8 @@ void gl_drawframe(int w, int h, float changelod, float curfps)
xtraverts = 0;
renderclients();
//monsterrender();
BotManager.RenderBots(); // Added by Rick
renderentities();
@@ -389,6 +391,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(w, h, aspect, farplane);
overbright(1);