[Ohrrpgce] SVN: james/8786 the cats() array is now almost always accessed via helper functions
subversion at HamsterRepublic.com
subversion at HamsterRepublic.com
Wed May 31 13:12:35 PDT 2017
james
2017-05-31 13:12:35 -0700 (Wed, 31 May 2017)
455
the cats() array is now almost always accessed via helper functions
herox() heroy() herox() and herodir()
These are byref functions, so values can be assigned to them also.
These functions take hero caterpillar rank as an argument,
eliminating all the many places where catx(n * 5) was accessed.
Also added herotx() and heroty() that replace all the many times
when the x and y return values were immediately divided / 20 to get
hero tile x and tile y
---
U wip/game.bas
U wip/game.bi
U wip/game_udts.bi
U wip/moresubs.rbas
U wip/savegame.rbas
U wip/scriptcommands.bas
U wip/walkabouts.bas
U wip/yetmore2.bas
More information about the Ohrrpgce
mailing list