[Ohrrpgce] SVN: teeemcee/13192 Rewrite Distribute Game menu & submenus using EditorKit. Clean it up a b

2023-04-05 Thread subversion--- via Ohrrpgce
teeemcee 2023-04-05 21:08:06 -0700 (Wed, 05 Apr 2023) 113 Rewrite Distribute Game menu & submenus using EditorKit. Clean it up a bit. >From 313 nonblank lines down to 144. --- U wip/distribmenu.bas U wip/ohrhelp/distribute_game.txt ___ Ohrrpgce

[Ohrrpgce] SVN: teeemcee/13207 sliceedit: option to add a copy of another collection when adding a slic

2023-04-13 Thread subversion--- via Ohrrpgce
teeemcee 2023-04-13 22:08:36 -0700 (Thu, 13 Apr 2023) 91 sliceedit: option to add a copy of another collection when adding a slice A bit unfinished --- U wip/sliceedit.bas U wip/slices.bi ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: teeemcee/13162 A script to generate a zip of steamworks redistributable libraries from

2023-02-10 Thread subversion--- via Ohrrpgce
teeemcee 2023-02-10 04:25:30 -0800 (Fri, 10 Feb 2023) 390 A script to generate a zip of steamworks redistributable libraries from the SDK For http://HamsterRepublic.com/ohrrpgce/support/steamworks_v155.zip Copies just the libraries from an SDK zip, see https://partner.steamgames.com/doc/sdk

[Ohrrpgce] SVN: teeemcee/13161 Fix incorrect "WARNING: ...rpg modified since it was last loaded or save

2023-02-10 Thread subversion--- via Ohrrpgce
teeemcee 2023-02-10 04:25:16 -0800 (Fri, 10 Feb 2023) 267 Fix incorrect "WARNING: ...rpg modified since it was last loaded or saved!" Due to rounding error when converting a timestamp to decimal in the session .txt and back this message was sometimes (often?) appended when Custom queried what to

[Ohrrpgce] SVN: teeemcee/13294 Fix Alectormancy whatsnew not mentioning Distribute for Mac OSX option!

2023-07-10 Thread subversion--- via Ohrrpgce
teeemcee 2023-07-10 20:11:50 -0700 (Mon, 10 Jul 2023) 71 Fix Alectormancy whatsnew not mentioning Distribute for Mac OSX option! --- U wip/whatsnew.txt ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: teeemcee/13293 Update release-itchio.sh for renamed ohrrpgce-win.zip package

2023-07-10 Thread subversion--- via Ohrrpgce
teeemcee 2023-07-10 20:11:42 -0700 (Mon, 10 Jul 2023) 61 Update release-itchio.sh for renamed ohrrpgce-win.zip package --- U wip/release/release-itchio.sh ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: teeemcee/13290 Update ohrstable.sh for the many renamed packages in ichorescent

2023-07-10 Thread subversion--- via Ohrrpgce
teeemcee 2023-07-10 19:39:03 -0700 (Mon, 10 Jul 2023) 649 Update ohrstable.sh for the many renamed packages in ichorescent Note that the Distribute Game menu no longer downloads ohrrpgce-player packages from hamsterrepublic.com/dl/. So the only reason to update those links is for linking to,

[Ohrrpgce] SVN: teeemcee/13291 Fix ohrstable.sh not reporting correct current version

2023-07-10 Thread subversion--- via Ohrrpgce
teeemcee 2023-07-10 19:44:41 -0700 (Mon, 10 Jul 2023) 159 Fix ohrstable.sh not reporting correct current version The naming of ohrrpgce-source-$VERSION.zip hasn't changed since 2005, so use that as reference instead. --- U web/ohrstable.sh ___

[Ohrrpgce] SVN: teeemcee/13292 That ohrstable.sh fix to PLAYERSTABLE was wrong, I didn't read

2023-07-10 Thread subversion--- via Ohrrpgce
teeemcee 2023-07-10 20:01:01 -0700 (Mon, 10 Jul 2023) 257 That ohrstable.sh fix to PLAYERSTABLE was wrong, I didn't read The variable is named PLAYERSTABLE, it's meant to be the version used for the PLAYER packages, not the source. It's just going to print an error until ichorescent is released,

[Ohrrpgce] SVN: teeemcee/13298 In release mode only log the first 50 script errors to g_debug.txt, beca

2023-07-14 Thread subversion--- via Ohrrpgce
teeemcee 2023-07-13 23:15:10 -0700 (Thu, 13 Jul 2023) 357 In release mode only log the first 50 script errors to g_debug.txt, because it's slow Scripts that spammed errors could slow down badly, even if g_debug.txt reached its max size and nothing was logged. It was especially slow on Windows.

[Ohrrpgce] SVN: teeemcee/13295 Silence rsav warning about unexpected node status_char

2023-07-13 Thread subversion--- via Ohrrpgce
teeemcee 2023-07-13 21:50:54 -0700 (Thu, 13 Jul 2023) 214 Silence rsav warning about unexpected node status_char That node was removed in r12043 because it was pointless. "Save slot 2: savegame.rbas:383, in gamestate_state_from_reload: unexpected node node:/status_char" --- U

[Ohrrpgce] SVN: teeemcee/13296 Make small, large, bound, in_bound inline functions.

2023-07-13 Thread subversion--- via Ohrrpgce
teeemcee 2023-07-13 21:51:06 -0700 (Thu, 13 Jul 2023) 144 Make small, large, bound, in_bound inline functions. Far faster, and shaves 5KB off exe size too. (Private in FB is equivalent to static in C) --- U wip/util.bas U wip/util.bi ___ Ohrrpgce

