Debian Codegraph @

src/DMod.cpp

raw
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 #ifdef HAVE_CONFIG_H
24 #include <config.h>
25 #endif
26
27 #include "DMod.h"
28 #include "BgTilesetsManager.h"
29
30 #include <string>
31 using namespace std;
32
33 DMod g_dmod;
34
35 DMod::DMod() {
36 }
37
38 void DMod::load(string path) {
39 bgTilesets.loadDefault();
40 }
41
42 void DMod::unload() {
43 bgTilesets.unloadAll();
44 }