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.38 by root, Thu Jan 11 01:10:01 2007 UTC vs.
Revision 1.39 by root, Mon Jan 15 00:40:49 2007 UTC

660 * Add check - if type is 0, don't stop anything from moving 660 * Add check - if type is 0, don't stop anything from moving
661 * onto it. 661 * onto it.
662 * 662 *
663 */ 663 */
664#define OB_TYPE_MOVE_BLOCK(ob1, type) \ 664#define OB_TYPE_MOVE_BLOCK(ob1, type) \
665 ( (type != 0) && (ob1->move_type & type) == ob1->move_type) 665 ((type) && (ob1->move_type & type) == ob1->move_type)
666 666
667 667
668#define SET_GENERATE_TYPE(xyz,va) (xyz)->stats.sp=(va) 668#define SET_GENERATE_TYPE(xyz,va) (xyz)->stats.sp=(va)
669#define GENERATE_TYPE(xyz) ((xyz)->stats.sp) 669#define GENERATE_TYPE(xyz) ((xyz)->stats.sp)
670#define GENERATE_SPEED(xyz) ((xyz)->stats.maxsp) /* if(!RANDOM()%<speed>) */ 670#define GENERATE_SPEED(xyz) ((xyz)->stats.maxsp) /* if(!RANDOM()%<speed>) */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines