Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
reborn.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
13
14class Reborn_Game_Manager : public ScriptImpClass {
15 int MMK2lim;
16 int Cyborglim;
17 void Created(GameObject *obj);
18 public: void Register_Auto_Save_Variables();
19 void Custom(GameObject *obj,int type,int param,GameObject *sender);
20};
21
22class Reborn_Cyborg : public ScriptImpClass {
23 void Created(GameObject *obj);
24 void Killed(GameObject *obj,GameObject *killer);
25 void Custom(GameObject *obj,int type,int param,GameObject *sender);
26};
27
28class Reborn_MMK2 : public ScriptImpClass {
29 void Created(GameObject *obj);
30 void Killed(GameObject *obj,GameObject *killer);
31 void Custom(GameObject *obj,int type,int param,GameObject *sender);
32};
33
34class Reborn_Deployable_Vehicle : public ScriptImpClass {
35 int pilotID;
36 void Created(GameObject *obj);
37 void Damaged(GameObject *obj,GameObject *damager,float amount);
38 void Custom(GameObject *obj,int type,int param,GameObject *sender);
39 public: void Register_Auto_Save_Variables();
40};
41
42class Reborn_Deploy_Animation : public ScriptImpClass {
43 void Created(GameObject *obj);
44 void Timer_Expired(GameObject *obj,int number);
45};
46
47class Reborn_MMK2_Turret_Spawn : public ScriptImpClass {
48 int turID;
49 void Created(GameObject *obj);
50 void Killed(GameObject *obj,GameObject *killer);
51 public: void Register_Auto_Save_Variables();
52};
53
54class Reborn_Diggable_Vehicle : public ScriptImpClass {
55 int pilotID;
56 int ug;
57 void Created(GameObject *obj);
58 void Custom(GameObject *obj,int type,int param,GameObject *sender);
59 void Damaged(GameObject *obj,GameObject *damager,float amount);
60 public: void Register_Auto_Save_Variables();
61};
62
63class Reborn_Diggable_Vehicle_Animated : public ScriptImpClass {
64 int pilotID;
65 int ug;
66 void Created(GameObject *obj);
67 void Custom(GameObject *obj,int type,int param,GameObject *sender);
68 void Damaged(GameObject *obj,GameObject *damager,float amount);
69 void Action_Complete(GameObject *obj,int action_id,ActionCompleteReason complete_reason);
70 public: void Register_Auto_Save_Variables();
71};
72
73class Reborn_PlaySound_OnCreate : public ScriptImpClass {
74 void Created(GameObject *obj);
75};
76
77class Reborn_Deployable_Vehicle_Player : public JFW_Key_Hook_Base {
78 void Created(GameObject *obj);
79 void KeyHook();
80};
81
82class Reborn_IsDeployableMech : public ScriptImpClass {
83 int PilotID,mode,Mode,LastDir;
84 bool enabled,play,forward,backward;
85 float xpos;
86 float ypos;
87 float zpos;
88 void Created(GameObject *obj);
89 void Animation_Complete(GameObject *obj,const char *animation_name);
90 void Timer_Expired(GameObject *obj,int number);
91 void Custom(GameObject *obj,int type,int param,GameObject *sender);
92 void Killed(GameObject *obj,GameObject *killer);
93 public: void Register_Auto_Save_Variables();
94};
95
96class Reborn_IsDeployableTank : public ScriptImpClass {
97 int PilotID,mode;
98 void Created(GameObject *obj);
99 void Animation_Complete(GameObject *obj,const char *animation_name);
100 void Custom(GameObject *obj,int type,int param,GameObject *sender);
101 void Destroyed(GameObject *obj);
102 public: void Register_Auto_Save_Variables();
103};
104
105class Reborn_IsDeployableTank_2 : public ScriptImpClass {
106 int PilotID,mode;
107 void Created(GameObject *obj);
108 void Animation_Complete(GameObject *obj,const char *animation_name);
109 void Custom(GameObject *obj,int type,int param,GameObject *sender);
110 void Destroyed(GameObject *obj);
111 public: void Register_Auto_Save_Variables();
112};
113
114class Reborn_IsDeployableTank_3 : public ScriptImpClass {
115 int PilotID,mode;
116 void Created(GameObject *obj);
117 void Animation_Complete(GameObject *obj,const char *animation_name);
118 void Custom(GameObject *obj,int type,int param,GameObject *sender);
119 void Destroyed(GameObject *obj);
120 public: void Register_Auto_Save_Variables();
121};
122
123class Reborn_IsDeployableTank_4 : public ScriptImpClass {
124 int PilotID, mode;
125 void Created(GameObject *obj);
126 void Animation_Complete(GameObject *obj, const char *animation_name);
127 void Custom(GameObject *obj, int type, int param, GameObject *sender);
128 void Destroyed(GameObject *obj);
129 void Timer_Expired(GameObject *obj, int number);
130public: void Register_Auto_Save_Variables();
131};
132
133class Reborn_IsMech : public ScriptImpClass {
134 bool enabled,forward,backward,play;
135 float xpos;
136 float ypos;
137 float zpos;
138 int Mode,LastDir;
139 void Created(GameObject *obj);
140 void Timer_Expired(GameObject *obj,int number);
141 void Animation_Complete(GameObject *obj,const char *animation_name);
142 public: void Register_Auto_Save_Variables();
143};