Commit Graph

734 Commits

Author SHA1 Message Date
Brendan Robert
261bd7f7d8 Remove trace file 2022-02-08 01:30:49 -06:00
Brendan Robert
083a9f1e2c Remove IntelliJ project files 2022-02-08 01:30:49 -06:00
Brendan Robert
91d7b5d1b5 Updated music score details, other emulator cleanup 2022-02-08 01:30:49 -06: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
3dbf22c66c The actual fixed for ProRWTS 2022-01-14 08:23:19 -08:00
Martin Haye
002d256ae6 Merge branch 'master' of github.com:badvision/lawless-legends 2022-01-05 11:57:25 -08:00
Martin Haye
6b6b511a77 Added log cross-reference 2022-01-05 11:57:20 -08:00
Brendan Robert
9f4952cabd Large code cleanup/refactoring, mostly addressing code fragility and emulator structure that results in poor startup behavior. 2021-11-09 11:20:42 -06: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
Brendan Robert
e6113e2ac6 Update music score and added resume mode to song playback for wilderness 2021-09-05 09:46:47 -05: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
cce4a4b60d Merge branch 'master' of github.com:badvision/lawless-legends 2021-08-05 09:47:33 -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
Brendan Robert
3f3a7c83ba Memory handlers should be smarter about I/O page detection even with aux flag specified 2021-05-24 09:18:41 -05:00
Brendan Robert
0bcd1976f5 Build issues resolved due to signed jars 2021-05-24 09:16:51 -05:00
Brendan Robert
9781138ba8 Music player bugfixes 2021-05-24 09:16:21 -05:00
Martin Haye
5651578bbd Merge branch 'master' of github.com:badvision/lawless-legends 2021-05-13 09:26:31 -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
Brendan Robert
df04f4018e Fixed bug in changing scores 2021-05-09 16:16:02 -05:00
Brendan Robert
2278344278 Completed music feature, added score selection and software-defined repeat mode for songs 2021-04-26 09:24:32 -05:00
Martin Haye
f47713b4e0 Added support for playing sounds via emulator. 2021-04-22 08:52:57 -07:00
Brendan Robert
5f8171500f Adding music/sfx playback support 2021-04-13 00:22:24 -05:00
Brendan Robert
b727537457 Switch device list to unsynchronized and use Eclipse collections for speed 2021-04-02 16:46:26 -05:00
Brendan Robert
8fd831479d Cache memory configurations and avoid rebuilding as often (small performance boost) 2021-04-02 16:45:51 -05:00
Brendan Robert
a8e76cd4f6 Removed 3rd party dependency for this test 2021-04-02 15:33:16 -05:00
Brendan Robert
5b9d95c2c2 Modernizing dependencies 2021-04-02 15:18:58 -05:00
Brendan Robert
6ede1e27ed Minor performance improvements 2021-04-02 15:07:45 -05:00
Brendan Robert
d9061488f4 Updated to the new video model locations that do not conflict with Apple //gs IO locations from commit 00d0f7391c 2021-03-08 16:32:51 -06:00
Brendan Robert
24c6e82b7a Replace icon set for menu and hide unnecessary items 2021-03-08 14:12:40 -06:00
Brendan Robert
ef39c438fb Adjust text boundaries for main menu B&W region 2021-03-08 14:12:15 -06:00
Martin Haye
3f405c84a6 Merged PR 41 2021-03-02 05:51:05 -08:00
Martin Haye
8ddcc88a2c Merge branch 'master' of https://github.com/peterferrie/lawless-legends into peterferrie-master 2021-03-02 05:49:07 -08:00
Martin Haye
aed05ee348 Handy debugging of block data; commented out but avail if needed. 2021-03-02 05:48:54 -08:00
Peter Ferrie
55735c9be3 always set status, always spin up if drive changed 2021-02-28 16:48:09 -08:00
Martin Haye
766e544c71 Fix for rdwrfile on drive 2. 2021-02-28 09:30:53 -08:00
Martin Haye
013c113dba Pull in most recent poll-with-timeout from Peter. 2021-02-28 06:28:43 -08:00
Peter Ferrie
9e94b0af1c poll floppy with timeout 2021-02-27 18:22:25 -08:00
Martin Haye
b260002b4d Patched to check for real drive data, so we don't spin forever waiting for disk 2. 2021-02-27 11:14:25 -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
cd94468985 Moved blkidx so it can be easily cleared by reseek. 2021-02-27 07:01:23 -08:00
Martin Haye
1740394588 Peter found this: fast_subindex needs to be on in ProRWTS. 2021-02-25 06:49:31 -08:00
Martin Haye
a2f4828f54 Debugging integration with new ProRWTS. 2021-02-24 06:50:20 -08:00
Martin Haye
618429add9 Added back ver_02 header so that prorwts2.s assembles. 2021-02-23 06:28:04 -08:00
Peter Ferrie
c0006406be newer ProRWTS2 2021-02-22 12:21:16 -08:00
Martin Haye
e0a29b59ba Don't overwrite page DF in plasma vm, as loader needs decomp to temporarily live there. 2021-02-20 15:28:38 -08:00
Martin Haye
fd259f8f7e Patch no longer needed, since the problem was really that the loader was partially trashing ProDOS before initting ProRWTS. 2021-02-20 14:32:47 -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
ff315e79ed Patch ProRWTS to avoid uninitialized value if GET_PREFIX fails. 2021-02-20 12:01:12 -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
e6f16f608f Merge branch 'master' of github.com:badvision/lawless-legends 2020-07-28 07:35:39 -07:00
Brendan Robert
fff0d74aa9 Remove mockingboard on start, set graphics mode to text-friendly.
Added titlescreen mode
2020-07-28 09:34:51 -05:00
Martin Haye
65069b932e Added help prompt on load or new, and move mode prompt on new game. 2020-07-28 07:31:07 -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
9b130326df Merge branch 'master' of github.com:badvision/lawless-legends 2020-06-20 16:10:31 -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
Brendan Robert
7a03c7ab15 Fix ZPE on startup 2020-06-07 22:26:35 -05:00
Brendan Robert
deafd12267 * Added options for game upgrade
* Added MMU stats to CPu debug output
* Memory zeros out on warm resets now to prevent reboot failures
2020-06-06 02:05:28 -05:00
Brendan Robert
68d12365d6 Yucky hack to reset ram pattern even on warm boot, fixes rebooting glitches due to uninitalized engine state variables. 2020-06-01 09:10:45 -05:00
Brendan Robert
a81852294b Force lawless cheat module to load on start, fixes text color "glitch" 2020-06-01 09:10:00 -05: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
db052ecf44 Merge branch 'master' of github.com:badvision/lawless-legends 2020-02-26 08:34:27 -08:00
Martin Haye
a1558fd0f8 Animated 2D tiles now working. 2020-02-26 08:34:22 -08:00
Brendan Robert
9060e27a22 Updating .gitignore so I don't accidentally check garbage in 2020-02-24 09:26:18 -06:00
Brendan Robert
6dd9c7e789 Various bug fixes and added story book mode 2020-02-24 09:06:24 -06: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
Brendan Robert
19c68edadb Updated Jace emulator to allow HD images as well as 800kb floppy images 2020-01-01 18:56:30 -06: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
995907da95 Added null pointer checking to PLASMA runtime. 2019-07-15 10:20:27 -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
Martin Haye
65ba8a454f Lots of additions and fixes for story mode. Mostly working now. 2019-06-13 08:52:54 -07:00
Martin Haye
027d988171 Story loading now works. 2019-02-21 09:23:34 -08:00
Martin Haye
0139adca30 Progress on story mode. 2019-01-24 08:52:02 -08:00
Martin Haye
63f40d60b5 Basics of storybook packing now operational. 2019-01-10 09:45:40 -08:00
Martin Haye
6455a56f30 Final sprint to get display of quest target coords (or nearest exit when applicable). 2019-01-07 11:38:57 -08:00
Martin Haye
046141958a Had forgotten to use gen_mapsizes to validate the disk marks on load. That's done now. 2018-11-20 08:29:19 -08:00
Martin Haye
a208b5b4a0 More work on quest log locations. 2018-11-20 06:54:52 -08:00
Martin Haye
bca78c5040 Merge branch 'master' of github.com:badvision/lawless-legends 2018-09-29 09:46:27 -07:00
Martin Haye
2b6edd912a Refactored enemies table to make it smaller and split it in half. It was getting too big for memory. 2018-09-29 09:46:19 -07:00
Brendan Robert
e7c702136c Reworking sound bits 2018-09-15 16:23:58 -05:00
Brendan Robert
1d793f640a Emulator updates 2018-09-15 16:23:32 -05:00
Martin Haye
30405be0c2 Some fixes to quest log. 2018-09-13 08:27:57 -07:00
Martin Haye
6375b8aad1 Generating full quest data, I think. 2018-08-30 09:16:18 -07:00
Martin Haye
27c335444f Added two new cross-references to pack_report.txt: (1) Flag use, (2) Script locations. Also, started actually checking quest sheet values. 2018-08-28 08:10:09 -07:00
Martin Haye
f35739aec9 Merge branch 'master' of github.com:badvision/lawless-legends 2018-05-31 10:37:47 -07:00
Martin Haye
95d4415449 Added teleport cross-reference. 2018-05-31 10:37:44 -07:00
Brendan Robert
aaa234e278 Tweak startup behavior to prevent deadlocks on startup 2018-05-16 00:40:40 -05:00
Brendan Robert
99e57454d5 Updated configuration to synchronize access to child nodes to prevent concurrent modification exceptions 2018-05-16 00:40:01 -05:00
Brendan Robert
0af41844ca Changed romLoaded to atomicBoolean 2018-05-16 00:37:56 -05:00
Brendan Robert
26ba3083ea Fixed playback thread handling as well as isRunning detection to fix stuck threads 2018-05-16 00:37:25 -05:00
Martin Haye
4839168bbf Even simpler automap icons. Fix big string generation problem. 2018-05-12 07:58:27 -07:00
Martin Haye
cad2626221 Fixed name generation bug with plain items. 2018-05-10 07:40:06 -07:00
Martin Haye
66d95451c2 Keep automap icons simple - no dither processing. 2018-05-10 06:53:55 -07:00
Martin Haye
ba748eed52 Excellent progress on displaying map special icons. 2018-05-09 09:11:27 -07:00
Martin Haye
7ffc63db8e Making progress on display of automap specials. 2018-05-06 09:25:42 -07:00
Martin Haye
f49a34434d Generating mapSpecials table. 2018-05-03 08:38:35 -07:00
Martin Haye
54735f5317 Refined the resource index so that wilderness map really does fully function from any of the data disks. 2018-04-28 09:38:24 -07:00
Martin Haye
681faa7187 Made pack_report.txt more compact and clear. 2018-04-28 07:22:41 -07:00
Martin Haye
28b7a97add Deduplicated strings to make gen_enemies and gen_items smaller. Optimized load order in combat. 2018-04-27 09:23:24 -07:00
Martin Haye
8a5a1e1a65 Modified ProRWTS to preserve scratchpad space in aux text screen area. 2018-04-25 08:57:47 -07:00
Martin Haye
b487223783 Generating map sizes for diskops checking. 2018-04-16 07:46:54 -07:00
Martin Haye
f4062d506a Lots of work on automap marks. 2018-04-16 05:35:40 -07:00
Martin Haye
1e9813ba2a Fixed bug where script module wasn't beeing freed when wandering (or teleporting) for a long time on the wilderness map. 2018-04-08 10:08:50 -07:00
Martin Haye
0248c70646 Automap mark saving working for 3D maps. 2018-04-05 08:30:04 -07:00
Martin Haye
6fae3b6ea8 More groundwork for automap mark cache/flush. 2018-03-29 10:12:22 -07:00
Martin Haye
1dbd41d79e Workaround for PLASMA string thing. 2018-03-28 16:36:52 -07:00
Martin Haye
91d58fb584 Merge branch 'master' of github.com:badvision/lawless-legends 2018-03-28 16:21:35 -07:00
David Schmenk
1528d5f7aa Always output ENTER/LEAVE for functions (no zero locals optimization) 2018-03-28 13:00:58 -07:00
David Schmenk
d6c870112c Revert "Fix for strings in non ENTER/LEAVE functions"
This reverts commit fb0ef9848b.
2018-03-28 12:57:58 -07:00
Martin Haye
433eaf3f47 Merge branch 'master' of github.com:badvision/lawless-legends 2018-03-27 11:21:17 -07:00
David Schmenk
fb0ef9848b Fix for strings in non ENTER/LEAVE functions 2018-03-27 10:31:28 -07:00
Martin Haye
faa5270a0c Improved song conversion and playback. 2018-03-26 13:48:10 -07:00
Brendan Robert
e52d4016dd Self-clocking mockingboard is no longer tied to the main emulator speed 2018-03-21 20:24:55 -05:00
Brendan Robert
e0bc6a797e Used synchronized types to avoid race conditions 2018-03-21 20:24:55 -05:00
Brendan Robert
461fe41f79 Removed font speedup hacks -- we should just rely on transwarp softswitch for speedups. 2018-03-21 20:24:55 -05:00
Martin Haye
aa9a94b678 Merge branch 'master' of github.com:badvision/lawless-legends 2018-03-20 10:43:30 -07:00
Martin Haye
820fba95e3 Now correctly sequencing the test song. 2018-03-20 10:43:20 -07:00
Martin Haye
0c20264a9b More work integrating sound - it makes a tone now. 2018-03-20 08:35:19 -07:00
Brendan Robert
55e7a87cc5 Turning off acceleration resets to the user-defined speed instead of 1mhz 2018-03-20 10:01:35 -05:00
Martin Haye
9a9464da3c Merge branch 'master' of github.com:badvision/lawless-legends 2018-03-20 07:59:06 -07:00
Martin Haye
0693ea2fec Working on integrating music. 2018-03-20 07:58:59 -07:00
Brendan Robert
dabf70c3cf Updated RAM to use sets for listeners (it's more efficient) and added Zip/Transwarp emulation at a minimal level. That means programs can now selectively over-clock the emulator if desired. 2018-03-20 00:11:51 -05:00
Brendan Robert
356b1fad3e Updated default speed to 2x instead of 1.5x and fixed issue that kept resetting speed to 1x every time the emulator is started 2018-03-19 00:55:37 -05:00
Brendan Robert
c9c91d2fe0 Updated color mode detection to use sofswitch method. Changed default emulator color mode and speed to 2x 2018-03-17 12:21:09 -05:00