mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 22:35:37 +03:00
c71be87a3a
Oh dear, what has DS done now?
22 lines
497 B
C++
Executable File
22 lines
497 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
|
|
|