[Ohrrpgce] SVN: teeemcee/13297 Move most XYPair operators to util.bi so they're inlineable. And a coupl

2023-07-13 Thread subversion--- via Ohrrpgce
teeemcee 2023-07-13 21:51:14 -0700 (Thu, 13 Jul 2023) 129 Move most XYPair operators to util.bi so they're inlineable. And a couple Float2 For efficiency, and saves another 5KB exe size. --- U wip/util.bas U wip/util.bi ___ Ohrrpgce mailing list

[Ohrrpgce] SVN: teeemcee/13289 Rename most Windows, Mac and Linux packages for consistency

2023-07-08 Thread subversion--- via Ohrrpgce
teeemcee 2023-07-08 22:07:24 -0700 (Sat, 08 Jul 2023) 3255 Rename most Windows, Mac and Linux packages for consistency Except for Mac full packages, Win/Mac/Linux stable/nightly full/player-only packages now use a nearly consistent naming scheme: ohrrpgce-player-{OS}-{VERSION}{SUFFIX}.{EXT}

[Ohrrpgce] SVN: teeemcee/13288 Make ohr_nightly_vm.sh upload nightly-check.ini in addition to emailing

2023-07-08 Thread subversion--- via Ohrrpgce
teeemcee 2023-07-08 22:07:10 -0700 (Sat, 08 Jul 2023) 137 Make ohr_nightly_vm.sh upload nightly-check.ini in addition to emailing it Changed the format of the email a bit to make it a valid .ini --- U wip/nightly/check_nightly_wip.sh U wip/nightly/ohr_nightly_vm.sh

[Ohrrpgce] SVN: teeemcee/13287 Corrupt .oggs could show a BUG message. Change to a debug.

2023-07-05 Thread subversion--- via Ohrrpgce
teeemcee 2023-07-05 07:10:06 -0700 (Wed, 05 Jul 2023) 316 Corrupt .oggs could show a BUG message. Change to a debug. There are some crash reports specifically with: (BUG) ERROR: sound_play: Mix_PlayChannel failed:Tried to play a chunk with a bad frame Adding an example that caused that error,

[Ohrrpgce] SVN: teeemcee/13275 Export graphics as .png, or as set by graphics_export_format config sett

2023-05-25 Thread subversion--- via Ohrrpgce
teeemcee 2023-05-25 20:02:06 -0700 (Thu, 25 May 2023) 317 Export graphics as .png, or as set by graphics_export_format config setting This affects sprites, tilesets, backdrops, master palettes, and map layers. Not screenshots or map images. The only two allowed export options are bmp and png; I

[Ohrrpgce] SVN: teeemcee/13274 Fix reading from ohrrpgce_config.ini not working at all

2023-05-25 Thread subversion--- via Ohrrpgce
teeemcee 2023-05-25 20:01:54 -0700 (Thu, 25 May 2023) 199 Fix reading from ohrrpgce_config.ini not working at all Was broken by r13101 (497ba6f3e7) because *@!"\0"="" This had the notable effect that mouse pan speed in the map editor defaulted to minimum. --- U wip/common.rbas

[Ohrrpgce] SVN: teeemcee/13273 sliceedit: show ScreenX/Y relative to the draw_root, to ignore panning

2023-05-25 Thread subversion--- via Ohrrpgce
teeemcee 2023-05-25 20:01:46 -0700 (Thu, 25 May 2023) 70 sliceedit: show ScreenX/Y relative to the draw_root, to ignore panning --- U wip/sliceedit.bas ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: teeemcee/13276 Finally add Master Palettes option to the graphics menu

2023-05-25 Thread subversion--- via Ohrrpgce
teeemcee 2023-05-25 20:02:17 -0700 (Thu, 25 May 2023) 55 Finally add Master Palettes option to the graphics menu --- U wip/custom.bas U wip/custom.bi U wip/generaledit.rbas U wip/ohrhelp/gfxmain.txt U wip/uiconst.bi ___ Ohrrpgce mailing list

[Ohrrpgce] SVN: teeemcee/13277 Tile/spriteedit: when picking a color by right-click/G/Enter, change to

2023-05-25 Thread subversion--- via Ohrrpgce
teeemcee 2023-05-25 20:02:26 -0700 (Thu, 25 May 2023) 527 Tile/spriteedit: when picking a color by right-click/G/Enter, change to Draw tool if using a non-drawing tool (mainly Scroll) This sounds like an unimportant tweak but I probably accidentally scrolled 40 times today because it didn't do

[Ohrrpgce] SVN: teeemcee/13278 Rename misspelt 'Vapourise' to Vaporize, add dissolve:vaporise and disso

2023-05-30 Thread subversion--- via Ohrrpgce
teeemcee 2023-05-30 05:20:39 -0700 (Tue, 30 May 2023) 149 Rename misspelt 'Vapourise' to Vaporize, add dissolve:vaporise and dissolve:vaporize Personally, all three spellings look wrong. I prefer vapourize! --- U wip/allmodex.bas U wip/common.rbas U wip/const.bi U wip/docs/plotdict.xml U

[Ohrrpgce] SVN: teeemcee/13279 gfx_fb: Add --noinput, to avoid a freeze in getc when not running on a t

2023-05-30 Thread subversion--- via Ohrrpgce
teeemcee 2023-05-30 05:20:47 -0700 (Tue, 30 May 2023) 255 gfx_fb: Add --noinput, to avoid a freeze in getc when not running on a tty This is useful if you want to actually run a game (benchmark.rpg inside a Python subprocess call in my case) rather than just reading output from commandline flags

[Ohrrpgce] SVN: teeemcee/13285 Attack extra data, and "get attack extra", patch by Holly

