Commit Graph

1216 Commits

Author SHA1 Message Date
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
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
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
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
1aebcb1fa9 Merge branch 'master' of github.com:badvision/lawless-legends 2020-01-02 10:45:15 -08:00
Martin Haye
f5ea5f01b1 Added emulator flag to signal story mode. 2020-01-02 10:44:58 -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
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
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
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
ad6e72af67 Translate curly quotes to regular quotes. Complain about other non-ASCII chars. 2019-07-15 10:49:25 -07: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
995907da95 Added null pointer checking to PLASMA runtime. 2019-07-15 10:20:27 -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
Martin Haye
706fec214b Take advantage of wider text wrapping for help mode and story mode. 2019-06-20 07:38:44 -07:00
Martin Haye
54bb6f453f Support text wrapping in wider windows (limit raised from 127 pix to 255 pix). 2019-06-20 07:38:32 -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
63a6d7c3eb Blink cursor while story mode waits for a key. 2019-06-13 10:08:20 -07:00
Martin Haye
7f6d3752c0 Story mode fully working now. 2019-06-13 09:50:11 -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
4d80243d8f Check automap marks first thing when making game, in case using incompatible file. 2019-06-13 08:52:30 -07:00
Martin Haye
f7a166ed41 Another record mode fix. 2019-06-13 08:51:49 -07:00
Martin Haye
6c22417d4a More reliable checks for the destruction of 3D rasterizer's line table on aux zp. 2019-06-13 08:50:38 -07:00
Martin Haye
929d884e41 Better recording. 2019-05-02 09:24:19 -07:00
Martin Haye
79e3867a21 Playback of recordings now working. 2019-05-02 08:06:36 -07:00
Martin Haye
7a38fa534d First recording made. 2019-04-30 06:35:41 -07:00
Martin Haye
49ade7b345 Optimized rand16 2019-04-24 09:22:44 -07:00
Martin Haye
32021f42fa Replaced random number generator. Made good progress on record mode. 2019-04-24 06:33:18 -07:00
Martin Haye
ff6c08b9d7 Working on record mode (required refactoring buildString to save cswl/cswh) 2019-04-12 07:21:57 -07:00
Martin Haye
027d988171 Story loading now works. 2019-02-21 09:23:34 -08:00
Martin Haye
023c33218f Implemented scroll-lock mode in font engine, in support of story mode. 2019-01-24 09:51:56 -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
e1bc8de7f6 Lots of progress making automap target work. 2018-11-15 09:00:20 -08:00
Martin Haye
44a3aadf86 Fix for proper reload after player death. 2018-09-29 10:10:25 -07: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
eb0e68e33c Not sure what all that allowZoneInit stuff was about, but we need to able to adjust encounter zones at any time. 2018-06-07 09:11:07 -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
Martin Haye
06a9600d7a Now clears automap marks when starting new game. 2018-05-31 08:33:25 -07:00
Martin Haye
2b0e13b105 Wording change per Seth's request. 2018-05-31 07:35:09 -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
7f4c90ddcb Fix to leave global tileset in mem. 2018-05-15 13:17:52 -07:00
Martin Haye
3d348a2a5e Added capability to 'Use' any skill. 2018-05-14 07:35:52 -07:00
Martin Haye
4839168bbf Even simpler automap icons. Fix big string generation problem. 2018-05-12 07:58:27 -07:00
Martin Haye
80cf33d17b Fix crash when starting combat. 2018-05-10 08:07:19 -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
de9de7288c Fix to put automap marks even on blank squares (since they may need an automap-special icon for a script there). 2018-05-10 06:53:40 -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
7e06ed5da7 Updated memory map. 2018-04-27 08:15:47 -07:00
Martin Haye
52ad5e43c7 Changed memory manager allocation policy to best-fit. 2018-04-27 08:03:21 -07:00