1 |
/* |
2 |
* This file is part of Deliantra, the Roguelike Realtime MMORPG. |
3 |
* |
4 |
* Copyright (©) 2011,2012,2013,2014,2015,2016 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
5 |
* |
6 |
* Deliantra is free software: you can redistribute it and/or modify it under |
7 |
* the terms of the Affero GNU General Public License as published by the |
8 |
* Free Software Foundation, either version 3 of the License, or (at your |
9 |
* option) any later version. |
10 |
* |
11 |
* This program is distributed in the hope that it will be useful, |
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 |
* GNU General Public License for more details. |
15 |
* |
16 |
* You should have received a copy of the Affero GNU General Public License |
17 |
* and the GNU General Public License along with this program. If not, see |
18 |
* <http://www.gnu.org/licenses/>. |
19 |
* |
20 |
* The authors can be reached via e-mail to <support@deliantra.net> |
21 |
*/ |
22 |
|
23 |
#ifndef QUADLAND_H_ |
24 |
#define QUADLAND_H_ |
25 |
|
26 |
// physics type subtype |
27 |
enum |
28 |
{ |
29 |
ST_NONE, |
30 |
ST_WATER_SOURCE, |
31 |
ST_WATER_FLOW, |
32 |
}; |
33 |
|
34 |
void gen_quadmap (maptile *m, int x, int y, int z); |
35 |
void move_into_wall (object *ob, object *wall); |
36 |
void move_physics (object *ob); |
37 |
void update_physics (maptile *m, int x, int y); |
38 |
|
39 |
#endif |
40 |
|