Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
renalert2.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/******************Missle Silo Script Declarations*******************/
14
15class RA_Missile_Silo : public ScriptImpClass {
16 bool alive;
17 bool launching;
18 void Created(GameObject *obj);
19 void Custom(GameObject *obj, int type, int param, GameObject *sender);
20 void Killed(GameObject *obj, GameObject *killer);
21 void Timer_Expired(GameObject *obj, int number);
22 public: void Register_Auto_Save_Variables();
23};
24
25class RA_Missile_Manager : public ScriptImpClass {
26 void Created(GameObject *obj);
27 void Custom(GameObject *obj, int type, int param, GameObject *sender);
28};
29
30class RA_Silo_Animation : public ScriptImpClass {
31 void Created(GameObject *obj);
32 void Timer_Expired(GameObject *obj, int number);
33};
34
35class RA_ABomb_Terminal : public ScriptImpClass {
36 bool active;
37 void Created(GameObject *obj);
38 void Custom(GameObject *obj, int type, int param, GameObject *sender);
39 void Poked(GameObject *obj, GameObject *poker);
40 void Timer_Expired(GameObject *obj, int number);
41 public: void Register_Auto_Save_Variables();
42};
43
44class RA_ABomb_Beacon : public ScriptImpClass {
45 void Created(GameObject *obj);
46};
47
48/****************Weather Change Script Declarations******************/
49
50class RA_CanyonRiver_Weather : public ScriptImpClass {
51 void Custom(GameObject *obj,int type,int param,GameObject * sender);
52 void Timer_Expired(GameObject *obj, int number);
53};
54
55class RA_Metro_Weather : public ScriptImpClass {
56 bool max;
57 void Created(GameObject *obj);
58 void Timer_Expired(GameObject *obj, int number);
59 public: void Register_Auto_Save_Variables();
60};
61
62/******************Underwater Script Declarations********************/
63
64class RA_Underwater_OnCustom : public ScriptImpClass {
65 bool allowed;
66 bool underwater;
67 bool driving;
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 RA_Underwater_Zone : public ScriptImpClass {
74 void Entered(GameObject *obj,GameObject * enter);
75 void Exited(GameObject *obj,GameObject * exit);
76};
77
78/*****************Miscellaneous Script Declarations******************/
79
80class RA_Submarine : public ScriptImpClass {
81 int driverID;
82 bool underwater;
83 bool occupied;
84 int blockers[4];
85 void Created(GameObject *obj);
86 void Custom(GameObject *obj, int type, int param, GameObject *sender);
87 void Killed(GameObject *obj, GameObject *killer);
88 void Destroyed(GameObject *obj);
89 public: void Register_Auto_Save_Variables();
90};
91
92class RA_Vehicle : public ScriptImpClass {
93 int IDarray[6];
94 void Created(GameObject * obj);
95 void Custom(GameObject * obj,int type,int param,GameObject * sender);
96 void Destroyed(GameObject *obj);
97 void Killed(GameObject * obj,GameObject * killer);
98 public: void Register_Auto_Save_Variables();
99};