mirror of
https://github.com/blendogames/quadrilateralcowboy.git
synced 2024-11-24 21:11:49 +00:00
26 lines
324 B
C
26 lines
324 B
C
|
|
||
|
#define BARCOUNT 8
|
||
|
|
||
|
class idDoorFolding : public idEntity
|
||
|
{
|
||
|
public:
|
||
|
CLASS_PROTOTYPE( idDoorFolding );
|
||
|
|
||
|
void Think( void );
|
||
|
void Spawn( void );
|
||
|
|
||
|
private:
|
||
|
|
||
|
enum { OFF, ON };
|
||
|
int state;
|
||
|
|
||
|
void Event_activate( int value );
|
||
|
|
||
|
idMover * movers[BARCOUNT];
|
||
|
|
||
|
|
||
|
idBeam* beam[BARCOUNT*8];
|
||
|
|
||
|
};
|
||
|
|