1 | /* |
1 | /* |
2 | * This file is part of Deliantra, the Roguelike Realtime MMORPG. |
2 | * This file is part of Deliantra, the Roguelike Realtime MMORPG. |
3 | * |
3 | * |
4 | * Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
4 | * Copyright (©) 2005,2006,2007,2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
5 | * Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team |
5 | * Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team |
6 | * Copyright (©) 1992,2007 Frank Tore Johansen |
6 | * Copyright (©) 1992,2007 Frank Tore Johansen |
7 | * |
7 | * |
8 | * Deliantra is free software: you can redistribute it and/or modify |
8 | * Deliantra is free software: you can redistribute it and/or modify |
9 | * it under the terms of the GNU General Public License as published by |
9 | * it under the terms of the GNU General Public License as published by |
… | |
… | |
184 | MTH bool save_pl (const char *path); |
184 | MTH bool save_pl (const char *path); |
185 | |
185 | |
186 | void do_destroy (); |
186 | void do_destroy (); |
187 | void gather_callbacks (AV *&callbacks, event_type event) const; |
187 | void gather_callbacks (AV *&callbacks, event_type event) const; |
188 | |
188 | |
|
|
189 | MTH void touch () { dirty = true; } // need to touch when logged out and changed |
|
|
190 | |
189 | MTH void play_sound (faceidx sound, int dx = 0, int dy = 0) const |
191 | MTH void play_sound (faceidx sound, int dx = 0, int dy = 0) const |
190 | { |
192 | { |
191 | if (ns) |
193 | if (ns) |
192 | ns->play_sound (sound, dx, dy); |
194 | ns->play_sound (sound, dx, dy); |
193 | } |
195 | } |