Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
SamSiteGameObj.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_SAMSITEGAMEOBJ_H
13#define TT_INCLUDE_SAMSITEGAMEOBJ_H
14#include "SmartGameObj.h"
15#include "Vector3.h"
16class SAMSiteGameObjDef;
17class SAMSiteGameObj : public SmartGameObj {
18private:
19 int turretbone;
20 int barrelbone;
21 int mode;
22 float time;
23public:
24 const PersistFactoryClass &Get_Factory() const;
25 SAMSiteGameObj();
26 ~SAMSiteGameObj();
27 void Init();
28 void Init(const SAMSiteGameObjDef &);
29 SCRIPTS_API const SAMSiteGameObjDef & Get_Definition( void ) const ;
30 bool Save(ChunkSaveClass &csave);
31 bool Load(ChunkLoadClass &cload);
32 void Export_Frequent(BitStreamClass &BitStream);
33 void Import_Frequent(BitStreamClass &BitStream);
34 void Update_Turret(float weapon_turn,float weapon_tilt);
35 bool Set_Targeting(Vector3 const&, bool);
36 void Generate_Control();
37 void Think();
38};
39#endif