Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
SimpleGameObj.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_SIMPLEGAMEOBJ_H
13#define TT_INCLUDE_SIMPLEGAMEOBJ_H
14#include "PhysicalGameObj.h"
15#include "SimpleGameObjDef.h"
16class SimpleGameObj : public PhysicalGameObj {
17public:
18 SimpleGameObj();
19 ~SimpleGameObj();
20 void On_Post_Load();
21 const PersistFactoryClass &Get_Factory() const;
22 bool Save(ChunkSaveClass &csave);
23 bool Load(ChunkLoadClass &cload);
24 void Init();
25 void Init(const SimpleGameObjDef &);
26 bool Is_Always_Dirty() {return false;}
27 SimpleGameObj * As_SimpleGameObj() {return this;}
28 const SimpleGameObjDef SCRIPTS_API & Get_Definition( void ) const;
29 bool Is_Hidden_Object() {return Get_Definition().IsHiddenObject;}
30 void Export_Rare( BitStreamClass &packet );
31 void Import_Rare( BitStreamClass &packet );
32}; // 07B0
33
34#endif