Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
agtfix.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 GDI_AGT : public ScriptImpClass {
14 int MissileID;
15 int GunID[4];
16
17 void Created(GameObject* AGTObj);
18 void Killed(GameObject* AGTObj, GameObject* KillerObj);
19 void Custom(GameObject* AGTObj, int Type, int Param, GameObject* Sender);
20 void Create_Guns(GameObject* AGTObj);
21 void Destroy_Guns(GameObject* AGTObj);
22};
23
24class GDI_AGT_Gun : public ScriptImpClass {
25 int MissileID;
26 int EnemyID;
27
28 void Created(GameObject* GunObj);
29 void Destroyed(GameObject* GunObj);
30 void Enemy_Seen(GameObject* GunObj, GameObject* EnemyObj);
31 void Timer_Expired(GameObject* GunObj, int Number);
32 void Custom(GameObject* MissileObj, int type, int Param, GameObject* SenderObj);
33
34 bool IsValidEnemy(GameObject* GunObj, GameObject* EnemyObj);
35};
36
37class GDI_AGT_Missile : public ScriptImpClass {
38 int EnemyID;
39
40 void Created(GameObject* MissileObj);
41 void Destroyed(GameObject* MissileObj);
42 void Timer_Expired(GameObject* MissileObj, int Number);
43 void Custom(GameObject* MissileObj, int type, int Param, GameObject* SenderObj);
44
45 bool IsValidEnemy(GameObject* WeaponObj, GameObject* EnemyObj);
46};