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.132 by root, Sat Apr 23 04:56:48 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 */
645 /* changing directions */ 646 /* changing directions */
646 /* this is VERTICAL movement */ 647 /* this is VERTICAL movement */
647#define LO4 15 /* bitmasks for upper and lower 4 bits from 8 bit fields */ 648#define LO4 15 /* bitmasks for upper and lower 4 bits from 8 bit fields */
648#define HI4 240 649#define HI4 240
649 650
650#define BLANK_FACE_NAME "blank.x11" 651#define BLANK_FACE_NAME "blank.x11"
651#define EMPTY_FACE_NAME "empty.x11" 652#define EMPTY_FACE_NAME "empty.x11"
653#define MAGICMOUTH_FACE_NAME "magicmouth.x11"
652 654
653/* 655/*
654 * Defines for the luck/random functions to make things more readable 656 * Defines for the luck/random functions to make things more readable
655 */ 657 */
656 658

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines