Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
jfwgun.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 JFW_Building_Gun : public ScriptImpClass {
14 int weaponid;
15 void Created(GameObject *obj);
16 void Killed(GameObject *obj,GameObject *killer);
17 void Timer_Expired(GameObject *obj,int number);
18 public: void Register_Auto_Save_Variables();
19};
20
21class JFW_Building_Gun_Weapon : public ScriptImpClass {
22 void Created(GameObject *obj);
23 void Custom(GameObject *obj,int type,int param,GameObject *sender);
24 void Enemy_Seen(GameObject *obj,GameObject *enemy);
25 void Timer_Expired(GameObject *obj,int number);
26};
27
28class JFW_Building_Gun_Secondary : public ScriptImpClass {
29 int weaponid;
30 void Created(GameObject *obj);
31 void Killed(GameObject *obj,GameObject *killer);
32 void Timer_Expired(GameObject *obj,int number);
33 public: void Register_Auto_Save_Variables();
34};
35
36class JFW_Building_Gun_Weapon_Secondary : public ScriptImpClass {
37 bool primary;
38 void Created(GameObject *obj);
39 void Custom(GameObject *obj,int type,int param,GameObject *sender);
40 void Enemy_Seen(GameObject *obj,GameObject *enemy);
41 void Timer_Expired(GameObject *obj,int number);
42 public: void Register_Auto_Save_Variables();
43};
44
45class JFW_Building_Gun_No_Aircraft : public ScriptImpClass {
46 int weaponid;
47 void Created(GameObject *obj);
48 void Killed(GameObject *obj,GameObject *killer);
49 void Timer_Expired(GameObject *obj,int number);
50 public: void Register_Auto_Save_Variables();
51};
52
53class JFW_Building_Gun_Aircraft_Only : public ScriptImpClass {
54 int weaponid;
55 void Created(GameObject *obj);
56 void Killed(GameObject *obj,GameObject *killer);
57 void Timer_Expired(GameObject *obj,int number);
58 public: void Register_Auto_Save_Variables();
59};
60
61class JFW_Building_Gun_Weapon_No_Aircraft : public ScriptImpClass {
62 void Created(GameObject *obj);
63 void Custom(GameObject *obj,int type,int param,GameObject *sender);
64 void Enemy_Seen(GameObject *obj,GameObject *enemy);
65 void Timer_Expired(GameObject *obj,int number);
66};
67
68class JFW_Building_Gun_Weapon_Aircraft_Only : public ScriptImpClass {
69 void Created(GameObject *obj);
70 void Custom(GameObject *obj,int type,int param,GameObject *sender);
71 void Enemy_Seen(GameObject *obj,GameObject *enemy);
72 void Timer_Expired(GameObject *obj,int number);
73};
74
75class JFW_Building_Gun_No_Aircraft_Secondary : public ScriptImpClass {
76 int weaponid;
77 void Created(GameObject *obj);
78 void Killed(GameObject *obj,GameObject *killer);
79 void Timer_Expired(GameObject *obj,int number);
80 public: void Register_Auto_Save_Variables();
81};
82
83class JFW_Building_Gun_Aircraft_Only_Secondary : public ScriptImpClass {
84 int weaponid;
85 void Created(GameObject *obj);
86 void Killed(GameObject *obj,GameObject *killer);
87 void Timer_Expired(GameObject *obj,int number);
88 public: void Register_Auto_Save_Variables();
89};
90
91class JFW_Building_Gun_Weapon_No_Aircraft_Secondary : public ScriptImpClass {
92 bool primary;
93 void Created(GameObject *obj);
94 void Custom(GameObject *obj,int type,int param,GameObject *sender);
95 void Enemy_Seen(GameObject *obj,GameObject *enemy);
96 void Timer_Expired(GameObject *obj,int number);
97 public: void Register_Auto_Save_Variables();
98};
99
100class JFW_Building_Gun_Weapon_Aircraft_Only_Secondary : public ScriptImpClass {
101 bool primary;
102 void Created(GameObject *obj);
103 void Custom(GameObject *obj,int type,int param,GameObject *sender);
104 void Enemy_Seen(GameObject *obj,GameObject *enemy);
105 void Timer_Expired(GameObject *obj,int number);
106 public: void Register_Auto_Save_Variables();
107};
108
109class JFW_Building_Gun_Animated : public ScriptImpClass {
110 int weaponid;
111 void Created(GameObject *obj);
112 void Killed(GameObject *obj,GameObject *killer);
113 void Timer_Expired(GameObject *obj,int number);
114 public: void Register_Auto_Save_Variables();
115};
116
117class JFW_Building_Gun_Animated_Weapon : public ScriptImpClass {
118 int effectid;
119 int attackid;
120 bool enemyseen;
121 bool lastframe;
122 void Created(GameObject *obj);
123 void Custom(GameObject *obj,int type,int param,GameObject *sender);
124 void Enemy_Seen(GameObject *obj,GameObject *enemy);
125 void Timer_Expired(GameObject *obj,int number);
126 public: void Register_Auto_Save_Variables();
127};
128
129class JFW_Building_Gun_Animated_Secondary : public ScriptImpClass {
130 int weaponid;
131 void Created(GameObject *obj);
132 void Killed(GameObject *obj,GameObject *killer);
133 void Timer_Expired(GameObject *obj,int number);
134 public: void Register_Auto_Save_Variables();
135};
136
137class JFW_Building_Gun_Animated_Weapon_Secondary : public ScriptImpClass {
138 bool primary;
139 int effectid;
140 int attackid;
141 bool enemyseen;
142 bool lastframe;
143 void Created(GameObject *obj);
144 void Custom(GameObject *obj,int type,int param,GameObject *sender);
145 void Enemy_Seen(GameObject *obj,GameObject *enemy);
146 void Timer_Expired(GameObject *obj,int number);
147 public: void Register_Auto_Save_Variables();
148};
149
150class JFW_Building_Gun_Animated_No_Aircraft : public ScriptImpClass {
151 int weaponid;
152 void Created(GameObject *obj);
153 void Killed(GameObject *obj,GameObject *killer);
154 void Timer_Expired(GameObject *obj,int number);
155 public: void Register_Auto_Save_Variables();
156};
157
158class JFW_Building_Gun_Animated_Aircraft_Only : public ScriptImpClass {
159 int weaponid;
160 void Created(GameObject *obj);
161 void Killed(GameObject *obj,GameObject *killer);
162 void Timer_Expired(GameObject *obj,int number);
163 public: void Register_Auto_Save_Variables();
164};
165
166class JFW_Building_Gun_Animated_Weapon_No_Aircraft : public ScriptImpClass {
167 int effectid;
168 int attackid;
169 bool enemyseen;
170 bool lastframe;
171 void Created(GameObject *obj);
172 void Custom(GameObject *obj,int type,int param,GameObject *sender);
173 void Enemy_Seen(GameObject *obj,GameObject *enemy);
174 void Timer_Expired(GameObject *obj,int number);
175 public: void Register_Auto_Save_Variables();
176};
177
178class JFW_Building_Gun_Animated_Weapon_Aircraft_Only : public ScriptImpClass {
179 int effectid;
180 int attackid;
181 bool enemyseen;
182 bool lastframe;
183 void Created(GameObject *obj);
184 void Custom(GameObject *obj,int type,int param,GameObject *sender);
185 void Enemy_Seen(GameObject *obj,GameObject *enemy);
186 void Timer_Expired(GameObject *obj,int number);
187 public: void Register_Auto_Save_Variables();
188};
189
190class JFW_Building_Gun_Animated_No_Aircraft_Secondary : public ScriptImpClass {
191 int weaponid;
192 void Created(GameObject *obj);
193 void Killed(GameObject *obj,GameObject *killer);
194 void Timer_Expired(GameObject *obj,int number);
195 public: void Register_Auto_Save_Variables();
196};
197
198class JFW_Building_Gun_Animated_Aircraft_Only_Secondary : public ScriptImpClass {
199 int weaponid;
200 void Created(GameObject *obj);
201 void Killed(GameObject *obj,GameObject *killer);
202 void Timer_Expired(GameObject *obj,int number);
203 public: void Register_Auto_Save_Variables();
204};
205
206class JFW_Building_Gun_Animated_Weapon_No_Aircraft_Secondary : public ScriptImpClass {
207 bool primary;
208 int effectid;
209 int attackid;
210 bool enemyseen;
211 bool lastframe;
212 void Created(GameObject *obj);
213 void Custom(GameObject *obj,int type,int param,GameObject *sender);
214 void Enemy_Seen(GameObject *obj,GameObject *enemy);
215 void Timer_Expired(GameObject *obj,int number);
216 public: void Register_Auto_Save_Variables();
217};
218
219class JFW_Building_Gun_Animated_Weapon_Aircraft_Only_Secondary : public ScriptImpClass {
220 bool primary;
221 int effectid;
222 int attackid;
223 bool enemyseen;
224 bool lastframe;
225 void Created(GameObject *obj);
226 void Custom(GameObject *obj,int type,int param,GameObject *sender);
227 void Enemy_Seen(GameObject *obj,GameObject *enemy);
228 void Timer_Expired(GameObject *obj,int number);
229 public: void Register_Auto_Save_Variables();
230};
231
232class JFW_Building_Gun_No_VTOL : public ScriptImpClass {
233 int weaponid;
234 void Created(GameObject *obj);
235 void Killed(GameObject *obj,GameObject *killer);
236 void Timer_Expired(GameObject *obj,int number);
237 public: void Register_Auto_Save_Variables();
238};
239
240class JFW_Building_Gun_VTOL_Only : public ScriptImpClass {
241 int weaponid;
242 void Created(GameObject *obj);
243 void Killed(GameObject *obj,GameObject *killer);
244 void Timer_Expired(GameObject *obj,int number);
245 public: void Register_Auto_Save_Variables();
246};
247
248class JFW_Building_Gun_Weapon_No_VTOL : public ScriptImpClass {
249 void Created(GameObject *obj);
250 void Custom(GameObject *obj,int type,int param,GameObject *sender);
251 void Enemy_Seen(GameObject *obj,GameObject *enemy);
252 void Timer_Expired(GameObject *obj,int number);
253};
254
255class JFW_Building_Gun_Weapon_VTOL_Only : public ScriptImpClass {
256 void Created(GameObject *obj);
257 void Custom(GameObject *obj,int type,int param,GameObject *sender);
258 void Enemy_Seen(GameObject *obj,GameObject *enemy);
259 void Timer_Expired(GameObject *obj,int number);
260};
261
262class JFW_Building_Gun_No_VTOL_Secondary : public ScriptImpClass {
263 int weaponid;
264 void Created(GameObject *obj);
265 void Killed(GameObject *obj,GameObject *killer);
266 void Timer_Expired(GameObject *obj,int number);
267 public: void Register_Auto_Save_Variables();
268};
269
270class JFW_Building_Gun_VTOL_Only_Secondary : public ScriptImpClass {
271 int weaponid;
272 void Created(GameObject *obj);
273 void Killed(GameObject *obj,GameObject *killer);
274 void Timer_Expired(GameObject *obj,int number);
275 public: void Register_Auto_Save_Variables();
276};
277
278class JFW_Building_Gun_Weapon_No_VTOL_Secondary : public ScriptImpClass {
279 bool primary;
280 void Created(GameObject *obj);
281 void Custom(GameObject *obj,int type,int param,GameObject *sender);
282 void Enemy_Seen(GameObject *obj,GameObject *enemy);
283 void Timer_Expired(GameObject *obj,int number);
284 public: void Register_Auto_Save_Variables();
285};
286
287class JFW_Building_Gun_Weapon_VTOL_Only_Secondary : public ScriptImpClass {
288 bool primary;
289 void Created(GameObject *obj);
290 void Custom(GameObject *obj,int type,int param,GameObject *sender);
291 void Enemy_Seen(GameObject *obj,GameObject *enemy);
292 void Timer_Expired(GameObject *obj,int number);
293 public: void Register_Auto_Save_Variables();
294};
295
296class JFW_Building_Gun_Animated_No_VTOL : public ScriptImpClass {
297 int weaponid;
298 void Created(GameObject *obj);
299 void Killed(GameObject *obj,GameObject *killer);
300 void Timer_Expired(GameObject *obj,int number);
301 public: void Register_Auto_Save_Variables();
302};
303
304class JFW_Building_Gun_Animated_VTOL_Only : public ScriptImpClass {
305 int weaponid;
306 void Created(GameObject *obj);
307 void Killed(GameObject *obj,GameObject *killer);
308 void Timer_Expired(GameObject *obj,int number);
309 public: void Register_Auto_Save_Variables();
310};
311
312class JFW_Building_Gun_Animated_Weapon_No_VTOL : public ScriptImpClass {
313 int effectid;
314 int attackid;
315 bool enemyseen;
316 bool lastframe;
317 void Created(GameObject *obj);
318 void Custom(GameObject *obj,int type,int param,GameObject *sender);
319 void Enemy_Seen(GameObject *obj,GameObject *enemy);
320 void Timer_Expired(GameObject *obj,int number);
321 public: void Register_Auto_Save_Variables();
322};
323
324class JFW_Building_Gun_Animated_Weapon_VTOL_Only : public ScriptImpClass {
325 int effectid;
326 int attackid;
327 bool enemyseen;
328 bool lastframe;
329 void Created(GameObject *obj);
330 void Custom(GameObject *obj,int type,int param,GameObject *sender);
331 void Enemy_Seen(GameObject *obj,GameObject *enemy);
332 void Timer_Expired(GameObject *obj,int number);
333 public: void Register_Auto_Save_Variables();
334};
335
336class JFW_Building_Gun_Animated_No_VTOL_Secondary : public ScriptImpClass {
337 int weaponid;
338 void Created(GameObject *obj);
339 void Killed(GameObject *obj,GameObject *killer);
340 void Timer_Expired(GameObject *obj,int number);
341 public: void Register_Auto_Save_Variables();
342};
343
344class JFW_Building_Gun_Animated_VTOL_Only_Secondary : public ScriptImpClass {
345 int weaponid;
346 void Created(GameObject *obj);
347 void Killed(GameObject *obj,GameObject *killer);
348 void Timer_Expired(GameObject *obj,int number);
349 public: void Register_Auto_Save_Variables();
350};
351
352class JFW_Building_Gun_Animated_Weapon_No_VTOL_Secondary : public ScriptImpClass {
353 bool primary;
354 int effectid;
355 int attackid;
356 bool enemyseen;
357 bool lastframe;
358 void Created(GameObject *obj);
359 void Custom(GameObject *obj,int type,int param,GameObject *sender);
360 void Enemy_Seen(GameObject *obj,GameObject *enemy);
361 void Timer_Expired(GameObject *obj,int number);
362 public: void Register_Auto_Save_Variables();
363};
364
365class JFW_Building_Gun_Animated_Weapon_VTOL_Only_Secondary : public ScriptImpClass {
366 bool primary;
367 int effectid;
368 int attackid;
369 bool enemyseen;
370 bool lastframe;
371 void Created(GameObject *obj);
372 void Custom(GameObject *obj,int type,int param,GameObject *sender);
373 void Enemy_Seen(GameObject *obj,GameObject *enemy);
374 void Timer_Expired(GameObject *obj,int number);
375 public: void Register_Auto_Save_Variables();
376};
377
378class JFW_Building_Gun_Animated_Sound : public ScriptImpClass {
379 int weaponid;
380 void Created(GameObject *obj);
381 void Killed(GameObject *obj,GameObject *killer);
382 void Timer_Expired(GameObject *obj,int number);
383 public: void Register_Auto_Save_Variables();
384};
385
386class JFW_Building_Gun_Animated_Sound_Weapon : public ScriptImpClass {
387 int effectid;
388 int attackid;
389 bool enemyseen;
390 bool lastframe;
391 void Created(GameObject *obj);
392 void Custom(GameObject *obj,int type,int param,GameObject *sender);
393 void Enemy_Seen(GameObject *obj,GameObject *enemy);
394 void Timer_Expired(GameObject *obj,int number);
395 public: void Register_Auto_Save_Variables();
396};
397
398class JFW_Building_Gun_Animated_Sound_Secondary : public ScriptImpClass {
399 int weaponid;
400 void Created(GameObject *obj);
401 void Killed(GameObject *obj,GameObject *killer);
402 void Timer_Expired(GameObject *obj,int number);
403 public: void Register_Auto_Save_Variables();
404};
405
406class JFW_Building_Gun_Animated_Sound_Weapon_Secondary : public ScriptImpClass {
407 bool primary;
408 int effectid;
409 int attackid;
410 bool enemyseen;
411 bool lastframe;
412 void Created(GameObject *obj);
413 void Custom(GameObject *obj,int type,int param,GameObject *sender);
414 void Enemy_Seen(GameObject *obj,GameObject *enemy);
415 void Timer_Expired(GameObject *obj,int number);
416 public: void Register_Auto_Save_Variables();
417};
418
419class JFW_Building_Gun_Animated_Sound_No_Aircraft : public ScriptImpClass {
420 int weaponid;
421 void Created(GameObject *obj);
422 void Killed(GameObject *obj,GameObject *killer);
423 void Timer_Expired(GameObject *obj,int number);
424 public: void Register_Auto_Save_Variables();
425};
426
427class JFW_Building_Gun_Animated_Sound_Aircraft_Only : public ScriptImpClass {
428 int weaponid;
429 void Created(GameObject *obj);
430 void Killed(GameObject *obj,GameObject *killer);
431 void Timer_Expired(GameObject *obj,int number);
432 public: void Register_Auto_Save_Variables();
433};
434
435class JFW_Building_Gun_Animated_Sound_Weapon_No_Aircraft : public ScriptImpClass {
436 int effectid;
437 int attackid;
438 bool enemyseen;
439 bool lastframe;
440 void Created(GameObject *obj);
441 void Custom(GameObject *obj,int type,int param,GameObject *sender);
442 void Enemy_Seen(GameObject *obj,GameObject *enemy);
443 void Timer_Expired(GameObject *obj,int number);
444 public: void Register_Auto_Save_Variables();
445};
446
447class JFW_Building_Gun_Animated_Sound_Weapon_Aircraft_Only : public ScriptImpClass {
448 int effectid;
449 int attackid;
450 bool enemyseen;
451 bool lastframe;
452 void Created(GameObject *obj);
453 void Custom(GameObject *obj,int type,int param,GameObject *sender);
454 void Enemy_Seen(GameObject *obj,GameObject *enemy);
455 void Timer_Expired(GameObject *obj,int number);
456 public: void Register_Auto_Save_Variables();
457};
458
459class JFW_Building_Gun_Animated_Sound_No_Aircraft_Secondary : public ScriptImpClass {
460 int weaponid;
461 void Created(GameObject *obj);
462 void Killed(GameObject *obj,GameObject *killer);
463 void Timer_Expired(GameObject *obj,int number);
464 public: void Register_Auto_Save_Variables();
465};
466
467class JFW_Building_Gun_Animated_Sound_Aircraft_Only_Secondary : public ScriptImpClass {
468 int weaponid;
469 void Created(GameObject *obj);
470 void Killed(GameObject *obj,GameObject *killer);
471 void Timer_Expired(GameObject *obj,int number);
472 public: void Register_Auto_Save_Variables();
473};
474
475class JFW_Building_Gun_Animated_Sound_Weapon_No_Aircraft_Secondary : public ScriptImpClass {
476 bool primary;
477 int effectid;
478 int attackid;
479 bool enemyseen;
480 bool lastframe;
481 void Created(GameObject *obj);
482 void Custom(GameObject *obj,int type,int param,GameObject *sender);
483 void Enemy_Seen(GameObject *obj,GameObject *enemy);
484 void Timer_Expired(GameObject *obj,int number);
485 public: void Register_Auto_Save_Variables();
486};
487
488class JFW_Building_Gun_Animated_Sound_Weapon_Aircraft_Only_Secondary : public ScriptImpClass {
489 bool primary;
490 int effectid;
491 int attackid;
492 bool enemyseen;
493 bool lastframe;
494 void Created(GameObject *obj);
495 void Custom(GameObject *obj,int type,int param,GameObject *sender);
496 void Enemy_Seen(GameObject *obj,GameObject *enemy);
497 void Timer_Expired(GameObject *obj,int number);
498 public: void Register_Auto_Save_Variables();
499};
500
501class JFW_Building_Gun_Animated_Sound_No_VTOL : public ScriptImpClass {
502 int weaponid;
503 void Created(GameObject *obj);
504 void Killed(GameObject *obj,GameObject *killer);
505 void Timer_Expired(GameObject *obj,int number);
506 public: void Register_Auto_Save_Variables();
507};
508
509class JFW_Building_Gun_Animated_Sound_VTOL_Only : public ScriptImpClass {
510 int weaponid;
511 void Created(GameObject *obj);
512 void Killed(GameObject *obj,GameObject *killer);
513 void Timer_Expired(GameObject *obj,int number);
514 public: void Register_Auto_Save_Variables();
515};
516
517class JFW_Building_Gun_Animated_Sound_Weapon_No_VTOL : public ScriptImpClass {
518 int effectid;
519 int attackid;
520 bool enemyseen;
521 bool lastframe;
522 void Created(GameObject *obj);
523 void Custom(GameObject *obj,int type,int param,GameObject *sender);
524 void Enemy_Seen(GameObject *obj,GameObject *enemy);
525 void Timer_Expired(GameObject *obj,int number);
526 public: void Register_Auto_Save_Variables();
527};
528
529class JFW_Building_Gun_Animated_Sound_Weapon_VTOL_Only : public ScriptImpClass {
530 int effectid;
531 int attackid;
532 bool enemyseen;
533 bool lastframe;
534 void Created(GameObject *obj);
535 void Custom(GameObject *obj,int type,int param,GameObject *sender);
536 void Enemy_Seen(GameObject *obj,GameObject *enemy);
537 void Timer_Expired(GameObject *obj,int number);
538 public: void Register_Auto_Save_Variables();
539};
540
541class JFW_Building_Gun_Animated_Sound_No_VTOL_Secondary : public ScriptImpClass {
542 int weaponid;
543 void Created(GameObject *obj);
544 void Killed(GameObject *obj,GameObject *killer);
545 void Timer_Expired(GameObject *obj,int number);
546 public: void Register_Auto_Save_Variables();
547};
548
549class JFW_Building_Gun_Animated_Sound_VTOL_Only_Secondary : public ScriptImpClass {
550 int weaponid;
551 void Created(GameObject *obj);
552 void Killed(GameObject *obj,GameObject *killer);
553 void Timer_Expired(GameObject *obj,int number);
554 public: void Register_Auto_Save_Variables();
555};
556
557class JFW_Building_Gun_Animated_Sound_Weapon_No_VTOL_Secondary : public ScriptImpClass {
558 bool primary;
559 int effectid;
560 int attackid;
561 bool enemyseen;
562 bool lastframe;
563 void Created(GameObject *obj);
564 void Custom(GameObject *obj,int type,int param,GameObject *sender);
565 void Enemy_Seen(GameObject *obj,GameObject *enemy);
566 void Timer_Expired(GameObject *obj,int number);
567 public: void Register_Auto_Save_Variables();
568};
569
570class JFW_Building_Gun_Animated_Sound_Weapon_VTOL_Only_Secondary : public ScriptImpClass {
571 bool primary;
572 int effectid;
573 int attackid;
574 bool enemyseen;
575 bool lastframe;
576 void Created(GameObject *obj);
577 void Custom(GameObject *obj,int type,int param,GameObject *sender);
578 void Enemy_Seen(GameObject *obj,GameObject *enemy);
579 void Timer_Expired(GameObject *obj,int number);
580 public: void Register_Auto_Save_Variables();
581};