*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@885 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2007-04-02 04:09:53 +00:00
parent cd34a82291
commit 71322b82bf
+7
View File
@@ -349,6 +349,7 @@ void drawminimap()
camera1->yaw = 0;
glViewport(0, 0, size, size);
glClearDepth(0.0);
glClearColor(0, 0, 0, 1);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
@@ -373,10 +374,15 @@ void drawminimap()
setupworld();
overbright(2);
glDepthFunc(GL_ALWAYS);
renderstrips();
glDepthFunc(GL_LESS);
renderentities();
overbright(1);
float hf = hdr.waterlevel-0.3f;
renderwater(hf);
minimap = false;
glBindTexture(GL_TEXTURE_2D, minimaptex);
@@ -388,6 +394,7 @@ void drawminimap()
glDisable(GL_TEXTURE_2D);
glViewport(0, 0, scr_w, scr_h);
glClearDepth(1.0);
}
VARP(fov, 90, 100, 120);