Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
AirStripGameObjDef.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__AIRSTRIPGAMEOBJDEF_H
13#define TT_INCLUDE__AIRSTRIPGAMEOBJDEF_H
14
15
16
17#include "VehicleFactoryGameObjDef.h"
18
19
20
21class AirStripGameObjDef :
22 public VehicleFactoryGameObjDef
23{
24public:
25 AirStripGameObjDef();
26 virtual ~AirStripGameObjDef();
27 virtual const PersistFactoryClass& Get_Factory () const;
28 virtual bool Save (ChunkSaveClass& chunkSaver);
29 virtual bool Load (ChunkLoadClass& chunkLoader);
30 virtual uint32 Get_Class_ID () const;
31 virtual PersistClass* Create () const;
32#ifdef DDBEDIT
33 virtual void Dump (FileClass &file);
34#endif
35 DECLARE_EDITABLE (AirStripGameObjDef, VehicleFactoryGameObjDef);
36private:
37 void Load_Variables (ChunkLoadClass &cload);
38 int DropCinematicDefId; // 00A8
39 int CinematicSlotIndex; // 00AC
40 float CinematicLengthToDropOff; // 00B0
41 float CinematicLengthToVehicleDisplay; // 00B4
42 bool HideVehicles;
43 friend class AirStripGameObj;
44 friend class PresetDump;
45}; // 00B8
46
47
48
49#endif