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.27 by elmex, Wed Dec 20 14:38:50 2006 UTC vs.
Revision 1.30 by root, Thu Dec 21 23:37:05 2006 UTC

110 * flags 110 * flags
111 * Also, if you add new entries, try and fill up the holes in this list. 111 * Also, if you add new entries, try and fill up the holes in this list.
112 * Additionally, when you add a new entry, include it in the table in item.c 112 * Additionally, when you add a new entry, include it in the table in item.c
113 */ 113 */
114 114
115/* type 0 will be undefined and shows a non valid type information */
116
117/* USED TYPES: (for dead types please look at the bottom of the type 115/* USED TYPES: (for dead types please look at the bottom of the type
118 * definitions) 116 * definitions)
119 */ 117 */
118
119/* type 0 objects have the default behaviour */
120 120
121#define PLAYER 1 121#define PLAYER 1
122#define TRANSPORT 2 /* see pod/objects.pod */ 122#define TRANSPORT 2 /* see pod/objects.pod */
123#define ROD 3 123#define ROD 3
124#define TREASURE 4 124#define TREASURE 4
809 /* changing directions */ 809 /* changing directions */
810 /* this is VERTICAL movement */ 810 /* this is VERTICAL movement */
811#define LO4 15 /* bitmasks for upper and lower 4 bits from 8 bit fields */ 811#define LO4 15 /* bitmasks for upper and lower 4 bits from 8 bit fields */
812#define HI4 240 812#define HI4 240
813 813
814/*
815 * Use of the state-variable in player objects:
816 */
817
818#define ST_PLAYING 0
819#define ST_PLAY_AGAIN 1
820#define ST_ROLL_STAT 2
821#define ST_CHANGE_CLASS 3
822#define ST_CONFIRM_QUIT 4
823#define ST_CONFIGURE 5
824#define ST_GET_NAME 6
825#define ST_GET_PASSWORD 7
826#define ST_CONFIRM_PASSWORD 8
827#define ST_GET_PARTY_PASSWORD 10
828
829#define BLANK_FACE_NAME "blank.111" 814#define BLANK_FACE_NAME "blank.111"
830#define EMPTY_FACE_NAME "empty.111" 815#define EMPTY_FACE_NAME "empty.111"
831#define DARK_FACE1_NAME "dark1.111" 816#define DARK_FACE1_NAME "dark1.111"
832#define DARK_FACE2_NAME "dark2.111" 817#define DARK_FACE2_NAME "dark2.111"
833#define DARK_FACE3_NAME "dark3.111" 818#define DARK_FACE3_NAME "dark3.111"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines