Commit Graph

1128 Commits

Author SHA1 Message Date
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
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
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
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
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
fe31887dc6 Merge branch 'master' of github.com:badvision/lawless-legends 2018-03-15 06:53:50 -07:00
David Schmenk
a43083dac7 Make sure LC bank 2 is write enabked 2018-03-15 06:48:37 -07:00
Martin Haye
b40edcca69 Merge branch 'master' of github.com:badvision/lawless-legends 2018-03-15 06:20:40 -07:00
Martin Haye
16f411adde OMG how many times will I fix the lamp. 2018-03-15 06:20:28 -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
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
234e013047 Merge branch 'master' of github.com:badvision/lawless-legends 2018-02-21 09:54:37 -08:00
Martin Haye
18cb015c13 Some work on lamp and automap. 2018-02-21 09:54:30 -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
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
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
Martin Haye
b5e2bbb485 Merge branch 'master' of https://github.com/badvision/lawless-legends 2018-01-17 08:50:33 -08:00
Martin Haye
d8e4161cdd Fix for flashing text when waiting for Y/N. 2018-01-17 08:50:29 -08: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
0179dc07ce Call time func when loading map, to correctly set sky/ground colors. 2018-01-16 09:42:31 -08: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
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
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
b385a5e769 Changed to new compass. Messing around with line drawing. 2017-12-27 07:21:46 -08:00
Martin Haye
4d7e33c061 Upgraded PLASMA from Dave. 2017-12-26 13:11:46 -08:00
Martin Haye
fd1bc6125f Merge branch 'master' of https://github.com/badvision/lawless-legends 2017-12-13 15:00:22 -08:00
David Schmenk
ed1e7ef9d7 enable strict parameter/return count checking 2017-12-13 14:56:15 -08:00
Martin Haye
a2d46dd720 Fixed bug where font engine CopyWindow was missing last line. 2017-12-06 08:04:21 -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
Martin Haye
c137981da2 Merge branch 'master' of https://github.com/badvision/lawless-legends 2017-11-29 08:45:27 -08:00
Martin Haye
21a333323c Slight fix where last pix of version number was cut off. 2017-11-29 08:45:21 -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
1b412b8112 Update documentation for useage 2017-11-02 13:11:57 -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
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
Dave Schmenk
f69ee68138 Initial commit of MIDI converter. 2017-11-01 12:37:55 -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
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
Martin Haye
3e54dcf80c Optimized 3D flipToPage1, and text screen copy to pg2. 2017-09-09 10:08:33 -07:00
Martin Haye
b8e89af594 Save game after initial character created, in case they quick. 2017-09-09 10:08:06 -07:00
Martin Haye
f33aa1f143 Added friendly advice on character creation screen - thanks to Brian Wiser for the suggestion. 2017-09-09 09:25:14 -07:00
Martin Haye
53e0f8bbb4 Added automatic title-casing to text inputs (e.g. character name in particular) 2017-09-09 08:43:35 -07:00
Martin Haye
9e5fe1262a Fixed (uncommon) case of scrolling text in the map window. 2017-09-09 07:56:37 -07:00
Martin Haye
572a22fa65 Finally fixed longstanding bug with long-word splitting in font engine. 2017-09-09 07:56:22 -07:00
Martin Haye
082bd4bf22 Merge branch 'master' into newplasma 2017-09-04 17:25:14 -07:00
Martin Haye
b723a25bef Fixed memory management problems in combat (preloaded funcs, item generation). Fixed problems with join/split. Normalized keyboard commands on inv screen. Fixed using TNT if Paul has it instead of plyr. 2017-09-03 09:28:46 -07:00