Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
mdbdef.h
1/* Renegade Scripts.dll
2 Copyright 2015 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 MDB_Base_Defense_Popup_No_VTOL : public ScriptImpClass {
15public:
16 int State,LastSeen,ReturnTime;
17 unsigned int LastAttack;
18 float MaxDis;
19 bool AdjustInf;
20 void Created(GameObject *obj);
21 void Custom(GameObject *obj, int type, int param, GameObject *sender);
22 void Enemy_Seen(GameObject *obj,GameObject *enemy);
23 void Timer_Expired(GameObject *obj,int number);
24 void Animation_Complete(GameObject *obj,const char *animation_name);
25 public: void Register_Auto_Save_Variables();
26};
27
28class MDB_Base_Defense_Popup_No_VTOL_No_Stealth : public MDB_Base_Defense_Popup_No_VTOL {
29 void Enemy_Seen(GameObject *obj,GameObject *enemy);
30};
31
32class MDB_Base_Defense_Popup_VTOL_Only : public ScriptImpClass {
33 int State,LastSeen,ReturnTime;
34 unsigned int LastAttack;
35 float MaxDis;
36 void Created(GameObject *obj);
37 void Custom(GameObject *obj, int type, int param, GameObject *sender);
38 void Enemy_Seen(GameObject *obj,GameObject *enemy);
39 void Timer_Expired(GameObject *obj,int number);
40 void Animation_Complete(GameObject *obj,const char *animation_name);
41 public: void Register_Auto_Save_Variables();
42};
43
44class MDB_Base_Defense_Popup : public ScriptImpClass {
45 int State,LastSeen,ReturnTime;
46 unsigned int LastAttack;
47 float MaxDis;
48 bool AdjustInf;
49 void Created(GameObject *obj);
50 void Custom(GameObject *obj, int type, int param, GameObject *sender);
51 void Enemy_Seen(GameObject *obj,GameObject *enemy);
52 void Timer_Expired(GameObject *obj,int number);
53 void Animation_Complete(GameObject *obj,const char *animation_name);
54 public: void Register_Auto_Save_Variables();
55};
56
57class MDB_Base_Defense : public ScriptImpClass {
58 Vector3 V[4];
59 float MaxDis;
60 bool AdjustInf;
61 int LastSeen;
62 void Created(GameObject *obj);
63 void Enemy_Seen(GameObject *obj,GameObject *enemy);
64 void Timer_Expired(GameObject *obj,int number);
65 public: void Register_Auto_Save_Variables();
66};
67
68class MDB_Base_Defense_No_VTOL : public ScriptImpClass {
69 Vector3 V[4];
70 float MaxDis;
71 bool AdjustInf;
72 int LastSeen;
73 void Created(GameObject *obj);
74 void Enemy_Seen(GameObject *obj,GameObject *enemy);
75 void Timer_Expired(GameObject *obj,int number);
76 public: void Register_Auto_Save_Variables();
77};
78
79class MDB_Base_Defense_VTOL_Only : public ScriptImpClass {
80 Vector3 V[4];
81 int LastSeen;
82 float MaxDis;
83 void Created(GameObject *obj);
84 void Enemy_Seen(GameObject *obj,GameObject *enemy);
85 void Timer_Expired(GameObject *obj,int number);
86 public: void Register_Auto_Save_Variables();
87};