Re: [Ohrrpgce] Script structures/objects (Was: NPC instance script commands)

2010-09-13 Thread James Paige
On Mon, Sep 13, 2010 at 01:39:47AM +1200, Ralph Versteegen wrote: On 11 September 2010 13:58, David Gowers 00a...@gmail.com wrote: On Sat, Sep 11, 2010 at 2:11 AM, Mike Caron caron.m...@gmail.com wrote: It depends on the situation. It boils down to has-a vs is-a, really. Or, on other words,

Re: [Ohrrpgce] Script structures/objects (Was: NPC instance script commands)

2010-09-13 Thread James Paige
On Sun, Sep 12, 2010 at 10:50:17AM -0500, Keith Gable wrote: On Mon, 2010-09-13 at 01:39 +1200, Ralph Versteegen wrote: However, I'm wondering whether whitespace in identifiers makes period suboptimal? viking ship sail.sort children(false) It almost seems to get lost in there. Are we

[Ohrrpgce] SVN: james/3734 Split out attack damage inflicting stuff from battle_attack_anim_playbac

2010-09-13 Thread subversion
james 2010-09-13 10:20:08 -0700 (Mon, 13 Sep 2010) 110 Split out attack damage inflicting stuff from battle_attack_anim_playback() to new battle_attack_do_inflict() --- U wip/bmod.bas ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: james/3735 Move confusingly named icons() array to bslot().consume_item

2010-09-13 Thread subversion
james 2010-09-13 10:41:28 -0700 (Mon, 13 Sep 2010) 61 Move confusingly named icons() array to bslot().consume_item --- U wip/battle_udts.bi U wip/bmod.bas U wip/bmod.bi U wip/moresubs.bas ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: james/3736 Moved pgame GOSUB to battle_pause() SUB

2010-09-13 Thread subversion
james 2010-09-13 10:56:19 -0700 (Mon, 13 Sep 2010) 199 Moved pgame GOSUB to battle_pause() SUB and also noticed: * Pause uses the scNumlock scancode. * No scPause scancode seems to even exist. * Pause does not work at all, no matter which key you press. --- U wip/bmod.bas

[Ohrrpgce] SVN: james/3737 Split some battle cleanup code off into battle_cleanup() SUB

2010-09-13 Thread subversion
james 2010-09-13 13:24:02 -0700 (Mon, 13 Sep 2010) 61 Split some battle cleanup code off into battle_cleanup() SUB --- U wip/bmod.bas ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: james/3738 Add battle_init() SUB to do various non-visual setup before the battle b

2010-09-13 Thread subversion
james 2010-09-13 13:49:07 -0700 (Mon, 13 Sep 2010) 147 Add battle_init() SUB to do various non-visual setup before the battle begins Also moved all initialization of BattleState to reset_battle_state() --- U wip/bmod.bas ___ Ohrrpgce mailing list

[Ohrrpgce] SVN: james/3739 Remove REMEMBERSTATE and RETRIEVESTATE from battle, since there is no lo

2010-09-13 Thread subversion
james 2010-09-13 13:54:21 -0700 (Mon, 13 Sep 2010) 105 Remove REMEMBERSTATE and RETRIEVESTATE from battle, since there is no longer any GOSUB/RETURN in battle. --- U wip/bmod.bas ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

Re: [Ohrrpgce] SVN: james/3739 Remove REMEMBERSTATE and RETRIEVESTATEfrom battle, since there is no lo

2010-09-13 Thread Mike
james 2010-09-13 13:59:21 -0700 (Mon, 13 Sep 2010) 105 Quickly putting REMEMBERSTATE and RETRIEVESTATE back because everything broke --- U wip/bmod.bas ;) --Original Message-- From: subvers...@hamsterrepublic.com Sender: ohrrpgce-boun...@lists.motherhamster.org To: OHR List ReplyTo:

Re: [Ohrrpgce] SVN: james/3739 Remove REMEMBERSTATE and RETRIEVESTATEfrom battle, since there is no lo

2010-09-13 Thread James Paige
Nah, I paranoidly tested it first :) --- James On Mon, Sep 13, 2010 at 08:56:17PM +, Mike wrote: james 2010-09-13 13:59:21 -0700 (Mon, 13 Sep 2010) 105 Quickly putting REMEMBERSTATE and RETRIEVESTATE back because everything broke --- U wip/bmod.bas ;) --Original

