*** empty log message ***

This commit is contained in:
2003-10-15 00:57:23 -04:00
parent 143c82175e
commit 4c6f5dfb15
69 changed files with 8788 additions and 0 deletions

58
include/entities.h Normal file
View File

@@ -0,0 +1,58 @@
using namespace std;
struct LIGHT
{
GLfloat coords[4];
GLfloat color[4];
};
struct PLAYER_START
{
Vec3f coords;
Vec3f heading;
};
struct PLAYER_DEATHMATCH_START
{
Vec3f coords;
Vec3f heading;
};
struct BOT_START
{
Vec3f coords;
Vec3f heading;
string name;
};
struct GEOMETRY
{
int x;
};
struct PROJECTILE
{
Vec3f heading;
Vec3f start;
Vec3f end;
int dammage;
float creation;
};
//const PROJECTILE BULLET = {{0,0,0},{0,0,0},{0,0,0},5};
//const PROJECTILE SPIKE = {{0,0,0},{0,0,0},{0,0,0},10};
struct ENTITY
{
PLAYER_START* Player_Start;
int numPlayer_Start;
PLAYER_DEATHMATCH_START* Player_Deathmatch_Start;
int numPlayer_Deathmatch_Start;
BOT_START* Bot_Start;
int numBot_Start;
GEOMETRY* Geometry;
int numGeometry;
PROJECTILE* Projectile;
int numProjectile;
ENTITY();
};
enum ITEM_TYPE{/*all weapons go first*/WEAPON_LASERPISTOL = 1, WEAPON_SHOTGUN = 2, ITEM_BANDAGES = 4, RUNE_DAMMAGEMULTIPLIER = 8, RUNE_PROTECTION = 16, RUNE_VAMPIRE = 32, RUNE_SPEED = 64, RUNE_DOC = 128};//This semicolon got rid of 107 errors and no warnings