Commit Graph

1174 Commits

Author SHA1 Message Date
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
Martin Haye
3f73ebaf17 Refactoring mem mgr scan loops. 2018-04-26 09:55:57 -07:00
Martin Haye
8ab58e2ad1 Moved expander down into aux 00.790 2018-04-26 09:19:33 -07:00
Martin Haye
96f6529823 Use new FIND_IN_MEM. 2018-04-25 08:58:20 -07:00
Martin Haye
a94bd71ef6 Removed some debug code. 2018-04-25 08:58:09 -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
d29ac7ffea Fixed bug causing NPCs to never be attacked in combat. 2018-04-20 10:10:18 -07:00
Martin Haye
80bc9c277c Refactored godmode so it's not occupying memory most of the time. 2018-04-20 09:21:52 -07:00
Martin Haye
c7dfbef4c6 Fix bug when move backward called twice. 2018-04-16 08:19:38 -07:00
Martin Haye
eb4701f0d4 Working on marks verification and clearing. 2018-04-16 08:19:30 -07:00
Martin Haye
b487223783 Generating map sizes for diskops checking. 2018-04-16 07:46:54 -07:00
Martin Haye
c1bca9e125 Fixed bug in automap mark merging. 2018-04-16 06:18:47 -07:00
Martin Haye
f4062d506a Lots of work on automap marks. 2018-04-16 05:35:40 -07:00
Martin Haye
df61fb6baa Fix pluralization, and pave the way for multiple enemy groups. 2018-04-16 05:35:25 -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
4964220863 Added proper automap mark flushing. 2018-04-08 07:46:53 -07:00
Martin Haye
3f77c7cade Unload textures at proper moments. 2018-04-08 07:46:26 -07:00
Martin Haye
2db272f368 Slightly better debug messaging. 2018-04-08 07:46:01 -07:00
Martin Haye
b2eef925d8 Fixed several mark storage bugs. 2018-04-08 07:32:46 -07:00
Martin Haye
0248c70646 Automap mark saving working for 3D maps. 2018-04-05 08:30:04 -07:00
Martin Haye
94f5ab3a7e Tested out mark queueing code. 2018-04-01 07:55:13 -07:00
Martin Haye
fa6454fdfb Now loading mark queue/flush code into proper RAM bank. 2018-03-30 09:54:39 -07:00
Martin Haye
6fae3b6ea8 More groundwork for automap mark cache/flush. 2018-03-29 10:12:22 -07:00
Martin Haye
322fc7b1ba No need for string workaround anymore -- yay\! 2018-03-28 16:42:42 -07:00
Martin Haye
1dbd41d79e Workaround for PLASMA string thing. 2018-03-28 16:36:52 -07:00
Martin Haye
add1c62f75 Fix for double-freeing. 2018-03-28 16:36:37 -07:00
Martin Haye
91d58fb584 Merge branch 'master' of github.com:badvision/lawless-legends 2018-03-28 16:21:35 -07:00
Martin Haye
5d71d911a4 Massaging load/unload with an eye to automap flushing. 2018-03-28 15:29:49 -07:00
Martin Haye
7350c47b89 Better fix for return-to-2d from automap. 2018-03-28 15:16:34 -07:00
Martin Haye
ba46785fec Fix return to 2D map from automap. 2018-03-28 14:48:43 -07:00
Martin Haye
6468c0fef1 I couldn't resist saving a few bytes. 2018-03-28 14:47:39 -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
Martin Haye
420db30768 Automap scrolling optimization. 2018-03-27 10:43:51 -07:00
David Schmenk
fb0ef9848b Fix for strings in non ENTER/LEAVE functions 2018-03-27 10:31:28 -07:00
Martin Haye
580a5126c5 Fix for adding countable things to inventory. 2018-03-27 10:01:40 -07:00