2023-07-01 Thread subversion--- via Ohrrpgce
teeemcee 2023-07-01 09:03:21 -0700 (Sat, 01 Jul 2023) 232 Attack extra data, and "get attack extra", patch by Holly Attacks have a fixed 3 extras, for now. "get extra" can't be used on them. Adds an Attack Data section to the plotdict and moves get/readattackname, getattackcaption there. --- U

[Ohrrpgce] SVN: teeemcee/13286 plotdict: improvements and updates to some attack and extra data command

2023-07-01 Thread subversion--- via Ohrrpgce
teeemcee 2023-07-01 09:03:31 -0700 (Sat, 01 Jul 2023) 73 plotdict: improvements and updates to some attack and extra data commands --- U wip/docs/plotdict.xml ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: teeemcee/13284 "forward X", "forward Y" commands, by Holly Hart!

2023-06-27 Thread subversion--- via Ohrrpgce
teeemcee 2023-06-27 09:32:10 -0700 (Tue, 27 Jun 2023) 106 "forward X", "forward Y" commands, by Holly Hart! The tile forward of the/a hero, a very command pattern. --- U wip/const.bi U wip/docs/plotdict.xml U wip/plotscr.hsd U wip/scriptcommands.bas U wip/testgame/autotest.hss U

[Ohrrpgce] SVN: teeemcee/13267 Stop measure_timer_overhead early if it's slow

2023-05-10 Thread subversion--- via Ohrrpgce
teeemcee 2023-05-10 20:40:55 -0700 (Wed, 10 May 2023) 96 Stop measure_timer_overhead early if it's slow For example, TIMER is really slow in a Win XP VM --- U wip/scripting.bas ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: teeemcee/13268 Subtract measure_timer_overhead from slice draw timing, and move it to u

2023-05-10 Thread subversion--- via Ohrrpgce
teeemcee 2023-05-10 20:41:03 -0700 (Wed, 10 May 2023) 79 Subtract measure_timer_overhead from slice draw timing, and move it to util.bas --- U wip/scripting.bas U wip/sliceedit.bas U wip/util.bas U wip/util.bi ___ Ohrrpgce mailing list

[Ohrrpgce] SVN: teeemcee/13269 sliceedit: move Extra Data section to the bottom for faster access

2023-05-10 Thread subversion--- via Ohrrpgce
teeemcee 2023-05-10 20:41:10 -0700 (Wed, 10 May 2023) 66 sliceedit: move Extra Data section to the bottom for faster access --- U wip/sliceedit.bas ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: teeemcee/13266 Timing a single slice's Draw(), shown in new sliceedit Metadata section,

2023-05-10 Thread subversion--- via Ohrrpgce
teeemcee 2023-05-10 20:40:47 -0700 (Wed, 10 May 2023) 87 Timing a single slice's Draw(), shown in new sliceedit Metadata section, plus ScreenX/Y --- U wip/sliceedit.bas U wip/slices.bas U wip/slices.bi U wip/util.bas U wip/util.bi U wip/whatsnew.txt

[Ohrrpgce] SVN: teeemcee/13265 gif.h: effective delta coding, without flicker, when dithering 32-bit fr

2023-05-10 Thread subversion--- via Ohrrpgce
teeemcee 2023-05-10 20:40:37 -0700 (Wed, 10 May 2023) 355 gif.h: effective delta coding, without flicker, when dithering 32-bit frames Don't write pixels that didn't actually change, this caused flickering whenever quantisation is necessary, and the error propagation would then cause neighbouring

[Ohrrpgce] SVN: teeemcee/13270 DescribeSlice didn't actually return anything. Affected certain error me

2023-05-14 Thread subversion--- via Ohrrpgce
teeemcee 2023-05-14 19:58:03 -0700 (Sun, 14 May 2023) 78 DescribeSlice didn't actually return anything. Affected certain error messages --- U wip/slices.bas ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: teeemcee/13271 Clean up & split out vehicle_controls()

2023-05-16 Thread subversion--- via Ohrrpgce
teeemcee 2023-05-16 16:24:31 -0700 (Tue, 16 May 2023) 102 Clean up & split out vehicle_controls() Satisfying to clean up code that went down such a wrong path. --- U wip/game.bas U wip/walkabouts.bas U wip/walkabouts.bi ___ Ohrrpgce mailing list

[Ohrrpgce] SVN: teeemcee/13272 Add "suspend walkabouts"

2023-05-16 Thread subversion--- via Ohrrpgce
teeemcee 2023-05-16 16:24:47 -0700 (Tue, 16 May 2023) 24 Add "suspend walkabouts" --- U wip/const.bi U wip/docs/plotdict.xml U wip/docs/plotdictionary.html U wip/game.bas U wip/game.bi U wip/plotscr.hsd U wip/scriptcommands.bas U wip/testgame/autotest.hss U

[Ohrrpgce] SVN: teeemcee/13264 accelerating_keydown, for faster numerical editing

2023-05-06 Thread subversion--- via Ohrrpgce
teeemcee 2023-05-06 22:00:06 -0700 (Sat, 06 May 2023) 50 accelerating_keydown, for faster numerical editing --- U wip/common.rbas U wip/whatsnew.txt ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: teeemcee/13258 Attacks set to No Damage ignored the "Show Attack Name" bit

2023-05-02 Thread subversion--- via Ohrrpgce
teeemcee 2023-05-02 22:05:23 -0700 (Tue, 02 May 2023) 59 Attacks set to No Damage ignored the "Show Attack Name" bit --- U wip/bmod.rbas U wip/bmodsubs.bas U wip/whatsnew.txt ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: teeemcee/13257 Fix Attack Damage Color off by one, and not used for No Damage/Don't Dis

