| 1 |
/** |
| 2 |
* Game top static structure |
| 3 |
|
| 4 |
* Copyright (C) 2015 Sylvain Beucler |
| 5 |
|
| 6 |
* This file is part of GNU FreeDink |
| 7 |
|
| 8 |
* GNU FreeDink is free software: you can redistribute it and/or |
| 9 |
* modify it under the terms of the GNU Affero General Public License |
| 10 |
* as published by the Free Software Foundation, either version 3 of |
| 11 |
* the License, or (at your option) any later version. |
| 12 |
|
| 13 |
* GNU FreeDink is distributed in the hope that it will be useful, but |
| 14 |
* WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 16 |
* Affero General Public License for more details. |
| 17 |
|
| 18 |
* You should have received a copy of the GNU Affero General Public |
| 19 |
* License along with GNU FreeDink. If not, see |
| 20 |
* <http://www.gnu.org/licenses/>. |
| 21 |
*/ |
| 22 |
|
| 23 |
#ifndef DMOD_H |
| 24 |
#define DMOD_H |
| 25 |
|
| 26 |
#include <string> |
| 27 |
using namespace std; |
| 28 |
|
| 29 |
#include "EditorMap.h" |
| 30 |
#include "BgTilesetsManager.h" |
| 31 |
|
| 32 |
class DMod { |
| 33 |
public: |
| 34 |
DMod(); |
| 35 |
void load(string path); |
| 36 |
void unload(); |
| 37 |
|
| 38 |
EditorMap map; |
| 39 |
BgTilesetsManager bgTilesets; |
| 40 |
}; |
| 41 |
|
| 42 |
extern DMod g_dmod; |
| 43 |
|
| 44 |
#endif |