Commit Graph

664 Commits

Author SHA1 Message Date
Martin Haye
72f9827229 Adding disk limit and copyright message. Also fixed some plural matching problems. 2020-06-15 07:21:37 -07:00
Brendan Robert
7a03c7ab15 Fix ZPE on startup 2020-06-07 22:26:35 -05:00
Brendan Robert
deafd12267 * Added options for game upgrade
* Added MMU stats to CPu debug output
* Memory zeros out on warm resets now to prevent reboot failures
2020-06-06 02:05:28 -05: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
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
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
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
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
37af866d24 Fixed floppy version of story mode. 2019-08-08 09:45:01 -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
ad6e72af67 Translate curly quotes to regular quotes. Complain about other non-ASCII chars. 2019-07-15 10:49:25 -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
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
65ba8a454f Lots of additions and fixes for story mode. Mostly working now. 2019-06-13 08:52:54 -07:00
Martin Haye
027d988171 Story loading now works. 2019-02-21 09:23:34 -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
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
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
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
4839168bbf Even simpler automap icons. Fix big string generation problem. 2018-05-12 07:58:27 -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
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
8a5a1e1a65 Modified ProRWTS to preserve scratchpad space in aux text screen area. 2018-04-25 08:57:47 -07:00
Martin Haye
b487223783 Generating map sizes for diskops checking. 2018-04-16 07:46:54 -07:00
Martin Haye
f4062d506a Lots of work on automap marks. 2018-04-16 05:35:40 -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
0248c70646 Automap mark saving working for 3D maps. 2018-04-05 08:30:04 -07:00
Martin Haye
6fae3b6ea8 More groundwork for automap mark cache/flush. 2018-03-29 10:12:22 -07:00
Martin Haye
1dbd41d79e Workaround for PLASMA string thing. 2018-03-28 16:36:52 -07:00
Martin Haye
91d58fb584 Merge branch 'master' of github.com:badvision/lawless-legends 2018-03-28 16:21:35 -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
David Schmenk
fb0ef9848b Fix for strings in non ENTER/LEAVE functions 2018-03-27 10:31:28 -07:00
Martin Haye
faa5270a0c Improved song conversion and playback. 2018-03-26 13:48:10 -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
Brendan Robert
55e7a87cc5 Turning off acceleration resets to the user-defined speed instead of 1mhz 2018-03-20 10:01:35 -05: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
Brendan Robert
dabf70c3cf Updated RAM to use sets for listeners (it's more efficient) and added Zip/Transwarp emulation at a minimal level. That means programs can now selectively over-clock the emulator if desired. 2018-03-20 00:11:51 -05:00
Brendan Robert
356b1fad3e Updated default speed to 2x instead of 1.5x and fixed issue that kept resetting speed to 1x every time the emulator is started 2018-03-19 00:55:37 -05:00
Brendan Robert
c9c91d2fe0 Updated color mode detection to use sofswitch method. Changed default emulator color mode and speed to 2x 2018-03-17 12:21:09 -05:00
Martin Haye
a0b02c7177 Fixed art town texture bug. Fixed some automap bugs. 2018-03-16 10:15:49 -07:00
Martin Haye
cf03ab7f60 Fixes for PLASMA 1.1 2018-03-15 08:02:21 -07:00
David Schmenk
a43083dac7 Make sure LC bank 2 is write enabked 2018-03-15 06:48:37 -07:00
David Schmenk
6205d1310f Upgrade to PLASMA 1.1 compiler/VM 2018-03-14 13:58:23 -07:00
Martin Haye
073457d56d Major automap improvements. Fixes for lamp. 2018-03-14 09:28:57 -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
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
7b9522d6d6 Added automap-compatible 2D tiles to 3D maps. 2018-02-24 10:20:01 -08:00
Martin Haye
234e013047 Merge branch 'master' of github.com:badvision/lawless-legends 2018-02-21 09:54:37 -08:00
Martin Haye
f971e79512 No longer need to pack clock and compass icons; but do need to pack lamp icons. 2018-02-14 09:43:11 -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
Brendan Robert
69261e6915 Some refinements to capture text inside the graphics area 2018-02-04 22:30:24 -06:00
Brendan Robert
c50ea6ec77 cleaned up how speed is managed in the app 2018-02-01 09:09:18 -06:00
Brendan Robert
53e86e7888 Added next-VBL refresh of screen when mode changes 2018-02-01 09:08:54 -06:00
Brendan Robert
9692f89145 Minor stuff 2018-01-24 01:19:20 -06:00
Brendan Robert
55ee4c4d3b Allow saving speed slider setting with config, and also added option to disable boot animation 2018-01-16 23:16:11 -06:00
Martin Haye
6d17961b8c Merge branch 'master' of https://github.com/badvision/lawless-legends 2018-01-16 09:15:56 -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
Brendan Robert
4575e85efa Added fade animations and other UX cleanup so the menu and controls have a more natural feel 2018-01-11 22:54:58 -06:00
Brendan Robert
5dd1512b99 Speed tweaks for 40x and infinite speeds -- noticably faster now 2018-01-11 21:22:00 -06:00
Brendan Robert
ea06bc143a Hooked up speed control 2018-01-11 18:56:01 -06:00
Brendan Robert
0f857de52f Controls overlay for emulator. Still needs work but most buttons do something. Speed control is not hooked up yet. 2018-01-11 02:21:20 -06: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
0a829d9878 Merge branch 'master' of https://github.com/badvision/lawless-legends 2018-01-10 07:10:51 -08:00
Brendan Robert
a530a9741e Changed motherboard speed to be in percentage of 1mhz instead of in Hertz 2017-12-29 19:20:07 -06:00
Brendan Robert
77b82992df Added ability to toggle aspect correction for full-screen mode 2017-12-29 18:19:48 -06:00
Brendan Robert
18c77f06e0 Updated game packaging script 2017-12-29 16:07:22 -06:00
Brendan Robert
152c09d868 Wipe memory pattern during cold boot -- fixes reboot issues 2017-12-29 13:58:12 -06:00
Brendan Robert
9cfe66d68b Added upgrade automation which imports saved games and replaces disk copy 2017-12-29 13:46:27 -06:00
Brendan Robert
4376bb5378 Tweaked bootup appearance 2017-12-29 11:10:27 -06:00
Brendan Robert
0ca9b29614 Better cold-boot behavior 2017-12-29 02:09:09 -06:00
Brendan Robert
0567ed94cf Explicitly force all-color for title screen 2017-12-29 02:01:14 -06:00
Brendan Robert
107a7b7ed9 Add hi-bit so that the color mask doesn't get set with funky values and make the title screen look weird. 2017-12-29 01:55:44 -06:00
Brendan Robert
76c97b4978 Removal of legacy "JaceApplication" and added bootup animation which bypasses the coldstart routine. 2017-12-29 01:50:53 -06:00
Brendan Robert
05e59a5454 Basic speedup hacks and B&W rendering for text 2017-12-28 18:48:35 -06:00
Brendan Robert
cfb90d27a1 Got the copy-on-start option to work. 2017-12-28 11:59:30 -06:00
Brendan Robert
7b7c41a47e Creating base lawless app and packaging script 2017-12-28 11:40:40 -06:00
Brendan Robert
7ce8c09dcc Adding app packaging 2017-12-28 10:41:31 -06:00
Brendan Robert
1aa20e3f5b Adding a fork of Jace for building standlone versions of the game 2017-12-28 10:40:35 -06:00
Martin Haye
4d7e33c061 Upgraded PLASMA from Dave. 2017-12-26 13:11:46 -08:00
David Schmenk
ed1e7ef9d7 enable strict parameter/return count checking 2017-12-13 14:56:15 -08:00
David Schmenk
f27a1b89c7 Reset Y instruction pointer after call 2017-12-05 13:50:07 -08:00
Dave Schmenk
fe3a592e25 Reduce stack usage during CALL/RET 2017-12-04 21:42:52 -08:00
Martin Haye
f6069c576d Integrated new PLASMA compiler, including delicious ternary operator. 2017-11-29 09:21:24 -08:00
David Schmenk
dc790dc566 Update compiler with ternary op support 2017-11-25 12:53:00 -08:00
Dave Schmenk
e90a95f944 Merge branch 'master' of https://github.com/badvision/lawless-legends 2017-11-11 06:52:19 -08:00
Dave Schmenk
cf436209ee Don't mess with interrupts in VM (work needed for unenhanced //e) 2017-11-11 06:51:30 -08:00
Martin Haye
5e91ea175b Fix to get proper parent dir from relative file. 2017-11-10 12:08:43 -08:00
Martin Haye
0086c6645e Some resources needed duping across disks; we were just lucky with LL. 2017-11-09 10:00:20 -08:00
Martin Haye
f3e53f1f4a Merge branch 'master' of https://github.com/badvision/lawless-legends 2017-11-09 07:41:46 -08:00
Martin Haye
77b222dfa6 Version number fix. Added ability to put font.bin alongside world.xml. 2017-11-09 07:41:41 -08:00
Dave Schmenk
f676ae7d31 Add optional arguments to adjust timescale and extra percussion channels 2017-11-08 09:57:15 -08:00
Dave Schmenk
bf5fd4fafa Better delta time tracking of MIDI events 2017-11-07 16:24:09 -08:00
Dave Schmenk
2eb98cc548 Merge branch 'master' of https://github.com/badvision/lawless-legends 2017-11-05 17:39:17 -08:00
Dave Schmenk
9449cd62ff Push minimum delta time to 1/16 second to capture more transitions 2017-11-05 17:37:36 -08:00
David Schmenk
16b71cd640
Install instructions 2017-11-04 09:38:17 -07:00
David Schmenk
d972f1db3e Test MIDI file 2017-11-04 08:26:29 -07:00
David Schmenk
5bce9291d1
Update README.md 2017-11-01 16:08:38 -07:00
David Schmenk
39b93e88bb
Create README.md
Instructions to convert MIDI .mid files into a sequence file for the PLASMA music sequencer
2017-11-01 16:07:41 -07:00
Dave Schmenk
f69ee68138 Initial commit of MIDI converter. 2017-11-01 12:37:55 -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
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
4354ef5916 Merge master into newplasma branch. 2017-09-13 08:14:34 -07:00
Martin Haye
05d96b1243 Expanded small-object heap to make more space for inventory. Started implementing pack size limits. 2017-09-12 08:21:23 -07:00
Martin Haye
ea25619c78 Added code to display % heap memory in use. 2017-09-11 11:16:10 -07:00