… | |
… | |
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 | // contaisn 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 |
… | |
… | |
694 | MTH void deactivate_recursive (); |
698 | MTH void deactivate_recursive (); |
695 | |
699 | |
696 | // set the given flag on all objects in the inventory recursively |
700 | // set the given flag on all objects in the inventory recursively |
697 | MTH void set_flag_inv (int flag, int value = 1); |
701 | MTH void set_flag_inv (int flag, int value = 1); |
698 | |
702 | |
699 | void enter_exit (object *exit);//Perl |
703 | void enter_exit (object *exit); // perl |
700 | MTH void 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; |
705 | |
709 | |
… | |
… | |
961 | #define INS_NO_MERGE 0x0001 |
965 | #define INS_NO_MERGE 0x0001 |
962 | #define INS_ABOVE_FLOOR_ONLY 0x0002 |
966 | #define INS_ABOVE_FLOOR_ONLY 0x0002 |
963 | #define INS_NO_WALK_ON 0x0004 |
967 | #define INS_NO_WALK_ON 0x0004 |
964 | #define INS_ON_TOP 0x0008 |
968 | #define INS_ON_TOP 0x0008 |
965 | #define INS_BELOW_ORIGINATOR 0x0010 |
969 | #define INS_BELOW_ORIGINATOR 0x0010 |
|
|
970 | #define INS_NO_AUTO_EXIT 0x0020 // temporary, fix exits instead |
966 | |
971 | |
967 | //-GPL |
972 | //-GPL |
968 | |
973 | |
969 | #endif |
974 | #endif |
970 | |
975 | |