Commit Graph

1319 Commits

Author SHA1 Message Date
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
Martin Haye
5286d766df Merge branch 'master' into newplasma 2017-09-03 07:00:38 -07:00
Martin Haye
1e00b8f703 Fixed bug where level-up went to wrong char. 2017-09-03 07:00:30 -07:00
Martin Haye
3d70f886d4 A few last fixes on the buy page. 2017-09-02 11:27:21 -07:00
Martin Haye
805a1e426a Added god-mode cheat to edit game flags. 2017-09-02 11:09:49 -07:00
Martin Haye
2b2e93f59b Implemented split and join. 2017-09-02 09:46:06 -07:00
Martin Haye
2cd9d70e9a Enabled trading between characters. Fixed add-player command when party is full. 2017-09-02 09:04:00 -07:00
Martin Haye
73b98f5b89 Fixed many little bugs and annoyances on inventory sheet. 2017-09-02 08:23:24 -07:00
Martin Haye
801500798a Fixed compass display when coming out of script. Implemented player switching in buy/sell. 2017-09-01 09:31:50 -07:00
Martin Haye
43dac98afd Fixed up sell page - it was pretty broken. 2017-09-01 08:27:26 -07:00
Martin Haye
288c8bbfbe Added periodic heap checking. Fixed big bug when rolling large number of dice. Added some mechanics of trade/split/join items. 2017-08-30 10:33:01 -07:00
Martin Haye
acc78864bf Fixed bugs with using items and salves. 2017-08-30 09:27:10 -07:00
Martin Haye
ddbeebd9b0 More work on stackables. 2017-08-30 08:50:28 -07:00
Martin Haye
dbc94d707c Coding done on big item and flag refactor. Now for testing. 2017-08-29 09:06:53 -07:00
Martin Haye
865c2fe8f2 Improved plural processing. 2017-08-25 08:16:06 -07:00
Martin Haye
ffa1bb9afe Removed old kludged finalWin() logic. Moved a couple of functions to godmode.pla that were only used there anyway. 2017-08-15 10:01:28 -07:00
Martin Haye
be58f38628 Cleaner memory regimen to avoid out-of-mem situations. 2017-08-14 09:25:38 -07:00
Martin Haye
5c42a66eb8 Fix for bug that allows slipping between diagonal walls 2017-08-14 09:25:06 -07:00
Martin Haye
abcf6f9c94 Fixed display problems with godmode teleport. 2017-08-14 08:16:38 -07:00
Martin Haye
9c45ed0fb5 Added import-game function. 2017-08-14 08:01:31 -07:00
Martin Haye
4cf10aba0a Took out some debugging code, and made next/prev portrait more efficient. 2017-08-12 10:29:54 -07:00
Martin Haye
1ce5b2b0a0 Fixed latent animation bug introduced by PF - when advancing anim ptr, need to get both bytes of offset before changing ptr. 2017-08-12 10:25:24 -07:00
Martin Haye
8cd36fad17 Added version stamp (encoded engine time, plus scenario differential) 2017-08-11 11:17:38 -07:00
Martin Haye
3a452e3de1 More rational suppression of script-within-script. Fix for rendering wrong direction while going backward. 2017-08-10 10:51:20 -07:00
Martin Haye
e1cc6c37b9 Temporary fix for text overwrite problem. 2017-08-10 09:56:46 -07:00
Martin Haye
4589d6ec66 Added support for logic_negate 2017-08-10 09:56:33 -07:00
Martin Haye
8c46ccc34d Messing around with lambda functions. 2017-08-10 07:31:31 -07:00
Martin Haye
0f8dbaba4a Merge branch 'newplasma' of https://github.com/badvision/lawless-legends into newplasma 2017-08-10 07:30:02 -07:00
David Schmenk
ebe9c8ea14 New portable VM and fix parse typo 2017-08-09 13:19:57 -07:00
David Schmenk
2ec914aec5 Update test case 2017-08-09 13:15:46 -07:00
Martin Haye
86f125c210 Merge branch 'newplasma' of https://github.com/badvision/lawless-legends into newplasma 2017-08-09 12:03:17 -07:00
David Schmenk
cfe372cb39 Correct DEFCNT value for lambda functions 2017-08-06 20:53:29 -07:00
Martin Haye
276157fa8e Added validation of character name and gender. 2017-08-06 16:44:10 -07:00
Martin Haye
ece9066587 Merge branch 'master' into newplasma 2017-08-06 11:28:20 -07:00
Martin Haye
c02f9f8f83 Allow scripts to add skills and XP. 2017-08-06 11:23:40 -07:00
Martin Haye
c603f9207e New recompliation of PLASMA compiler. 2017-08-04 10:19:24 -07:00
Martin Haye
6f5a504a50 Merge branch 'newplasma' of https://github.com/badvision/lawless-legends into newplasma 2017-08-04 10:16:23 -07:00
David Schmenk
6731288a29 Fix lambda ENTER frame size 2017-08-04 10:12:55 -07:00
Martin Haye
01491a5038 Merge branch 'master' into newplasma 2017-08-04 08:48:34 -07:00
Martin Haye
d3132cc318 Working to get compass direction actually right. 2017-08-04 08:30:08 -07:00
Martin Haye
0a077a83e2 Rebuilt plasma compiler for new features. 2017-08-04 08:26:46 -07:00
Martin Haye
a86d7d8764 Now with working compass in 3D mode. 2017-08-04 08:15:40 -07:00
Martin Haye
f3f070bcba Pack clock and compass icons into global tileset in addition to avatars. 2017-08-04 06:58:17 -07:00
David Schmenk
6b8e02db98 PLASMA compiler update 2017-08-03 12:15:24 -07:00
Martin Haye
9af91c0343 Removed debug pause. 2017-08-02 19:14:47 -07:00
Martin Haye
db6ffb680c Integrated a suggestion from qkumba, and fixed a couple bugs in his fixes. 2017-08-02 19:14:35 -07:00
Martin Haye
81a02fd805 Merge branch 'master' of https://github.com/peterferrie/lawless-legends into peterferrie-master 2017-08-02 13:13:18 -07:00
Martin Haye
5efd81102f Fixed CB opcode (again) 2017-08-02 10:20:22 -07:00
David Schmenk
7b8637b773 Fix CFFB BIT operation with CB 2017-08-02 09:31:10 -07:00
Peter Ferrie
b466c539a9 size optimising bits and pieces
two possible bugs, search for";;pf:"
2017-07-31 15:18:39 -07:00
Martin Haye
efc524c659 Merge branch 'master' of https://github.com/badvision/lawless-legends 2017-07-31 09:20:16 -07:00
Martin Haye
60a6269b19 Temporary fix for disk detection logic in ProRWTS. 2017-07-31 09:20:08 -07:00
David Schmenk
131bcddcc4 Add new CFFB opcode in anticipation of new compiler optimizations 2017-07-29 07:38:41 -07:00
Martin Haye
dba14b92bc Fix auto-reload for Bows. A couple minor combat display fixes. 2017-07-17 07:58:20 -07:00
Martin Haye
1ecddcf190 Fixes for ammo on buy/sell/loot pages. Also, halved store profit so total for buy+sell is 100%. 2017-07-16 12:34:24 -07:00
Martin Haye
729758ab0f Making good progress on loot hand-outs. 2017-07-16 10:49:27 -07:00
Martin Haye
64fb24bd90 Fixed healing salve. 2017-07-16 08:09:54 -07:00
Martin Haye
926ba84665 Cleanup of ammo giving. 2017-07-16 07:38:47 -07:00
Martin Haye
e2b0d2d51d Coded ammo consumption and reloading. Now to test test test. 2017-07-15 11:41:29 -07:00
Martin Haye
07ba262072 Format dice in more user-friendly min/max form. 2017-07-14 10:05:21 -07:00
Martin Haye
ee91583e1d More aesthetic adjustments. 2017-07-14 09:45:33 -07:00
Martin Haye
d635cfc4ea Removed debug print. 2017-07-14 08:54:15 -07:00
Martin Haye
817affadfb Some visual tweaks to the skills screen. 2017-07-14 08:53:10 -07:00
Martin Haye
4d9516901e Reworked skills/attributes screen so you can revise your decisions. 2017-07-14 08:41:10 -07:00
Martin Haye
4b92a18209 Combat bugs: changing weapons with none equipped; single shot fix. 2017-07-14 06:58:34 -07:00
Martin Haye
6bdfd378b7 Implementing more and more combat logic. 2017-07-13 10:12:28 -07:00
Martin Haye
e4030334a1 Fixed some combat bugs; added initial equipping 2017-07-11 08:56:14 -07:00
Martin Haye
2da46eacb4 Recompiled PLASMA to pick up Dave's recent fix. 2017-07-10 10:19:34 -07:00
Dave Schmenk
176a602bfa Fix dereference off of array 2017-07-10 10:09:25 -07:00
Martin Haye
30a5881f24 Implemented initial character naming, gender assignment, and XP/SP init. 2017-07-08 16:36:08 -07:00
Martin Haye
bf4e3c7792 Fixed null ptr bug with item use. 2017-07-08 09:29:36 -07:00
Martin Haye
bca6410d70 Added debug mode for combat formulas, which will help in balancing the formulas. 2017-07-07 10:18:43 -07:00
Martin Haye
ce31c5bda8 Fixed cat locket problem. 2017-07-07 10:18:20 -07:00
Martin Haye
3b15ff0e48 Most combat rules implemented now. Also, combat speed now adjustable with up/down arrow, or +/- keys. 2017-07-04 09:15:50 -07:00
Martin Haye
19f53f99a5 Fixed menu range for items and skills. 2017-06-30 09:38:03 -07:00
Martin Haye
4a44aee1f8 Some fixes on the inv/stat screens. 2017-06-30 09:30:29 -07:00
Martin Haye
3cc0fba61a Fixed null ptr bug in party display. 2017-06-30 08:48:56 -07:00
Martin Haye
e6c94eee6c Lots of work on combat. 2017-06-30 08:11:34 -07:00
Martin Haye
4774b07d30 Fix to avoid immediately leveling up on new game. 2017-06-25 07:20:11 -07:00
Martin Haye
1fe0108b63 Added level up cheat, and fixed a couple leveling bugs. 2017-06-25 07:11:58 -07:00
Martin Haye
c2dc5fab12 Now properly updates totals and decrements avail skill pts. 2017-06-24 16:46:02 -07:00
Martin Haye
7fa12c2a27 Can now increase stats. 2017-06-24 16:25:48 -07:00
Martin Haye
df81523061 More work on level up / skills 2017-06-24 13:28:28 -07:00
Martin Haye
a52c9cc039 Fleshing out the skills/stats display. 2017-06-24 11:43:16 -07:00
Martin Haye
b972aa34b6 Adding some more XP/leveling stuff. 2017-06-16 11:31:42 -07:00
Martin Haye
6fdc16cd88 Crawling ahead with level up logic. 2017-06-14 09:22:05 -07:00
Martin Haye
90d9238002 Adding level, XP, SP, etc. 2017-06-13 10:07:03 -07:00
Martin Haye
76b99504fb Fixed a few arg count mismatches. 2017-06-11 10:15:20 -07:00
Martin Haye
2585a84553 Some argument count fixes. 2017-06-11 08:55:03 -07:00
Martin Haye
7c9f7138d9 Finally added all function prototypes. Now for bug hunting. 2017-06-11 08:25:15 -07:00
Martin Haye
998d75c1a0 Ongoing giant function prototype refactor. 2017-06-10 08:56:23 -07:00
Martin Haye
eea4767a51 More prototypes. 2017-06-10 07:32:31 -07:00
Martin Haye
3ac73e7165 Adding more function prototypes. 2017-06-10 07:21:58 -07:00
Martin Haye
ee55a7a57a Got rid of redundant __asmPlasm_bank2 2017-06-09 07:47:34 -07:00
Martin Haye
94c3b50cc6 Stop suppressing PLASMA warnings. 2017-06-09 07:43:52 -07:00
Martin Haye
5e7ae1dc58 Turned on PLASMA optimizer - saves 4.2k\! 2017-06-09 07:17:37 -07:00
Martin Haye
cf17300210 Adding some function prototypes. 2017-06-09 07:14:53 -07:00
Martin Haye
f56fb140d0 Jar'd new version of PLASMA. 2017-06-09 06:57:49 -07:00
Martin Haye
7ba5bcb3e7 Merge branch 'master' of https://github.com/badvision/lawless-legends 2017-06-09 06:44:10 -07:00
Dave Schmenk
1cb302f75d Fix predef and asm with parameters & multiple predefs per line 2017-06-07 19:28:13 -07:00
David Schmenk
1f6ed64793 Optimize NOT before branch true/false 2017-06-07 17:43:28 -07:00
David Schmenk
082f10424e Branch optimizations 2017-06-07 16:20:08 -07:00
David Schmenk
4343292057 Add warning for all mismatched funtion parameter counts 2017-06-07 10:16:13 -07:00
David Schmenk
7ee5a3d524 Implement better constant string management 2017-06-07 10:07:14 -07:00
Martin Haye
9d5acd1006 Updated PLASMA compiler and VM. 2017-06-07 07:01:50 -07:00
Martin Haye
b69be27f84 Merge branch 'master' of https://github.com/badvision/lawless-legends 2017-06-07 06:54:51 -07:00
David Schmenk
3f880ecb67 Fix pointer, pointer constructs and quoted string scan_rewind 2017-06-06 12:54:19 -07:00
Martin Haye
7a43bf0d95 Merge branch 'master' of https://github.com/badvision/lawless-legends 2017-06-05 08:36:49 -07:00
dschmenk
0c041f7f97 Add warnings to plasm compiles 2017-06-04 07:39:46 -07:00
dschmenk
1e031d6de0 Update PLASMA VM and compler to pre-1.0 2017-06-04 07:33:44 -07:00
dschmenk
52ec55babe Merge branch 'master' of https://github.com/badvision/lawless-legends 2017-06-04 07:26:05 -07:00
dschmenk
640b305401 VM updates for 1.0 2017-06-04 07:25:20 -07:00
David Schmenk
a38667e704 Update PLASMA VM and compiler to pre-1.0 2017-06-03 15:51:48 -07:00
Martin Haye
2499d41461 Made death and combat win configurable instead of hard coded. 2017-06-02 08:38:31 -07:00
Martin Haye
2c50d19c48 Outlaw-configurable combat and enemy intro text now working. 2017-06-02 08:25:29 -07:00
Martin Haye
1d0b205d48 Making progress on customizable global functions for leveling and combat messages. 2017-05-30 11:18:37 -07:00
Martin Haye
a5e50d02b9 Can now equip with comparison. 2017-05-25 10:40:53 -07:00
Martin Haye
0846209382 More refactoring. 2017-05-25 09:33:11 -07:00
Martin Haye
834b6576e2 More work normalizing inventory UI. 2017-05-25 07:50:51 -07:00
Martin Haye
da33bded45 Fixed a bunch of little bugs in the font itself. 2017-05-25 06:55:12 -07:00
Martin Haye
29a72ac5b3 Working to normalize interface diffs between store and plauer info screens. 2017-05-24 08:51:06 -07:00
Martin Haye
58d3386dff Reformatted inventory and stats screen. 2017-05-24 07:47:47 -07:00
Martin Haye
91fca1abac Corrected width of lower-case 'l' and 'g'. Still need to fix the source spreadsheet. 2017-05-24 07:47:28 -07:00
Martin Haye
824d5aadbe Minor refactoring of function names. 2017-04-25 07:30:45 -07:00
Martin Haye
cc8fa3bb7d Refactored item display so party and store can share it. 2017-04-20 09:36:08 -07:00
Martin Haye
cc725f0657 Properly lock hi-res page 1. 2017-04-20 09:35:57 -07:00
Martin Haye
5e4f12b619 Some reformatting of the party member display. 2017-04-20 09:02:03 -07:00
Martin Haye
865ab04cc5 First cut at clear to end-of-line and end-of-page in Font Engine. 2017-04-10 10:01:36 -07:00
Martin Haye
17c94cff7e Marking a map with negative order now causes it to be replicated on every data disk. 2017-04-10 08:35:27 -07:00
Martin Haye
3c221c3316 A couple optimizations, and bug fix for nPages calc in store. 2017-04-10 07:27:10 -07:00
Martin Haye
1215e12e07 Lots of work on selling especially, but also plural item display on inventory screen. 2017-04-03 08:22:32 -07:00
Martin Haye
4c0b02931d Improved buy/sell Blockly blocks that can take parameters, to support a parameterized global Merchant script. 2017-04-02 09:25:11 -07:00
Martin Haye
006b191345 When buying countable things e.g. ammo/pelts, asks quantity. 2017-03-30 06:42:36 -07:00
Martin Haye
1cc3d8b67a Can now buy items. 2017-03-29 09:36:14 -07:00
Martin Haye
8fdaf7b237 Merge branch 'master' of https://github.com/badvision/lawless-legends 2017-03-29 07:36:30 -07:00
Martin Haye
7622f4e41b Working on comparison shopper. 2017-03-29 07:36:27 -07:00
dschmenk
be928b081d Check for existing string in pool before copying CS string from aux mem 2017-03-27 08:53:01 -07:00
Martin Haye
2e779c5028 Even faster center mode scrolling. 2017-03-25 07:57:21 -07:00
Martin Haye
411294dae8 Tiny improvements. 2017-03-25 07:25:50 -07:00
Martin Haye
8b488e4e1b Fixed font engine's center mode for oversize window. Sped up center mode. Added more capabilities to store buy. 2017-03-25 07:23:10 -07:00
Martin Haye
3f9377088b Sprucing up the buy page. 2017-03-23 08:00:49 -07:00
Martin Haye
35c5ee97ef More progress on store buying. 2017-03-23 07:07:36 -07:00
Martin Haye
121753c45d Fixed warning display. 2017-03-23 07:07:29 -07:00
Martin Haye
142f50a695 Oversized window for buy and sell. 2017-03-22 09:46:17 -07:00
Martin Haye
3611b8ebb5 Making progress on store buying. 2017-03-17 17:18:40 -07:00
Martin Haye
4ee9116e82 Added floppy disk usage to pack_report.txt 2017-03-15 07:46:27 -07:00
Martin Haye
60cc77a59e More groundwork for buy/sell from stores. 2017-03-04 08:20:01 -08:00
Martin Haye
ff1e31cd44 Adding buy/sell store logic. 2017-03-03 08:25:45 -08:00
Martin Haye
47d86a3dca Fix for number of fixups > 127 2017-02-25 11:56:27 -08:00
Martin Haye
6dee0388b1 Added ability to increase or decrease a stat for all party members. 2017-02-24 08:49:12 -08:00
Martin Haye
e2b5ccf375 Bench/unbench now working. 2017-02-20 08:02:55 -08:00
Martin Haye
eb9691cb20 Proper dependencies for global funcs. Look for portrait on correct disk. 2017-02-20 07:42:23 -08:00
Martin Haye
d7d2ae3bbb Added a god-mode cheat for adding an NPC to the party. 2017-02-20 06:43:47 -08:00
Martin Haye
d81e5ff8c0 Forgot these files. 2017-02-19 10:08:32 -08:00
Martin Haye
c29176722d Externalized godmode commands; only load when enabled. 2017-02-19 10:08:03 -08:00
Martin Haye
c7e336355a Made combat win and death portraits root deps. Commented out a bunch of debug prints. 2017-02-17 09:26:57 -08:00
Martin Haye
ad6b3f5ef8 Lots of fixes, related to reseek and resource lookup. 2017-02-17 09:01:35 -08:00
Martin Haye
eb2710865f Now using resource index... not right, but using it. 2017-02-06 10:01:00 -08:00
Martin Haye
421614f605 Added IIc detection logic, thanks to qkumba. 2017-02-06 07:54:05 -08:00
Martin Haye
826176f344 Work around AppleCommander last-block bug. Add resource map to disk 1. 2017-02-06 07:49:00 -08:00
Martin Haye
c4898ef65f Now calculating exact disk sizes. 2017-02-05 11:49:23 -08:00
Martin Haye
87926d1584 Trying to get exact sizes now. 2017-02-05 11:20:13 -08:00
Martin Haye
3c49a6c7ce Fixed some disk split bugs. 2017-02-05 11:05:26 -08:00
Martin Haye
c060bf31d4 Lots of progress on disk split allocation. 2017-02-05 09:45:34 -08:00
Martin Haye
30dd953d44 Made some progress on disk splitting... lots left though. 2017-02-02 10:20:39 -08:00
Martin Haye
847228a73d Added clean script shortcut for Martin's use. 2017-02-02 07:10:51 -08:00
Martin Haye
2b78f31b5a I think I'm now tracking all the dependencies needed for proper disk splitting. 2017-01-29 10:47:58 -08:00
Martin Haye
6bf9889488 A couple little comments. 2017-01-29 09:43:02 -08:00
Martin Haye
cd090db01f Split long lines to making editing easier. 2017-01-29 09:40:14 -08:00
Martin Haye
9d313d5176 Added order field to maps. Fixed some loader bugs. 2017-01-29 09:23:58 -08:00
Martin Haye
32656bd6fc Removed dependency on lz4, since we have our own compression algorithm now. 2017-01-25 07:48:20 -08:00
Martin Haye
a143026583 Refactored packer to use compressed byte arrays most everywhere, because they're so much easier to work with then Java ByteBuffer. 2017-01-24 10:47:01 -08:00
Martin Haye
12760c330b Read XML file only once. 2017-01-22 14:45:41 -08:00
Martin Haye
1d131d523d Updated mem mgr to recognize that we no longer need buffers for ProDOS and copying. 2017-01-22 09:44:58 -08:00
Martin Haye
9e3cd2c45e Modified font engine's parse routine to work better when called multiple times in succession. 2017-01-22 09:23:29 -08:00
Martin Haye
9e5e955fbe Realized I could use simple PLASMA extern for global heap pointer. 2017-01-22 08:44:10 -08:00
Martin Haye
421807719b Slightly more readable. 2017-01-18 09:59:00 -08:00
Martin Haye
a8126a1c75 New disk polling code. 2017-01-18 09:29:26 -08:00
Martin Haye
7056e09458 Properly retain previous game save when rebuilding image. 2017-01-18 08:24:09 -08:00
Martin Haye
a00e019b75 Got game-exist check working. 2017-01-18 08:21:01 -08:00
Martin Haye
4dd4ae02b1 Fixed load game. 2017-01-18 07:43:55 -08:00
Martin Haye
3ff5b34603 Moved speed test code and commented it out until needed again. 2017-01-18 07:27:15 -08:00
Martin Haye
453f2687ab Modified speed test for just 3D transition. 2017-01-18 06:56:10 -08:00
Martin Haye
eed337af74 Used up the last two bytes. 2017-01-17 10:34:35 -08:00
Martin Haye
5c0ba2dfa3 Saved a byte, and a little time. 2017-01-17 10:29:49 -08:00
Martin Haye
ead90f2bf3 Optimized litlen=1 common case. 2017-01-17 10:19:19 -08:00
Martin Haye
a4fede35f7 Made gamma refactor permanent. 2017-01-15 15:40:47 -08:00
Martin Haye
5a9f8f749b Refactored gamma. 2017-01-15 15:19:22 -08:00
Martin Haye
22e4b4b681 Saved a byte. 2017-01-15 11:54:21 -08:00
Martin Haye
f9e219d493 Optimized some source increments. 2017-01-15 11:52:08 -08:00
Martin Haye
d20c4ec778 Saved 5 more bytes. 2017-01-15 11:37:34 -08:00
Martin Haye
ed02a8bdc9 Size optimization - saved 2 bytes. 2017-01-15 11:33:39 -08:00
Martin Haye
52840945d7 Optimized end check. 2017-01-15 11:31:02 -08:00
Martin Haye
324fbd48b0 Optimized gamma in decomp, for 1.2% gain. 2017-01-15 10:47:32 -08:00
Martin Haye
d93d70b172 Sped up decomp 3.7% by unrolling part of match loop. 2017-01-15 10:22:09 -08:00
Martin Haye
7fb830793c Doing some speed testing. 2017-01-15 09:10:43 -08:00
Martin Haye
18c9e9528f Fixed BRK handler to retain value of A-reg. 2017-01-13 07:50:23 -08:00
Martin Haye
2f8de46d0e Moved more of expander into aux LC to take advantage of space freed up by ProRWTS. Now expander is loaded at startup and remains locked in memory, rather than swapping in and out. 2017-01-12 09:08:05 -08:00
Martin Haye
4b9f2c9a85 Create proper save file on all disks. Updated memory map. 2017-01-12 07:30:54 -08:00
Martin Haye
99f9f9f35c Now supporting multi-floppy mode. 2017-01-11 19:02:31 -08:00
Martin Haye
6e47f62e84 Now building multiple floppies. 2017-01-11 16:22:31 -08:00
Martin Haye
6b52149938 Fixed copy/paste errors in ProRWTS floppy driver. 2017-01-11 16:00:24 -08:00
Martin Haye
094d4ca8da Smaller 140k image, now with ProBoot. 2017-01-11 15:32:32 -08:00
Martin Haye
2404025654 Working on floppy generation. 2017-01-11 15:20:22 -08:00
Martin Haye
d0ca62eb53 Adding ProBoot and floppy version. 2017-01-11 09:54:58 -08:00
Martin Haye
3c6814e7af Refactored disk images to slim down main 800k image. 2017-01-11 07:36:59 -08:00
Martin Haye
545538c5d0 Initial version of ProBoot (untested as of yet). 2017-01-11 07:14:16 -08:00
Martin Haye
994388940a Integrated new version of ProRWTS, now with support for big tree files\! Works beautifully. 2017-01-09 07:47:51 -08:00
Martin Haye
6e8089d3a3 Made decompression slightly faster. 2017-01-09 06:57:39 -08:00
Martin Haye
8dc84239e4 Now working in 3D mode (had to avoid loading over aux text pg, since hard disk driver uses screen holes there.) 2017-01-07 16:43:27 -08:00
Martin Haye
ae4210a050 Temporary workarounds. 2017-01-07 11:25:01 -08:00
Martin Haye
845239c2cf Got decompression working, yay\! 2017-01-06 17:49:51 -08:00
Martin Haye
bf179182b0 Added underlap verification in a better way. Going back to 2 partitions so qkumba can repro the ProDOS tree-file problem. 2017-01-06 11:09:01 -08:00
Martin Haye
485e9e7430 Added decompression underlap verification. 2017-01-06 09:04:29 -08:00
Martin Haye
572beb65e7 Added memory map. 2017-01-05 16:01:25 -08:00
Martin Haye
3123bdd903 Moved ProRWTS to aux LC. Also getting further in boot seq now. 2017-01-05 14:27:44 -08:00