Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
SaveLoadSubSystemClass.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__SAVELOADSUBSYSTEMCLASS_H
13#define TT_INCLUDE__SAVELOADSUBSYSTEMCLASS_H
14
15#include "PostLoadableClass.h"
16#include "scripts.h"
17#include "engine_vector.h"
18#include "engine_io.h"
19
20class SaveLoadSubSystemClass : public PostLoadableClass
21{
22
23public:
24
25 SaveLoadSubSystemClass *NextSubSystem;
26 SaveLoadSubSystemClass();
27 ~SaveLoadSubSystemClass();
28 virtual uint32 Chunk_ID () const = 0;
29 virtual bool Contains_Data () const;
30 virtual bool Save (ChunkSaveClass& oSave) = 0;
31 virtual bool Load (ChunkLoadClass& oLoad) = 0;
32 virtual const char* Name () const = 0;
33
34}; // size: 12
35
36
37#endif