*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@551 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2006-11-09 21:05:15 +00:00
parent 8bbc488caa
commit e203e13c82
4 changed files with 4 additions and 10 deletions
+2 -2
View File
@@ -118,8 +118,8 @@ void renderhudgun()
{
if(player1->akimbo && player1->gunselect==GUN_PISTOL) // akimbo
{
renderhudgun(GUN_PISTOL, player1->akimbolastaction[0]);
renderhudgun(GUN_PISTOL, player1->akimbolastaction[1], true);
renderhudgun(GUN_PISTOL, player1->akimbolastaction[0], 0);
renderhudgun(GUN_PISTOL, player1->akimbolastaction[1], 1);
}
else
{
+1 -1
View File
@@ -178,7 +178,7 @@ struct md2 : vertmodel
glTranslatef(x, y, z);
glRotatef(yaw+180, 0, -1, 0);
glRotatef(pitch, 0, 0, 1);
if(scale!=1) glScalef(scale, scale, scale);
if(anim&ANIM_MIRROR || scale!=1) glScalef(anim&ANIM_MIRROR ? -scale : scale, scale, scale);
parts[0]->render(anim, varseed, speed, basetime, d);
glPopMatrix();
+1 -1
View File
@@ -155,7 +155,7 @@ struct md3 : vertmodel
glRotatef(pitch, 0, 0, 1);
glRotatef(-90, 0, 1, 0);
glRotatef(-90, 1, 0, 0);
if(scale!=1) glScalef(scale, scale, scale);
if(anim&ANIM_MIRROR || scale!=1) glScalef(anim&ANIM_MIRROR ? -scale : scale, scale, scale);
parts[0]->render(anim, varseed, speed, basetime, d);
glPopMatrix();
};
-6
View File
@@ -123,11 +123,6 @@ struct vertmodel : model
};
glBindTexture(GL_TEXTURE_2D, id);
if(as.anim&ANIM_MIRROR)
{
glPushMatrix();
glScalef(-1, 1, 1);
};
bool isstat = as.frame==0 && as.range==1;
if(isstat && statlist)
{
@@ -160,7 +155,6 @@ struct vertmodel : model
};
xtraverts += dynlen;
};
if(as.anim&ANIM_MIRROR) glPopMatrix();
};
};