2023-05-02 Thread subversion--- via Ohrrpgce
teeemcee 2023-05-02 22:05:11 -0700 (Tue, 02 May 2023) 91 Fix Attack Damage Color off by one, and not used for No Damage/Don't Display Damage attacks --- U wip/attackedit.bas U wip/bmodsubs.bas U wip/ohrhelp/attack_appearance.txt U wip/whatsnew.txt

[Ohrrpgce] SVN: teeemcee/13249 Fix display and bounding of position in hero form editor not including t

2023-05-02 Thread subversion--- via Ohrrpgce
teeemcee 2023-05-02 20:20:19 -0700 (Tue, 02 May 2023) 235 Fix display and bounding of position in hero form editor not including the offset But the previous commit already papered over this mistake (introduced recently in r13147) which prevented putting heroes on the left half of the screen. ---

[Ohrrpgce] SVN: teeemcee/13250 vec2Distance, vec3Distance, and some float2 (FB) & float3 (C++) overload

2023-05-02 Thread subversion--- via Ohrrpgce
teeemcee 2023-05-02 20:20:28 -0700 (Tue, 02 May 2023) 597 vec2Distance, vec3Distance, and some float2 (FB) & float3 (C++) overloaded operators In particular, add XYPair.let(XYPair) so that you can write dim pos as XYPair pos = some_float2_expression unfortunately there is no way in FB to

[Ohrrpgce] SVN: teeemcee/13251 Minor code cleaning: use of XYPair

2023-05-02 Thread subversion--- via Ohrrpgce
teeemcee 2023-05-02 20:20:38 -0700 (Tue, 02 May 2023) 34 Minor code cleaning: use of XYPair --- U wip/attackedit.bas U wip/game.bas U wip/plankmenu.bas U wip/yetmore2.bas ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: teeemcee/13253 Fix percent/float_grabber reducing the number of decimals as you press L

2023-05-02 Thread subversion--- via Ohrrpgce
teeemcee 2023-05-02 20:20:54 -0700 (Tue, 02 May 2023) 156 Fix percent/float_grabber reducing the number of decimals as you press Left/Right For example, pressing Left on 3.141 would change to 3.14 instead of 3.140 --- U wip/common.rbas U wip/util.bas

[Ohrrpgce] SVN: teeemcee/13254 Rename percent_grabber's decimalplaces arg to sigfigs

2023-05-02 Thread subversion--- via Ohrrpgce
teeemcee 2023-05-02 20:21:02 -0700 (Tue, 02 May 2023) 53 Rename percent_grabber's decimalplaces arg to sigfigs --- U wip/common.bi U wip/common.rbas ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: teeemcee/13256 Revert "Minor code cleanup in check_wallmap_collision" which causes auto

2023-05-02 Thread subversion--- via Ohrrpgce
teeemcee 2023-05-02 20:21:22 -0700 (Tue, 02 May 2023) 282 Revert "Minor code cleanup in check_wallmap_collision" which causes autotest failure The comment above the "(pos - nextalign) MOD tilesize = 0" check explained why "pos = nextalign" wasn't a correct subtitute... This reverts commit

[Ohrrpgce] SVN: teeemcee/13255 Fix percent_grabber dropping trailing zeros due to precision issues

2023-05-02 Thread subversion--- via Ohrrpgce
teeemcee 2023-05-02 20:21:10 -0700 (Tue, 02 May 2023) 202 Fix percent_grabber dropping trailing zeros due to precision issues When trying to edit a large value the epsilon used was too small, so it would constantly regenerate the repr and falsely return true. --- U wip/common.rbas

[Ohrrpgce] SVN: teeemcee/13252 Remove RectType+XYPair (and minus) operators, seems over the top

2023-05-02 Thread subversion--- via Ohrrpgce
teeemcee 2023-05-02 20:20:46 -0700 (Tue, 02 May 2023) 107 Remove RectType+XYPair (and minus) operators, seems over the top Even deleting 8 lines is worth something. --- U wip/allmodex.bas U wip/mapsubs.bas U wip/util.bas U wip/util.bi ___

[Ohrrpgce] SVN: teeemcee/13259 Don't 'hold' the previous screen behind thingbrowser, I think it oft loo

2023-05-03 Thread subversion--- via Ohrrpgce
teeemcee 2023-05-03 01:20:42 -0700 (Wed, 03 May 2023) 78 Don't 'hold' the previous screen behind thingbrowser, I think it oft looks bad --- U wip/thingbrowser.bas ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: teeemcee/13260 Put Previous Menu at top of tileset editor menu, instead of Cancel at th

2023-05-03 Thread subversion--- via Ohrrpgce
teeemcee 2023-05-03 01:20:50 -0700 (Wed, 03 May 2023) 80 Put Previous Menu at top of tileset editor menu, instead of Cancel at the bottom --- U wip/drawing.bas ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: teeemcee/13261 Allow exiting Tileset editor with the mouse, mostly.

2023-05-03 Thread subversion--- via Ohrrpgce
teeemcee 2023-05-03 01:20:58 -0700 (Wed, 03 May 2023) 285 Allow exiting Tileset editor with the mouse, mostly. Added a 'Back' button in the corner of the Tile Editor. You can right click in the tile picker to exit, except in the Default Passability editor. Also, I moved multichoice() buttons an

[Ohrrpgce] SVN: teeemcee/13263 sliceedit: Fix right-dragging in detail editor selecting menu items

2023-05-03 Thread subversion--- via Ohrrpgce
teeemcee 2023-05-03 01:52:21 -0700 (Wed, 03 May 2023) 146 sliceedit: Fix right-dragging in detail editor selecting menu items (Fixed with hit_test) Also, allow exiting slice_editor_xy by right-clicking. --- U wip/ohrhelp/template_sliceedit_xy_shared.txt U wip/sliceedit.bas

