Re: [Ohrrpgce] Teach me some git

2012-04-21 Thread Ralph Versteegen
On 21 April 2012 08:34, David Gowers (kampu) 00a...@gmail.com wrote: On Sat, Apr 21, 2012 at 3:26 AM, Ralph Versteegen teeem...@gmail.com wrote: I found this pretty confusing too, and I'm still not entirely comfortable working with remotes. But I'll point out (though this is getting

Re: [Ohrrpgce] Multiline string constants

2012-04-24 Thread Ralph Versteegen
On 24 April 2012 22:45, Mike Caron caron.m...@gmail.com wrote: On Tue, Apr 24, 2012 at 4:41 AM, David Gowers (kampu) 00a...@gmail.com wrote: On Tue, Apr 24, 2012 at 2:42 PM, Seth Hetu seth.h...@gmail.com wrote: Huh, I never knew that Python included the newlines and spaces in multi-line

Re: [Ohrrpgce] SVN: teeemcee/5135 Add Jay's suggested workaround for bug 956 Mangled graphics on startup

2012-04-26 Thread Ralph Versteegen
On 27 April 2012 02:31, James Paige b...@hamsterrepublic.com wrote: On Fri, Apr 27, 2012 at 02:19:35AM +1200, Ralph Versteegen wrote: On 27 April 2012 02:10, James Paige b...@hamsterrepublic.com wrote: On Thu, Apr 26, 2012 at 4:05 AM, Ralph Versteegen teeem...@gmail.com wrote: On 26 April

Re: [Ohrrpgce] SVN: james/5146 Prompt to download ar+tar+gzip the first time you try to distribute as a

2012-04-27 Thread Ralph Versteegen
On 27 April 2012 10:55, James Paige b...@hamsterrepublic.com wrote: On Thu, Apr 26, 2012 at 3:26 PM, James Paige b...@hamsterrepublic.com wrote: On Thu, Apr 26, 2012 at 03:17:47PM -0700, subvers...@hamsterrepublic.com wrote: james 2012-04-26 15:17:47 -0700 (Thu, 26 Apr 2012) 210 Prompt to

Re: [Ohrrpgce] SVN: james/5146 Prompt to download ar+tar+gzip the first time you try to distribute as a

2012-04-28 Thread Ralph Versteegen
On 28 April 2012 02:48, James Paige b...@hamsterrepublic.com wrote: On Sat, Apr 28, 2012 at 02:38:39AM +1200, Ralph Versteegen wrote: On 28 April 2012 02:23, James Paige b...@hamsterrepublic.com wrote: On Fri, Apr 27, 2012 at 06:11:36PM +1200, Ralph Versteegen wrote: On 27 April 2012 10:55

Re: [Ohrrpgce] SVN: teeemcee/5135 Add Jay's suggested workaround for bug 956 Mangled graphics on startup

2012-04-28 Thread Ralph Versteegen
On 28 April 2012 03:14, James Paige b...@hamsterrepublic.com wrote: On Fri, Apr 27, 2012 at 05:40:41AM +1200, Ralph Versteegen wrote: On 27 April 2012 04:13, James Paige b...@hamsterrepublic.com wrote: On Thu, Apr 26, 2012 at 08:35:53AM -0700, Jay Tennant wrote: From: Ralph Versteegen teeem

Re: [Ohrrpgce] Time for a stable release?

2012-05-11 Thread Ralph Versteegen
On 12 May 2012 06:31, James Paige b...@hamsterrepublic.com wrote: I just noticed that it has been just over a year since the last stable release. I think the nightlies are pretty stable right now, how about we do the next stable release soon? I know there was more new stuff we wanted to get

[Ohrrpgce] nohrio-based tool for importing/exporting data

2012-05-14 Thread Ralph Versteegen
I've been working on a crude nohrio program to import and export data (enemies, heroes, attacks, items, textboxes) to csv files. It's totally generic, working by inspecting the fields of the lump's dtype, but there weren't any other interesting lumps to handle (aside from shop items, but nohrio

Re: [Ohrrpgce] nohrio-based tool for importing/exporting data

2012-05-14 Thread Ralph Versteegen
On 14 May 2012 18:36, David Gowers (kampu) 00a...@gmail.com wrote: Hi TeeEmCee, On Mon, May 14, 2012 at 3:37 PM, Ralph Versteegen teeem...@gmail.com wrote: I've been working on a crude nohrio program to import and export data (enemies, heroes, attacks, items, textboxes) to csv files. It's

Re: [Ohrrpgce] nohrio-based tool for importing/exporting data

2012-05-17 Thread Ralph Versteegen
On 14 May 2012 23:40, David Gowers (kampu) 00a...@gmail.com wrote: On Mon, May 14, 2012 at 5:27 PM, Ralph Versteegen teeem...@gmail.com wrote: On 14 May 2012 18:36, David Gowers (kampu) 00a...@gmail.com wrote: I think that must be a Windows-only constraint. I can memmap with any offset and any

Re: [Ohrrpgce] SVN: james/5182 A copy of OHRRPGCE-game.app will check Contents/Resources/bundledgame

2012-05-19 Thread Ralph Versteegen
On 19 May 2012 09:48, James Paige b...@hamsterrepublic.com wrote: On Fri, May 18, 2012 at 02:41:36PM -0700, subvers...@hamsterrepublic.com wrote: james 2012-05-18 14:41:36 -0700 (Fri, 18 May 2012) 283 A copy of OHRRPGCE-game.app will check Contents/Resources/bundledgame to find the name of

Re: [Ohrrpgce] SVN: james/5182 A copy of OHRRPGCE-game.app will check Contents/Resources/bundledgame

2012-05-19 Thread Ralph Versteegen
On 20 May 2012 03:56, Ralph Versteegen teeem...@gmail.com wrote: On 19 May 2012 09:48, James Paige b...@hamsterrepublic.com wrote: On Fri, May 18, 2012 at 02:41:36PM -0700, subvers...@hamsterrepublic.com wrote: james 2012-05-18 14:41:36 -0700 (Fri, 18 May 2012) 283 A copy of OHRRPGCE

Re: [Ohrrpgce] nohrio-based tool for importing/exporting data

2012-05-19 Thread Ralph Versteegen
On 18 May 2012 13:13, David Gowers (kampu) 00a...@gmail.com wrote: On Fri, May 18, 2012 at 1:18 AM, Ralph Versteegen teeem...@gmail.com wrote: One thing I'd like to mention at this point is that some parts of ndarray subclassing are non-obvious; for instance recarray-style access

Re: [Ohrrpgce] SVN: james/5182 A copy of OHRRPGCE-game.app will check Contents/Resources/bundledgame

2012-05-21 Thread Ralph Versteegen
On 20 May 2012 12:36, James Paige b...@hamsterrepublic.com wrote: On Sat, May 19, 2012 at 05:26:32PM -0700, James Paige wrote: On Sun, May 20, 2012 at 03:57:38AM +1200, Ralph Versteegen wrote: On 20 May 2012 03:56, Ralph Versteegen teeem...@gmail.com wrote: On 19 May 2012 09:48, James Paige

Re: [Ohrrpgce] npc copy count

2012-05-22 Thread Ralph Versteegen
On 23 May 2012 05:27, Adam Perry arpe...@gmail.com wrote: The documentation for this really needs to change. The description says that it returns the number of copies of an NPC, but the example script shows that it returns the number of copies minus one, No it doesn't, the example is wrong.

Re: [Ohrrpgce] npc copy count

2012-05-22 Thread Ralph Versteegen
On 23 May 2012 05:52, Mike Caron caron.m...@gmail.com wrote: On Tue, May 22, 2012 at 1:39 PM, Ralph Versteegen teeem...@gmail.com wrote: On 23 May 2012 05:27, Adam Perry arpe...@gmail.com wrote: The documentation for this really needs to change. The description says that it returns the number

Re: [Ohrrpgce] SVN: james/5190 Add Export Mac OS X App Bundle to the distribute game menu

2012-05-22 Thread Ralph Versteegen
On 22 May 2012 08:51, James Paige b...@hamsterrepublic.com wrote: On Mon, May 21, 2012 at 01:09:40PM -0700, subvers...@hamsterrepublic.com wrote: james 2012-05-21 13:09:40 -0700 (Mon, 21 May 2012) 315 Add Export Mac OS X App Bundle to the distribute game menu This produces a working app,

Re: [Ohrrpgce] SVN: james/5193 Fix Export Mac OS X App Bundle to use the tarball instead of the zip

2012-05-23 Thread Ralph Versteegen
On 23 May 2012 13:39, subvers...@hamsterrepublic.com wrote: james 2012-05-22 18:39:36 -0700 (Tue, 22 May 2012) 165 Fix Export Mac OS X App Bundle to use the tarball instead of the zip (I still have not tested what happens to the symlinks when the tarball is extracted on Windows) --- U  

Re: [Ohrrpgce] SVN: james/5193 Fix Export Mac OS X App Bundle to use the tarball instead of the zip

2012-05-27 Thread Ralph Versteegen
On 27 May 2012 12:37, James Paige b...@hamsterrepublic.com wrote: On Wednesday, May 23, 2012, Ralph Versteegen teeem...@gmail.com wrote: On 23 May 2012 13:39,  subvers...@hamsterrepublic.com wrote: james 2012-05-22 18:39:36 -0700 (Tue, 22 May 2012) 165 Fix Export Mac OS X App Bundle to use

Re: [Ohrrpgce] Mac bug: Maybe BINARY ACCESS READ rather than LOF is the culprit?

2012-06-02 Thread Ralph Versteegen
On 2 June 2012 19:25, David Gowers (kampu) 00a...@gmail.com wrote: On Sat, Jun 2, 2012 at 6:43 AM, James Paige b...@hamsterrepublic.com wrote: Actually, I can't believe I missed this before, but it looks like ALL files 4096 bytes are affected. The filenames that have smaller sizes that were

Re: [Ohrrpgce] Mac bug: Maybe BINARY ACCESS READ rather than LOF is the culprit?

2012-06-02 Thread Ralph Versteegen
On 3 June 2012 05:28, James Paige b...@hamsterrepublic.com wrote: On Sat, Jun 02, 2012 at 09:45:55PM +1200, Ralph Versteegen wrote: On 2 June 2012 19:25, David Gowers (kampu) 00a...@gmail.com wrote: On Sat, Jun 2, 2012 at 6:43 AM, James Paige b...@hamsterrepublic.com wrote: Actually, I

Re: [Ohrrpgce] Mac bug: Maybe BINARY ACCESS READ rather than LOF is the culprit?

2012-06-02 Thread Ralph Versteegen
On 3 June 2012 06:21, James Paige b...@hamsterrepublic.com wrote: On Sat, Jun 02, 2012 at 11:16:05AM -0700, James Paige wrote: On Sun, Jun 03, 2012 at 05:40:50AM +1200, Ralph Versteegen wrote: On 3 June 2012 05:28, James Paige b...@hamsterrepublic.com wrote: On Sat, Jun 02, 2012 at 09:45

Re: [Ohrrpgce] SVN: james/5215 Use an incredibly simple and crude alternate random number generator jus

2012-06-08 Thread Ralph Versteegen
On 9 June 2012 09:01, subvers...@hamsterrepublic.com wrote: james 2012-06-08 14:01:25 -0700 (Fri, 08 Jun 2012) 202 Use an incredibly simple and crude alternate random number generator just for frame_dissolve() This avoids messing up the state of the mersenne twister, and is good enough

Re: [Ohrrpgce] SVN: teeemcee/5217 Fix random() script function (r5214 broke ranges 231)

2012-06-08 Thread Ralph Versteegen
On 9 June 2012 11:33, subvers...@hamsterrepublic.com wrote: teeemcee 2012-06-08 16:33:05 -0700 (Fri, 08 Jun 2012) 55 Fix random() script function (r5214 broke ranges 231) *2^31 --- U   wip/hsinterpreter.bas ___ Ohrrpgce mailing list

Re: [Ohrrpgce] SVN: james/5215 Use an incredibly simple and crude alternate random number generator jus

2012-06-10 Thread Ralph Versteegen
...@hamsterrepublic.com wrote: On Sat, Jun 09, 2012 at 10:36:46AM +1200, Ralph Versteegen wrote: On 9 June 2012 09:01,  subvers...@hamsterrepublic.com wrote: james 2012-06-08 14:01:25 -0700 (Fri, 08 Jun 2012) 202 Use an incredibly simple and crude alternate random number generator just

[Ohrrpgce] You are GO for launch

2012-06-11 Thread Ralph Versteegen
Fixed the Mac OSX bug. It seems that on BSD-derived systems, setvbuf can move the file position. Technically FB is violating the standard by not immediately calling setvbuf before doing any other file operations, but there are so many fopen calls that I opted to just add an fseek to correct the

Re: [Ohrrpgce] You are GO for launch

2012-06-11 Thread Ralph Versteegen
On 12 June 2012 03:51, James Paige b...@hamsterrepublic.com wrote: On Tue, Jun 12, 2012 at 12:50:32AM +1200, Ralph Versteegen wrote: Fixed the Mac OSX bug. It seems that on BSD-derived systems, setvbuf can move the file position. Technically FB is violating the standard by not immediately

Re: [Ohrrpgce] You are GO for launch

2012-06-13 Thread Ralph Versteegen
On 12 June 2012 12:53, James Paige b...@hamsterrepublic.com wrote: I haven't checked yet whether the freeze on upgrading songdata.bin in certain old games is also fixed now. Do you remember any specific games? Or was it just any really old game with songs?

Re: [Ohrrpgce] Alectormancy release

2012-06-16 Thread Ralph Versteegen
On 16 June 2012 10:59, James Paige b...@hamsterrepublic.com wrote: Alectormancy is now secretly released. I haven't had time to update anything on the wiki, not even the downloads page, but the stable downloads links now do indeed point to the alectormancy files. It might be hours, or even a

Re: [Ohrrpgce] SVN: james/5271 Add a script that creates ohrrpgce-mac-minimal-linkless.tar.gz based on

2012-07-18 Thread Ralph Versteegen
On 18 July 2012 09:52, subvers...@hamsterrepublic.com wrote: james 2012-07-17 14:52:04 -0700 (Tue, 17 Jul 2012) 297 Add a script that creates ohrrpgce-mac-minimal-linkless.tar.gz based on ohrrpgce-mac-minimal.tar.gz The resulting file is over 300% larger, but this seems to be the only

Re: [Ohrrpgce] SVN: james/5271 Add a script that creates ohrrpgce-mac-minimal-linkless.tar.gz based on

2012-07-18 Thread Ralph Versteegen
On 19 July 2012 01:21, Ralph Versteegen teeem...@gmail.com wrote: On 18 July 2012 09:52, subvers...@hamsterrepublic.com wrote: james 2012-07-17 14:52:04 -0700 (Tue, 17 Jul 2012) 297 Add a script that creates ohrrpgce-mac-minimal-linkless.tar.gz based on ohrrpgce-mac-minimal.tar.gz

Re: [Ohrrpgce] SVN: james/5271 Add a script that creates ohrrpgce-mac-minimal-linkless.tar.gz based on

2012-07-18 Thread Ralph Versteegen
On 19 July 2012 02:18, James Paige b...@hamsterrepublic.com wrote: On Thu, Jul 19, 2012 at 01:21:27AM +1200, Ralph Versteegen wrote: On 18 July 2012 09:52, subvers...@hamsterrepublic.com wrote: james 2012-07-17 14:52:04 -0700 (Tue, 17 Jul 2012) 297 Add a script that creates ohrrpgce-mac

Re: [Ohrrpgce] SVN: james/5271 Add a script that creates ohrrpgce-mac-minimal-linkless.tar.gz based on

2012-07-18 Thread Ralph Versteegen
On 19 July 2012 03:41, James Paige b...@hamsterrepublic.com wrote: On Thu, Jul 19, 2012 at 03:18:54AM +1200, Ralph Versteegen wrote: On 19 July 2012 02:18, James Paige b...@hamsterrepublic.com wrote: On Thu, Jul 19, 2012 at 01:21:27AM +1200, Ralph Versteegen wrote: On 18 July 2012 09:52

Re: [Ohrrpgce] SVN: james/5271 Add a script that creates ohrrpgce-mac-minimal-linkless.tar.gz based on

2012-07-18 Thread Ralph Versteegen
On 18 July 2012 09:52, subvers...@hamsterrepublic.com wrote: james 2012-07-17 14:52:04 -0700 (Tue, 17 Jul 2012) 297 Add a script that creates ohrrpgce-mac-minimal-linkless.tar.gz based on ohrrpgce-mac-minimal.tar.gz The resulting file is over 300% larger, but this seems to be the only

Re: [Ohrrpgce] SVN: james/5307 Remove -lang deprecated from the scons build system.

2012-08-05 Thread Ralph Versteegen
On 4 August 2012 13:19, subvers...@hamsterrepublic.com wrote: james 2012-08-03 18:19:08 -0700 (Fri, 03 Aug 2012) 92 Remove -lang deprecated from the scons build system. Everything is now built using -lang fb --- U wip/SConscript U wip/allmodex.bas U wip/backends.bas U

[Ohrrpgce] Script hooks

2012-08-06 Thread Ralph Versteegen
I'm currently working on some interpreter improvements so that we can add script hooks, where the engine calls a script in immediate mode and receives the script's return value. In immediate mode a script may not do anything that causes a wait or other user interaction such as opening a menu. It's

Re: [Ohrrpgce] Script hooks

2012-08-06 Thread Ralph Versteegen
On 7 August 2012 03:39, James Paige b...@hamsterrepublic.com wrote: On Mon, Aug 06, 2012 at 11:26:30PM +1200, Ralph Versteegen wrote: I'm currently working on some interpreter improvements so that we can add script hooks, where the engine calls a script in immediate mode and receives

Re: [Ohrrpgce] Script hooks

2012-08-07 Thread Ralph Versteegen
On 8 August 2012 07:52, James Paige b...@hamsterrepublic.com wrote: script, atlevel hook, level, at 0, at 99, hero id, stat number, begin if (level = 0) then ( return ((.8 + level / 50) * level * ((at 99 -- at 0) / 275.222) + at 0 + .1) ) end Wait, I think I got it: script,

Re: [Ohrrpgce] SVN: teeemcee/5314 hsinterpreter: Add killtopscript function. Also rename stread to ststart

2012-08-07 Thread Ralph Versteegen
On 8 August 2012 14:28, James Paige b...@hamsterrepublic.com wrote: On Tue, Aug 07, 2012 at 07:00:16PM -0700, subvers...@hamsterrepublic.com wrote: teeemcee 2012-08-07 19:00:16 -0700 (Tue, 07 Aug 2012) 72 hsinterpreter: Add killtopscript function. Also rename stread to ststart I am

Re: [Ohrrpgce] SVN: teeemcee/5314 hsinterpreter: Add killtopscript function. Also rename stread to ststart

2012-08-09 Thread Ralph Versteegen
On 10 August 2012 02:12, James Paige b...@hamsterrepublic.com wrote: On Wed, Aug 08, 2012 at 02:40:47PM +1200, Ralph Versteegen wrote: On 8 August 2012 14:28, James Paige b...@hamsterrepublic.com wrote: On Tue, Aug 07, 2012 at 07:00:16PM -0700, subvers...@hamsterrepublic.com wrote

Re: [Ohrrpgce] SVN: james/5343 When browsing for scripts, you can now type more than just the first let

2012-08-15 Thread Ralph Versteegen
On 16 August 2012 04:57, subvers...@hamsterrepublic.com wrote: james 2012-08-15 09:57:03 -0700 (Wed, 15 Aug 2012) 105 When browsing for scripts, you can now type more than just the first letter to jump to a script by name. --- U wip/customsubs.bas U wip/ohrhelp/scriptbrowse.txt U

Re: [Ohrrpgce] SVN: james/5346 Update stun and mute every 18 ticks instead of every 19 ticks,

2012-08-16 Thread Ralph Versteegen
On 17 August 2012 05:23, subvers...@hamsterrepublic.com wrote: james 2012-08-16 10:23:17 -0700 (Thu, 16 Aug 2012) 111 Update stun and mute every 18 ticks instead of every 19 ticks, since that is closer to the old 18.2 tick rate. --- U wip/bmod.bas Why not just use 18.3 ticks? Also, I

Re: [Ohrrpgce] SVN: teeemcee/5357 and can now be used instead of and

2012-08-27 Thread Ralph Versteegen
On 28 August 2012 04:20, James Paige b...@hamsterrepublic.com wrote: I think we looked at -- and got so distracted by our despair that we forgot about and ;) --- James I've been thinking about about -- too. What we could do is to interpret - and -- as minus, and -whitespace- as minus a

Re: [Ohrrpgce] SVN: teeemcee/5357 and can now be used instead of and

2012-08-27 Thread Ralph Versteegen
On 28 August 2012 04:44, James Paige b...@hamsterrepublic.com wrote: On Tue, Aug 28, 2012 at 04:29:34AM +1200, Ralph Versteegen wrote: On 28 August 2012 04:20, James Paige b...@hamsterrepublic.com wrote: I think we looked at -- and got so distracted by our despair that we forgot about

Re: [Ohrrpgce] SVN: teeemcee/5365 Add microseconds

2012-08-29 Thread Ralph Versteegen
On 29 August 2012 09:20, Kizul Emeraldfire kizulemeraldf...@gmail.com wrote: On Tue, Aug 28, 2012 at 3:22 PM, subvers...@hamsterrepublic.com wrote: teeemcee 2012-08-28 13:22:50 -0700 (Tue, 28 Aug 2012) 18 Add microseconds --- U wip/docs/plotdict.xml U wip/plotscr.hsd U

[Ohrrpgce] Adjustable frame rate

2012-08-29 Thread Ralph Versteegen
James and I were discussing this the other week in IRC, and I meant to send a small note to the mailing list for comments. I finally agreed that just measuring all animation delays in plain ticks, rather than milliseconds or 18ths of a second (idealised ticks) would work fine. Here's the plan

Re: [Ohrrpgce] Adjustable frame rate

2012-08-29 Thread Ralph Versteegen
On 30 August 2012 02:25, James Paige b...@hamsterrepublic.com wrote: On Wed, Aug 29, 2012 at 11:25:07PM +1200, Ralph Versteegen wrote: James and I were discussing this the other week in IRC, and I meant to send a small note to the mailing list for comments. I finally agreed that just

Re: [Ohrrpgce] Adjustable frame rate

2012-08-29 Thread Ralph Versteegen
On 30 August 2012 05:25, James Paige b...@hamsterrepublic.com wrote: On Thu, Aug 30, 2012 at 05:09:26AM +1200, Ralph Versteegen wrote: On 30 August 2012 02:25, James Paige b...@hamsterrepublic.com wrote: On Wed, Aug 29, 2012 at 11:25:07PM +1200, Ralph Versteegen wrote: James and I were

Re: [Ohrrpgce] Adjustable frame rate

2012-08-29 Thread Ralph Versteegen
On 30 August 2012 05:36, Ralph Versteegen teeem...@gmail.com wrote: On 30 August 2012 05:25, James Paige b...@hamsterrepublic.com wrote: On Thu, Aug 30, 2012 at 05:09:26AM +1200, Ralph Versteegen wrote: On 30 August 2012 02:25, James Paige b...@hamsterrepublic.com wrote: On Wed, Aug 29, 2012

Re: [Ohrrpgce] SVN: teeemcee/5371 Attack Damage Settings editor redesign. Damage calculation preview, sett

2012-08-30 Thread Ralph Versteegen
On 31 August 2012 07:12, subvers...@hamsterrepublic.com wrote: teeemcee 2012-08-30 12:12:28 -0700 (Thu, 30 Aug 2012) 231 Attack Damage Settings editor redesign. Damage calculation preview, settings and bitsets dynamically hidden. Some stuff moved. Also mixed in is some minor flexmenu

Re: [Ohrrpgce] Improving Damage Calculation

2012-09-01 Thread Ralph Versteegen
On 1 September 2012 23:01, Ralph Versteegen teeem...@gmail.com wrote: I was going to get rid of the awful % based attacks damage instead of set bitset and replace it with two new Damage Math settings (% of max target stat and % of current target stat) when I realised that doing so would

Re: [Ohrrpgce] Improving Damage Calculation

2012-09-01 Thread Ralph Versteegen
On 2 September 2012 01:33, James Paige b...@hamsterrepublic.com wrote: On Sat, Sep 01, 2012 at 11:01:56PM +1200, Ralph Versteegen wrote: I was going to get rid of the awful % based attacks damage instead of set bitset and replace it with two new Damage Math settings (% of max target stat

Re: [Ohrrpgce] SVN: teeemcee/5381 When adding a new hero, enemy, attack or shop, you can copy an existing

2012-09-11 Thread Ralph Versteegen
On 11 September 2012 03:58, James Paige b...@hamsterrepublic.com wrote: On Mon, Sep 10, 2012 at 08:33:00AM -0700, subvers...@hamsterrepublic.com wrote: teeemcee 2012-09-10 08:33:00 -0700 (Mon, 10 Sep 2012) 221 When adding a new hero, enemy, attack or shop, you can copy an existing one

Re: [Ohrrpgce] SVN: james/5386 Fix detection of absolute paths to allow unc paths to RPG files

2012-09-18 Thread Ralph Versteegen
On 18 September 2012 09:02, subvers...@hamsterrepublic.com wrote: james 2012-09-17 14:02:34 -0700 (Mon, 17 Sep 2012) 64 Fix detection of absolute paths to allow unc paths to RPG files --- U wip/game.bas You should instead fix is_absolute_path, absolute_path, and all the other path

Re: [Ohrrpgce] SVN: james/5386 Fix detection of absolute paths to allow unc paths to RPG files

2012-09-18 Thread Ralph Versteegen
On 19 September 2012 02:04, James Paige b...@hamsterrepublic.com wrote: On Tue, Sep 18, 2012 at 08:49:13PM +1200, Ralph Versteegen wrote: On 18 September 2012 09:02, subvers...@hamsterrepublic.com wrote: james 2012-09-17 14:02:34 -0700 (Mon, 17 Sep 2012) 64 Fix detection of absolute

Re: [Ohrrpgce] New nohrio RELOAD api feedback

2012-09-28 Thread Ralph Versteegen
On 29 September 2012 00:38, David Gowers 00a...@gmail.com wrote: Hi TMC, On Fri, Sep 28, 2012 at 8:14 PM, Ralph Versteegen teeem...@gmail.com wrote: I think this is mostly a pretty nice API. I like the multiple node name arguments to __getitem__, and node.take. The close method could just

Re: [Ohrrpgce] SVN: teeemcee/5394 Support relative RPG paths as commandline arguments to Custom

2012-09-28 Thread Ralph Versteegen
On 29 September 2012 05:01, James Paige b...@hamsterrepublic.com wrote: On Fri, Sep 28, 2012 at 09:50:48AM -0700, James Paige wrote: On Fri, Sep 28, 2012 at 09:26:38AM -0700, subvers...@hamsterrepublic.com wrote: teeemcee 2012-09-28 09:26:38 -0700 (Fri, 28 Sep 2012) 61 Support relative

Re: [Ohrrpgce] SVN: teeemcee/5394 Support relative RPG paths as commandline arguments to Custom

2012-09-28 Thread Ralph Versteegen
On 29 September 2012 05:12, James Paige b...@hamsterrepublic.com wrote: On Sat, Sep 29, 2012 at 05:05:42AM +1200, Ralph Versteegen wrote: On 29 September 2012 05:01, James Paige b...@hamsterrepublic.com wrote: On Fri, Sep 28, 2012 at 09:50:48AM -0700, James Paige wrote: On Fri, Sep 28, 2012

Re: [Ohrrpgce] SVN: teeemcee/5394 Support relative RPG paths as commandline arguments to Custom

2012-09-29 Thread Ralph Versteegen
On 29 September 2012 05:44, James Paige b...@hamsterrepublic.com wrote: On Sat, Sep 29, 2012 at 05:37:50AM +1200, Ralph Versteegen wrote: On 29 September 2012 05:12, James Paige b...@hamsterrepublic.com wrote: On Sat, Sep 29, 2012 at 05:05:42AM +1200, Ralph Versteegen wrote: On 29 September

Re: [Ohrrpgce] New nohrio RELOAD api feedback

2012-09-29 Thread Ralph Versteegen
On 29 September 2012 18:23, David Gowers 00a...@gmail.com wrote: Good idea CCing the list, I initially thought it was a topic of limited general relevance, but I realized at least Mike might also have something to say here.. On Sat, Sep 29, 2012 at 2:31 AM, Ralph Versteegen teeem

Re: [Ohrrpgce] New nohrio RELOAD api feedback

2012-09-30 Thread Ralph Versteegen
On 30 September 2012 19:48, David Gowers 00a...@gmail.com wrote: On Sun, Sep 30, 2012 at 12:20 AM, Ralph Versteegen teeem...@gmail.com wrote: On 29 September 2012 18:23, David Gowers 00a...@gmail.com wrote: Good idea CCing the list, I initially thought it was a topic of limited general

Re: [Ohrrpgce] SVN: teeemcee/5401 During upgrade correct counts of menus, menu items, maps, master palette

2012-09-30 Thread Ralph Versteegen
On 1 October 2012 06:01, subvers...@hamsterrepublic.com wrote: teeemcee 2012-09-30 10:01:49 -0700 (Sun, 30 Sep 2012) 875 During upgrade correct counts of menus, menu items, maps, master palettes and (partially) attacks There were two bugs plaguing the menus.bin lump: -Firstly, the record

Re: [Ohrrpgce] SVN: teeemcee/5399 shorten_to_left and shorten_to_right functions, which are ready for use

2012-10-01 Thread Ralph Versteegen
On 2 October 2012 05:09, James Paige b...@hamsterrepublic.com wrote: On Sun, Sep 30, 2012 at 10:01:44AM -0700, subvers...@hamsterrepublic.com wrote: teeemcee 2012-09-30 10:01:44 -0700 (Sun, 30 Sep 2012) 118 shorten_to_left and shorten_to_right functions, which are ready for use with

Re: [Ohrrpgce] script trigger when opening a menu

2012-10-01 Thread Ralph Versteegen
On 2 October 2012 04:55, James Paige b...@hamsterrepublic.com wrote: For a while I have been wanting a script trigger for when a menu is opened, but I haven't implemented it because I have some doubts about how it should work. Should it be a global script trigger for when the user presses the

Re: [Ohrrpgce] SVN: teeemcee/5418 Recompile SDL_mixer.dll with loop points enabled in mikmod.

2012-10-11 Thread Ralph Versteegen
On 11 October 2012 22:13, subvers...@hamsterrepublic.com wrote: teeemcee 2012-10-11 02:13:19 -0700 (Thu, 11 Oct 2012) 736 Recompile SDL_mixer.dll with loop points enabled in mikmod. Otherwise identical to previous Windows build. I should do a proper build of 1.2.12 rather than this build

Re: [Ohrrpgce] SVN: teeemcee/5421 Add macsdk option to SConscript, to target previous OSX versions

2012-10-22 Thread Ralph Versteegen
On 23 October 2012 00:28, subvers...@hamsterrepublic.com wrote: teeemcee 2012-10-22 04:28:35 -0700 (Mon, 22 Oct 2012) 64 Add macsdk option to SConscript, to target previous OSX versions --- U wip/SConscript James, to compile for OS X 10.4+, change the following lines in distrib-mac.sh:

Re: [Ohrrpgce] SVN: teeemcee/5421 Add macsdk option to SConscript, to target previous OSX versions

2012-10-22 Thread Ralph Versteegen
On 23 October 2012 00:45, Ralph Versteegen teeem...@gmail.com wrote: On 23 October 2012 00:28, subvers...@hamsterrepublic.com wrote: teeemcee 2012-10-22 04:28:35 -0700 (Mon, 22 Oct 2012) 64 Add macsdk option to SConscript, to target previous OSX versions --- U wip/SConscript James

Re: [Ohrrpgce] SVN: teeemcee/5421 Add macsdk option to SConscript, to target previous OSX versions

2012-10-22 Thread Ralph Versteegen
On 23 October 2012 03:14, James Paige b...@hamsterrepublic.com wrote: On Tue, Oct 23, 2012 at 12:45:12AM +1300, Ralph Versteegen wrote: On 23 October 2012 00:28, subvers...@hamsterrepublic.com wrote: teeemcee 2012-10-22 04:28:35 -0700 (Mon, 22 Oct 2012) 64 Add macsdk option

Re: [Ohrrpgce] SVN: james/5430 Enemies doing on-death bequest attacks should not be targetable

2012-11-01 Thread Ralph Versteegen
On 2 November 2012 04:41, James Paige b...@hamsterrepublic.com wrote: On Thu, Nov 01, 2012 at 08:22:23AM -0700, subvers...@hamsterrepublic.com wrote: james 2012-11-01 08:22:23 -0700 (Thu, 01 Nov 2012) 64 Enemies doing on-death bequest attacks should not be targetable This feature is not

Re: [Ohrrpgce] SVN: james/5430 Enemies doing on-death bequest attacks should not be targetable

2012-11-01 Thread Ralph Versteegen
On 2 November 2012 11:00, James Paige b...@hamsterrepublic.com wrote: On Fri, Nov 02, 2012 at 10:31:26AM +1300, Ralph Versteegen wrote: On 2 November 2012 04:41, James Paige b...@hamsterrepublic.com wrote: On Thu, Nov 01, 2012 at 08:22:23AM -0700, subvers...@hamsterrepublic.com wrote

Re: [Ohrrpgce] SVN: teeemcee/5437 Start drawing the root slice; added SliceTable.Backdrop slice

2012-11-20 Thread Ralph Versteegen
On 21 November 2012 02:25, subvers...@hamsterrepublic.com wrote: teeemcee 2012-11-20 05:25:21 -0800 (Tue, 20 Nov 2012) 246 Start drawing the root slice; added SliceTable.Backdrop slice Several things such as textboxes are still not drawn using the slice tree, but they can be added later.

Re: [Ohrrpgce] SVN: teeemcee/5438 Changes to textbox slice structure:

2012-11-20 Thread Ralph Versteegen
On 21 November 2012 14:00, subvers...@hamsterrepublic.com wrote: teeemcee 2012-11-20 17:00:01 -0800 (Tue, 20 Nov 2012) 386 Changes to textbox slice structure: -Added textbox_root, textbox_text_box, textbox_choice_box, textbox_portrait_box lookup codes textbox_box, not textbox_text_box

Re: [Ohrrpgce] SVN: james/5449 Fixed a bug with importing new backdrops and tilesets

2012-11-27 Thread Ralph Versteegen
Opps! Giz pointed out this bug to me about a month ago, but I completely forgot about it! On 28 November 2012 05:58, subvers...@hamsterrepublic.com wrote: james 2012-11-27 08:58:56 -0800 (Tue, 27 Nov 2012) 202 Fixed a bug with importing new backdrops and tilesets which was introduced when

Re: [Ohrrpgce] SVN: james/5451 Beginning work on turn-based battle mode. (not usable yet)

2012-12-02 Thread Ralph Versteegen
On 2 December 2012 14:08, subvers...@hamsterrepublic.com wrote: james 2012-12-01 17:08:29 -0800 (Sat, 01 Dec 2012) 263 Beginning work on turn-based battle mode. (not usable yet) Add genBattleMode Add F6 debug key in battle to toggle Active/Turn modes Minor formatting cleanup to Active mode

Re: [Ohrrpgce] SVN: james/5480 Attacks base stat is now allowed to be max stats,

2012-12-08 Thread Ralph Versteegen
The base stat browser menu is neat! A couple months ago I discussed improvements to damage calculation and couldn't decide on handling max stats. I'm happy with the way you've done this (though I think I'll split the attack stat up into two field, eg. Attacker Max Stat and HP. That'll make it

Re: [Ohrrpgce] SVN: james/5467 Remove the F8 and F9 debug keys for manipulating gen() and gmap()

2012-12-08 Thread Ralph Versteegen
Thank goodness! I dragged my feet long enough. I am going to add all the other debug menus to this too. On 6 December 2012 06:48, subvers...@hamsterrepublic.com wrote: james 2012-12-05 09:48:25 -0800 (Wed, 05 Dec 2012) 378 Remove the F8 and F9 debug keys for manipulating gen() and gmap()

Re: [Ohrrpgce] SVN: james/5467 Remove the F8 and F9 debug keys for manipulating gen() and gmap()

2012-12-08 Thread Ralph Versteegen
Since this will be the main debug key, perhaps I should change this to something easier to find, like F2, and shuffle the other keys around a bit. I wonder how many people use quick saving/loading. On 8 December 2012 23:30, Ralph Versteegen teeem...@gmail.com wrote: Thank goodness! I dragged my

Re: [Ohrrpgce] SVN: james/5480 Attacks base stat is now allowed to be max stats,

2012-12-09 Thread Ralph Versteegen
. That way we could store base attack stat in some slightly more structured way, rather than a list of sequential magic numbers --- James On Sat, Dec 08, 2012 at 11:24:34PM +1300, Ralph Versteegen wrote: The base stat browser menu is neat! A couple months

Re: [Ohrrpgce] SVN: james/5483 Create the heroes.reld lump

2012-12-09 Thread Ralph Versteegen
On 9 December 2012 17:39, James Paige b...@hamsterrepublic.com wrote: On Sat, Dec 08, 2012 at 08:38:06PM -0800, subvers...@hamsterrepublic.com wrote: james 2012-12-08 20:38:05 -0800 (Sat, 08 Dec 2012) 193 Create the heroes.reld lump Currently contains nothing but names. It is not read

Re: [Ohrrpgce] ReloadBasic READNODE question

2012-12-13 Thread Ralph Versteegen
Right, your options are either to nest a withnode inside the readnode, or to just not use readnode at all (if you don't care about throwing warnings about unhandled children. I think I put too much emphasis on catching unhandled children). By the way, the .default(0) is redundant here because the

Re: [Ohrrpgce] ReloadBasic assignment syntax?

2012-12-20 Thread Ralph Versteegen
Yes, that can be done. It was planned. Getting over my fear of reloadbasic.py (though I wrote it recently enough that I remember quite a bit, and being decently commented, it's just so dang complex) and taking a look at it, it actually seems straight forward to implement. I remember now that

Re: [Ohrrpgce] ReloadBasic assignment syntax?

2012-12-20 Thread Ralph Versteegen
~hero.reld.nodename.integer Could be translated to CAST(NodePtr, hero.reld).nodename.integer On Fri, Dec 21, 2012 at 04:54:45AM +1300, Ralph Versteegen wrote: Yes, that can be done. It was planned. Getting over my fear of reloadbasic.py (though I wrote it recently enough that I remember

Re: [Ohrrpgce] ReloadBasic assignment syntax?

2012-12-20 Thread Ralph Versteegen
On 21 December 2012 05:45, James Paige b...@hamsterrepublic.com wrote: On Fri, Dec 21, 2012 at 05:34:48AM +1300, Ralph Versteegen wrote: Type checking in nodespecs was another reason for wanting to be able to see all Nodeptr declarations, but I don't think that's a good reason, since I'd think

Re: [Ohrrpgce] SVN: teeemcee/5503 Fix crashes in get_hspeak_version in Windows when something goes wrong

2012-12-20 Thread Ralph Versteegen
On 21 December 2012 06:18, subvers...@hamsterrepublic.com wrote: teeemcee 2012-12-20 09:18:12 -0800 (Thu, 20 Dec 2012) 70 Fix crashes in get_hspeak_version in Windows when something goes wrong --- U wip/subs2.bas Ideally get_hspeak_version would not use SHELL at all on Windows, because

Re: [Ohrrpgce] SVN: james/5511 MenuDef now supports a .linespacing member to vertically scrunch or stre

2012-12-23 Thread Ralph Versteegen
On 22 December 2012 17:53, James Paige b...@hamsterrepublic.com wrote: On Fri, Dec 21, 2012 at 08:07:20PM -0800, subvers...@hamsterrepublic.com wrote: james 2012-12-21 20:07:20 -0800 (Fri, 21 Dec 2012) 193 MenuDef now supports a .linespacing member to vertically scrunch or stretch the

Re: [Ohrrpgce] flat vs outline fonts as they relate to future font support

2012-12-23 Thread Ralph Versteegen
On 23 December 2012 06:42, James Paige b...@hamsterrepublic.com wrote: I was thinking about adding a bitset in MenuDef to choose whether the text is displayed flat or outline, and I was wondering doing this would cause problems for future fancy font support? Would font selection become a

Re: [Ohrrpgce] flat vs outline fonts as they relate to future font support

2012-12-23 Thread Ralph Versteegen
On 24 December 2012 08:00, Ralph Versteegen teeem...@gmail.com wrote: On 23 December 2012 06:42, James Paige b...@hamsterrepublic.com wrote: I was thinking about adding a bitset in MenuDef to choose whether the text is displayed flat or outline, and I was wondering doing this would cause

Re: [Ohrrpgce] SVN: james/5501 Free the HeroDef's reload node in ClearHeroData instead of loadherodata

2012-12-24 Thread Ralph Versteegen
On 21 December 2012 04:44, subvers...@hamsterrepublic.com wrote: james 2012-12-20 07:44:46 -0800 (Thu, 20 Dec 2012) 204 Free the HeroDef's reload node in ClearHeroData instead of loadherodata And make sure that hero data loading is calling ClearHeroData in the appropriate places Yay for

Re: [Ohrrpgce] SVN: teeemcee/5526 Fix reload Document leak in loadherodata, which prevented hero data from

2012-12-24 Thread Ralph Versteegen
On 25 December 2012 02:41, subvers...@hamsterrepublic.com wrote: teeemcee 2012-12-24 05:41:03 -0800 (Mon, 24 Dec 2012) 402 Fix reload Document leak in loadherodata, which prevented hero data from being saved on Windows due to the open file. I also removed an EXIT DO inside a READNODE; you

Re: [Ohrrpgce] SVN: james/5543 Increase RSAV version number to 3 because of the removal of the battle_m

2012-12-25 Thread Ralph Versteegen
On 26 December 2012 04:56, subvers...@hamsterrepublic.com wrote: james 2012-12-25 07:56:33 -0800 (Tue, 25 Dec 2012) 269 Increase RSAV version number to 3 because of the removal of the battle_menus node I should have done this as part of revision 5539 Saving your game with a current

Re: [Ohrrpgce] flat vs outline fonts as they relate to future font support

2012-12-25 Thread Ralph Versteegen
On 25 December 2012 06:12, James Paige b...@hamsterrepublic.com wrote: On Mon, Dec 24, 2012 at 08:00:34AM +1300, Ralph Versteegen wrote: On 23 December 2012 06:42, James Paige b...@hamsterrepublic.com wrote: I was thinking about adding a bitset in MenuDef to choose whether the text

Re: [Ohrrpgce] SVN: james/5511 MenuDef now supports a .linespacing member to vertically scrunch or stre

2012-12-25 Thread Ralph Versteegen
On 25 December 2012 05:59, James Paige b...@hamsterrepublic.com wrote: On Mon, Dec 24, 2012 at 07:26:15AM +1300, Ralph Versteegen wrote: On 22 December 2012 17:53, James Paige b...@hamsterrepublic.com wrote: On Fri, Dec 21, 2012 at 08:07:20PM -0800, subvers...@hamsterrepublic.com wrote

Re: [Ohrrpgce] F12 screenshots are flaky

2013-01-04 Thread Ralph Versteegen
On 4 January 2013 07:36, James Paige b...@hamsterrepublic.com wrote: On Thu, Jan 03, 2013 at 10:27:01AM -0800, Adam Perry wrote: It seems like there are several things F12 won't actually screenshot. I'm seeing issues with the following: - Attempting to capture the equipment menu

Re: [Ohrrpgce] More screenshot stuff

2013-01-07 Thread Ralph Versteegen
On 8 January 2013 10:59, James Paige b...@hamsterrepublic.com wrote: On Mon, Jan 07, 2013 at 01:54:32PM -0800, Adam Perry wrote: Despite the four-digit number at the end of each screenshot, it seems to stop saving them after 128. You aren't using a signed short int for that, are you?

Re: [Ohrrpgce] Version difference quirks

2013-01-28 Thread Ralph Versteegen
On 29 January 2013 10:08, Adam Perry arpe...@gmail.com wrote: On Mon, Jan 28, 2013 at 12:58 PM, James Paige b...@hamsterrepublic.com wrote: On Mon, Jan 28, 2013 at 10:51:27AM -0800, Adam Perry wrote: Playing Phantom Tactics on a newer executable has dredged up a few inconsistencies: -

Re: [Ohrrpgce] SVN: teeemcee/5583 debugc now uses ErrorLevel/ErrorLevelEnum constants with different defin

2013-01-30 Thread Ralph Versteegen
once a minute. On Tue, Jan 29, 2013 at 01:54:00AM +1300, Ralph Versteegen wrote: Thinking about error levels a bit more. Should we always show a visible error message if you do something which is clearly a bug but might not cause a major problem? Maybe only in nightly builds? There's the risk

Re: [Ohrrpgce] SVN: james/5426 distrib-nightly-mac.sh accepts arguments and passes them on to distrib-m

2013-02-01 Thread Ralph Versteegen
On 23 October 2012 04:42, James Paige b...@hamsterrepublic.com wrote: On Mon, Oct 22, 2012 at 08:36:27AM -0700, subvers...@hamsterrepublic.com wrote: james 2012-10-22 08:36:27 -0700 (Mon, 22 Oct 2012) 78 distrib-nightly-mac.sh accepts arguments and passes them on to distrib-mac.sh I now

Re: [Ohrrpgce] Beelzebufo vs. Alectormancy+3

2013-02-03 Thread Ralph Versteegen
On 3 February 2013 14:55, James Paige b...@hamsterrepublic.com wrote: On Sun, Feb 03, 2013 at 01:33:01PM +1300, Ralph Versteegen wrote: On 2 February 2013 04:51, James Paige b...@hamsterrepublic.com wrote: On Sat, Feb 02, 2013 at 02:15:16AM +1300, Ralph Versteegen wrote: You wouldn't

Re: [Ohrrpgce] Version difference quirks

2013-02-05 Thread Ralph Versteegen
On 29 January 2013 09:58, James Paige b...@hamsterrepublic.com wrote: On Mon, Jan 28, 2013 at 10:51:27AM -0800, Adam Perry wrote: - Rectangle widths support negative values. This is probably not a bad thing. As far as I can tell, though, rectangles do not and have never supported zero width

[Ohrrpgce] Compiling with FB's GCC backend now works!

2013-02-12 Thread Ralph Versteegen
Thanks to a truly massive amount of work by dkl on the GCC backend in the last few months amounting to practically a rewrite, the current FB development version can now compile the OHR using the GCC backend! I did encounter 6 bugs in the backend (4 of them new) though which I had to work around.

<    5   6   7   8   9   10   11   12   13   14   >