Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
jfwhook.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
13void ObjectCreateHookBaseHook(void *data,GameObject *obj);
14
15void KeyHookBaseHook(void *data);
16
17class JFW_Jetpack : public JFW_Key_Hook_Base {
18 bool enabled;
19 bool time;
20 void Detach(GameObject *obj);
21 void Created(GameObject *obj);
22 void Custom(GameObject *obj,int type,int param,GameObject *sender);
23 void Timer_Expired(GameObject *obj,int number);
24 void KeyHook();
25};
26
27class JFW_Jetpack_Timer : public JFW_Key_Hook_Base {
28 bool enabled;
29 bool time;
30 void Detach(GameObject *obj);
31 void Created(GameObject *obj);
32 void Custom(GameObject *obj,int type,int param,GameObject *sender);
33 void Timer_Expired(GameObject *obj,int number);
34 void KeyHook();
35};
36
37class JFW_Limited_Jetpack_Timer : public JFW_Key_Hook_Base {
38 bool enabled;
39 bool timeon;
40 bool timeoff;
41 void Detach(GameObject *obj);
42 void Created(GameObject *obj);
43 void Custom(GameObject *obj,int type,int param,GameObject *sender);
44 void Timer_Expired(GameObject *obj,int number);
45 void KeyHook();
46};
47
48class JFW_Jetpack_Model : public JFW_Key_Hook_Base {
49 bool enabled;
50 bool time;
51 void Detach(GameObject *obj);
52 void Created(GameObject *obj);
53 void Custom(GameObject *obj,int type,int param,GameObject *sender);
54 void Timer_Expired(GameObject *obj,int number);
55 void KeyHook();
56};
57
58class JFW_Attach_Script_Preset_Created : public JFW_Object_Created_Hook_Base {
59 void ObjectCreateHook(GameObject *obj);
60};
61
62class JFW_Attach_Script_Type_Created : public JFW_Object_Created_Hook_Base {
63 void ObjectCreateHook(GameObject *obj);
64};
65
66class JFW_Attach_Script_Player_Created : public JFW_Object_Created_Hook_Base {
67 void Created(GameObject *obj);
68 void ObjectCreateHook(GameObject *obj);
69};
70
71class JFW_Attach_Script_Vehicle_Created : public JFW_Object_Created_Hook_Base {
72 void ObjectCreateHook(GameObject *obj);
73};
74
75class JFW_Dplbl_Vhcls_Keyboard : public JFW_Key_Hook_Base {
76 int pilotID;
77 bool CanDestroyAnim;
78 void Created(GameObject *obj);
79 public: void Register_Auto_Save_Variables();
80 void Custom(GameObject *obj,int type,int param,GameObject *sender);
81 void Killed(GameObject *obj,GameObject *killer);
82 void KeyHook();
83};
84
85class JFW_Underground_Logic : public JFW_Key_Hook_Base {
86 bool underground;
87 bool enable;
88 int pilotID;
89 void Created(GameObject *obj);
90 void Custom(GameObject *obj,int type,int param,GameObject *sender);
91 void KeyHook();
92 void Killed(GameObject *obj,GameObject *killer);
93 public: void Register_Auto_Save_Variables();
94};
95
96class JFW_Suicide_Bomber : public JFW_Key_Hook_Base {
97 bool enabled;
98 void Created(GameObject *obj);
99 void KeyHook();
100 public: void Register_Auto_Save_Variables();
101};
102
103class JFW_Sidebar_Key_2 : public ScriptImpClass {
104};
105
106class JFW_Jetpack_Timer_No_Fly : public JFW_Key_Hook_Base {
107 bool enabled;
108 bool time;
109 bool time2;
110 bool nofly;
111 void Detach(GameObject *obj);
112 void Created(GameObject *obj);
113 void Custom(GameObject *obj,int type,int param,GameObject *sender);
114 void Timer_Expired(GameObject *obj,int number);
115 void KeyHook();
116};
117
118class JFW_Limited_Jetpack_Timer_No_Fly : public JFW_Key_Hook_Base {
119 bool enabled;
120 bool timeon;
121 bool timeoff;
122 bool nofly;
123 void Detach(GameObject *obj);
124 void Created(GameObject *obj);
125 void Custom(GameObject *obj,int type,int param,GameObject *sender);
126 void Timer_Expired(GameObject *obj,int number);
127 void KeyHook();
128};