… | |
… | |
61 | const char *nonuse_name; /* Name to describe objects we can't use */ |
61 | const char *nonuse_name; /* Name to describe objects we can't use */ |
62 | } Body_Locations; |
62 | } Body_Locations; |
63 | |
63 | |
64 | extern Body_Locations body_locations[NUM_BODY_LOCATIONS]; |
64 | extern Body_Locations body_locations[NUM_BODY_LOCATIONS]; |
65 | |
65 | |
|
|
66 | // for each set of directions (1 == up, 2 == right, 4 == down, 8 == left) |
|
|
67 | // contains the wall suffix (0, 1_3, 1_4 and so on). |
|
|
68 | extern const char *wall_suffix[16]; |
|
|
69 | |
66 | #define NUM_COINS 4 /* number of coin types */ |
70 | #define NUM_COINS 4 /* number of coin types */ |
67 | extern const char *const coins[NUM_COINS + 1]; |
71 | extern const char *const coins[NUM_COINS + 1]; |
68 | |
72 | |
69 | // restart server when object_count reaches this value |
73 | // restart server when object_count reaches this value |
70 | #define RESTART_COUNT 0xe0000000 |
74 | #define RESTART_COUNT 0xe0000000 |
… | |
… | |
700 | MTH bool enter_map (maptile *newmap, int x, int y); |
704 | MTH bool enter_map (maptile *newmap, int x, int y); |
701 | void player_goto (const_utf8_string path, int x, int y); // only for players |
705 | void player_goto (const_utf8_string path, int x, int y); // only for players |
702 | MTH bool apply (object *ob, int aflags = AP_APPLY); // ob may be 0 |
706 | MTH bool apply (object *ob, int aflags = AP_APPLY); // ob may be 0 |
703 | |
707 | |
704 | MTH object *mark () const; |
708 | MTH object *mark () const; |
|
|
709 | MTH void splay_marked (); |
705 | |
710 | |
706 | // returns the mapspace this object is in |
711 | // returns the mapspace this object is in |
707 | mapspace &ms () const; |
712 | mapspace &ms () const; |
708 | |
713 | |
709 | // fully recursive iterator |
714 | // fully recursive iterator |
… | |
… | |
961 | #define INS_NO_MERGE 0x0001 |
966 | #define INS_NO_MERGE 0x0001 |
962 | #define INS_ABOVE_FLOOR_ONLY 0x0002 |
967 | #define INS_ABOVE_FLOOR_ONLY 0x0002 |
963 | #define INS_NO_WALK_ON 0x0004 |
968 | #define INS_NO_WALK_ON 0x0004 |
964 | #define INS_ON_TOP 0x0008 |
969 | #define INS_ON_TOP 0x0008 |
965 | #define INS_BELOW_ORIGINATOR 0x0010 |
970 | #define INS_BELOW_ORIGINATOR 0x0010 |
|
|
971 | #define INS_NO_AUTO_EXIT 0x0020 // temporary, fix exits instead |
966 | |
972 | |
967 | //-GPL |
973 | //-GPL |
968 | |
974 | |
969 | #endif |
975 | #endif |
970 | |
976 | |