Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
WarFactoryGameObj.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__WARFACTORYGAMEOBJ_H
13#define TT_INCLUDE__WARFACTORYGAMEOBJ_H
14
15#include "VehicleFactoryGameObj.h"
16
17class WarFactoryGameObjDef;
18class WarFactoryGameObj : public VehicleFactoryGameObj
19{
20public:
21 WarFactoryGameObj (void);
22 ~WarFactoryGameObj (void);
23 virtual void Init( void );
24 void Init (const WarFactoryGameObjDef & definition);
25 SCRIPTS_API const WarFactoryGameObjDef & Get_Definition (void) const;
26 WarFactoryGameObj * As_WarFactoryGameObj (void) { return this; }
27 bool Save (ChunkSaveClass &csave);
28 bool Load (ChunkLoadClass &cload);
29 const PersistFactoryClass & Get_Factory (void) const;
30 void CnC_Initialize (BaseControllerClass *base);
31 void Think (void);
32protected:
33 void Load_Variables (ChunkLoadClass &cload);
34 void Play_Creation_Animation (bool onoff);
35 void Begin_Generation (void);
36 int CreationAnimationID;
37 float CreationFinishedTimer;
38};
39
40
41#endif