Commit Graph

1616 Commits

Author SHA1 Message Date
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
7267bb2e91 Git-ignore another of Martin's special links. 2018-04-25 08:59:17 -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
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
Brendan Robert
e52d4016dd Self-clocking mockingboard is no longer tied to the main emulator speed 2018-03-21 20:24:55 -05:00
Brendan Robert
e0bc6a797e Used synchronized types to avoid race conditions 2018-03-21 20:24:55 -05:00
Brendan Robert
461fe41f79 Removed font speedup hacks -- we should just rely on transwarp softswitch for speedups. 2018-03-21 20:24:55 -05:00
Martin Haye
aa9a94b678 Merge branch 'master' of github.com:badvision/lawless-legends 2018-03-20 10:43:30 -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