Commit Graph

1402 Commits

Author SHA1 Message Date
Martin Haye
ff9072700b Testing tool to boot over and over and capture Jace screen 2022-01-05 11:57:04 -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
f2c9e83eb7 Patch to deal with random stack pointer on bootup. 2021-11-07 07:15:17 -08:00
Martin Haye
46f9cafa53 Fixed record mode so it functions on a system without a printer, enabling playback in Jace. 2021-11-05 09:55:36 -07:00
Martin Haye
961940537d Added new block for speaker sound effects. 2021-10-25 08:14:00 -07:00
Martin Haye
bafb82464d Shortened default gunshot sound 2021-10-25 08:13:47 -07:00
Martin Haye
6a2e1356e3 Re-added bonk sound when you hit a wall 2021-10-19 08:01:00 -07:00
Martin Haye
1ea4cfd65c Slighly clearer item display for weapons with multiple attacks 2021-10-19 07:59:00 -07:00
Martin Haye
5fda98a742 Made god-mode flag editor more compact since we have so many flags 2021-10-19 07:58:43 -07:00
Martin Haye
805cfbea02 Null ptr check when comparing strings 2021-10-19 07:58:11 -07:00
Martin Haye
5ae48fa4fb Fix taking a pluralizable item away from the party 2021-10-19 07:57:47 -07:00
Martin Haye
69d24b0b8c Fix null ptr bug when checking quest triggers 2021-10-19 07:57:14 -07:00
Martin Haye
bc20789c64 Back to underlap of 3, and always checking it. 2021-10-18 06:08:49 -07:00
Martin Haye
87ab80deb5 Disable sound in record mode, for quick playbacks. 2021-10-18 06:08:32 -07:00
Martin Haye
60a7dfc129 Added combat noise for explosive weapon. 2021-10-13 10:49:11 -07:00
Martin Haye
24b35d0472 Fixed up re-integration of text corrections 2021-10-13 10:48:48 -07:00
Martin Haye
3fda48bbc0 Added Y/N confirmation when buying or selling items at stores. 2021-10-13 06:47:20 -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
32bf57e103 Added a couple of combat sounds. 2021-10-12 09:10:34 -07:00
Martin Haye
7523320bce Replaced beep with low-pitch bonk 2021-10-12 08:45:49 -07:00
Martin Haye
248bc1ad6c New script to start Jace with current 2mg on Martin's mac. 2021-10-12 08:45:41 -07:00
Martin Haye
e6aae21937 Added sound generator, and a godmode tester for it. 2021-10-10 09:30:40 -07:00
Martin Haye
8851d88415 Adjusted story window to leave more space on left. 2021-10-10 09:30:11 -07:00
Martin Haye
760d46f4a4 Extra newline so first debug print shows after reset 2021-09-27 09:03:31 -07:00
Martin Haye
90b0c11f1a Fixed advance code to be consistently reversible (for being forced back out of a square) 2021-09-27 09:00:41 -07:00
Martin Haye
10ba5d8a8d Better display for melee combat. 2021-09-15 07:59:37 -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
9e7606e669 Fix giving of ammo to default to store amount rather than zero. 2021-09-12 10:05:40 -07:00
Martin Haye
2b354a1371 Fix lamp glitching - was due to adding anim buf header but not accounting for it here. 2021-09-12 10:05:04 -07:00
Martin Haye
55dd3693a0 Increase level cap to 11. 2021-09-09 10:26:48 -07:00
Martin Haye
a5fce9a28e Merge branch 'master' of github.com:badvision/lawless-legends 2021-09-07 09:08:35 -07:00
Martin Haye
7443487a7d Resume map music when exiting combat. 2021-09-07 09:08:28 -07:00
Martin Haye
56934116fd Suppress spurious output when using kill-all godmode command in combat. 2021-09-07 09:08:17 -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
4e1fb075e5 Disable drop of value-zero (=special) items 2021-09-04 08:04:34 -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
dd62fd88dd Fix bug when scanning to allocate a large block near the end of memory 2021-09-03 08:44:59 -07:00
Martin Haye
9918abef45 New adjustPartyStat method, used for XP and other things. 2021-09-02 09:22:17 -07:00
Martin Haye
25eb4915c8 Ignore new 'corrections' directory in git 2021-09-02 09:21:38 -07:00
Martin Haye
8d9f6fe627 processText now can re-integrate changes 2021-09-02 09:21:18 -07:00
Martin Haye
47a945a4f7 Now displays required skill for weapons. 2021-08-25 05:34:27 -07:00
Martin Haye
43bb694ee6 New tool to facilitate efficient read-throughs of the game text 2021-08-25 05:33:05 -07:00
Martin Haye
fa9afae0e1 Implemented whiteout in 3D renderer when sky is set to white 2021-08-17 07:59:22 -07:00
Martin Haye
2f5a615ba8 Fix text overwrite when displaying time 2021-08-17 07:59:07 -07:00
Martin Haye
118e0f6f09 Apply intelligence boost to all XP gains 2021-08-17 07:58:46 -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
e2bf2ccfb1 Apply charisma bonus for buying/selling at stores. 2021-08-15 09:11:24 -07:00
Martin Haye
0baee6e4e5 Fixed a couple of automap crashes 2021-08-09 08:22:48 -07:00
Martin Haye
f8a26420c3 Properly enforce level cap, instead of going wild at level 10. 2021-08-07 09:36:26 -07:00
Martin Haye
cce4a4b60d Merge branch 'master' of github.com:badvision/lawless-legends 2021-08-05 09:47:33 -07:00
Martin Haye
d39ef89c86 Stamina now immediately increases health. At level-up, stam/2 + 2d6 is added (instead of stam + 2d6) 2021-08-05 09:47:25 -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
Martin Haye
21312acdb8 Merge branch 'master' of github.com:badvision/lawless-legends 2021-04-20 08:02:33 -07:00
Martin Haye
9b1d929647 Updated doc for asmPlasm - was missing LC re-enable step 2021-04-17 07:59:32 -07:00
Martin Haye
c320e173cd A few combat updates for better hand-to-hand and debugging. 2021-04-17 07:59:00 -07:00
Martin Haye
d4551be85d Updated doc for asmPlasmNoRet 2021-04-17 07:58:27 -07:00
Martin Haye
8e0c2d76c5 Fixed 'hand-to-hand' string to contain dashes. 2021-04-17 07:57:52 -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
ecfe070bd2 Good idea from Frank M: can now use 'M' key to exit map as well as enter. Took that idea to the quest log as well, so that 'Q' exits quest log. 2021-03-02 18:33:36 -08:00
Martin Haye
44dc06287e Inhibit interrupts when calling ProRWTS 2021-03-02 17:41:14 -08:00
Martin Haye
e9399116c7 Test that AUX RAM is available; if not complain that 128K IIe or later is required. 2021-03-02 17:28:04 -08: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
Martin Haye
7aacb2e2ce Fix crash on second access round to partition - need to save and restore ProRWTS 'istree' flag. 2021-03-02 05:45:40 -08:00
Peter Ferrie
55735c9be3 always set status, always spin up if drive changed 2021-02-28 16:48:09 -08:00
Martin Haye
57fee98909 Pulled in biggest speed optimization from https://github.com/badvision/lawless-legends/pull/32 that saves 8 cycles in log computation. Thoroughly tested. Thanks Peter. 2021-02-28 12:51:20 -08:00
Martin Haye
634f1dbbd5 Pulled in changes from https://github.com/badvision/lawless-legends/pull/32 that I deemed 99.9% safe and this requiring no testing. 2021-02-28 12:31:52 -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
db1d043744 Echo record mode when it is turned on. 2021-02-27 09:28:12 -08:00
Martin Haye
83c3746ff7 Another fix for rewind in new rwts. 2021-02-27 08:57:42 -08:00
Martin Haye
fbf63e1c77 Turned off debug instrumentation for now. 2021-02-27 08:30:40 -08:00
Martin Haye
58f3091437 Update reseek for new rwts. 2021-02-27 08:26:56 -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
e9c161b010 Fixed reseek to clear 5 bytes instead of 4; needed by new ProRWTS. Removed some obsolete debug code. 2021-02-27 07:02:03 -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
5ba4e3518e Slightly better debug instrumentation 2021-02-26 06:31:10 -08:00
Martin Haye
0ec69fadef Additional debug output during ProRWTS integration. 2021-02-25 06:50:02 -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
20f604119d Improved loader debug mode. 2021-02-20 15:28:56 -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
00d0f7391c Avoid IIgs meaningful locations for emulator signals. 2021-02-20 14:34:11 -08:00
Martin Haye
edd127ac49 Avoid trashing ProDOS until after ProRWTS inits. 2021-02-20 14:33:48 -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
3762cc5edb Pack non-required global scripts on their map disk rather than disk 1, because disk 1 got too tight. 2021-01-25 07:06:24 -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
be2ca780ba Removed help prompt since Seth has it. Updated keys for automap scrolling. 2020-09-08 11:25:53 -07:00
Martin Haye
fe42c80a29 Stay on same quest when showing on map. 2020-08-25 08:42:44 -07:00
Martin Haye
2de27ed7e0 Fixed bug that was tricky to find: when clock was advanced while in a portrait-showing script, things got corrupted. 2020-08-24 09:57:22 -07:00
Martin Haye
52837c1a35 Switched record mode key to just 'R' to save time. 2020-08-24 09:56:50 -07:00
Martin Haye
1d2ee3ad13 Made debug mode more compact in mem mgr. 2020-08-24 09:56:20 -07:00
Martin Haye
7e6308e994 Make BRK work correctly when in aux mem decompression. 2020-08-24 09:56:00 -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
c81de67a6f Improved auto-reload messaging to avoid printing when there's nothing to do. 2020-08-22 11:15:21 -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
7b9a9b4eb6 Remapped some keys to make them more obvious for help screen. 2020-08-21 08:06:19 -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
a76db77e93 Added emusig flag for title screen text area. 2020-07-28 07:30:21 -07:00
Martin Haye
a520c90646 Advance time a little after combat. 2020-07-07 09:13:59 -07:00
Martin Haye
7c911c34c3 Took out temporary automap checking (but left it commented out in case we need it again later). Fixed story mode crash on disk-limited version. Added healing over time. 2020-07-07 08:33:59 -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
05f922aa87 Show 'Blocked' instead of beeping when you can't move to a square. 2020-06-20 16:09:20 -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
Martin Haye
d3cfca29eb Merge branch 'master' of github.com:badvision/lawless-legends 2020-06-07 10:14:54 -07:00
Martin Haye
0e5ce285fe Memory rejigger to leave more room for title screen. 2020-06-07 10:14:43 -07:00
Martin Haye
4f696da1fa Better pause to see whole title screen. 2020-06-07 10:14:32 -07: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
Martin Haye
1ec5712553 Merge branch 'master' of github.com:badvision/lawless-legends 2020-06-05 13:18:22 -07:00
Martin Haye
ccd7f269b1 Don't call flipToPage1 until renderer is loaded. 2020-06-05 13:18:16 -07: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
18031e182d Fixed bug: pModUtil3d was hanging around after memory reset. 2020-05-22 14:35:25 -07:00
Martin Haye
d114e8de8d Minor fix in automap clear 2020-05-06 06:40:49 -07:00
Martin Haye
8160a2e78c Take animation header into account in automap display. 2020-05-06 06:40:22 -07:00
Martin Haye
cf6b5d2b31 Fix hard-to-find return-to-different-world bug. 2020-03-15 12:33:21 -07:00