#include "openal_wrapper.h"
#include "Settings.h"
#include "Input.h"
+#include "Animation.h"
using namespace std;
extern int environment;
extern float texscale;
extern Terrain terrain;
-extern OPENAL_SAMPLE *samp[100];
extern int channels[100];
extern int kTextureSize;
extern float screenwidth,screenheight;
extern float slomodelay;
extern bool floatjump;
extern float volume;
-extern Animation animation[animation_count];
extern Light light;
extern float texdetail;
extern GLubyte bloodText[512*512*3];
won=0;
//campaign=0;
- animation[bounceidleanim].Load((char *)":Data:Animations:Idle",middleheight,neutral);
+ animation[bounceidleanim].Load((char *)"Idle",middleheight,neutral);
numdialogues=0;
player[i].proportionlegs.z=0;
}
- player[i].tempanimation.Load((char *)":Data:Animations:Tempanim",0,0);
+ player[i].tempanimation.Load((char *)"Tempanim",0,0);
player[i].headmorphness=0;
player[i].targetheadmorphness=1;
player[numplayers].proportionlegs.z=0;
}
- player[numplayers].tempanimation.Load((char *)":Data:Animations:Tempanim",0,0);
+ player[numplayers].tempanimation.Load((char *)"Tempanim",0,0);
player[numplayers].damagetolerance=200;