- Added code to check for waterfalls in all 8 cardinal directions
- Fixed bug in which swamp caused a false negative for the wall-rounding code - Made directions into an enum, with an operator++ and two difference arrays (for x and y). - Added case to wall-rounding code to handle a lone pillar of wall - The block_horse flag is cleared when importing a poison or disease terrain, because horses can now not cross status-inflicting terrain at all. - Added the book Finder icon git-svn-id: http://openexile.googlecode.com/svn/trunk@64 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
|
||||
//#include "item.h"
|
||||
|
||||
#define DIR_ARRAY_DEF
|
||||
#include "boe.global.h"
|
||||
#include "classes.h"
|
||||
|
||||
@@ -60,6 +61,8 @@ long start_time;
|
||||
|
||||
short on_spell_menu[2][62];
|
||||
short on_monst_menu[256];
|
||||
signed char dir_x_dif[9] = {0,1,1,1,0,-1,-1,-1,0};
|
||||
signed char dir_y_dif[9] = {-1,-1,0,1,1,1,0,-1,0};
|
||||
|
||||
// Cursors
|
||||
extern short current_cursor;
|
||||
|
||||
Reference in New Issue
Block a user