Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
AirStripGameObj.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__AIRSTRIPGAMEOBJ_H
13#define TT_INCLUDE__AIRSTRIPGAMEOBJ_H
14
15
16
17#include "VehicleFactoryGameObj.h"
18
19
20
21class PersistFactoryClass;
22class AirStripGameObjDef;
23class ChunkSaveClass;
24class ChunkLoadClass;
25class BaseControllerClass;
26
27
28
29class AirStripGameObj :
30 public VehicleFactoryGameObj
31{
32
33private:
34
35 float dropoffTime; // 08CC
36 float unk08D0; // 08D0
37 float lengthToVehicleDisplay; // 08D4
38 float lengthToDropoff; // 08D8;
39 bool isCinematicPlaying; // 08DC;
40 PhysicalGameObj* dropCinematic; // 08E0
41
42public:
43
44 AirStripGameObj();
45 virtual ~AirStripGameObj();
46 virtual const PersistFactoryClass& Get_Factory() const;
47 virtual void Init();
48 void Init(const AirStripGameObjDef&);
49 SCRIPTS_API const AirStripGameObjDef & Get_Definition( void ) const ;
50 virtual bool Save(ChunkSaveClass&);
51 virtual bool Load(ChunkLoadClass&);
52 void Load_Variables(ChunkLoadClass&);
53 virtual void CnC_Initialize(BaseControllerClass*);
54 virtual void Think();
55 virtual void Begin_Generation();
56 void Start_Cinematic();
57 virtual AirStripGameObj* As_AirStripGameObj() {return this;}
58
59}; // 08E4
60
61
62
63#endif