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

Comparing deliantra/server/include/define.h (file contents):
Revision 1.107 by root, Sat Nov 7 18:30:05 2009 UTC vs.
Revision 1.110 by root, Mon Nov 23 14:09:05 2009 UTC

393 393
394/* the flags */ 394/* the flags */
395 395
396#define FLAG_ALIVE 0 /* Object can fight (or be fought) */ 396#define FLAG_ALIVE 0 /* Object can fight (or be fought) */
397#define FLAG_WIZ 1 /* Object has special privilegies */ 397#define FLAG_WIZ 1 /* Object has special privilegies */
398#define FLAG_REMOVED 2 /* Object is not in any map or invenory */ 398#define FLAG_REMOVED 2 /* Object is not in any map or inventory */
399#define FLAG_FREED 3 /* Object is in the list of free objects */ 399#define FLAG_FREED 3 /* Object is in the list of free objects */
400#define FLAG_WIZLOOK 4 /* disable los and lighting */ 400#define FLAG_WIZLOOK 4 /* disable los and lighting */
401#define FLAG_APPLIED 5 /* Object is ready for use by living */ 401#define FLAG_APPLIED 5 /* Object is ready for use by living */
402#define FLAG_UNPAID 6 /* Object hasn't been paid for yet */ 402#define FLAG_UNPAID 6 /* Object hasn't been paid for yet */
403#define FLAG_USE_SHIELD 7 /* Can this creature use a shield? */ 403#define FLAG_USE_SHIELD 7 /* Can this creature use a shield? */
442#define FLAG_UNAGGRESSIVE 38 /* Monster doesn't attack players */ 442#define FLAG_UNAGGRESSIVE 38 /* Monster doesn't attack players */
443#define FLAG_REFL_MISSILE 39 /* Arrows will reflect from object */ 443#define FLAG_REFL_MISSILE 39 /* Arrows will reflect from object */
444#define FLAG_REFL_SPELL 40 /* Spells (some) will reflect from object */ 444#define FLAG_REFL_SPELL 40 /* Spells (some) will reflect from object */
445 445
446#define FLAG_NO_MAGIC 41 /* Spells (some) can't pass this object */ 446#define FLAG_NO_MAGIC 41 /* Spells (some) can't pass this object */
447#define FLAG_NO_FIX_PLAYER 42 /* fix_player() won't be called */ 447//#define FLAG_NO_FIX_PLAYER 42*/ /* fix_player() won't be called */
448#define FLAG_IS_LIGHTABLE 43 /* object can be lit */ 448#define FLAG_IS_LIGHTABLE 43 /* object can be lit */
449#define FLAG_TEAR_DOWN 44 /* at->faces[hp*animations/maxhp] at hit */ 449#define FLAG_TEAR_DOWN 44 /* at->faces[hp*animations/maxhp] at hit */
450#define FLAG_RUN_AWAY 45 /* Object runs away from nearest player \ 450#define FLAG_RUN_AWAY 45 /* Object runs away from nearest player \
451 but can still attack at a distance */ 451 but can still attack at a distance */
452 452
751// Cut off point of when an object is put on the active list or not 751// Cut off point of when an object is put on the active list or not
752// we use 2**-n because that can be represented exactly 752// we use 2**-n because that can be represented exactly
753// also make sure that this is a float, not double, constant 753// also make sure that this is a float, not double, constant
754#define MIN_ACTIVE_SPEED (1.f / 65536.f) 754#define MIN_ACTIVE_SPEED (1.f / 65536.f)
755 755
756/* have mercy on players and guarantee a somewhat higher speed */
757#define MIN_PLAYER_SPEED 0.04f
758
756/* 759/*
757 * Warning! 760 * Warning!
758 * If you add message types here, don't forget 761 * If you add message types here, don't forget
759 * to keep the client up to date too! 762 * to keep the client up to date too!
760 */ 763 */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines