Commit Graph

851 Commits

Author SHA1 Message Date
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
Martin Haye
eaf266f828 Fixed problem with no 2d maps working. Reordered rendering to give a faster feel. 2018-03-05 07:37:42 -08:00
Martin Haye
5ab08d6683 Added interrupt-on-keyboard mode to 3D renderer, for faster response to a key pressed. 2018-03-03 10:22:10 -08:00
Martin Haye
c54bb8e05f Optimization of dark fading. 2018-03-03 09:34:31 -08:00
Martin Haye
342de6c35c Distance fade working better now. Still a bit of speed opt to do. 2018-03-03 07:35:37 -08:00
Martin Haye
7915e66b97 Forgot to check these in. 2018-03-01 07:11:57 -08:00
Martin Haye
d2c8601cb5 Fixed flickering, again again. 2018-03-01 07:11:45 -08:00
Martin Haye
2b90f198a1 Lamp flickering is much improved. 2018-02-26 06:45:15 -08:00
Martin Haye
7b9522d6d6 Added automap-compatible 2D tiles to 3D maps. 2018-02-24 10:20:01 -08:00
Martin Haye
18cb015c13 Some work on lamp and automap. 2018-02-21 09:54:30 -08:00
Martin Haye
e65956a8a0 More flag work. 2018-02-14 09:42:54 -08:00
Martin Haye
ab5c423bc0 Converted flags to constants for easier reading. 2018-02-14 09:11:37 -08:00
Martin Haye
1de7a61344 Freed up old script hint flag, so I can use it for automap marking instead. 2018-02-14 08:58:22 -08:00
Martin Haye
d8e4161cdd Fix for flashing text when waiting for Y/N. 2018-01-17 08:50:29 -08:00
Martin Haye
0179dc07ce Call time func when loading map, to correctly set sky/ground colors. 2018-01-16 09:42:31 -08:00
Martin Haye
459f5037af Can now get and set the time (as an hour, 0-23). 2018-01-16 09:15:52 -08:00
Martin Haye
1f0e96bd00 Now identifies and runs time scripts; handles sky and ground color changes better. 2018-01-10 08:47:20 -08:00
Martin Haye
cb4558ffae Implemented cmd to show / advance time. 2018-01-10 07:10:43 -08:00
Martin Haye
de5a6bef25 Fixed hashing function which was allowing loading of incompatible games. Added basic clock advancing. 2018-01-09 10:02:28 -08:00
Martin Haye
c85c153363 Perfected drawing clock on hi-res page 2 while showing pg 1. 2018-01-05 09:17:01 -08:00
Martin Haye
22dcfc8cd9 Now drawing clock hands, and inverting at night. 2018-01-04 10:36:21 -08:00
Martin Haye
887600efc9 Finally made progress drawing the outline of the clock. 2018-01-04 08:41:48 -08:00
Martin Haye
b385a5e769 Changed to new compass. Messing around with line drawing. 2017-12-27 07:21:46 -08:00
Martin Haye
a2d46dd720 Fixed bug where font engine CopyWindow was missing last line. 2017-12-06 08:04:21 -08:00
Martin Haye
f6069c576d Integrated new PLASMA compiler, including delicious ternary operator. 2017-11-29 09:21:24 -08:00
Martin Haye
21a333323c Slight fix where last pix of version number was cut off. 2017-11-29 08:45:21 -08:00
Martin Haye
f3e53f1f4a Merge branch 'master' of https://github.com/badvision/lawless-legends 2017-11-09 07:41:46 -08:00
Dave Schmenk
bf5fd4fafa Better delta time tracking of MIDI events 2017-11-07 16:24:09 -08:00
David Schmenk
1b412b8112 Update documentation for useage 2017-11-02 13:11:57 -07:00
David Schmenk
ca3f80d318 Forgot RND seed update in noSequence 2017-11-01 14:38:07 -07:00
David Schmenk
f92d4c9417 Capture timing wrap-around when not sequencing 2017-11-01 14:27:58 -07:00
David Schmenk
27e0d895df Initial commit for MockingBoard/Speaker music sequencer 2017-11-01 12:03:50 -07:00
Martin Haye
d5dd1fe449 Some optimization to make game loop smaller. 2017-09-20 08:44:35 -07:00
Martin Haye
b25224558c No longer need tossStrings() workaround. 2017-09-19 08:49:00 -07:00
Martin Haye
52f42d7fcf Can now avoid fixups for gamelib functions, and (with care) use abs addressing there. 2017-09-19 08:32:25 -07:00
Martin Haye
0fc0e6b852 Placing gameloop at a static location. 2017-09-19 07:50:42 -07:00
Martin Haye
be7de86526 A bit of optimization. 2017-09-19 06:36:50 -07:00
Martin Haye
35969f4127 One more pack fix. 2017-09-14 09:56:46 -07:00
Martin Haye
ef251e479a More progress on pack limits. 2017-09-14 09:53:01 -07:00
Martin Haye
a34c54fdcd Working on pack limits, and some fixes to inv screen. 2017-09-14 08:09:21 -07:00
Martin Haye
b3ec104561 Fixed flag when girding NPC that has no weapons. 2017-09-13 08:29:44 -07:00
Martin Haye
84d3cf44c2 Merge branch 'master' into newplasma 2017-09-13 08:20:27 -07:00
Martin Haye
cb0c203502 Fix crash in sell when selecting non-existent player. 2017-09-13 08:20:21 -07:00
Martin Haye
91638a6bfc Merge branch 'master' into newplasma 2017-09-13 08:17:50 -07:00
Martin Haye
8aeb6a0595 Fix crash when selecting non-existent player in store. 2017-09-13 08:17:46 -07:00
Martin Haye
4354ef5916 Merge master into newplasma branch. 2017-09-13 08:14:34 -07:00
Martin Haye
68399614a5 Refactor to use lambdas for list iteration everywhere it's reasonable. 2017-09-13 08:06:52 -07:00