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:
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user