[Ohrrpgce] SVN: james/3740 All of bmod.bas is now cleaned up for OPTION EXPLICIT

2010-09-13 Thread subversion
james 2010-09-13 14:10:22 -0700 (Mon, 13 Sep 2010) 54 All of bmod.bas is now cleaned up for OPTION EXPLICIT --- U wip/battle_udts.bi U wip/bmod.bas ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: james/3741 Minor OPTION EXPLICIT cleanup in bmodsubs.bas, also remove a stray setp

2010-09-13 Thread subversion
james 2010-09-13 14:13:02 -0700 (Mon, 13 Sep 2010) 113 Minor OPTION EXPLICIT cleanup in bmodsubs.bas, also remove a stray setpicstuf that was lurking in writestats() --- U wip/bmodsubs.bas ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: james/3742 OPTION EXPLICIT cleanup for setheroexperience

2010-09-13 Thread subversion
james 2010-09-13 14:23:04 -0700 (Mon, 13 Sep 2010) 46 OPTION EXPLICIT cleanup for setheroexperience --- U wip/bmodsubs.bas ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

[Ohrrpgce] SVN: james/3743 OPTION EXPLICIT cleanup updatestatslevelup

2010-09-13 Thread subversion
james 2010-09-13 14:31:36 -0700 (Mon, 13 Sep 2010) 43 OPTION EXPLICIT cleanup updatestatslevelup --- U wip/bmodsubs.bas ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

[Ohrrpgce] SVN: james/3745 remove orphaned targetable function

2010-09-13 Thread subversion
james 2010-09-13 14:40:18 -0700 (Mon, 13 Sep 2010) 36 remove orphaned targetable function --- U wip/bmodsubs.bas U wip/bmodsubs.bi ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: james/3746 Cleanup and rename smartarrows() SUB to battle_target_arrows()

2010-09-13 Thread subversion
james 2010-09-13 16:51:51 -0700 (Mon, 13 Sep 2010) 63 Cleanup and rename smartarrows() SUB to battle_target_arrows() --- U wip/bmod.bas U wip/bmodsubs.bas U wip/bmodsubs.bi ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: james/3747 OPTION EXPLICIT cleanup for liveherocount, randomally, randomfoe, safesu

2010-09-13 Thread subversion
james 2010-09-13 16:59:05 -0700 (Mon, 13 Sep 2010) 93 OPTION EXPLICIT cleanup for liveherocount, randomally, randomfoe, safesubtract, safemultiply --- U wip/bmodsubs.bas ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

Re: [Ohrrpgce] BYREF

2010-09-13 Thread Ralph Versteegen
Whoa, whoa, what's all this hysteria? On 13 September 2010 16:33, Mike Caron caron.m...@gmail.com wrote: On 9/12/2010 10:31 PM, Seth Hetu wrote: I have a feeling that this should be illegal in FB. I could totally see FB forgetting that it stored a variable in its nondeclared variable storage

Re: [Ohrrpgce] BYREF

2010-09-13 Thread Ralph Versteegen
On 13 September 2010 16:56, Keith Gable ziggythehams...@gmail.com wrote: On Mon, 2010-09-13 at 00:39 -0400, Mike Caron wrote: Who was talking about FreeBASIC? I said *sane* compiler. ;) OT: Is FreeBASIC still ridiculously nuts to compile correctly? I have neglected the Gentoo ebuild for

[Ohrrpgce] SVN: james/3748 Clean up inflict for OPTION EXPLICIT

2010-09-13 Thread subversion
james 2010-09-13 18:04:54 -0700 (Mon, 13 Sep 2010) 114 Clean up inflict for OPTION EXPLICIT Stop using the same temporary variables for accuracy/dodge as attack/defense --- U wip/bmodsubs.bas ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: james/3749 File format upgrades for VoM

2010-09-13 Thread subversion
james 2010-09-13 18:05:47 -0700 (Mon, 13 Sep 2010) 129 File format upgrades for VoM (just so I don't keep having to ignore these files every dang time I commit after testing with VoM) --- U wip/vikings/vikings.rpgdir/binsize.bin U wip/vikings/vikings.rpgdir/menus.bin U

[Ohrrpgce] A little script to find all your strings

2010-09-13 Thread David Gowers
Hello all, I was investigating menus.bas and came up with this script which lists all the unique strings,in order, in BAS/BI files (whichever files you specify). I thought that could have applications for developing, so I'm posting it here. (currently requires grep, but that could easily be