[Ohrrpgce] SVN: teeemcee/13262 sliceedit: press a tool's shortcut again to deselect it

2023-05-03 Thread subversion--- via Ohrrpgce
teeemcee 2023-05-03 01:52:13 -0700 (Wed, 03 May 2023) 74 sliceedit: press a tool's shortcut again to deselect it Suggested by Bena --- U wip/ohrhelp/template_sliceedit_keys.txt U wip/sliceedit.bas ___ Ohrrpgce mailing list

[Ohrrpgce] SVN: james/13488 Add a library to Android Dockerfile for rebuilding sld-android's theme i

2024-01-20 Thread subversion--- via Ohrrpgce
james 2024-01-20 11:40:17 -0800 (Sat, 20 Jan 2024) 91 Add a library to Android Dockerfile for rebuilding sld-android's theme image converter tool --- U wip/docker/ohrrpgce-build-env-android/oldstyle.Dockerfile ___ Ohrrpgce mailing list

[Ohrrpgce] SVN: teeemcee/13516 Bump hspeak version and a fix needed after rebasing forward 6 more years

2024-02-06 Thread subversion--- via Ohrrpgce
teeemcee 2024-02-06 23:15:38 -0800 (Tue, 06 Feb 2024) 80 Bump hspeak version and a fix needed after rebasing forward 6 more years to 2023 --- U wip/hspeak.exw U wip/hsspiffy.e U wip/oldhsinterpreter.bas U wip/scrconst.bi U wip/scripting.bas

[Ohrrpgce] SVN: teeemcee/13521 Script debugger: better scrolling, using accelerating_keydown

2024-02-06 Thread subversion--- via Ohrrpgce
teeemcee 2024-02-06 23:16:20 -0800 (Tue, 06 Feb 2024) 174 Script debugger: better scrolling, using accelerating_keydown Also, call setkeys just once not twice when entering waitforanykey. And add arg to not call setkeys afterwards. --- U wip/allmodex.bas U wip/allmodex.bi U wip/common.bi U

[Ohrrpgce] SVN: teeemcee/13522 Script debugger: describe locals and globals handles

2024-02-06 Thread subversion--- via Ohrrpgce
teeemcee 2024-02-06 23:16:28 -0800 (Tue, 06 Feb 2024) 52 Script debugger: describe locals and globals handles --- U wip/oldhsinterpreter.bas ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: teeemcee/13517 Script debugger high res support, improvements and lots of code cleanup

2024-02-06 Thread subversion--- via Ohrrpgce
teeemcee 2024-02-06 23:15:48 -0800 (Tue, 06 Feb 2024) 614 Script debugger high res support, improvements and lots of code cleanup Proudly remove the "Usability trainwreck" warnings :) At least 50% less awful (to use) than before! However I've only rewritten half of the debugger, it's still a

[Ohrrpgce] SVN: teeemcee/13518 Fix debug info for scripts with DOS or Mac line endings

2024-02-06 Thread subversion--- via Ohrrpgce
teeemcee 2024-02-06 23:15:57 -0800 (Tue, 06 Feb 2024) 266 Fix debug info for scripts with DOS or Mac line endings decode_srcpos is probably faster too now that it doesn't use lines_from_file() Mac line endings in script source files in source.lumped are now converted to Unix to simplify parsing,

[Ohrrpgce] SVN: teeemcee/13519 hspeak: Fix off-by-one error in encoding srcpos offsets

2024-02-06 Thread subversion--- via Ohrrpgce
teeemcee 2024-02-06 23:16:04 -0800 (Tue, 06 Feb 2024) 116 hspeak: Fix off-by-one error in encoding srcpos offsets The engine's decode_srcpos had a matching off-by-one error. --- U wip/hspeak.exw U wip/scripting.bas ___ Ohrrpgce mailing list

[Ohrrpgce] SVN: teeemcee/13520 Implement looking up names of nonlocal variables

2024-02-06 Thread subversion--- via Ohrrpgce
teeemcee 2024-02-06 23:16:11 -0800 (Tue, 06 Feb 2024) 48 Implement looking up names of nonlocal variables --- U wip/scripting.bas ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: teeemcee/13515 A little code cleanup

2024-02-06 Thread subversion--- via Ohrrpgce
teeemcee 2024-02-06 23:15:26 -0800 (Tue, 06 Feb 2024) 21 A little code cleanup --- U wip/common.rbas U wip/oldhsinterpreter.bas U wip/scripting.bas U wip/util.bas ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: teeemcee/13503 Functions to decode a srcpos and format an error message using it (WIP)

2024-02-06 Thread subversion--- via Ohrrpgce
teeemcee 2024-02-06 23:10:40 -0800 (Tue, 06 Feb 2024) 71 Functions to decode a srcpos and format an error message using it (WIP) --- U wip/common.rbas U wip/scripting.bas U wip/scripting.bi U wip/udts.bi ___ Ohrrpgce mailing list

[Ohrrpgce] SVN: teeemcee/13501 hspeak: Add debug info to compiled scripts

2024-02-06 Thread subversion--- via Ohrrpgce
teeemcee 2024-02-06 23:09:59 -0800 (Tue, 06 Feb 2024) 352 hspeak: Add debug info to compiled scripts Adds a srcfiles.txt lump which is used to decode srcpos (to go from source offset to file/line/column). Each .hsz gains an extended header, a table of local variable names, and each tyscript,

[Ohrrpgce] SVN: teeemcee/13502 Load new data from .hsz script headers

