Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
PhysicalGameObjDef.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_PHYSICALGAMEOBJDEF_H
13#define TT_INCLUDE_PHYSICALGAMEOBJDEF_H
14#include "DamageableGameObjDef.h"
15typedef enum
16{
17 TEAM_VISIBILITY_ALL,
18 TEAM_VISIBILITY_FRIENDLY,
19 TEAM_VISIBILITY_ENEMY
20} TeamVisibilitySetting;
21class PhysicalGameObjDef : public DamageableGameObjDef
22{
23public:
24 PhysicalGameObjDef( void );
25 virtual bool Save( ChunkSaveClass &csave );
26 virtual bool Load( ChunkLoadClass &cload );
27 virtual bool Is_Valid_Config (StringClass &message);
28 int Get_Phys_Def_ID( void ) const { return PhysDefID; }
29 int Get_Orator_Type( void ) const { return OratorType; }
30 StringClass Get_Animation() const {return Animation;}
31 bool Ignore_For_Tracking() const {return IgnoreForTracking;}
32#ifdef DDBEDIT
33 virtual void Dump (FileClass &file);
34#endif
35 DECLARE_EDITABLE( PhysicalGameObjDef, DamageableGameObjDef );
36protected:
37 int Type;
38 int RadarBlipType;
39 float BullseyeOffsetZ;
40 StringClass Animation;
41 int PhysDefID;
42 int KilledExplosion;
43 bool DefaultHibernationEnable;
44 bool AllowInnateConversations;
45 int OratorType;
46 bool UseCreationEffect;
47 char TeamVisibility;
48 bool IgnoreForTracking;
49 friend class PhysicalGameObj;
50 friend class PresetDump;
51};
52
53#endif