Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
CinematicGameObjDef.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_CINEMATICGAMEOBJDEF_H
13#define TT_INCLUDE_CINEMATICGAMEOBJDEF_H
14#include "ArmedGameObjDef.h"
15class CinematicGameObjDef : public ArmedGameObjDef {
16public:
17 CinematicGameObjDef();
18 ~CinematicGameObjDef();
19 const PersistFactoryClass &Get_Factory() const;
20 bool Save(ChunkSaveClass &csave);
21 bool Load(ChunkLoadClass &cload);
22 uint32 Get_Class_ID() const;
23 PersistClass *Create() const;
24#ifdef DDBEDIT
25 virtual void Dump (FileClass &file);
26 virtual void DumpPhys (FileClass &file);
27#endif
28 DECLARE_EDITABLE( CinematicGameObjDef, ArmedGameObjDef );
29private:
30 int SoundDefID;
31 StringClass SoundBoneName;
32 StringClass AnimationName;
33 bool AutoFireWeapon;
34 bool DestroyAfterAnimation;
35 bool CameraRelative;
36 friend class CinematicGameObj;
37 friend class PresetDump;
38};
39
40#endif