Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
mdb.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#include "PurchaseSettingsDefClass.h"
14#include "TeamPurchaseSettingsDefClass.h"
15
16class MDB_Weapon_Scope : public ScriptImpClass {
17 void Created(GameObject *obj);
18 void Timer_Expired(GameObject *obj,int number);
19 public: void Register_Auto_Save_Variables();
20 int CurrScope;
21};
22
23class MDB_Weapon_Scope_Global : public JFW_Object_Created_Hook_Base {
24 void Created(GameObject *obj);
25 void ObjectCreateHook(GameObject *obj);
26 char Params[10];
27};
28
29class MDB_Change_Spawn_Char_Timer : public ScriptImpClass {
30 void Created(GameObject *obj);
31 void Timer_Expired(GameObject *obj, int number);
32};
33
34class MDB_Change_Spawn_Char_Custom : public ScriptImpClass {
35 void Custom(GameObject *obj, int type, int param, GameObject *sender);
36};
37
38class MDB_ConYard : public ScriptImpClass {
39 void Created(GameObject *obj);
40 void Timer_Expired(GameObject *obj, int number);
41 void Killed(GameObject *obj,GameObject *killer);
42 void Custom(GameObject *obj, int type, int param, GameObject *sender);
43 public: void Register_Auto_Save_Variables();
44 int PMode;
45 float Time,Amount;
46 bool Self;
47};
48
49class MDB_Send_Custom_Enemy_Seen : public ScriptImpClass {
50 void Created(GameObject *obj);
51 void Enemy_Seen(GameObject *obj,GameObject *enemy);
52};
53
54class MDB_Water_Zone : public ScriptImpClass {
55 void Entered(GameObject *obj,GameObject *enterer);
56};
57
58class MDB_Water_Unit : public ScriptImpClass {
59};
60
61class MDB_Vehicle_Limit : public ScriptImpClass {
62 void Created(GameObject *obj);
63};
64
65class MDB_Mine_Limit : public ScriptImpClass {
66 void Created(GameObject *obj);
67};
68
69class MDB_Unit_Limit : public ScriptImpClass {
70 bool Free;
71 bool Disabled;
72 unsigned int Position;
73 PurchaseSettingsDefClass::TYPE Type;
74 PurchaseSettingsDefClass::TEAM Team;
75 unsigned int Definitions[4];
76 void Created(GameObject *obj);
77 void Killed(GameObject *obj,GameObject *killer);
78 public: void Register_Auto_Save_Variables();
79 void ReEnable();
80};
81
82class MDB_Send_Custom_On_Key : public JFW_Key_Hook_Base {
83 void Created(GameObject *obj);
84 void KeyHook();
85};
86
87class MDB_Remote_Controlled_Vehicle : public ScriptImpClass {
88 int BotID;
89 void Created(GameObject *obj);
90 void Timer_Expired(GameObject *obj,int number);
91 void Destroyed(GameObject *obj);
92 void Custom(GameObject *obj, int type, int param, GameObject *sender);
93 public: void Register_Auto_Save_Variables();
94};
95
96
97class MDB_Remote_Controlled_Vehicle_Bot : public ScriptImpClass {
98 int ID,VehID;
99 void Created(GameObject *obj);
100 void Custom(GameObject *obj, int type, int param, GameObject *sender);
101 void Damaged(GameObject *obj,GameObject *damager,float amount);
102 void Killed(GameObject *obj,GameObject *killer);
103 public: void Register_Auto_Save_Variables();
104};
105
106class MDB_Sidebar_Key : public ScriptImpClass {
107};
108
109class MDB_Set_Ammo_Granted_Weapon_On_Pickup : public ScriptImpClass {
110 void Custom(GameObject *obj, int type, int param, GameObject *sender);
111};
112
113class MDB_Set_Ammo_Current_Weapon_On_Pickup : public ScriptImpClass {
114 void Custom(GameObject *obj, int type, int param, GameObject *sender);
115};
116
117class MDB_Set_Ammo_On_Pickup : public ScriptImpClass {
118 void Custom(GameObject *obj, int type, int param, GameObject *sender);
119};