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.127 by root, Sat Apr 10 04:42:44 2010 UTC vs.
Revision 1.128 by root, Sun Apr 11 00:34:05 2010 UTC

370/* 370/*
371 * If any FLAG's are added or changed, make sure the flag_names structure in 371 * If any FLAG's are added or changed, make sure the flag_names structure in
372 * common/loader.C is updated. 372 * common/loader.C is updated.
373 */ 373 */
374 374
375/* Basic routines to do above */
376#define SET_FLAG(obj, flg) (obj)->flag [flg] = 1
377#define CLEAR_FLAG(obj, flg) (obj)->flag [flg] = 0
378#define QUERY_FLAG(obj, flg) (obj)->flag [flg]
379
380/* the flags */ 375/* the flags */
381 376
382#define FLAG_ALIVE 0 /* Object can fight (or be fought) */ 377#define FLAG_ALIVE 0 /* Object can fight (or be fought) */
383#define FLAG_WIZ 1 /* Object has special privilegies */ 378#define FLAG_WIZ 1 /* Object has special privilegies */
384#define FLAG_REMOVED 2 /* Object is not in any map or inventory */ 379#define FLAG_REMOVED 2 /* Object is not in any map or inventory */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines