From: <geo...@us...> - 2004-02-16 17:19:27
|
Update of /cvsroot/timewarp/source/newships In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17044 Added Files: shpilwsp.h Log Message: using spider special for the mangler --- NEW FILE: shpilwsp.h --- #ifndef __ILWSP__ #define __ILWSP__ #include "../ship.h" #define ILWRATH_FIRE_ANIM_RATE 50 #define ILWRATH_MINE_FIRST_WHIRL_INDEX 13 // #define ILWRATH_MINE_LAST_WHIRL_INDEX 22 // it produced some artifacts #define ILWRATH_MINE_LAST_WHIRL_INDEX 20 #define ILWRATH_MINE_SLOWDOWN_RATE 0.95 #define ILWRATH_SPECIAL_REL_X 0 #define ILWRATH_SPECIAL_REL_Y (-size.y * 0.3) class IlwrathSpiderMine : public SpaceObject { int step; int life; int inc; double randomness; int stoptime; public: IlwrathSpiderMine( SpaceLocation *creator, double ox, double oy, double oangle, double v, int olife, double orandomness, int ostoptime, SpaceSprite* osprite ); void calculate(); void inflict_damage(SpaceObject *other); }; class IlwrathStop : public SpaceLocation { SpaceObject* victim; int life; double old_v; public: IlwrathStop( SpaceLocation* creator, SpaceObject* ovictim, int olife ); virtual void calculate(); }; #endif |