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.129 by root, Sun Apr 11 01:03:58 2010 UTC vs.
Revision 1.133 by elmex, Thu Apr 28 12:11:04 2011 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,2008,2009,2010 Marc Alexander Lehmann / Robin Redeker / the Deliantra team 4 * Copyright (©) 2005,2006,2007,2008,2009,2010,2011 Marc Alexander Lehmann / Robin Redeker / the Deliantra team
5 * Copyright (©) 2003-2005 Mark Wedel & Crossfire Development Team 5 * Copyright (©) 2003-2005 Mark Wedel & Crossfire Development Team
6 * Copyright (©) 1992 Frank Tore Johansen 6 * Copyright (©) 1992 Frank Tore Johansen
7 * 7 *
8 * Deliantra is free software: you can redistribute it and/or modify it under 8 * Deliantra is free software: you can redistribute it and/or modify it under
9 * the terms of the Affero GNU General Public License as published by the 9 * the terms of the Affero GNU General Public License as published by the
41 41
42#ifdef __NetBSD__ 42#ifdef __NetBSD__
43# include <sys/param.h> 43# include <sys/param.h>
44#endif 44#endif
45 45
46#define MAXNUMLEVELS 256 // maximum number of levels possible
46#define MAXLEVEL 115 // for treasure calculations only 47#define MAXLEVEL_TREASURE 115 // for treasure calculations only
47 48
48// maximum length of an object name in the protocol 49// maximum length of an object name in the protocol
49#define NAME_LEN 127 50#define NAME_LEN 127
50 51
51#define MAX_STAT 30 /* The maximum legal value of any stat */ 52#define MAX_STAT 30 /* The maximum legal value of any stat */
493#define FLAG_CONTENT_ON_GEN 108 494#define FLAG_CONTENT_ON_GEN 108
494#define FLAG_IS_A_TEMPLATE 109 /* Object has no ingame life until instanciated */ 495#define FLAG_IS_A_TEMPLATE 109 /* Object has no ingame life until instanciated */
495#define FLAG_IS_BUILDABLE 110 /* Can build on item */ 496#define FLAG_IS_BUILDABLE 110 /* Can build on item */
496#define FLAG_DESTROY_ON_DEATH 111 /* Object will be destroyed when env dies */ 497#define FLAG_DESTROY_ON_DEATH 111 /* Object will be destroyed when env dies */
497#define FLAG_NO_MAP_SAVE 112 // item doesn't get saved with map 498#define FLAG_NO_MAP_SAVE 112 // item doesn't get saved with map
499#define FLAG_IS_QUAD 113 /* This is a destructible and buildable item
500 * (for the quads world for instance)
498 501 */
502
499#define NUM_FLAGS 113 /* Should always be equal to the last 503#define NUM_FLAGS 114 /* Should always be equal to the last
500 * defined flag + 1. If you change this, 504 * defined flag + 1. If you change this,
501 * make sure you update the flag_links 505 * make sure you update the flag_links
502 * in common/loader.l 506 * in common/loader.l
503 */ 507 */
504 508
645 /* changing directions */ 649 /* changing directions */
646 /* this is VERTICAL movement */ 650 /* this is VERTICAL movement */
647#define LO4 15 /* bitmasks for upper and lower 4 bits from 8 bit fields */ 651#define LO4 15 /* bitmasks for upper and lower 4 bits from 8 bit fields */
648#define HI4 240 652#define HI4 240
649 653
650#define BLANK_FACE_NAME "blank.x11" 654#define BLANK_FACE_NAME "blank.x11"
651#define EMPTY_FACE_NAME "empty.x11" 655#define EMPTY_FACE_NAME "empty.x11"
656#define MAGICMOUTH_FACE_NAME "magicmouth.x11"
652 657
653/* 658/*
654 * Defines for the luck/random functions to make things more readable 659 * Defines for the luck/random functions to make things more readable
655 */ 660 */
656 661

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines