| 1 |
root |
1.1 |
/* |
| 2 |
|
|
* This file is part of Deliantra, the Roguelike Realtime MMORPG. |
| 3 |
root |
1.4 |
* |
| 4 |
root |
1.3 |
* Copyright (©) 2011,2012 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
| 5 |
root |
1.4 |
* |
| 6 |
root |
1.1 |
* 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 |
root |
1.4 |
* |
| 11 |
root |
1.1 |
* 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 |
root |
1.4 |
* |
| 16 |
root |
1.1 |
* 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 |
root |
1.4 |
* |
| 20 |
root |
1.1 |
* The authors can be reached via e-mail to <support@deliantra.net> |
| 21 |
|
|
*/ |
| 22 |
|
|
|
| 23 |
|
|
#ifndef QUADLAND_H_ |
| 24 |
|
|
#define QUADLAND_H_ |
| 25 |
|
|
|
| 26 |
root |
1.2 |
// physics type subtype |
| 27 |
|
|
enum |
| 28 |
|
|
{ |
| 29 |
|
|
ST_NONE, |
| 30 |
|
|
ST_WATER_SOURCE, |
| 31 |
|
|
ST_WATER_FLOW, |
| 32 |
|
|
}; |
| 33 |
|
|
|
| 34 |
root |
1.1 |
void gen_quadmap (maptile *m, int x, int y, int z); |
| 35 |
|
|
void move_into_wall (object *ob, object *wall); |
| 36 |
root |
1.2 |
void move_physics (object *ob); |
| 37 |
|
|
void update_physics (maptile *m, int x, int y); |
| 38 |
root |
1.1 |
|
| 39 |
|
|
#endif |
| 40 |
|
|
|