1 | /*-999 |
1 | /* |
2 | * CrossFire, A Multiplayer Online RPG |
2 | * CrossFire, A Multiplayer Online RPG |
3 | * |
3 | * |
4 | * Copyright (C) 2005, 2006, 2007 Marc Lehmann & Crossfire+ Development Team |
4 | * Copyright (C) 2005, 2006, 2007 Marc Lehmann & Crossfire+ Development Team |
5 | * Copyright (C) 2001 Mark Wedel & Crossfire Development Team |
5 | * Copyright (C) 2001 Mark Wedel & Crossfire Development Team |
6 | * Copyright (C) 1992 Frank Tore Johansen |
6 | * Copyright (C) 1992 Frank Tore Johansen |
… | |
… | |
399 | MTH bool client_visible () const |
399 | MTH bool client_visible () const |
400 | { |
400 | { |
401 | return !invisible && type != PLAYER; |
401 | return !invisible && type != PLAYER; |
402 | } |
402 | } |
403 | |
403 | |
|
|
404 | MTH struct region *region () const; |
|
|
405 | |
404 | protected: |
406 | protected: |
405 | friend struct archetype; |
407 | friend struct archetype; |
406 | |
408 | |
407 | void link (); |
409 | void link (); |
408 | void unlink (); |
410 | void unlink (); |
… | |
… | |
452 | { |
454 | { |
453 | archetype (); |
455 | archetype (); |
454 | ~archetype (); |
456 | ~archetype (); |
455 | void gather_callbacks (AV *&callbacks, event_type event) const; |
457 | void gather_callbacks (AV *&callbacks, event_type event) const; |
456 | |
458 | |
457 | static archetype *find (const char *arch); |
459 | static archetype *find (const char *name); |
458 | |
460 | |
459 | void hash_add (); // add to hashtable |
461 | void hash_add (); // add to hashtable |
460 | void hash_del (); // remove from hashtable |
462 | void hash_del (); // remove from hashtable |
461 | |
463 | |
462 | shstr ACC (RW, name); /* More definite name, like "generate_kobold" */ |
464 | shstr ACC (RW, name); /* More definite name, like "generate_kobold" */ |