This repository has been archived by the owner on Dec 18, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vgm_agtfix.cpp
66 lines (50 loc) · 2.27 KB
/
vgm_agtfix.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#include "vgm_agtfix.h"
void GDI_AGT::Created(GameObject* AGTObj) {
/* Due to licensing, portions of this file have been omitted. */
}
void GDI_AGT::Killed(GameObject* AGTObj, GameObject* KillerObj) {
for (int I = 0; I < 4; I++) {
Commands->Destroy_Object(Commands->Find_Object(GunID[I]));
}
Commands->Destroy_Object(Commands->Find_Object(MissileID));
}
void GDI_AGT::Custom(GameObject* AGTObj, int Message, int Param, GameObject* Sender) {
/* Due to licensing, portions of this file have been omitted. */
}
void GDI_AGT_Gun::Created(GameObject* GunObj) {
/* Due to licensing, portions of this file have been omitted. */
}
void GDI_AGT_Gun::Destroyed(GameObject* GunObj) {
Commands->Action_Reset(GunObj, 100);
}
void GDI_AGT_Gun::Enemy_Seen(GameObject* GunObj, GameObject* EnemyObj) {
/* Due to licensing, portions of this file have been omitted. */
}
void GDI_AGT_Gun::Timer_Expired(GameObject* GunObj, int Number) {
/* Due to licensing, portions of this file have been omitted. */
}
void GDI_AGT_Gun::Custom(GameObject* MissileObj, int Message, int Param, GameObject* SenderObj) {
/* Due to licensing, portions of this file have been omitted. */
}
bool GDI_AGT_Gun::IsValidEnemy(GameObject* GunObj, GameObject* EnemyObj) {
/* Due to licensing, portions of this file have been omitted. */
}
void GDI_AGT_Missile::Created(GameObject* MissileObj) {
/* Due to licensing, portions of this file have been omitted. */
}
void GDI_AGT_Missile::Destroyed(GameObject* MissileObj) {
Commands->Action_Reset(MissileObj, 100);
}
void GDI_AGT_Missile::Timer_Expired(GameObject* MissileObj, int Number) {
/* Due to licensing, portions of this file have been omitted. */
}
void GDI_AGT_Missile::Custom(GameObject* MissileObj, int Message, int Param, GameObject* SenderObj) {
/* Due to licensing, portions of this file have been omitted. */
}
bool GDI_AGT_Missile::IsValidEnemy(GameObject* MissileObj, GameObject* EnemyObj) {
/* Due to licensing, portions of this file have been omitted. */
}
ScriptRegistrant<GDI_AGT> M00_Advanced_Guard_Tower_Registrant("M00_Advanced_Guard_Tower","");
ScriptRegistrant<GDI_AGT> GDI_AGT_Registrant("GDI_AGT","");
ScriptRegistrant<GDI_AGT_Gun> GDI_AGT_Gun_Registrant("GDI_AGT_Gun","");
ScriptRegistrant<GDI_AGT_Missile> GDI_AGT_Missile_Registrant("GDI_AGT_Missile","");