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.80 by root, Tue Apr 22 07:01:46 2008 UTC vs.
Revision 1.82 by root, Tue May 6 16:55:25 2008 UTC

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 (©) 2003-2005,2007 Mark Wedel & Crossfire Development Team 5 * Copyright (©) 2003-2005,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
586 * 586 *
587 */ 587 */
588#define OB_TYPE_MOVE_BLOCK(ob1, type) \ 588#define OB_TYPE_MOVE_BLOCK(ob1, type) \
589 ((type) && (ob1->move_type & type) == ob1->move_type) 589 ((type) && (ob1->move_type & type) == ob1->move_type)
590 590
591#define SET_GENERATE_TYPE(xyz,va) (xyz)->stats.sp=(va)
592#define GENERATE_TYPE(xyz) ((xyz)->stats.sp)
593#define GENERATE_SPEED(xyz) ((xyz)->stats.maxsp) /* if(!RANDOM()%<speed>) */ 591#define GENERATE_SPEED(xyz) ((xyz)->stats.maxsp) /* if(!RANDOM()%<speed>) */
594 592
595#define EXIT_PATH(xyz) (xyz)->slaying 593#define EXIT_PATH(xyz) (xyz)->slaying
596#define EXIT_LEVEL(xyz) (xyz)->stats.food 594#define EXIT_LEVEL(xyz) (xyz)->stats.food
597#define EXIT_X(xyz) (xyz)->stats.hp 595#define EXIT_X(xyz) (xyz)->stats.hp

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines