--- deliantra/server/include/define.h 2010/04/11 01:03:58 1.129 +++ deliantra/server/include/define.h 2011/04/28 12:11:04 1.133 @@ -1,7 +1,7 @@ /* * This file is part of Deliantra, the Roguelike Realtime MMORPG. * - * Copyright (©) 2005,2006,2007,2008,2009,2010 Marc Alexander Lehmann / Robin Redeker / the Deliantra team + * Copyright (©) 2005,2006,2007,2008,2009,2010,2011 Marc Alexander Lehmann / Robin Redeker / the Deliantra team * Copyright (©) 2003-2005 Mark Wedel & Crossfire Development Team * Copyright (©) 1992 Frank Tore Johansen * @@ -43,7 +43,8 @@ # include #endif -#define MAXLEVEL 115 // for treasure calculations only +#define MAXNUMLEVELS 256 // maximum number of levels possible +#define MAXLEVEL_TREASURE 115 // for treasure calculations only // maximum length of an object name in the protocol #define NAME_LEN 127 @@ -495,8 +496,11 @@ #define FLAG_IS_BUILDABLE 110 /* Can build on item */ #define FLAG_DESTROY_ON_DEATH 111 /* Object will be destroyed when env dies */ #define FLAG_NO_MAP_SAVE 112 // item doesn't get saved with map - -#define NUM_FLAGS 113 /* Should always be equal to the last +#define FLAG_IS_QUAD 113 /* This is a destructible and buildable item + * (for the quads world for instance) + */ + +#define NUM_FLAGS 114 /* Should always be equal to the last * defined flag + 1. If you change this, * make sure you update the flag_links * in common/loader.l @@ -647,8 +651,9 @@ #define LO4 15 /* bitmasks for upper and lower 4 bits from 8 bit fields */ #define HI4 240 -#define BLANK_FACE_NAME "blank.x11" -#define EMPTY_FACE_NAME "empty.x11" +#define BLANK_FACE_NAME "blank.x11" +#define EMPTY_FACE_NAME "empty.x11" +#define MAGICMOUTH_FACE_NAME "magicmouth.x11" /* * Defines for the luck/random functions to make things more readable