19 CUSTOM_EVENT_REDTIB_ENTERED = 10499,
20 CUSTOM_EVENT_GREENTIB_ENTERED = 10500,
21 CUSTOM_EVENT_BLUETIB_ENTERED = 10501,
22 CUSTOM_EVENT_TIB_ENTERED = 10502,
23 CUSTOM_EVENT_HARVY_LEFT_TIBFIELD = 10503,
24 CUSTOM_EVENT_HARVY_DEPOSITING = 10504,
30 TIBTYPE_GREEN = 10100,
37HashTemplateClass<uint,uint> CharacterID;
41class DB_Research_Listener :
public ScriptImpClass {
42 void Created(GameObject *obj);
45class DB_Research_Infantry_Armor_Terminal :
public ScriptImpClass {
46 void Created(GameObject *obj);
47 void Poked(GameObject *obj, GameObject *poker);
48 void Timer_Expired(GameObject *obj,
int number);
49 void Detach(GameObject *obj);
50 void Custom(GameObject *obj,
int message,
int param, GameObject *sender);
52 bool Upgrading_In_Progress;
53 bool Upgrade_Completed;
56 const char *UpgradeName;
57 const char *Upgrade_In_Progress_Sound;
58 const char *Upgrade_Money_Added_Sound;
59 const char *Upgrade_Completed_Sound;
60 const char *Upgrade_Insufficient_Funds_Sound;
61 const char *Upgrade_Access_Denied_Sound;
62 const char *Upgrade_Complete_Text;
63 const char *Upgrade_In_Progress_Text;
64 float Upgrade_Add_Funds_Cost;
65 float Upgrade_Total_Cost;
66 float Upgrade_Current_Funds;
69class DB_Rebuild_Building_Terminal :
public ScriptImpClass {
70 void Created(GameObject *obj);
71 void Poked(GameObject *obj, GameObject *poker);
72 void Timer_Expired(GameObject *obj,
int number);
73 void Detach(GameObject *obj);
74 void Custom(GameObject *obj,
int message,
int param, GameObject *sender);
76 bool Upgrading_In_Progress;
77 bool Upgrade_Completed;
80 const char *UpgradeName;
81 const char *Upgrade_In_Progress_Sound;
82 const char *Upgrade_Money_Added_Sound;
83 const char *Upgrade_Completed_Sound;
84 const char *Upgrade_Insufficient_Funds_Sound;
85 const char *Upgrade_Access_Denied_Sound;
86 const char *Upgrade_Complete_Text;
87 const char *Upgrade_In_Progress_Text;
88 float Upgrade_Add_Funds_Cost;
89 float Upgrade_Total_Cost;
90 float Upgrade_Current_Funds;
93class DB_Research_Infantry_Armor_Ready :
public ScriptImpClass {
94 void Created(GameObject *obj);
97class DB_Research_Infantry_Armor_Ability :
public ScriptImpClass {
100 void Created(GameObject *obj);
101 void Custom(GameObject *obj,
int message,
int param, GameObject *sender);
104class DB_Research_Infantry_Hitpoints_Ability :
public ScriptImpClass {
107 void Created(GameObject *obj);
108 void Custom(GameObject *obj,
int message,
int param, GameObject *sender);
111class DB_Research_Weapon_Upgrade :
public ScriptImpClass {
115 StringClass RemoveWeapon;
116 void Created(GameObject *obj);
117 void Custom(GameObject *obj,
int message,
int param, GameObject *sender);
120class DB_Research_Armor_Model :
public ScriptImpClass {
123 void Created(GameObject *obj);
124 void Custom(GameObject *obj,
int message,
int param, GameObject *sender);
127class DB_Research_Credit_Tick :
public ScriptImpClass {
130 void Created(GameObject *obj);
131 void Custom(GameObject *obj,
int message,
int param, GameObject *sender);
135class DB_Tiberium_Harvester :
public ScriptImpClass
140 void Created(GameObject *obj);
141 void Custom(GameObject *obj,
int message,
int param, GameObject *sender);
142 void Timer_Expired(GameObject *obj,
int number);
149 float CashCollected[8];
153class DB_Tiberium_Field :
public ScriptImpClass
155 void Created(GameObject *obj);
156 void Entered(GameObject *obj, GameObject *enterer);
157 void Exited(GameObject *obj, GameObject *exiter);
161class DB_Tiberium_Deposit :
public ScriptImpClass
163 void Entered(GameObject *obj, GameObject *enterer);
166class DB_DeployableTank_Upgradeable :
public JFW_Key_Hook_Base {
171 void Created(GameObject *obj);
172 void Animation_Complete(GameObject *obj,
const char *animation_name);
174 void Custom(GameObject *obj,
int type,
int param,GameObject *sender);
175 void Destroyed(GameObject *obj);
176 public:
void Register_Auto_Save_Variables();