2024-02-06 Thread subversion--- via Ohrrpgce
teeemcee 2024-02-06 23:10:16 -0800 (Tue, 06 Feb 2024) 38 Load new data from .hsz script headers --- U wip/scripting.bas U wip/udts.bi ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: teeemcee/13505 Add scriptcmdname to describe script Nodes, using actual local variable

2024-02-06 Thread subversion--- via Ohrrpgce
teeemcee 2024-02-06 23:11:18 -0800 (Tue, 06 Feb 2024) 221 Add scriptcmdname to describe script Nodes, using actual local variable names if available More messy unfinished code in this 10-year-old commit. Rewrite a good chunk of the nasty scriptstate function to make use of it. --- U

[Ohrrpgce] SVN: teeemcee/13504 Show the offending source line in script errors (WIP)

2024-02-06 Thread subversion--- via Ohrrpgce
teeemcee 2024-02-06 23:10:56 -0800 (Tue, 06 Feb 2024) 53 Show the offending source line in script errors (WIP) --- U wip/oldhsinterpreter.bas U wip/scripting.bas U wip/scripting.bi ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: teeemcee/13524 Change a couple script debugger keys, add "`Step `Next/`Run until/`Finis

2024-02-06 Thread subversion--- via Ohrrpgce
teeemcee 2024-02-06 23:16:44 -0800 (Tue, 06 Feb 2024) 196 Change a couple script debugger keys, add "`Step `Next/`Run until/`Finish script" hint Changed "step one frame" key from P to C for Continue. Changed "run until return to script" key from W to R. --- U

[Ohrrpgce] SVN: teeemcee/13523 Add 'succinct' arg to DescribeSlice and describe_handle

2024-02-06 Thread subversion--- via Ohrrpgce
teeemcee 2024-02-06 23:16:36 -0800 (Tue, 06 Feb 2024) 55 Add 'succinct' arg to DescribeSlice and describe_handle --- U wip/scriptcommands.bas U wip/scriptcommands.bi U wip/slices.bas U wip/slices.bi ___ Ohrrpgce mailing list

[Ohrrpgce] SVN: teeemcee/13525 Script debugger: add F7 to enter slice debugger

2024-02-06 Thread subversion--- via Ohrrpgce
teeemcee 2024-02-06 23:16:51 -0800 (Tue, 06 Feb 2024) 47 Script debugger: add F7 to enter slice debugger --- U wip/oldhsinterpreter.bas ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: teeemcee/13526 Indicate freed slice handles in the script debugger (describe_handle)

2024-02-06 Thread subversion--- via Ohrrpgce
teeemcee 2024-02-06 23:16:59 -0800 (Tue, 06 Feb 2024) 69 Indicate freed slice handles in the script debugger (describe_handle) --- U wip/scriptcommands.bas U wip/scriptcommands.bi ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: teeemcee/13527 "script layer" and "sl:spite layer" aliases

2024-02-06 Thread subversion--- via Ohrrpgce
teeemcee 2024-02-06 23:17:09 -0800 (Tue, 06 Feb 2024) 43 "script layer" and "sl:spite layer" aliases --- U wip/docs/plotdict.xml U wip/plotscr.hsd U wip/slices.bi U wip/whatsnew.txt ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: teeemcee/13513 For script nodes without srcpos info, use the parent node's srcpos

2024-02-06 Thread subversion--- via Ohrrpgce
teeemcee 2024-02-06 23:15:05 -0800 (Tue, 06 Feb 2024) 66 For script nodes without srcpos info, use the parent node's srcpos --- U wip/oldhsinterpreter.bas ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: teeemcee/13512 Move scriptcmdname and related functions together

2024-02-06 Thread subversion--- via Ohrrpgce
teeemcee 2024-02-06 23:14:47 -0800 (Tue, 06 Feb 2024) 77 Move scriptcmdname and related functions together There are some changes too --- U wip/oldhsinterpreter.bas U wip/scripting.bas U wip/scripting.bi ___ Ohrrpgce mailing list

[Ohrrpgce] SVN: teeemcee/13511 Support relative srcpos, and add srcfiles global array.

2024-02-06 Thread subversion--- via Ohrrpgce
teeemcee 2024-02-06 23:14:23 -0800 (Tue, 06 Feb 2024) 226 Support relative srcpos, and add srcfiles global array. Split out read_srcfiles_txt and decode_srcpos from get_script_line_info. Use plain old lines_from_file() to load the file rather than setting through counting newlines. --- U

[Ohrrpgce] SVN: teeemcee/13514 Improvements to display of source line in script debugger and scripterr

2024-02-06 Thread subversion--- via Ohrrpgce
teeemcee 2024-02-06 23:15:16 -0800 (Tue, 06 Feb 2024) 121 Improvements to display of source line in script debugger and scripterr Fix an off-by-one bug in the token highlighting. --- U wip/oldhsinterpreter.bas U wip/scripting.bas ___ Ohrrpgce

[Ohrrpgce] SVN: teeemcee/13496 parse_tests.hss: (failing) tests for name clashes, especially of subscri

2024-02-06 Thread subversion--- via Ohrrpgce
teeemcee 2024-02-06 23:08:25 -0800 (Tue, 06 Feb 2024) 82 parse_tests.hss: (failing) tests for name clashes, especially of subscripts/locals --- U wip/testgame/parser_tests.hss ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: teeemcee/13499 hspeak didn't error when a local and a subscript had the same name

2024-02-06 Thread subversion--- via Ohrrpgce
teeemcee 2024-02-06 23:09:14 -0800 (Tue, 06 Feb 2024) 203 hspeak didn't error when a local and a subscript had the same name check_undefined_string now checks for subscripts. Unfortunately this slows down hspeak by 10% when compiling Entrepreneur or Eldardeen. --- U wip/hspeak.exw U

