Added some typedefs for clarity, and also added a cAttack class.

git-svn-id: http://openexile.googlecode.com/svn/trunk@77 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
2009-05-28 23:48:10 +00:00
parent 1af17438f3
commit eeaa9ca599
55 changed files with 289 additions and 272 deletions

View File

@@ -561,16 +561,16 @@ void display_monst_event_filter (short item_hit)
if (on_monst_menu[position] < 0)
position = 0;
store_m->number = (unsigned short)on_monst_menu[position];
store_m->m_d = return_monster_template((unsigned short)on_monst_menu[position]);
store_m->number = on_monst_menu[position];
store_m->m_d = return_monster_template(on_monst_menu[position]);
put_monst_info();
break;
case 29:
position++;
if (on_monst_menu[position] < 0)
position = 0;
store_m->number = (unsigned short)on_monst_menu[position];
store_m->m_d = return_monster_template((unsigned short)on_monst_menu[position]);
store_m->number = on_monst_menu[position];
store_m->m_d = return_monster_template(on_monst_menu[position]);
put_monst_info();
break;
@@ -593,7 +593,7 @@ void display_monst(short array_pos,cCreature *which_m,short mode)
full_roster = true;
store_m = &hold_m;
store_m->number = on_monst_menu[array_pos];
store_m->m_d = return_monster_template((unsigned short)on_monst_menu[array_pos]);
store_m->m_d = return_monster_template(on_monst_menu[array_pos]);
}
else {
hold_m = *which_m;