Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
gmvehicle.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#ifndef TT_INCLUDE_GMVEHICLE_H
13#define TT_INCLUDE_GMVEHICLE_H
14class VehicleGameObj;
15class SSGM_Vehicle : public ScriptImpClass {
16 void Created(GameObject *obj);
17 void Custom(GameObject *obj,int type,int param,GameObject *sender);
18 void Damaged(GameObject *obj,GameObject *damager,float amount);
19 void Killed(GameObject *obj,GameObject *killer);
20 void Destroyed(GameObject *obj);
21 void Detach(GameObject *obj);
22 void Timer_Expired(GameObject *obj, int number);
23 bool triggerrepairing;
24 bool triggerrepaired;
25public:
26 void Register_Auto_Save_Variables();
27 int OwnerID;
28 int IconModelID;
29};
30
31class SSGM_Vehicle_Wreckage : public ScriptImpClass {
32 void Created(GameObject *obj);
33 void Damaged(GameObject *obj,GameObject *damager,float amount);
34 void Timer_Expired(GameObject *obj, int number);
35};
36
37SCRIPTS_API VehicleGameObj *Find_My_Vehicle(GameObject *obj);
38SCRIPTS_API void Bind_Vehicle(GameObject *obj);
39SCRIPTS_API void Lock_Vehicle(GameObject *obj);
40SCRIPTS_API void Unlock_Vehicle(GameObject *obj, bool silent = false);
41SCRIPTS_API void Unbind_Vehicle(GameObject *obj, bool silent = false);
42SCRIPTS_API void Kick_Vehicle_Driver(GameObject *obj);
43#endif