ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/player.h
(Generate patch)

Comparing deliantra/server/include/player.h (file contents):
Revision 1.88 by root, Tue Dec 23 06:58:23 2008 UTC vs.
Revision 1.90 by root, Thu Jan 1 19:42:43 2009 UTC

199 199
200 static player *load_pl (object_thawer &thawer); 200 static player *load_pl (object_thawer &thawer);
201 MTH static player *load_pl (object_thawer *thawer) { return load_pl (*thawer); } 201 MTH static player *load_pl (object_thawer *thawer) { return load_pl (*thawer); }
202 202
203 MTH void link_skills (); 203 MTH void link_skills ();
204 MTH object *find_skill (const char *name) const; 204 MTH object *find_skill (shstr_cmp name) const;
205 object *find_skill (const shstr &name) const;
206 205
207 bool save_pl (object_freezer &freezer); 206 bool save_pl (object_freezer &freezer);
208 MTH bool save_pl (const char *path); 207 MTH bool save_pl (const char *path);
209 208
210 void do_destroy (); 209 void do_destroy ();
219 if (ns) 218 if (ns)
220 ns->play_sound (sound, dx, dy); 219 ns->play_sound (sound, dx, dy);
221 } 220 }
222 221
223 // wether the player can "see" this mapspace or not, decided by los 222 // wether the player can "see" this mapspace or not, decided by los
224 // 0 - nothing see, 100 - fully visible 223 // 0 - bright, 3 dark, 4 too dark, 100 blocked or out of range
225 MTH sint8 visibility_at (maptile *map, int x, int y) const; 224 MTH sint8 darkness_at (maptile *map, int x, int y) const;
226 225
227 MTH void connect (client *ns); 226 MTH void connect (client *ns);
228 MTH void disconnect (); 227 MTH void disconnect ();
229 228
230 MTH void activate (); 229 MTH void activate ();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines