--- deliantra/server/include/object.h 2010/04/17 02:50:21 1.247 +++ deliantra/server/include/object.h 2010/07/02 16:24:24 1.254 @@ -63,6 +63,10 @@ extern Body_Locations body_locations[NUM_BODY_LOCATIONS]; +// for each set of directions (1 == up, 2 == right, 4 == down, 8 == left) +// contaisn the wall suffix (0, 1_3, 1_4 and so on). +extern const char *wall_suffix[16]; + #define NUM_COINS 4 /* number of coin types */ extern const char *const coins[NUM_COINS + 1]; @@ -696,8 +700,8 @@ // set the given flag on all objects in the inventory recursively MTH void set_flag_inv (int flag, int value = 1); - void enter_exit (object *exit);//Perl - MTH void enter_map (maptile *newmap, int x, int y); + void enter_exit (object *exit); // perl + MTH bool enter_map (maptile *newmap, int x, int y); void player_goto (const_utf8_string path, int x, int y); // only for players MTH bool apply (object *ob, int aflags = AP_APPLY); // ob may be 0 @@ -963,6 +967,7 @@ #define INS_NO_WALK_ON 0x0004 #define INS_ON_TOP 0x0008 #define INS_BELOW_ORIGINATOR 0x0010 +#define INS_NO_AUTO_EXIT 0x0020 // temporary, fix exits instead //-GPL