Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
ra2.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 Ra2Ven_MirageTank : public ScriptImpClass {
14 int pilotID;
15 float xpos;
16 float ypos;
17 float zpos;
18 bool IsHided;
19 void Created(GameObject *obj);
20 public: void Register_Auto_Save_Variables();
21 void Timer_Expired(GameObject *obj,int number);
22 void Custom(GameObject *obj,int type,int param,GameObject *sender);
23 void Killed(GameObject *obj,GameObject *killer);
24};
25
26class Ra2Ven_VehicleFalling : public ScriptImpClass {
27 bool IsFalling;
28 float xpos;
29 float ypos;
30 float zpos;
31 void Created(GameObject *obj);
32 void Timer_Expired(GameObject *obj,int number);
33 public: void Register_Auto_Save_Variables();
34};
35
36class Ra2Ven_DemoTruck : public ScriptImpClass {
37 int pilotID;
38 bool CanExplode;
39 void Created(GameObject *obj);
40 void Damaged(GameObject *obj,GameObject *damager,float amount);
41 void Custom(GameObject *obj,int type,int param,GameObject *sender);
42 void Killed(GameObject *obj,GameObject *killer);
43 public: void Register_Auto_Save_Variables();
44};
45
46class Ra2Ven_Deployable_Vehicle : public ScriptImpClass {
47 int pilotID;
48 bool CanDestroyAnim;
49 void Created(GameObject *obj);
50 public: void Register_Auto_Save_Variables();
51 void Damaged(GameObject *obj,GameObject *damager,float amount);
52 void Custom(GameObject *obj,int type,int param,GameObject *sender);
53 void Killed(GameObject *obj,GameObject *killer);
54};
55
56class Ra2Ven_Deploy_Animation : public ScriptImpClass {
57 void Created(GameObject *obj);
58 void Timer_Expired(GameObject *obj,int number);
59};
60
61class Ra2Ven_RandomTree : public ScriptImpClass {
62 void Created(GameObject *obj);
63};
64
65class Ra2Ven_TurretSound : public ScriptImpClass {
66 int TurretId;
67 void Created(GameObject *obj);
68 void Killed(GameObject *obj,GameObject *killer);
69 public: void Register_Auto_Save_Variables();
70};
71
72class Ra2Ven_TurretSoundObj : public ScriptImpClass {
73 int LastOrientation;
74 bool CanPlay;
75 void Created(GameObject *obj);
76 void Timer_Expired(GameObject *obj,int number);
77 void Custom(GameObject *obj,int type,int param,GameObject *sender);
78 public: void Register_Auto_Save_Variables();
79};
80
81class Ra2Ven_OccupentWeapon : public ScriptImpClass {
82 void Custom(GameObject *obj,int type,int param,GameObject *sender);
83};
84
85class Ra2Ven_FireAnimation : public ScriptImpClass {
86 float InitDistance;
87 bool CanPlayAnim;
88 int AnimMode;
89 void Created(GameObject *obj);
90 void Timer_Expired(GameObject *obj,int number);
91 void Animation_Complete(GameObject *obj,const char *animation_name);
92 public: void Register_Auto_Save_Variables();
93};
94
95class Ra2Ven_FireAnimation2 : public ScriptImpClass {
96 float InitDistance;
97 bool CanPlayAnim;
98 int CurAnim;
99 void Created(GameObject *obj);
100 void Timer_Expired(GameObject *obj,int number);
101 void Animation_Complete(GameObject *obj,const char *animation_name);
102 public: void Register_Auto_Save_Variables();
103};
104
105class Ra2Ven_Dplbl_Vhcls_Cursor : public ScriptImpClass {
106 int pilotID;
107 bool CanDestroyAnim;
108 bool IsOnDeploy;
109 void Created(GameObject *obj);
110 public: void Register_Auto_Save_Variables();
111 void Damaged(GameObject *obj,GameObject *damager,float amount);
112 void Custom(GameObject *obj,int type,int param,GameObject *sender);
113 void Killed(GameObject *obj,GameObject *killer);
114};