[Ohrrpgce] SVN: teeemcee/13497 hspeak refactor: don't pass local vars to add_local_variable and back, w

2024-02-06 Thread subversion--- via Ohrrpgce
teeemcee 2024-02-06 23:08:43 -0800 (Tue, 06 Feb 2024) 265 hspeak refactor: don't pass local vars to add_local_variable and back, write to all_scripts global instead Also write the locals into all_scripts as soon as possible. So that the list of locals in all_scripts is kept up-to-date. Split

[Ohrrpgce] SVN: teeemcee/13498 hspeak: check for locals in check_undefined_string instead of add_local_

2024-02-06 Thread subversion--- via Ohrrpgce
teeemcee 2024-02-06 23:08:58 -0800 (Tue, 06 Feb 2024) 80 hspeak: check for locals in check_undefined_string instead of add_local_variable --- U wip/hspeak.exw ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: teeemcee/13500 hspeak: better srcpos info to track the position & length of tokens [Pat

2024-02-06 Thread subversion--- via Ohrrpgce
teeemcee 2024-02-06 23:09:39 -0800 (Tue, 06 Feb 2024) 450 hspeak: better srcpos info to track the position & length of tokens [Patch from 2014!] HSpeak now uses spans of 's to indicates whole tokens in errors rather than just where they start. Into 32 bits each srcpos now tracks: -the

[Ohrrpgce] SVN: teeemcee/13510 hspeak: Change srcpos encoding in .hsz files to be relative to the start

2024-02-06 Thread subversion--- via Ohrrpgce
teeemcee 2024-02-06 23:13:06 -0800 (Tue, 06 Feb 2024) 357 hspeak: Change srcpos encoding in .hsz files to be relative to the start of the script The main reason I did this (back in 2017) were so if you edited and reimported scripts, .hsz files for unmodified scripts wouldn't change except for

[Ohrrpgce] SVN: teeemcee/13509 hspeak: correct handling of tabs when displaying source lines in error m

2024-02-06 Thread subversion--- via Ohrrpgce
teeemcee 2024-02-06 23:12:40 -0800 (Tue, 06 Feb 2024) 170 hspeak: correct handling of tabs when displaying source lines in error messages (The "hspeak: better srcpos info" commit attempted to fix it, but it still wasn't right.) --- U wip/hspeak.exw

[Ohrrpgce] SVN: teeemcee/13507 Script debugger: start support for larger resolutions, add a header to s

2024-02-06 Thread subversion--- via Ohrrpgce
teeemcee 2024-02-06 23:11:58 -0800 (Tue, 06 Feb 2024) 97 Script debugger: start support for larger resolutions, add a header to show available modes (WIP) --- U wip/oldhsinterpreter.bas ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: teeemcee/13506 The script debugger now shows the current line of code

2024-02-06 Thread subversion--- via Ohrrpgce
teeemcee 2024-02-06 23:11:43 -0800 (Tue, 06 Feb 2024) 203 The script debugger now shows the current line of code The original output of scriptstate is still available in a new submode, since it has some additional info about arguments that have been evaluated. --- U wip/oldhsinterpreter.bas

[Ohrrpgce] SVN: teeemcee/13508 hspeak: better checking for malformed 'include' lines [Patches now from

2024-02-06 Thread subversion--- via Ohrrpgce
teeemcee 2024-02-06 23:12:22 -0800 (Tue, 06 Feb 2024) 202 hspeak: better checking for malformed 'include' lines [Patches now from 2017] Including a crash when 'include' isn't followed by a filename? (Not bugs caused by the srcpos additions in recent commits) --- U wip/hspeak.exw U

[Ohrrpgce] SVN: teeemcee/13528 More parser_tests.hss for catching name clashes

2024-02-07 Thread subversion--- via Ohrrpgce
teeemcee 2024-02-07 19:45:10 -0800 (Wed, 07 Feb 2024) 191 More parser_tests.hss for catching name clashes Turns out that until r13499 you could declare a global and a script with the same name if the script was first. So added that to whatsnew.txt. --- U wip/hspeak.exw U

[Ohrrpgce] SVN: teeemcee/13413 ifdef MINIMAL_OS don't try to spawn programs, show explanatory errors in

2023-12-18 Thread subversion--- via Ohrrpgce
teeemcee 2023-12-18 21:43:25 -0800 (Mon, 18 Dec 2023) 284 ifdef MINIMAL_OS don't try to spawn programs, show explanatory errors instead In fact, much of the os.bi is now completely unused in minos builds (see next commit), so instead of needing stubs for them we can leave those symbols undefined,

[Ohrrpgce] SVN: teeemcee/13414 Add os_minimal.bas, and "scons minos=1" option to try it out

2023-12-18 Thread subversion--- via Ohrrpgce
teeemcee 2023-12-18 21:43:37 -0800 (Mon, 18 Dec 2023) 370 Add os_minimal.bas, and "scons minos=1" option to try it out scons minos=1 simulates a web (unix target) or console/blackbox (win32 target) platform for testing, #define'ing MINIMAL_OS and linking to os_minimal.bas. os_minimal.bas has

[Ohrrpgce] SVN: teeemcee/13415 "play/stop music", "current music" aliases to "play/stop song", "current

2023-12-18 Thread subversion--- via Ohrrpgce
teeemcee 2023-12-18 21:43:48 -0800 (Mon, 18 Dec 2023) 78 "play/stop music", "current music" aliases to "play/stop song", "current song" --- U wip/docs/platformdict.xml U wip/docs/plotdict.xml U wip/docs/plotdictionary.html U wip/plotscr.hsd U wip/whatsnew.txt

[Ohrrpgce] SVN: james/13416 orhbuild.py: Uncomment some lines to print details about get_implicit_de

2023-12-19 Thread subversion--- via Ohrrpgce
james 2023-12-19 17:53:55 -0800 (Tue, 19 Dec 2023) 112 orhbuild.py: Uncomment some lines to print details about get_implicit_deps() output inside copy_source_actions() --- U wip/ohrbuild.py ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: teeemcee/13393 Add platformdict.xml documenting Steam/Blackbox specific commands

2023-12-14 Thread subversion--- via Ohrrpgce
teeemcee 2023-12-14 13:22:55 -0800 (Thu, 14 Dec 2023) 65 Add platformdict.xml documenting Steam/Blackbox specific commands --- U wip/docs/htmlplot.xsl A wip/docs/platformdict.xml U wip/docs/plotdict.xml U wip/docs/plotdictionary.html U wip/docs/update-html.sh

[Ohrrpgce] SVN: teeemcee/13394 In Custom allow Insert or Numpad + keys as alternative to +, or vice ver

2023-12-14 Thread subversion--- via Ohrrpgce
teeemcee 2023-12-14 13:23:16 -0800 (Thu, 14 Dec 2023) 400 In Custom allow Insert or Numpad + keys as alternative to +, or vice versa, nearly everywhere These were already allowed as alternatives in many places. Under gfx_sdl2 the + key can be hard to find on a non-US keyboard layout (but many

[Ohrrpgce] SVN: teeemcee/13395 whatsnew: forgot "suspend/resume walkabouts", "walkabouts are suspended"

2023-12-14 Thread subversion--- via Ohrrpgce
teeemcee 2023-12-14 13:23:24 -0800 (Thu, 14 Dec 2023) 72 whatsnew: forgot "suspend/resume walkabouts", "walkabouts are suspended" --- U wip/whatsnew.txt ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: james/13430 Fix symlinks in sdl_android to match what is expected for running inside

2023-12-26 Thread subversion--- via Ohrrpgce
james 2023-12-26 12:00:25 -0800 (Tue, 26 Dec 2023) 156 Fix symlinks in sdl_android to match what is expected for running inside the docker container Also temporarily disable skipping nightly when no svn changes --- U wip/nightly/wrap-nightly-android.sh

[Ohrrpgce] SVN: james/13429 Remove shutdown logic from the end of wrap-nightly-android.sh because it

2023-12-26 Thread subversion--- via Ohrrpgce
james 2023-12-26 11:56:40 -0800 (Tue, 26 Dec 2023) 95 Remove shutdown logic from the end of wrap-nightly-android.sh because it no longer runs in a vm --- U wip/nightly/wrap-nightly-android.sh ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: james/13426 Update the ohr_nightly_vm.sh script so it no longer runs the Android bui

2023-12-26 Thread subversion--- via Ohrrpgce
james 2023-12-26 09:34:25 -0800 (Tue, 26 Dec 2023) 227 Update the ohr_nightly_vm.sh script so it no longer runs the Android build VM, it runs the android docker wrapper instead Also remove ohr_nightly_vm_no_mac.sh because it was a workaround for a problem that is no longer current --- U

[Ohrrpgce] SVN: james/13428 Fix the way andr-oldstyle.sh gets SCRIPT_DIR

2023-12-26 Thread subversion--- via Ohrrpgce
james 2023-12-26 11:54:22 -0800 (Tue, 26 Dec 2023) 44 Fix the way andr-oldstyle.sh gets SCRIPT_DIR --- U wip/docker/ohrrpgce-build-env-android/andr-oldstyle.sh ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: james/13424 Docker android build (oldstyle) actually does work.

2023-12-26 Thread subversion--- via Ohrrpgce
james 2023-12-26 08:42:55 -0800 (Tue, 26 Dec 2023) 51 Docker android build (oldstyle) actually does work. --- U wip/docker/ohrrpgce-build-env-android/andr-oldstyle.sh ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org

[Ohrrpgce] SVN: james/13425 Update android nightly build logic to use Docker.

2023-12-26 Thread subversion--- via Ohrrpgce
james 2023-12-26 08:43:00 -0800 (Tue, 26 Dec 2023) 526 Update android nightly build logic to use Docker. distrib-nightly-android.sh -- just does the build now, puts output in distrib dir No longer has any svn update logic nor any hardcoded scp

[Ohrrpgce] SVN: james/13427 Android Dockerfile: Verify that all the volumes exist on the host before

2023-12-26 Thread subversion--- via Ohrrpgce
james 2023-12-26 09:47:06 -0800 (Tue, 26 Dec 2023) 190 Android Dockerfile: Verify that all the volumes exist on the host before mounting them This prevents Docker from creating empty volumes owned by root Also fix some incorrect default values --- U

[Ohrrpgce] SVN: james/13431 Docker android: Also set up /src/sdl-android/project/local.properties

2023-12-26 Thread subversion--- via Ohrrpgce
james 2023-12-26 12:13:38 -0800 (Tue, 26 Dec 2023) 188 Docker android: Also set up /src/sdl-android/project/local.properties Interestingly enough, this seems to be the one thing that sdl-android depends on the "android" command to do. Hmmm... --- U

[Ohrrpgce] SVN: james/13423 Add a preliminary draft of some Dockerfiles for android builds

2023-12-25 Thread subversion--- via Ohrrpgce
james 2023-12-25 16:42:02 -0800 (Mon, 25 Dec 2023) 62 Add a preliminary draft of some Dockerfiles for android builds --- A wip/docker/ohrrpgce-build-env-android/ A wip/docker/ohrrpgce-build-env-android/README.md A wip/docker/ohrrpgce-build-env-android/andr-next.sh A

<    1   2   3   4   5   6   7   >