removing unused function

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3008 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-10-14 10:23:06 +00:00
parent 6daec85884
commit bd47f99255
2 changed files with 0 additions and 7 deletions
-6
View File
@@ -250,12 +250,6 @@ bool collide(physent *d, bool spawn, float drop, float rise)
return true;
}
float floor(short x, short y)
{
sqr *s = S(x, y);
return s->type == FHF ? s->floor-(s->vdelta+S(x+1,y)->vdelta+S(x,y+1)->vdelta+S(x+1,y+1)->vdelta)/16.0f : s->floor;
}
VARP(maxroll, 0, 0, 20);
VAR(recoilbackfade, 0, 100, 1000);
-1
View File
@@ -536,7 +536,6 @@ extern void entinmap(physent *d);
extern void physicsframe();
extern void mousemove(int dx, int dy);
extern void fixcamerarange(physent *cam = camera1);
extern float floor(short x, short y);
extern void updatecrouch(playerent *p, bool on);
extern bool objcollide(physent *d, vec &objpos, float objrad, float objheight);
extern bool collide(physent *d, bool spawn = false, float drop = 0, float rise = 0);