Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
survival.h
1/* Renegade Scripts.dll
2 Copyright 2013 Tiberian Technologies
3
4 This file is part of the Renegade scripts.dll
5 The Renegade scripts.dll is free software; you can redistribute it and/or modify it under
6 the terms of the GNU General Public License as published by the Free
7 Software Foundation; either version 2, or (at your option) any later
8 version. See the file COPYING for more details.
9 In addition, an exemption is given to allow Run Time Dynamic Linking of this code with any closed source module that does not contain code covered by this licence.
10 Only the source code to the module(s) containing the licenced code has to be released.
11*/
12#pragma once
13class SUR_Spawn_Delay : public ScriptImpClass {
14 void Created(GameObject *obj);
15 void Timer_Expired(GameObject *obj,int number);
16};
17
18//Game Type
19class SUR_Generator_Zone : public ScriptImpClass {
20 int energy;
21 int curEmitter;
22 void Created(GameObject *obj);
23 void Timer_Expired(GameObject *obj,int number);
24 void Entered(GameObject *obj,GameObject *enterer);
25 public: void Register_Auto_Save_Variables();
26};
27
28class SUR_MiniGen : public ScriptImpClass {
29 void Created(GameObject *obj);
30 void Timer_Expired(GameObject *obj,int number);
31 void Killed(GameObject *obj,GameObject *killer);
32};
33
34class SUR_NHB : public ScriptImpClass {
35 int vpadAttackers;
36 int GDIGenAttackers;
37 int NodGenAttackers;
38 int heliAttackers;
39 int jobRequests;
40 int Targets[11];
41 void Created(GameObject *obj);
42 void Custom(GameObject *obj,int type,int param,GameObject *sender);
43 public: void Register_Auto_Save_Variables();
44};
45
46class SUR_NHB_Soldier : public ScriptImpClass {
47 int command;
48 Vector3 oldPos;
49 bool atDes;
50 void Created(GameObject *obj);
51 void Custom(GameObject *obj,int type,int param,GameObject *sender);
52 void Killed(GameObject *obj,GameObject *killer);
53 void Timer_Expired(GameObject *obj,int number);
54 public: void Register_Auto_Save_Variables();
55};
56
57class SUR_Obj_Destroyer : public ScriptImpClass {
58 void Death(GameObject *obj,GameObject *killer);
59};
60
61class SUR_New_PT : public ScriptImpClass {
62 void Custom(GameObject *obj,int type,int param,GameObject *sender);
63};
64
65class SUR_New_PT_Reciever : public ScriptImpClass {
66 void Custom(GameObject *obj,int type,int param,GameObject *sender);
67};
68
69class SUR_APC_AI : public ScriptImpClass {
70 int aiCount;
71 void Created(GameObject *obj);
72 void Custom(GameObject *obj,int type,int param,GameObject *sender);
73 public: void Register_Auto_Save_Variables();
74};
75
76class SUR_Orca_AI : public ScriptImpClass {
77 void Created(GameObject *obj);
78 void Death(GameObject *obj,GameObject *killer);
79 void Custom(GameObject *obj,int type,int param,GameObject *sender);
80 void Action_Complete(GameObject *obj,int action_id,ActionCompleteReason complete_reason);
81};
82
83class SUR_Chinook_AI : public ScriptImpClass {
84 void Custom(GameObject *obj,int type,int param,GameObject *sender);
85};
86
87class SUR_Dep_Turret : public ScriptImpClass {
88 int id1;
89 int id2;
90 int id3;
91 int objtype;
92 void Created(GameObject *obj);
93 void EnemySeen(GameObject *obj,GameObject *enemy);
94 void Action_Complete(GameObject *obj,int action_id,ActionCompleteReason complete_reason);
95 void Timer_Expired(GameObject *obj,int number);
96 public: void Register_Auto_Save_Variables();
97};
98
99class SUR_Timed_Death : public ScriptImpClass {
100 void Created(GameObject *obj);
101 void Timer_Expired(GameObject *obj,int number);
102};
103
104class SUR_GrantPowerup_OnEntry : public ScriptImpClass {
105 void Entered(GameObject *obj,GameObject *enterer);
106};