no message

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@323 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2006-08-12 19:32:36 +00:00
parent 6453b9a6e3
commit 7353cd8189
11 changed files with 206 additions and 75 deletions
+19
View File
@@ -130,6 +130,23 @@ public:
struct itemstat { int add, start, max, sound; };
// End add
struct md2state
{
int anim, frame, range, basetime;
float speed;
//md2state() : anim(0), frame(0), range(0), basetime(0), speed(100.0f) { };
md2state()
{
anim = frame = range = basetime = 0;
speed = 100.0f;
}
bool operator==(const md2state &o) const { return frame==o.frame && range==o.range && basetime==o.basetime && speed==o.speed; };
bool operator!=(const md2state &o) const { return frame!=o.frame || range!=o.range || basetime!=o.basetime || speed!=o.speed; };
};
struct md3state
{
int anim;
@@ -211,6 +228,8 @@ struct dynent // players & monsters
int nextprimary; // primary after respawning
int skin, nextskin; // skin after respawning
md3state animstate[3];
int lastanimswitchtime;
md2state current, prev;
bool onladder;
int gravity;