Commit Graph

997 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
a2f4828f54 Debugging integration with new ProRWTS. 2021-02-24 06:50:20 -08:00
Martin Haye
20f604119d Improved loader debug mode. 2021-02-20 15:28:56 -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
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
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
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
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
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
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
Martin Haye
ccd7f269b1 Don't call flipToPage1 until renderer is loaded. 2020-06-05 13:18:16 -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
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
Martin Haye
b04e2c6f15 Strafe left/right were reversed. 2020-03-05 09:11:56 -08:00
Martin Haye
74f81a89a5 Fix animation showing over inventory screen. Fix mini powder keg in combat. 2020-03-05 07:22:22 -08:00
Martin Haye
a1558fd0f8 Animated 2D tiles now working. 2020-02-26 08:34:22 -08:00
Martin Haye
a134b1cde7 Centralized the complex logic of giving an item to the party. Fixed selling of countable items. 2020-02-13 08:01:27 -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
f5ea5f01b1 Added emulator flag to signal story mode. 2020-01-02 10:44:58 -08:00
Martin Haye
b73e1c53aa Fixed out-of-mem at end of combat caused by portrait blocking load of giant item table. 2019-12-28 11:43:12 -08:00
Martin Haye
41efac1db0 Combat now paying attention to group selection. 2019-12-19 09:38:14 -08:00
Martin Haye
386494b8db Progress on group selection in combat. 2019-12-04 10:12:43 -08:00
Martin Haye
2043deeb70 More progress on gang combat, plus other misc fixes. 2019-11-14 09:36:39 -08:00
Martin Haye
04495cf36e Moved tools into their own dir. 2019-11-14 06:42:08 -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
cda4387507 Added ability to reload weapon from inventory screen. Added auto-reload after combat. 2019-09-12 07:20:54 -07:00
Martin Haye
37af866d24 Fixed floppy version of story mode. 2019-08-08 09:45:01 -07:00
Martin Haye
f1fa25da1c Several fixes to quest display logic. 2019-08-08 08:03:57 -07:00
Martin Haye
b97c5f6d6a Remapped keys for quest log and map pos. 2019-08-01 08:11:42 -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
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
0f79aba535 Moved some more 3d-only stuff to util3d. 2019-07-16 13:03:40 -05:00
Martin Haye
377d7c21f4 Added (press any key) to story mode screens. 2019-07-16 13:03:31 -05:00
Martin Haye
f2da9203e0 Forgot the new code. 2019-07-15 10:49:03 -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
c93418510e Implemented switchable move mode: default -> fast -> classic 2019-06-27 08:59:17 -07:00
Martin Haye
1efc0d3630 Fix portrait debug switching in god mode. 2019-06-20 08:41:47 -07:00