Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
prototypeclass.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__PROTOTYPECLASS_H
13#define TT_INCLUDE__PROTOTYPECLASS_H
14#include "engine_io.h"
15class RenderObjClass;
16class PrototypeClass {
17public:
18 PrototypeClass* NextHash;
19 PrototypeClass() : NextHash(0)
20 {
21 }
22 virtual ~PrototypeClass()
23 {
24 }
25 virtual const char *Get_Name() const = 0;
26 virtual int Get_Class_ID() const = 0;
27 virtual RenderObjClass *Create() = 0;
28};
29
30class PrototypeLoaderClass
31{
32public:
33 virtual int Chunk_Type() = 0;
34 virtual PrototypeClass* Load_W3D(ChunkLoadClass &chunk_load) = 0;
35};
36
37#endif