Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
VehicleFactoryGameObjDef.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__VEHICLEFACTORYGAMEOBJDEF_H
13#define TT_INCLUDE__VEHICLEFACTORYGAMEOBJDEF_H
14
15#include "BuildingGameObjDef.h"
16
17
18class VehicleFactoryGameObjDef : public BuildingGameObjDef
19{
20public:
21 friend class VehicleFactoryGameObj;
22 VehicleFactoryGameObjDef (void);
23 ~VehicleFactoryGameObjDef (void);
24 uint32 Get_Class_ID (void) const;
25 PersistClass * Create (void) const;
26 bool Save (ChunkSaveClass &csave);
27 bool Load (ChunkLoadClass &cload);
28 const PersistFactoryClass & Get_Factory (void) const;
29 int Get_Pad_Clearing_Warhead(void) const { return PadClearingWarhead; }
30 float Get_Total_Building_Time(void) const { return TotalBuildingTime; }
31 bool Get_Flying_Waypaths_Enabled() const { return EnableFlyingWaypaths; }
32 bool Get_Build_Ground_Only() const { return BuildGroundOnly; }
33#ifdef DDBEDIT
34 virtual void Dump (FileClass &file);
35#endif
36 DECLARE_EDITABLE (VehicleFactoryGameObjDef, BuildingGameObjDef);
37protected:
38 void Load_Variables (ChunkLoadClass &cload);
39 int PadClearingWarhead;
40 float TotalBuildingTime;
41 bool EnableFlyingWaypaths;
42 bool BuildGroundOnly;
43 friend class PresetDump;
44}; // size: 168
45
46
47#endif