amxmodx/dlls/ns/ns/CSpawn.h
Steve Dudenhoeffer 6cd5790ea8 Initial import of mostly re-written NS module (also synced with ns2amx).
Renamed module to simply "ns".

Module is mostly untested until NS beta 5 is release.
2004-07-22 12:46:35 +00:00

20 lines
495 B
C++
Executable File

#ifndef CSPAWN_H
#define CSPAWN_H
class CSpawn
{
struct spawnpointInfo
{
int type; // 0 = Ready room, 1 = Marine, 2 = Alien
vec3_t location;
spawnpointInfo* next;
spawnpointInfo(int type, vec3_t location, spawnpointInfo* next): type(type), location(location), next(next) {}
} *spawnpointinfo;
public:
CSpawn() { spawnpointinfo = 0; }
~CSpawn() { clear(); }
void clear();
void put(int type, vec3_t location);
float getnum(int type);
vec3_t getpoint(int type, int num);
};
#endif