*Added a custom makefile for DevCpp which solves the ressources multiple-definitions problem (Game and Editor, the Character Editor wasn't affected).

Following requests/reports :
Blades of Exile :
*Corrected the Skill and Giant Strength abilities handling so that they actually increase the chances of hitting instead of decreasing it (damages were correctly handled).
*Now trying to enter a blocked space multiple times won't produce a lot of message but add a (xX) suffix to the "blocked:" message (X number of tries to enter the space)

Minor Editor changes :
*When opening a new town or assigning a new town to a town entry on outdoor map, the input field is already selected (extended the basic function for flexibility).

Code-wise :
*Readded legacy monster skill constants in CONSTS.h, to make the original code easier to understand for newcomers.

Chokboyz

git-svn-id: http://openexile.googlecode.com/svn/trunk@145 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
Chokboyz
2010-03-22 02:27:00 +00:00
parent f42f974453
commit 8fa380832c
15 changed files with 351 additions and 72 deletions

View File

@@ -723,10 +723,10 @@ short pick_town_num(short which_dlog,short def)
cd_create_dialog_parent_num(store_whigh_dlog,0);
CDSN(store_whigh_dlog,2,def);
cd_get_item_text(which_dlog,7,(char *) temp_str);
sprintf((char *) str2,"%s (0 - %d)",(char *) temp_str,scenario.num_towns - 1);
csit(which_dlog,7,(char *) str2);
CDSN(store_whigh_dlog,2,def,true);
cd_get_item_text(which_dlog,7, temp_str);
sprintf(str2,"%s (0 - %d)", temp_str,scenario.num_towns - 1);
csit(which_dlog,7, str2);
while (dialog_not_toast)
ModalDialog();