Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
ra_legacy.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 RA_Thief_Script: public ScriptImpClass {
14 bool enabled;
15 void Timer_Expired(GameObject *obj,int number);
16 void Entered(GameObject *obj,GameObject *enterer);
17 void Created(GameObject *obj);
18 public: void Register_Auto_Save_Variables();
19};
20
21class RA_Soviet_Defence : public ScriptImpClass {
22 unsigned int id1;
23 unsigned int id2;
24 unsigned int id3;
25 unsigned int objtype;
26 void Created(GameObject *obj);
27 void Enemy_Seen(GameObject *obj,GameObject *enemy);
28 void Action_Complete(GameObject *obj,int action_id,ActionCompleteReason complete_reason);
29 void Timer_Expired(GameObject *obj,int number);
30 public: void Register_Auto_Save_Variables();
31};
32
33class RA_Soviet_Refinery_Controller : public ScriptImpClass {
34 void Killed(GameObject *obj,GameObject *killer);
35};
36
37class RA_Soviet_Refinery_Theft_Zone : public ScriptImpClass {
38 bool refinery;
39 void Created(GameObject *obj);
40 void Custom(GameObject *obj,int type,int param,GameObject *sender);
41 void Entered(GameObject *obj,GameObject *enterer);
42 void Exited(GameObject *obj,GameObject *exiter);
43 public: void Register_Auto_Save_Variables();
44};
45
46class RA_Allied_Thief : public ScriptImpClass {
47 bool stealing;
48 bool ready; // controls timer lockout of zone entry money award
49 void Created(GameObject *obj);
50 void Custom(GameObject *obj,int type,int param,GameObject *sender);
51 void Timer_Expired(GameObject *obj,int number);
52 public: void Register_Auto_Save_Variables();
53};
54
55class RA_Naval_PT : public ScriptImpClass {
56 int storedID;
57 void Created(GameObject *obj);
58 void Custom(GameObject *obj,int type,int param,GameObject *sender);
59 void Timer_Expired(GameObject *obj,int number);
60 public: void Register_Auto_Save_Variables();
61};
62
63class RA_Conyard_Controller : public ScriptImpClass {
64 //Clone of TDA_Conyard_Controller with a little extra
65 void Created(GameObject *obj);
66 void Killed(GameObject *obj,GameObject *killer);
67};