james 2009-09-11 10:40:27 -0700 (Fri, 11 Sep 2009) 630 Subify enemiai GOSUB block as enemy_ai() sub * Convert enemyai to use an AttackData object * Split off convertattackdata from loadattackdata. loadattackdata still works exactly as before, but now convertattackdata can be used to convert any buffer containing raw attack data * Convert all dependant subs and functions to use AttackData plus overloads that use convertattackdata to continue working the way they did before. * get_valid_targs() * autotarget() * find_preferred_target() * Also just plain converted confirm_auto_focus() because it wasn't used anywhere other than enemy_ai() and needed no overload. --- U wip/bmod.bas U wip/bmod.bi U wip/bmodsubs.bas U wip/bmodsubs.bi U wip/loading.bas U wip/loading.bi _______________________________________________ Ohrrpgce mailing list [email protected] http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
