Commit Graph

422 Commits

Author SHA1 Message Date
Martin Haye
34b468adb5 Handle blank items in starting inventory 2023-08-13 08:29:44 -07:00
Martin Haye
8fb12ed338 Upgraded Java and groovy 2023-07-29 08:23:28 -07:00
Martin Haye
f1fead66f1 Properly track use of variables before setting them. Also, fix context which was popping from the wrong end of its stack 2023-07-23 09:43:55 -07:00
Martin Haye
3f1fda27bf Fixed some packer bugs: 1) syntax updates for new Groovy; 2) script names weren't always being properly length-mangled; 3) whacked the gen_flags.b decompression underlap thing again, this time by avoiding compressing that file entirely. 2022-04-07 08:45:32 -07:00
Martin Haye
6d06ee9bf9 Upgraded to latest Groovy version 2022-04-07 08:43:58 -07:00
Martin Haye
0c30fadee3 Had to increase decompression underlap back to 5. Don't really want to mess with it and figure out why. Also, changed invalid encounter chance from fatal error to just a warning, so Seth can fix them. 2022-01-28 08:16:05 -08:00
Martin Haye
89db793516 Factoring out import code. 2022-01-14 08:42:37 -08:00
Martin Haye
f21eb21c00 Fixed disk limiting code 2022-01-14 08:23:39 -08:00
Martin Haye
6b6b511a77 Added log cross-reference 2022-01-05 11:57:20 -08:00
Martin Haye
961940537d Added new block for speaker sound effects. 2021-10-25 08:14:00 -07:00
Martin Haye
5ae48fa4fb Fix taking a pluralizable item away from the party 2021-10-19 07:57:47 -07:00
Martin Haye
bc20789c64 Back to underlap of 3, and always checking it. 2021-10-18 06:08:49 -07:00
Martin Haye
435e8e1473 Added an 'Emu credit' line on the title screen, which only displays when running in Jace. 2021-10-13 06:21:01 -07:00
Martin Haye
e6aae21937 Added sound generator, and a godmode tester for it. 2021-10-10 09:30:40 -07:00
Martin Haye
591369b7fb Fairly extensive change to how stats work: get-stat now has a context; if using a skill, it's just that player's stat; otherwise, it's the max stat for anyone in the party. 2021-09-14 08:24:16 -07:00
Martin Haye
026e1c2e5d Fixed XP gaining for party. Improvements to melee weapon combat, and to hand-to-hand combat 2021-09-04 08:05:13 -07:00
Martin Haye
02ec4842ba Avoid ending screens on disk 1 - this saves a lot of space overall due to increased shared portraits. Allow diskLimit=8 to mean 'no limit' (zero also works). Fix problems with stat getting. Fix extra UI frame image when switching full screens. 2021-09-03 08:46:24 -07:00
Martin Haye
4d2111ec3f Fix bug where non-required global scripts were still being placed on disk 1 (and runtime code couldn't find them) 2021-08-15 09:12:07 -07:00
Martin Haye
a6f974da33 Added number-of-attacks logic for high levels of hand-to-hand etc. Added stats cross-reference to pack report. Added more smart-quote translation to packer. 2021-08-02 08:24:28 -07:00
Martin Haye
f102f9b2b3 Moved New Game script and resources (i.e. portraits) to disk 2 2021-05-13 09:26:25 -07:00
Martin Haye
f47713b4e0 Added support for playing sounds via emulator. 2021-04-22 08:52:57 -07:00
Martin Haye
aed05ee348 Handy debugging of block data; commented out but avail if needed. 2021-03-02 05:48:54 -08:00
Martin Haye
0b6f395781 When resetting save game, write non-zeros so that it doesn't end up sparse when copied to a hard drive. 2021-02-27 08:26:37 -08:00
Martin Haye
f33325d159 Move most global scripts to disk 2 instead of 1. 2021-02-20 14:27:21 -08:00
Martin Haye
8933f2ef38 Proper support for setting/increasing/decreasing stats by a variable amount. 2021-01-05 08:50:09 -08:00
Martin Haye
2fb2f3660f Added global bank balance stat. 2020-12-31 11:09:53 -08:00
Martin Haye
b718484d7d Added story log output to pack_report.txt, and some story sanity checking. 2020-10-17 07:47:59 -07:00
Martin Haye
63a1935622 Updates for Java 9+ compatibility (tested on Java 14 - Windows). 2020-08-24 09:55:27 -07:00
Martin Haye
91be4d56bf Implemented auto-save, and sped up saving in general. Fixes for the improved help screen. 2020-08-22 10:50:45 -07:00
Martin Haye
7f0c920e5e Better messaging when a required sheet like 'Armor' is missing. 2020-08-21 07:57:41 -07:00
Martin Haye
cd117aef7c Don't crash on story display in disk-limited version. 2020-06-20 16:16:59 -07:00
Martin Haye
7cc3852670 Improved layout of title screen text. 2020-06-20 12:52:25 -07:00
Martin Haye
d9e2011671 More reworking of title screen. Finished initial version of disk limiting. 2020-06-17 12:42:43 -07:00
Martin Haye
72f9827229 Adding disk limit and copyright message. Also fixed some plural matching problems. 2020-06-15 07:21:37 -07:00
Martin Haye
9e93360d11 Save memory during automap display by packing small tilesets separately from regular tilesets. 2020-05-25 13:32:51 -07:00
Martin Haye
a1558fd0f8 Animated 2D tiles now working. 2020-02-26 08:34:22 -08:00
Martin Haye
3bc1bd6f65 Slow progress on tile animation prep. 2020-02-19 08:00:03 -08:00
Martin Haye
dd9690ad82 Multiple loot groups per enemy now fully implemented. 2020-02-13 06:58:23 -08:00
Martin Haye
562a1bf285 Finished the item-generation split refactor. 2020-01-22 09:44:18 -08:00
Martin Haye
691fc35c40 Refactored generated items into separate weapons/armor/misc modules, because the combined module has been very unwieldy for quite a while. 2020-01-22 09:10:25 -08:00
Martin Haye
cbf17851b3 Good progress on gang combat. 2019-11-07 12:01:46 -08:00
Martin Haye
12d02919ab Making progress on combat gangs. 2019-10-10 09:48:21 -07:00
Martin Haye
a2425e0751 Added a new 'promptAnyKey' block to save space and time. 2019-09-12 07:21:09 -07:00
Martin Haye
37af866d24 Fixed floppy version of story mode. 2019-08-08 09:45:01 -07:00
Martin Haye
bb4be7a173 Fixed decompression bug: min 'underlap' needs to be 5 instead of 3 - case brought on by gen_flags.b 2019-08-01 08:11:28 -07:00
Martin Haye
c13776bd8e numberGameFlags wasn't finding flags in subsequent blocks. 2019-07-22 15:38:27 -07:00
Martin Haye
4965f80b58 Bumped output 2mg size to 5 megs, since we just exceeded 800k. Translate dotdotdot character to dots. 2019-07-18 16:28:39 -05:00
Martin Haye
ad6e72af67 Translate curly quotes to regular quotes. Complain about other non-ASCII chars. 2019-07-15 10:49:25 -07:00
Martin Haye
317fa2c890 Refactored some 3d-only code into a new module, to reduce the bloated size of gameloop. 2019-07-15 10:21:12 -07:00
Martin Haye
68de768e39 Split out itemutils to save memory during store interactions (didn't need all the party stuff). 2019-06-14 09:45:15 -07:00