Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
CinematicGameObj.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_CINEMATICGAMEOBJ_H
13#define TT_INCLUDE_CINEMATICGAMEOBJ_H
14
15#include "ArmedGameObj.h"
16class AudibleSoundClass;
17class CinematicGameObjDef;
18class CinematicGameObj : public ArmedGameObj {
19private:
20 AudibleSoundClass *Sound;
21public:
22 const PersistFactoryClass &Get_Factory() const;
23 CinematicGameObj();
24 ~CinematicGameObj();
25 void Init();
26 void Init(const CinematicGameObjDef &);
27 void Cinematic_Init();
28 SCRIPTS_API const CinematicGameObjDef & Get_Definition( void ) const ;
29 bool Save(ChunkSaveClass &csave);
30 bool Load(ChunkLoadClass &cload);
31 void On_Post_Load();
32 void Set_Sound(int, char const *);
33 void Think();
34 void Post_Think();
35 void Completely_Damaged(const OffenseObjectClass &offense);
36 float Get_Animation_Length();
37 void Export_Rare(BitStreamClass &BitStream);
38 void Import_Rare(BitStreamClass &BitStream);
39 bool Takes_Explosion_Damage() {return false;}
40 CinematicGameObj * As_CinematicGameObj() {return this;}
41};
42
43#endif