51 lines
622 B
C++
51 lines
622 B
C++
|
#ifndef RPGSCRIPT
|
||
|
#define RPGSCRIPT
|
||
|
|
||
|
#include "EScript.hpp"
|
||
|
#include "Save.hpp"
|
||
|
|
||
|
class Control: public Script
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
void Start();
|
||
|
void Update();
|
||
|
void UpdateEverySecond();
|
||
|
void Die();
|
||
|
void End();
|
||
|
void Pause();
|
||
|
void EndScreen();
|
||
|
|
||
|
Save * UserSave;
|
||
|
int nlevel;
|
||
|
|
||
|
EngineControl * EC;
|
||
|
|
||
|
private:
|
||
|
|
||
|
int etat;
|
||
|
int xmax;
|
||
|
|
||
|
bool particule;
|
||
|
|
||
|
bool practice;
|
||
|
int ptime;
|
||
|
int spawnx;
|
||
|
int spawny;
|
||
|
int spawnetat;
|
||
|
|
||
|
bool usebar;
|
||
|
bool useautoretry;
|
||
|
bool useautocheck;
|
||
|
|
||
|
int jump;
|
||
|
int time;
|
||
|
int attemp;
|
||
|
|
||
|
bool waitingjump;
|
||
|
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif
|