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.29 by root, Thu Dec 21 06:12:36 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
813 813
814/* 814/*
815 * Use of the state-variable in player objects: 815 * Use of the state-variable in player objects:
816 */ 816 */
817 817
818#define ST_PLAYING 0 818enum {
819#define ST_PLAY_AGAIN 1 819 ST_PLAYING,
820#define ST_ROLL_STAT 2 820 ST_PLAY_AGAIN,
821 ST_ROLL_STAT,
821#define ST_CHANGE_CLASS 3 822 ST_CHANGE_CLASS,
822#define ST_CONFIRM_QUIT 4 823 ST_CONFIRM_QUIT,
823#define ST_CONFIGURE 5 824 ST_CONFIGURE,
824#define ST_GET_NAME 6 825 ST_GET_NAME,
825#define ST_GET_PASSWORD 7 826 ST_GET_PASSWORD,
826#define ST_CONFIRM_PASSWORD 8 827 ST_CONFIRM_PASSWORD,
827#define ST_GET_PARTY_PASSWORD 10 828 ST_GET_PARTY_PASSWORD,
829 ST_CUSTOM,
830};
828 831
829#define BLANK_FACE_NAME "blank.111" 832#define BLANK_FACE_NAME "blank.111"
830#define EMPTY_FACE_NAME "empty.111" 833#define EMPTY_FACE_NAME "empty.111"
831#define DARK_FACE1_NAME "dark1.111" 834#define DARK_FACE1_NAME "dark1.111"
832#define DARK_FACE2_NAME "dark2.111" 835#define DARK_FACE2_NAME "dark2.111"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines