Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
scud.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 SCUD_Turret_Spawn : public ScriptImpClass {
14 int turID;
15 void Created(GameObject *obj);
16 void Killed(GameObject *obj,GameObject *killer);
17 public: void Register_Auto_Save_Variables();
18};
19
20class SCUD_Harvester_Zone: public ScriptImpClass {
21 bool enabled;
22 void Timer_Expired(GameObject *obj,int number);
23 void Entered(GameObject *obj,GameObject *enterer);
24 void Created(GameObject *obj);
25 public: void Register_Auto_Save_Variables();
26};
27
28class SCUD_Custom_Follow_Waypath : public ScriptImpClass {
29 void Custom(GameObject *obj,int type,int param,GameObject *sender);
30 void Action_Complete(GameObject *obj,int action_id,ActionCompleteReason complete_reason);
31};
32
33class SCUD_Follow_Waypath_Until_Custom : public ScriptImpClass {
34 bool disable;
35 void Created(GameObject *obj);
36 void Custom(GameObject *obj,int type,int param,GameObject *sender);
37 void Action_Complete(GameObject *obj,int action_id,ActionCompleteReason complete_reason);
38 public: void Register_Auto_Save_Variables();
39};
40
41class SCUD_Poke_Preset_Buy : public ScriptImpClass {
42 int active;
43 void Created(GameObject *obj);
44 void Custom(GameObject *obj,int type,int param,GameObject *sender);
45 void Poked(GameObject *obj,GameObject *poker);
46 public: void Register_Auto_Save_Variables();
47};
48
49class SCUD_Preset_Buy : public ScriptImpClass {
50 int pilotID;
51 int active;
52 void Created(GameObject *obj);
53 void Custom(GameObject *obj,int type,int param,GameObject *sender);
54 public: void Register_Auto_Save_Variables();
55};
56
57class SCUD_CustomSend_Preset_Buy : public ScriptImpClass {
58 int pilotID;
59 int active;
60 void Created(GameObject *obj);
61 void Custom(GameObject *obj,int type,int param,GameObject *sender);
62 public: void Register_Auto_Save_Variables();
63};
64
65class SCUD_CustomSend_PresetBuy_FollowWaypath : public ScriptImpClass {
66 int pilotID;
67 int active;
68 void Created(GameObject *obj);
69 void Custom(GameObject *obj,int type,int param,GameObject *sender);
70 public: void Register_Auto_Save_Variables();
71};
72
73class SCUD_CustomSend_PresetBuy_GeneralPresets_FollowWaypath : public ScriptImpClass {
74 int pilotID;
75 int active;
76 void Created(GameObject *obj);
77 void Custom(GameObject *obj,int type,int param,GameObject *sender);
78 public: void Register_Auto_Save_Variables();
79};
80
81class SCUD_Deployable_Vehicle : public ScriptImpClass {
82 int pilotID;
83 void Created(GameObject *obj);
84 void Damaged(GameObject *obj,GameObject *damager,float amount);
85 void Custom(GameObject *obj,int type,int param,GameObject *sender);
86 public: void Register_Auto_Save_Variables();
87};
88
89class SCUD_Deploy_Animation : public ScriptImpClass {
90 void Created(GameObject *obj);
91 void Timer_Expired(GameObject *obj,int number);
92};
93
94class SCUD_DeathZoneOnCustom : public ScriptImpClass {
95 int visitor;
96 void Entered(GameObject *obj,GameObject *enterer);
97 void Custom(GameObject *obj,int type,int param,GameObject *sender);
98 void Exited(GameObject *obj,GameObject *exiter);
99
100};
101
102class SCUD_Harvester_Control : public ScriptImpClass {
103 int USHarvLim;
104 int CHHarvLim;
105 int chlimreacht;
106 int uslimreacht;
107 void Created(GameObject *obj);
108 public: void Register_Auto_Save_Variables();
109 void Custom(GameObject *obj,int type,int param,GameObject *sender);
110};
111
112class SCUD_CHHarvester : public ScriptImpClass {
113 int HarvCtrlID;
114 void Created(GameObject *obj);
115 void Killed(GameObject *obj,GameObject *killer);
116 void Custom(GameObject *obj,int type,int param,GameObject *sender);
117};
118
119class SCUD_USHarvester : public ScriptImpClass {
120 int HarvCtrlID;
121 void Created(GameObject *obj);
122 void Killed(GameObject *obj,GameObject *killer);
123 void Custom(GameObject *obj,int type,int param,GameObject *sender);
124};
125
126class SCUD_USHarvester_Terminal : public ScriptImpClass {
127 int pilotID;
128 int active;
129 int visitorID;
130 void Created(GameObject *obj);
131 void Custom(GameObject *obj,int type,int param,GameObject *sender);
132 public: void Register_Auto_Save_Variables();
133};
134
135class SCUD_CHHarvester_Terminal : public ScriptImpClass {
136 int pilotID;
137 int active;
138 int visitorID;
139 void Created(GameObject *obj);
140 void Custom(GameObject *obj,int type,int param,GameObject *sender);
141 public: void Register_Auto_Save_Variables();
142};
143
144class SCUD_Set_Player_Type_OnCustom : public ScriptImpClass {
145 void Custom(GameObject *obj,int type,int param,GameObject *sender);
146};
147
148class SCUD_SuperWeapon : public ScriptImpClass {
149 int counter;
150 void Created(GameObject *obj);
151 void Damaged(GameObject *obj,GameObject *damager,float amount);
152 void Custom(GameObject *obj,int type,int param,GameObject *sender);
153};
154
155class SCUD_DozerBuildTurret : public ScriptImpClass {
156 int PilotID;
157 void Custom(GameObject *obj,int type,int param,GameObject *sender);
158 void Damaged(GameObject *obj,GameObject *damager,float amount);
159};
160
161class SCUD_TurretBuildup : public ScriptImpClass {
162 void Created(GameObject *obj);
163 void Custom(GameObject *obj,int type,int param,GameObject *sender);
164};