Commit Graph

897 Commits

Author SHA1 Message Date
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
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
Martin Haye
30405be0c2 Some fixes to quest log. 2018-09-13 08:27:57 -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
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
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
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
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
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
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
Martin Haye
420db30768 Automap scrolling optimization. 2018-03-27 10:43:51 -07:00
Martin Haye
580a5126c5 Fix for adding countable things to inventory. 2018-03-27 10:01:40 -07:00
Martin Haye
314355e2ff Speeding up automap display. 2018-03-27 10:01:03 -07:00
Martin Haye
8f3f60ede7 Some little optimizations for automap display. 2018-03-27 07:37:11 -07:00
Martin Haye
faa5270a0c Improved song conversion and playback. 2018-03-26 13:48:10 -07:00
Martin Haye
c819c30b34 Added scrolling code to automap, in preparation for making everything faster. 2018-03-26 13:48:00 -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
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
David Schmenk
e163e709cf music.pla is now sndseq.pla 2018-03-19 09:04:43 -07:00
David Schmenk
999a7d48ec Initial check-in for music sequencer 2018-03-19 09:01:45 -07:00
David Schmenk
4cf8d7e8c4 Initial check-in for music sequencer 2018-03-19 09:00:57 -07:00
Martin Haye
ba18a6d290 Fixes for emulator signaling. 2018-03-17 10:04:10 -07:00
Martin Haye
be6fb14d6a Added emulator signals so Jace can intelligently decolorize text. Fixed clock on return from engines. 2018-03-17 08:52:29 -07:00
Martin Haye
a0b02c7177 Fixed art town texture bug. Fixed some automap bugs. 2018-03-16 10:15:49 -07:00
Martin Haye
d398e3ea38 Added cursor and title to automap. 2018-03-15 09:14:49 -07:00
Martin Haye
cf03ab7f60 Fixes for PLASMA 1.1 2018-03-15 08:02:21 -07:00
Martin Haye
16f411adde OMG how many times will I fix the lamp. 2018-03-15 06:20:28 -07:00
Martin Haye
073457d56d Major automap improvements. Fixes for lamp. 2018-03-14 09:28:57 -07:00
Martin Haye
2151819d95 Clipping is actually working now (for 3D maps at least). 2018-03-11 15:21:00 -07:00
Martin Haye
ae7d885a9e Cleanup. 2018-03-11 12:32:41 -07:00
Martin Haye
d5ce5197e7 Debugging new refactored automap. 2018-03-11 12:26:12 -07:00
Martin Haye
a82cef30cc Moving forward on generalizing automap display. 2018-03-11 11:54:38 -07:00
Martin Haye
1e6a12fd4c Improved look and consistency of automap size reduction. 2018-03-10 15:45:17 -08:00
Martin Haye
a245855a5e First very basic automap display. 2018-03-10 08:31:09 -08:00
Martin Haye
07c810e294 Changed swapTile to copyTile, since that's how we effectively use it in the game, and makes for a consistent outcome every time. 2018-03-07 08:49:21 -08:00
Martin Haye
4391114680 Enable u)se of weapons / armor 2018-03-07 08:47:10 -08:00
Martin Haye
c26843d221 Fixed dark rendering at map edges. 2018-03-07 07:51:37 -08:00
Martin Haye
1bca56a497 Fixed level-up bug for scripted XP bonuses. Fixed render order issue that caused intermittent crashes opening 3D maps. 2018-03-06 08:58:47 -08:00
Martin Haye
f82fe0153e Fixed some double-rendering that was slowing things down. 2018-03-05 08:15:43 -08:00