12#ifndef TT_INCLUDE__STATICANIMPHYSDEFCLASS_H
13#define TT_INCLUDE__STATICANIMPHYSDEFCLASS_H
15#include "StaticPhysDefClass.h"
16#include "ProjectorManagerClass.h"
17#include "AnimCollisionManagerClass.h"
18class StaticAnimPhysDefClass :
public StaticPhysDefClass
21 StaticAnimPhysDefClass(
void);
22 virtual uint32 Get_Class_ID (
void)
const;
23 virtual PersistClass * Create(
void)
const;
24 virtual const char * Get_Type_Name(
void) {
return "StaticAnimPhysDef"; }
25 virtual bool Is_Type(
const char *);
26 virtual const PersistFactoryClass & Get_Factory (
void)
const;
27 virtual bool Save(ChunkSaveClass &csave);
28 virtual bool Load(ChunkLoadClass &cload);
30 virtual void Dump (FileClass &file);
32 DECLARE_EDITABLE(StaticAnimPhysDefClass,StaticPhysDefClass);
33 bool Shadow_Dynamic_Objs(
void) {
return ShadowDynamicObjs; }
34 bool Shadow_Is_Additive(
void) {
return ShadowIsAdditive; }
35 bool Shadow_Ignores_Z_Rotation(
void) {
return ShadowIgnoresZRotation; }
36 float Shadow_NearZ(
void) {
return ShadowNearZ; }
37 float Shadow_FarZ(
void) {
return ShadowFarZ; }
38 float Shadow_Intensity(
void) {
return ShadowIntensity; }
39 bool Does_Collide_In_Pathfind(
void) {
return DoesCollideInPathfind; }
42 AnimCollisionManagerDefClass AnimManagerDef;
43 ProjectorManagerDefClass ProjectorManagerDef;
44 bool ShadowDynamicObjs;
45 bool ShadowIsAdditive;
46 bool ShadowIgnoresZRotation;
49 float ShadowIntensity;
50 bool DoesCollideInPathfind;
51 friend class StaticAnimPhysClass;
52 friend class PresetDump;