Martin Haye
0313db8d1a
Progress on intimate mode - text display now mostly working.
2016-11-08 08:39:18 -08:00
Martin Haye
e6bcc747bd
Outlines of 'intimate mode'
2016-11-07 07:58:46 -08:00
Martin Haye
99606c623c
Return to graphics mode when using an item (like TNT) per Seth's request.
2016-11-04 08:27:22 -07:00
Martin Haye
2aa9e342e7
Added tile swap for 3D mode.
2016-11-01 09:25:36 -07:00
Martin Haye
831c0cd822
Fixed memory corruption issue when party screen updated during combat.
2016-10-31 08:04:22 -07:00
Martin Haye
c6e46398c1
Prefix 'You have died' with a newline.
2016-10-26 08:13:06 -07:00
Martin Haye
72fe0986fd
Fix for text display followed by animation in 3D mode.
2016-10-26 08:04:29 -07:00
Martin Haye
72cb83c415
Exit inventory once an item is used.
2016-10-26 07:50:13 -07:00
Martin Haye
e363b01c60
Don't reset global avatar flag when re-entering map. It needs to stay what the scripts set it to.
2016-10-26 07:45:47 -07:00
Martin Haye
65b5bf001e
Fix for fwd/bkwd animations.
2016-10-26 07:38:07 -07:00
Martin Haye
048c09edf4
Fixed portraitNum bug (was relying on a specific Lawless Legends portrait)
2016-10-25 15:05:00 -07:00
Martin Haye
dcb8fd1eaa
Clean up warning and error handling in packer, so mem reports aren't generated in those cases.
2016-10-25 09:16:01 -07:00
Martin Haye
9dc84046c5
Further reduce aux mem fragmentation by putting the 3D expander at the start of aux mem, leaving one continuous space in the middle.
2016-10-25 08:58:38 -07:00
Martin Haye
63d38e5498
Reduce aux mem fragmentation by putting gameloop at end of it.
2016-10-25 08:49:38 -07:00
Martin Haye
4df31bea67
Fix hashing for images so we properly detect changes to ordering.
2016-10-25 08:08:41 -07:00
Martin Haye
4b674d20b7
Added cache version to packer, so we can force rebuild when necessary.
2016-10-24 08:26:48 -07:00
Martin Haye
520fc7216e
Now animating 3D textures.
2016-10-24 08:20:52 -07:00
Martin Haye
33d9f17503
New blocks for setting and clearing full-screen img.
2016-10-24 07:08:37 -07:00
Martin Haye
f3aaa7c6ad
Now supports animating title screen and final win screen.
2016-10-23 10:42:11 -07:00
Martin Haye
ee16d7a0d6
Most animations working properly now.
2016-10-23 09:09:43 -07:00
Martin Haye
2ef692c537
Animation progress.
2016-10-22 08:46:37 -07:00
Martin Haye
466cd1923d
Re-wrote much anim patching to actually be right(er). Rearranged mem to fit.
2016-10-21 08:18:58 -07:00
Martin Haye
b2d0af04a8
Wrote the rest of anim unpacking code.
2016-10-19 09:58:09 -07:00
Martin Haye
0b0a849855
A new patching strategy.
2016-10-19 07:37:55 -07:00
Martin Haye
a2a3246b68
Maybe a wrong turn for anim patches.
2016-10-18 07:13:42 -07:00
Martin Haye
6a049d3e33
Adding support for animating all image resources.
2016-10-17 09:26:47 -07:00
Martin Haye
dce735786e
Generate fancy new report showing how much each resource contributes to memory and disk usage.
2016-10-16 10:06:30 -07:00
Martin Haye
73c08b56dd
Little changes: use portrait names instead of numbers in generated code; a little cleanup of interrupts; improve comments.
2016-10-16 08:16:45 -07:00
Martin Haye
d085707158
Fix bug - target addr wasn't being cleared by set heap.
2016-10-13 09:27:43 -07:00
Martin Haye
a6f68275d6
Fix order of frame loading, and properly free temporary buffer.
2016-10-13 09:26:51 -07:00
Martin Haye
4dd39aff55
Merge branch 'master' of https://github.com/badvision/lawless-legends
2016-10-11 09:04:03 -07:00
Martin Haye
0095407c7e
Now blitting full screen images from aux mem rather than loading them directly to the hi-res buffer. Prelude to better support for full-screen.
2016-10-11 09:03:57 -07:00
badvision
6d61e2a75d
Switching my source over to Windows 10 changed these file modes -- shouldn't really affect anyone. If it does we can revert this commit.
2016-10-08 13:35:27 -05:00
Martin Haye
49d025a44c
Fleshed out ability to use an item on a map space. In addition, add item god-mode cheat moved to player info screen and made fancier.
2016-09-24 11:10:17 -07:00
Martin Haye
83a26c901b
Made portrait test loop around.
2016-09-22 11:14:07 -07:00
Martin Haye
0fad632eee
Better support for forcing combat, not backing up as far when fleeing / exiting a building.
2016-09-22 10:55:34 -07:00
Martin Haye
8dc394cf43
The whole fixupHint thing to avoid fragmentation was (a) not working anyway, and (b) causing crashes. Removed it.
2016-09-22 10:54:56 -07:00
Martin Haye
1d3b08204a
Skip encounter check when backing up due to a script event or fleeing combat.
2016-09-22 08:13:17 -07:00
Martin Haye
1465bea426
Fixes for game load and save.
2016-09-22 08:04:24 -07:00
Martin Haye
9b6c00bebb
Moved disk activity marker display logic to memory manager, so that it very accurately reflects real disk activity.
2016-09-22 07:51:07 -07:00
Martin Haye
cfadecc9f6
Optimized switching to and from render modes.
2016-09-22 07:32:54 -07:00
Martin Haye
ce7bf1d6cc
Now processes 'leave' events on map scripts.
2016-09-20 06:15:49 -07:00
Martin Haye
a2c8008755
Initial infrastructure for event handling.
2016-09-15 11:08:43 -07:00
Martin Haye
c09142a164
Fixed so NPCs can attack now -- but only melee.
2016-09-08 09:34:02 -07:00
Martin Haye
51f73a8565
Finished cleanup of START_LOAD/FINISH_LOAD
2016-09-08 08:39:41 -07:00
Martin Haye
fe704379ce
Good progress on reworking START_LOAD/FINISH_LOAD to figure out on their own what to do.
2016-09-08 08:30:08 -07:00
Martin Haye
65b414a954
Rearranged some things to make mem mgr more compact.
2016-08-31 08:34:00 -07:00
Martin Haye
c103afd893
Fixed out-of-mem bug adding Sasquatch to party.
2016-08-31 08:17:02 -07:00
Martin Haye
4238f62520
Fix sequence error when adding npc.
2016-08-31 07:23:11 -07:00
Martin Haye
c5a319d904
Fixed super-long error message.
2016-08-25 08:49:38 -07:00
Martin Haye
7ebe405c41
Fixed bugs with NPC creation, and made mem mgr debug slightly fancier.
2016-08-22 08:08:22 -07:00
Martin Haye
ecf76efde2
Mostly implemented ability to add/remove players, but got some debugging to do.
2016-08-17 08:09:14 -07:00
Martin Haye
243b6c362a
Moved and extended garbage-collected heap, to make more room for game items (and take advantage of newly freed space in F800.FFFF range.)
2016-08-12 19:39:36 -07:00
Martin Haye
71895ed546
Fixed a bug with module reloading, and one involving the new F8xx refactor.
2016-08-12 19:18:31 -07:00
Martin Haye
f69b91ecca
Removed a bit of useless code.
2016-08-08 08:13:03 -07:00
Martin Haye
779b61f7c0
Continued F8 refactoring.
2016-08-08 08:09:46 -07:00
Martin Haye
6c9515b63c
Lots of progress toward freeing up up.
2016-08-08 07:47:01 -07:00
Martin Haye
297d0a4c4a
Implementing bank-switching in debug macros, in prep for clearing .FFF9.
2016-08-05 09:28:29 -07:00
Martin Haye
3d06158a04
Added compatibility checking when loading a save game - based on hashing the global structure offset tables.
2016-08-05 09:27:11 -07:00
Martin Haye
8f2a5ada3d
Packer now outputs a file with memory use of 3D maps, and warns for high usage.
2016-08-04 09:26:13 -07:00
Martin Haye
d21b269843
Eliminated special patching of PLASMA accessors, now that it's finally decided that PLASMA code doesn't need to use the aux LC bank (it's used by texture expander instead).
2016-08-04 08:30:39 -07:00
Martin Haye
50c78621e6
Fix problem that expander didn't get re-split when it was re-loaded.
2016-08-04 07:16:47 -07:00
Martin Haye
70ead12fb1
Added a god-mode command, '&', to print out the allocated memory blocks.
2016-08-03 08:41:36 -07:00
Martin Haye
2817f1b25e
Forgot a raycaster file.
2016-08-03 08:40:42 -07:00
Martin Haye
40f27ef4eb
Better memory management handling of split expander.
2016-08-03 08:05:54 -07:00
Martin Haye
7df3e2ced2
Raycaster with split-expander working now.
2016-08-03 07:54:14 -07:00
Martin Haye
0e6c20cffe
Making some progress splitting the raycasting expander.
2016-08-01 09:45:09 -07:00
Martin Haye
8babf8c388
Add memory dump whenever out-of-mem occurs.
2016-07-30 11:31:21 -07:00
Martin Haye
b848882090
Fix avatar establishment on game start.
2016-07-28 09:46:38 -07:00
Martin Haye
e71bdea1fe
Fixed avatar packing problem, and turned caching back on.
2016-07-26 07:40:01 -07:00
Martin Haye
747a17d6cb
Fix for dice 3d6+n problem. Changed Mythos to LegendOS
2016-07-19 08:35:42 -05:00
Martin Haye
7e7c92dc8d
Added hack for end-game screen; set sky color to 99 to trigger.
2016-07-19 08:21:34 -05:00
Martin Haye
c85334e22e
Add messages back to combat death.
2016-07-18 16:55:49 -07:00
Martin Haye
d034b0530d
Really reload game when player dies. Also, they can now be killed by a script.
2016-07-18 16:47:49 -07:00
David Schmenk
ae119a1240
Equipped items all get a '*'
2016-07-18 10:02:46 -07:00
David Schmenk
e9c79ab589
Fists do 1d4+hand2hand skill damage
2016-07-18 09:51:14 -07:00
Martin Haye
e376e9c505
A few fixes for compatibility with Lawless Legends scenario.
2016-07-17 19:16:32 -07:00
David Schmenk
4506c27bc4
Disable weapn change during combat and fix initialization needed when we do
2016-07-17 14:28:36 -07:00
David Schmenk
aab1a74698
Group Gold now just Gold
2016-07-17 12:17:00 -07:00
David Schmenk
1ba785cc0d
Implement Change weapon during combat
2016-07-17 12:13:41 -07:00
David Schmenk
f4598db758
party health status sometimes shows up in wrong windows using displayf2
2016-07-17 06:56:07 -07:00
David Schmenk
da809614bb
Show player health/max health and weapon damage in stats
2016-07-16 21:34:31 -07:00
David Schmenk
5e1e6a9173
Add item cheat and fix multiple inventory panes
2016-07-16 15:00:50 -07:00
David Schmenk
ff6a4ef59d
Fix godmode cmds when switching maps
2016-07-16 10:46:41 -07:00
David Schmenk
0e4b8ca8f8
Add godmode setting.
2016-07-16 10:27:28 -07:00
Martin Haye
25901b9f01
Redisplay party summary if gold or health changes.
2016-07-16 05:39:22 -07:00
Martin Haye
7b103202d1
Merge branch 'master' of https://github.com/badvision/lawless-legends
2016-07-16 05:09:24 -07:00
Martin Haye
43fa3101a3
Slow progress getting packer to run as a plugin.
2016-07-16 05:09:21 -07:00
David Schmenk
8433dab3b7
Clean up more strings during Drop
2016-07-15 15:19:54 -07:00
David Schmenk
ba71bb7fb3
Put some code to check list removal. Clean up local strings in inventory
2016-07-15 15:04:02 -07:00
David Schmenk
e43e042b2a
Change player stats to show weapon in 2D and gold in 3D
2016-07-15 14:29:32 -07:00
Martin Haye
39d152720f
Merge branch 'master' of https://github.com/badvision/lawless-legends
2016-07-15 07:43:24 -07:00
Martin Haye
a980919cf5
Took out a couple debug stmts.
2016-07-15 07:43:21 -07:00
David Schmenk
1f328ce1d8
Speed up inventory display
2016-07-15 07:09:05 -07:00
David Schmenk
9f3e880c37
Filter selection based on command
2016-07-14 22:24:09 -07:00
David Schmenk
3ec8b61811
Unequip already equipped weapons
2016-07-14 18:42:33 -07:00
Martin Haye
95e4651123
Turned off caching in the packer as it's currently creating more problems than it solves.
2016-07-14 14:19:38 -07:00
Martin Haye
df02ca2367
Making avatar even more persistent, by placing it in the global state.
2016-07-14 14:01:54 -07:00
Martin Haye
66df00309a
Merge branch 'master' of https://github.com/badvision/lawless-legends
2016-07-14 13:52:27 -07:00
Martin Haye
d4525a9571
Fix clearEncounterZones and setAvatar to be (more) persistent.
2016-07-14 13:52:23 -07:00
Dave Schmenk
dfc5f974db
Get size of map window to adjust number of items displayed
2016-07-13 20:23:01 -07:00
Martin Haye
a3ed0e93a2
More packer refactoring.
2016-07-13 08:05:07 -07:00
Dave Schmenk
ad8d58f62e
Inventory formatting updates
2016-07-12 22:23:38 -07:00
Martin Haye
f38f76f1a8
Fixed dependency checking and empty script reporting.
2016-07-12 17:29:03 -07:00
Martin Haye
b5cf46d503
Made progress on alternate packaging of PackPartitions as a plugin for Outlaw.
2016-07-12 17:01:36 -07:00
Martin Haye
7c297f757d
Merge branch 'master' of https://github.com/badvision/lawless-legends
2016-07-12 16:10:57 -07:00
Martin Haye
85e01abd95
Fix heap type of 'item' and 'stuff' when they are created.
2016-07-12 16:10:54 -07:00
David Schmenk
c6edbeb703
Use health item
2016-07-12 15:51:05 -07:00
David Schmenk
abcc77d45f
Add al skill modifiers
2016-07-12 09:56:54 -07:00
David Schmenk
c3052373dd
Use strcmp for s_itemKind and clean up equip flag
2016-07-12 08:58:45 -07:00
David Schmenk
71b4900375
Inventory equip/use/drop
2016-07-12 08:09:55 -07:00
Martin Haye
d7e4c85e10
Fix for null scripts, and for avatar 0.
2016-07-11 08:03:29 -07:00
Martin Haye
504ad63907
Removed support for ESC in inputString - it was for Andrew Hogan's demo, not for Lawless Legends.
2016-07-10 17:37:55 -07:00
Martin Haye
4d5f073afa
Adjusted window sizes to avoid overwriting borders. Fixed bug in playerHasItem that was a crasher.
2016-07-10 17:33:48 -07:00
Martin Haye
be40d8f4f4
Added ability to clear all encounter zones, and to set the avatar tile.
2016-07-10 17:18:03 -07:00
Martin Haye
31bf216f6e
Fix bug with Korak combat: strings still a bit too long.
2016-07-08 17:50:45 -07:00
Martin Haye
fd0b547e7e
Sprinkled in some SEI/CLI to help with future interrupt probs. Fixed yet another problem with the memory accessor patch to PLASMA.
2016-07-08 17:19:59 -07:00
Martin Haye
d773465455
Fix for real Apple hardware: enabling language card requires reads, not writes.
2016-07-07 19:01:56 -07:00
Martin Haye
0837f4a360
Fleshed out new blocks for get/increase/decrease stats.
2016-07-07 17:02:44 -07:00
Martin Haye
df446bc38b
Added support for arbitrary game flags, and most of stat increase/decrease.
2016-07-07 16:15:31 -07:00
Martin Haye
2eff48233f
Adding global stat names to save space. Adjusted indenting of asm code in gameloop so Sublime Text correctly figures out the default tab size.
2016-07-07 14:22:48 -07:00
Martin Haye
57c65f1c69
Added item-related Blocks.
2016-07-07 13:59:07 -07:00
Martin Haye
333603c064
Added memory clearing and disabling of IIc keyboard buffer, to aid in getting more consistent results on real hardware.
2016-07-06 07:46:17 -07:00
David Schmenk
e9012275d5
Prepare for scripted event handling
2016-07-04 12:59:24 -07:00
David Schmenk
4a0ab503a2
Slight rearrangement of main player stats
2016-07-04 10:56:55 -07:00
David Schmenk
44d51ebf82
Show Group Gold in inventory, cheat health +10
2016-07-04 10:10:19 -07:00
David Schmenk
0df15626d0
Merge gold
...
Merge branch 'master' of https://github.com/badvision/lawless-legends
2016-07-04 09:33:43 -07:00
David Schmenk
287ecc6702
Add gold to global state and collect loot after combat.
2016-07-04 09:31:33 -07:00
Martin Haye
f2fe6a1989
Fixed bug with hitting 'M' on New/Load screen.
2016-07-04 09:00:37 -07:00
Martin Haye
f88b9bf298
Fix bug where hitting enter on New/Load screen hid the text.
2016-07-04 08:55:29 -07:00
Martin Haye
bd44d405d4
Need to set partition when reloading 3D textures.
2016-07-04 08:46:11 -07:00
Martin Haye
bf666a0f07
Merge branch 'master' of https://github.com/badvision/lawless-legends
2016-07-03 18:20:11 -07:00
Martin Haye
ac680b47d2
Always beep when blocked, whether blocked by an obstacle or the edge of the map.
2016-07-03 18:20:07 -07:00
David Schmenk
9dd02c2236
Just had to fix the PLASMA bug
2016-07-03 15:57:34 -07:00
Martin Haye
cb124995f4
Established some basics of the new A2Pack plugin.
2016-07-03 15:31:13 -07:00
Martin Haye
f15dc1a648
Forgot to check in globalDefs.plh
2016-07-03 15:29:14 -07:00
Martin Haye
0fe5ef28ca
Refactored to get rid of lib vectors, thanks to Dave.
2016-07-03 13:39:00 -07:00
Martin Haye
0708cbda95
Took out some debug prints
2016-07-03 12:26:22 -07:00
Martin Haye
29f6df5913
Making good progress on external symbol resolving.
2016-07-03 12:01:35 -07:00
Martin Haye
ea5800155f
Got basics of new fixup mechanism working.
2016-07-03 07:33:12 -07:00
Martin Haye
bb0a9339fe
Can now define a Help global function in Outlaw, and it'll get called when '?' is hit in the gme.
2016-07-01 17:19:12 -07:00
Martin Haye
30a9f15ae2
Added generation for generic items like amulets.
2016-07-01 16:57:24 -07:00
Martin Haye
d89d9dfbad
Fixed so some enemies get a crack at you when you're fleeing.
2016-07-01 16:32:57 -07:00
Martin Haye
dab8bd2908
Now fully supports multi-disk mode.
2016-07-01 15:58:05 -07:00
Martin Haye
437471451b
Now handles scripted combat on 2D maps as well, and handles fleeing correctly.
2016-06-30 09:31:29 -07:00
Martin Haye
02bbbf5ac7
Clean up what happens at the end of a combat script.
2016-06-30 08:47:30 -07:00
Martin Haye
f1fbd7bd8c
Working on getting script to resume after combat.
2016-06-30 08:36:46 -07:00
Martin Haye
cf0c3d3ac1
Fix memory and screen glitches when switching between scripted portrait moments, combat, and 3D display.
2016-06-29 07:42:58 -07:00
Martin Haye
8ebbc16da8
Fixed streqi logic for matching encounter zone codes. Added a Blockly for starting an encounter.
2016-06-28 07:40:09 -07:00
Martin Haye
30f3e92d37
Tiny script to extract text from the XML files, for spell and grammar checking.
2016-06-28 06:59:28 -07:00
Martin Haye
de0135b3c6
Fix to not ask about loading unless an initial save game is present. Avoid double-locking the heap area.
2016-06-24 08:46:40 -07:00
Martin Haye
cfc84188c6
Fixed bug with game load.
2016-06-24 07:16:08 -07:00
Martin Haye
0e94a6fbb0
Load working better.
2016-06-24 06:12:45 -07:00
Martin Haye
45ab9bafe2
Implementing new game / load game screen.
2016-06-24 05:58:30 -07:00
Martin Haye
17793d011f
Preserve previous saved game if 2mg is present.
2016-06-21 08:17:18 -07:00
Martin Haye
b05e138400
Switched base 2mg image to be 800k, to save bandwidth when we send disks around to each other.
2016-06-21 07:42:36 -07:00
Martin Haye
6c49bb2025
Fix crash when traveling on 2D map.
2016-06-21 07:20:55 -07:00
Martin Haye
5f945863c8
Fix bug with game load.
2016-06-20 09:10:41 -07:00
Martin Haye
ec26b8276a
Basics of load/save working.
2016-06-20 08:49:01 -07:00
Martin Haye
87ab8b6031
Allow control chars in command table; basic framework for game load/save established.
2016-06-19 08:38:40 -07:00
Martin Haye
dcea57cc7c
It was silly to have strcmpi when all we needed was streqi.
2016-06-19 08:15:51 -07:00
Martin Haye
caa05f16f6
Refactored to save space in the main gameloop module.
2016-06-19 08:04:43 -07:00
Martin Haye
c352a867a2
Refactored code to save space when running standalone modules like combat and player-info.
2016-06-19 07:42:11 -07:00
Martin Haye
db95a87e69
Merge branch 'master' of https://github.com/badvision/lawless-legends
2016-06-18 16:31:53 -07:00
Martin Haye
6c33299a77
Split game assets into two partitions, to pave the way for multi-floppy distribution.
2016-06-18 16:31:21 -07:00
David Schmenk
afd05c4bec
Prepare for inventory command processing
2016-06-18 12:59:38 -07:00
David Schmenk
e1c2c9c4d5
Fix skills display to not scroll on last line
2016-06-18 12:00:46 -07:00
Martin Haye
b8b2541715
Generalized ammo to just 'stuff' so we can have other countable things.
2016-06-17 07:39:52 -07:00
Martin Haye
d5f1663267
Added ammo generation.
2016-06-17 07:26:53 -07:00
Martin Haye
fd989c0d32
Got rid of old hard-coded globalScripts.pla
2016-06-16 17:48:58 -07:00
Martin Haye
3862931a55
Minor updates to party display for new player attributes scheme.
2016-06-16 17:44:54 -07:00
Martin Haye
3427d01768
Merge branch 'master' of https://github.com/badvision/lawless-legends
2016-06-16 17:42:24 -07:00
Martin Haye
7e758be30e
Added player generation.
2016-06-16 17:42:18 -07:00
Martin Haye
4e57da0d53
Now translating armor spreadsheet to code.
2016-06-16 07:27:13 -07:00
Martin Haye
c9300a20c9
Fix crash bug in old global scripts.
2016-06-16 07:13:39 -07:00
David Schmenk
a351b9c772
Add real values to Inventory/Stats
2016-06-15 12:15:10 -07:00
Martin Haye
646d48d206
Now packing weapons spreadsheet.
2016-06-13 08:15:14 -07:00
Martin Haye
4366daef8f
Wasn't recording goldLoot for in enemies before.
2016-06-12 13:38:14 -07:00
Martin Haye
944935c4a2
Lots of refactoring of armor, weapons, character stats, etc.
2016-06-12 13:12:14 -07:00
Martin Haye
1122108e75
Refactoring to auto-generate weapon table from spreadsheet in XML file.
2016-06-12 08:52:24 -07:00
Martin Haye
de33ab3b21
Generating stubs for all item types (weapons, armor, ammo, and items).
2016-06-11 10:58:33 -07:00
Martin Haye
a4eaeb5cf1
Fix map name display when returning from combat.
2016-06-09 07:39:09 -07:00
Martin Haye
92e5016cb9
Now parsing enemies from within the <sheets> element of world.xml
2016-06-08 09:56:10 -07:00
David Schmenk
4810c72423
ProceI can update ame source
2016-06-05 18:01:11 -07:00
Brendan Robert
9b5508a88c
Ignore build messages from commit history
2016-06-05 13:11:22 -05:00
Martin Haye
c4b973fabf
Changed disk activity indicator to blue per Seth's preference.
2016-06-03 09:42:28 -07:00
Martin Haye
64fa3c0ebb
Made disk activity icon.
2016-06-03 09:18:25 -07:00
Martin Haye
170c98508f
Moved player info display to separate module, party.pla. Added a few descriptive comments to help Dave get started.
2016-06-01 09:03:14 -07:00
Martin Haye
026f03ff76
Fixed instructions for placing scenario files correctly.
2016-05-31 08:32:41 -07:00
Martin Haye
f82b080ae7
Fixed byte coercion problems uncovered by new Groovy version.
2016-05-31 08:28:02 -07:00
Martin Haye
8fa40a7040
Fix PackPartitions build to always use local groovy jar.
2016-05-31 08:03:26 -07:00
Martin Haye
3df106d6eb
Unified build system, with new readme.
2016-05-31 07:45:49 -07:00
Martin Haye
6316395d16
Took out high-bit hacking, as Seth now has full control over these in Outlaw.
2016-05-31 07:17:38 -07:00
Martin Haye
0ea7e8194c
Adding groovy jar to repo to ease build nightmares.
2016-05-31 07:03:54 -07:00
Martin Haye
686bc8b614
Check in PLVM02.SYSTEM.sys, so that one can build PackPartitions without needing ACME.
2016-05-30 08:28:10 -07:00
Martin Haye
672c00fdbd
Changes to build cleanly in a fresh Debian box.
2016-05-30 08:27:06 -07:00
Martin Haye
f1aab8572c
Fix problems with cursor flash when inputting a string.
2016-05-26 09:09:25 -07:00
Martin Haye
a1dad110dd
Fix for 64-map chunk bug.
2016-05-26 07:41:44 -07:00
Martin Haye
334c7e6d71
Fix for missing hi-bits in text windows making characters look like they were cut off.
2016-05-19 09:31:28 +02:00
Martin Haye
cd4bd80639
Break up long strings automatically.
2016-05-19 09:31:05 +02:00
Martin Haye
6ed1518520
String management: break up long strings into plasma-size chunks; clear string pool after each.
2016-05-10 07:13:22 +02:00
Martin Haye
1bd54841e6
Now writes warnings to a file so Seth can see them easily.
2016-04-28 09:26:11 -07:00
Martin Haye
0f2f2fa4ab
Animations now run during combat pauses.
2016-04-28 08:20:28 -07:00
Martin Haye
8ab5e66078
Merge branch 'peterferrie-master'
2016-04-28 07:45:10 -07:00
Martin Haye
17772096f5
Merge branch 'master' of https://github.com/peterferrie/lawless-legends into peterferrie-master
2016-04-28 07:44:38 -07:00
Martin Haye
d0100f94e6
Barf when strings get too long.
2016-04-28 07:30:59 -07:00
Peter Ferrie
2822e6c184
fix more typos
2016-04-26 09:46:25 -07:00
Martin Haye
6745f5c556
Merge branch 'master' of https://github.com/peterferrie/lawless-legends into peterferrie-master
2016-04-26 06:40:11 -07:00
Martin Haye
9cdc68b0ee
Improved messaging for errors.
2016-04-26 06:39:44 -07:00
Peter Ferrie
e5cd2ce964
fix typo
2016-04-19 14:22:41 -07:00
Peter Ferrie
d8e235d753
minor size optimisations
...
note that fontengine.s!Wp_CFnt has a bad compare
2016-04-12 16:54:00 -07:00
Martin Haye
1a36b10698
Handle de-quoting the enemies.tsv file.
2016-04-07 10:11:35 -07:00
Martin Haye
312ee3a8a3
Fixed problem clearing portrait after teleport.
2016-04-07 07:35:28 -07:00
Martin Haye
ccc43368d4
Encounter zones working now.
2016-03-31 10:01:04 -07:00
Martin Haye
453d44b11a
Speed things up a little.
2016-03-29 15:22:31 -07:00
Martin Haye
d17ef502e3
Good progress on implementing encounter zones.
2016-03-29 15:17:42 -07:00
Martin Haye
510385ccd3
Better error reporting.
2016-03-27 08:18:32 -07:00
Martin Haye
3a1ad7a0c0
Streamlined packing procedure for Windows use.
2016-03-25 09:39:15 -07:00
Martin Haye
44ef8798e7
Now packing global scripts from the Outlaw file. In particular, now requires a 'New game' script to be present, that it used to set map coordinates now (and much more later).
2016-03-24 09:45:07 -07:00
Martin Haye
99f5879993
String response gathering and checking now working.
2016-03-22 08:22:26 -07:00
Martin Haye
4bf6d8204a
Look for enemies.tsv and font.bin in current directory if not found in the standard place. This will allow Seth to be fully independent of us developers and our exacting directory structure.
2016-02-27 11:02:58 -08:00
Martin Haye
c845bf6587
A few changes to support unibuild on Windows.
2016-02-16 09:33:16 -08:00
Martin Haye
7d6393d9c8
PackPartitions now grabs code files as resources from the Jar file if they're not present locally.
2016-02-15 16:25:24 -08:00
Martin Haye
e05a9691f9
Further work on just-in-time copy to build dir.
2016-02-15 14:43:25 -08:00
Martin Haye
ed21cb6d23
Now doing a better job of packing if/else statements and variables.
2016-02-15 13:58:30 -08:00
Martin Haye
5aeabcde51
Use user-defined script names in generated PLASMA code.
2016-02-10 04:58:14 -08:00
Martin Haye
291d529d5a
Added incremental build of map scripts.
2016-02-09 08:39:52 -08:00
Martin Haye
e12555531a
Pure-PLASMA scripts from Outlaw now working.
2016-02-09 08:23:25 -08:00
Martin Haye
042450d4ce
Map scripts now being built as PLASMA source which is then compiled, instead of direct-to-bytecode. This will be much easier to maintain once it's fully working.
2016-02-03 08:50:22 -08:00
Martin Haye
c0e98cd6c4
Merge branch 'master' of https://github.com/badvision/lawless-legends
2016-02-01 08:07:19 -08:00
Martin Haye
8439e6840d
PackPartitions now builds a 'fat' jar file containing all classes and dependent libraries.
2016-02-01 08:07:12 -08:00
dschmenk
d975768c62
Merge branch 'master' of http://github.com/badvision/lawless-legends
2016-01-29 13:46:03 -08:00
dschmenk
4efbe1bc23
Fix IDXW bug
2016-01-29 13:45:08 -08:00
Martin Haye
10db0b073a
Added hex character constants within strings.
2016-01-29 08:27:00 -08:00
Martin Haye
4f6ca7ed34
Added cache to speed up packing.
2016-01-24 17:00:40 -08:00
Martin Haye
2851e6ca24
Cleaned up texture divvy code.
2016-01-24 13:11:35 -08:00
Martin Haye
c445c9808f
Integrated disk image generation into PackPartitions.
2016-01-24 12:37:11 -08:00
Martin Haye
f239bd4ac2
PackPartitions now does everything itself: compile, assemble, pack.
2016-01-18 19:55:36 -08:00
Martin Haye
d1558d67cf
PackPartitions now calls ACME to assemble sources.
2016-01-18 19:28:59 -08:00
Martin Haye
4caf8033b7
More progress building PLASMA code.
2016-01-18 18:23:02 -08:00
Martin Haye
26bc00f3af
First steps getting PLASMA compiler to run inside PackPartitiions.
2016-01-18 17:59:54 -08:00
Martin Haye
4a410c8a07
Fixed circular dependencies at build time.
2016-01-18 17:00:31 -08:00
Martin Haye
79c30b84fc
Added PLASMA makefile rule to build plasm.jar
2016-01-18 13:11:43 -08:00
Martin Haye
db1e6c3a6c
Took non-working null func out of test.
2016-01-07 11:32:15 -08:00
Martin Haye
b1eb16df92
Merge branch 'master' of https://github.com/badvision/lawless-legends
2016-01-07 11:29:33 -08:00
Martin Haye
9883d292fc
Start with first portrait for test mode.
2016-01-07 11:29:31 -08:00
Martin Haye
a93db4ea66
Took out some useless main/aux switching in decomp routine.
2016-01-07 11:28:03 -08:00
Martin Haye
59106ae953
Fixed nasty decompression bug having to do with match len multiple of 256.
2016-01-07 11:23:46 -08:00
dschmenk
328b0b5a1c
Add increment/decrement statements and increase ID lenght to 32
2016-01-06 12:30:49 -08:00
Martin Haye
ecc9cc2016
Fixed portrait confusion, and moved enemy selection code to combat module.
2016-01-01 10:18:33 -08:00
Martin Haye
7e9bcabcc1
Now generating enemies from table instead of hand coding them.
2016-01-01 07:53:57 -08:00
Martin Haye
8c6c658ecf
Making translating enemy table to code.
2016-01-01 06:04:42 -08:00
Martin Haye
55cd9892e3
More efficient way to call global scripts.
2015-12-31 09:56:50 -08:00
Martin Haye
9a1a1d0a0e
Refactored global scripts into their own module.
2015-12-29 11:22:14 -08:00
Martin Haye
c4e46238cd
Centralized all shared function vectors for efficiency; made mem debug printout fit on screen; use better notation for pointer-to-pointer; fixed bug causing combat to fail on 3D map.
2015-12-29 08:59:13 -08:00
Martin Haye
12a1427af6
Removed some gamelib functions that are better being only in the main module.
2015-12-28 10:52:57 -08:00
Martin Haye
c4e88d3873
Added texture control, so we can swap out textures in 3D mode to make room for a portrait.
2015-12-28 10:20:28 -08:00
Martin Haye
d5d30639d6
Save map state to global vars.
2015-12-28 09:13:18 -08:00
Martin Haye
5fc03b6f55
Better debug for out-of-memory.
2015-12-23 15:59:11 -08:00
Martin Haye
df901ee94f
Fixed some bugs introduced by refactoring, and also the portrait preview facility.
2015-12-23 15:42:37 -08:00
Martin Haye
604857a4d2
Animations working in-engine for the first time.
2015-12-17 09:19:49 -08:00
Martin Haye
a1b60a490c
Comment fix for min/max, thanks Dave.
2015-12-17 06:48:30 -08:00
Martin Haye
f46aed43a6
Pick up animation flags properly.
2015-12-17 06:48:15 -08:00
Martin Haye
11464433be
Now packing animation sequences.
2015-12-12 07:22:15 -08:00
Martin Haye
70174a3342
Forgot to check in some files from the combat refactor.
2015-12-11 06:48:00 -08:00
Martin Haye
54bdfdd47e
Finished moving combat code to a module.
2015-12-10 09:43:21 -08:00
Martin Haye
a48e3cc9d8
Making some progress splitting the combat code into a separate module.
2015-12-09 10:16:05 -08:00
Martin Haye
be7ba4a3ed
Added partial support for NPC party members; packer now produces headers for the PLASMA code so we don't have to hard-code image numbers.
2015-12-09 07:35:02 -08:00
Martin Haye
90187c007c
Starting to work on translating enemy table to code.
2015-12-06 15:44:28 -08:00
Martin Haye
059f77aba1
Starting in on data generation.
2015-12-06 12:02:18 -08:00
Martin Haye
299b5aed2f
Enemies fight back\!
2015-12-05 15:01:44 -08:00
Martin Haye
d6c321b11a
Finally happy with combat pacing and spacing.
2015-12-05 11:40:27 -08:00
Martin Haye
c4a7e4fe6a
Cleaning up display of combat.
2015-12-05 11:13:35 -08:00
Martin Haye
98d9631a90
More combat.
2015-11-30 08:49:46 -08:00
Martin Haye
f342bb55c0
Fixed scrolling in combat window.
2015-11-30 08:02:32 -08:00
Martin Haye
305e79977d
Took out more debugging text.
2015-11-30 07:48:36 -08:00
Martin Haye
20576c9986
Turn off memory debugging when not needed.
2015-11-30 07:46:25 -08:00
Martin Haye
010570bca7
Added more combat mechanics; fixed totally-wrong structure numbers.
2015-11-30 07:46:05 -08:00
Martin Haye
da7356450c
Combat order determination implemented.
2015-11-29 09:21:03 -08:00
Martin Haye
4eafd97388
Added a few more messages at the start of combat.
2015-11-29 07:50:29 -08:00
Martin Haye
6b38c49ffd
Added fight/run logic.
2015-11-19 08:36:35 -08:00
Martin Haye
87cd0c3fd0
Handle singular/plural and singular(s) forms in display strings.
2015-11-19 08:27:04 -08:00
Martin Haye
ddaca82733
Now displaying start of combat.
2015-11-11 08:55:16 -08:00
Martin Haye
6b3b0372fd
Now showing Hue's real data.
2015-11-05 09:09:45 -08:00
Martin Haye
c1bcb8d187
A few minor fixes to game logic.
2015-11-05 07:18:17 -08:00
Martin Haye
6e2187087f
Added enemy grouping.
2015-10-01 10:04:01 -07:00
Martin Haye
679a9ae6fb
Fleshed out first prototype player, Hue Hauser, along with his chaps and handgun.
2015-10-01 08:34:49 -07:00
Martin Haye
9ff4aeb793
Forgot to commit this.
2015-09-19 13:51:08 -07:00
Martin Haye
6ee122f942
Cleaner initialization of test string table.
2015-09-19 13:46:36 -07:00
Martin Haye
efe6525167
Tested and fixed heap intern of strings.
2015-09-19 13:44:41 -07:00
Martin Haye
2f67d1c72f
Reworked GC algorithm to share code better. Passes heap test again.
2015-09-19 13:27:57 -07:00
Martin Haye
bd0426e622
Forgot to check in the actual player types.
2015-09-19 08:30:52 -07:00
Martin Haye
698ce413cc
Added string interning to heap. Working on type system for players, items, combat.
2015-09-17 10:03:02 -07:00
Martin Haye
a1186596f9
Fix to allow blank lines and comments within struc definition.
2015-09-15 07:27:16 -07:00
Martin Haye
fa6bdfb86d
Added PLASMA support for single-level source code include statement, without needing m4. Usage: include "yourfile.pla"
2015-09-13 09:30:10 -07:00
Martin Haye
a4e87954a3
All code under Apache 1.1 license as we agreed on this morning. We always intended to do this, now actually getting around to it.
2015-09-10 09:22:07 -07:00
Martin Haye
4934a84128
Correct spelling error in build file.
2015-09-10 08:01:14 -07:00
Martin Haye
24bf2c9519
Archived heap test code in a separate place. Ready to actually use the heap, instead of test it.
2015-09-09 07:52:10 -07:00
Martin Haye
f88866085f
Heap test now runs for a long, long time. I think the heap code is solid.
2015-09-09 07:31:30 -07:00
Martin Haye
cc9b77f7e6
Heap test runs for a long time now without failing. It does eventually fail, but it's a long time.
2015-09-08 08:46:45 -07:00
Martin Haye
074befaca3
More heap testing and bug fixes.
2015-09-08 08:18:17 -07:00
Martin Haye
da6073fefa
More generic linked list support.
2015-09-07 08:46:17 -07:00
Martin Haye
6d61a0073f
First time free-and-collect works right.
2015-09-06 11:06:01 -07:00
Martin Haye
1f324ea547
Lots of heap debugging and fixes.
2015-09-05 11:01:45 -07:00
Martin Haye
b5eb726b25
Heap testing going well.
2015-09-02 10:16:39 -07:00
Martin Haye
7aee4a37f7
Now allocating players and items; starting GC debugging.
2015-09-02 09:55:21 -07:00
Martin Haye
95c549984c
Hacked into PLASMA's memory accessors to give VM code transparent read/write access to main language card $E000.FFFF, and aux bank 1 language card $D000.DFFF.
2015-09-02 07:54:41 -07:00
Martin Haye
868837d040
More work on small-object heap testing.
2015-08-28 14:24:16 -07:00
Martin Haye
e7ec609e24
Merge branch 'master' of https://github.com/badvision/lawless-legends
2015-08-28 14:04:11 -07:00
Martin Haye
159f956bf7
More heap testing.
2015-08-28 14:04:08 -07:00
dschmenk
64ab54dbf3
Thanks MArtin Haye for the removal of unneccesary ALTRD code!
2015-08-28 12:19:08 -07:00
Martin Haye
ec6368a10b
Fixed memory manager init that didn't properly copy heap code.
2015-08-28 08:24:21 -07:00
Martin Haye
f3b8b7b48d
Increment random seed in my keyboard loop.
2015-08-21 09:40:53 -07:00
Martin Haye
9eb99c4dc5
Increment random seed in my keyboard loop.
2015-08-21 09:28:57 -07:00
Martin Haye
50a7123381
Added random number generator.
2015-08-21 08:57:15 -07:00
Martin Haye
6cfbe817c2
More cleanup.
2015-08-21 08:03:08 -07:00
Martin Haye
d2e1c28575
Cleanup.
2015-08-21 07:59:03 -07:00
Martin Haye
a8a4fdefed
Working on implementing heap API.
2015-08-19 08:45:02 -07:00
Martin Haye
a8ec4fd42c
Cleaned up some inefficient memory manager code.
2015-08-19 07:53:08 -07:00
Martin Haye
2e4a992c75
Simplified calling sequence for memory manager.
2015-08-19 07:22:20 -07:00
Martin Haye
39c37c2517
Made API for garbage collector (now called heap system)
2015-08-18 09:39:05 -07:00
Martin Haye
a6c2b46a92
Merged in GC code.
2015-08-18 07:11:59 -07:00
Martin Haye
56163b41d6
More work on GC code; moved init down to be one-time only (saves mem); minor mem mgr fixes.
2015-08-18 06:58:13 -07:00
Martin Haye
d347093dee
Added moveFast mode for demos.
2015-08-06 08:43:41 -07:00
Martin Haye
fef4595e9a
Using new font engine HTAB code now.
2015-07-11 08:58:00 -07:00
Martin Haye
5c95954cee
Fix bug where text prompt on 3D maps was displayed on non-visible page.
2015-07-11 07:39:57 -07:00
Martin Haye
45c993d610
Modified for new XSD place for script names. Also, added new Tab code from Andrew.
2015-07-06 17:09:15 -07:00
Martin Haye
195decd122
Added support for println and clearWindow blocks. Added support for defaults in keyboard teleport. Fixed nasty page-boundary bug for strings in scripts.
2015-07-04 10:02:49 -07:00
Martin Haye
1becc7d61b
Added clamping on 2d map, so player never sees the black area outside the map.
2015-07-01 10:04:19 -07:00
Martin Haye
a6876e8d39
Fix rendering bug when switching 3D map to 3D map. Fix keyboard teleport when switching maps. Fix redisplay of map name when changing section.
2015-06-30 09:27:10 -07:00
Martin Haye
03e0117537
Fixed bug with center scroll eventually overflowing.
2015-06-29 08:47:42 -07:00
Martin Haye
cf55e06347
Fixed fake character text; added support for control codes in packer.
2015-06-28 10:07:50 -07:00
Martin Haye
0c4aac3da9
Added aux mem check, and fixed bug in CROSS_WEST.
2015-06-28 09:26:52 -07:00
Martin Haye
6ddc105fd8
Made progress on garbage collection.
2015-06-23 18:33:58 -07:00
Martin Haye
f4e7586c13
Fix for null category, and new font from Seth.
2015-06-19 12:40:41 -07:00
Martin Haye
9e2c0fc3fe
New font from Seth, and fixed a few font engine bugs that I introduced.
2015-06-11 11:02:02 -07:00
Martin Haye
f586bc6066
Seth's first tweak of the font.
2015-06-11 05:31:13 -07:00
Martin Haye
81a34f9a61
Checking in Andrew's original font.
2015-06-11 05:30:56 -07:00
Martin Haye
9e64a6df38
Andrew's shiny new proportional font engine is working!
2015-06-08 08:11:39 -07:00
Martin Haye
edc1e7d410
Andrew's shiny new font engine is working!
2015-06-08 08:07:37 -07:00
Martin Haye
0077d9ea05
Working on code to set font window boundaries. Also ported Andrew's word-break parser.
2015-06-07 15:50:06 -07:00
Martin Haye
9991cc1dc4
Displayed first chars from new font engine\!
2015-06-07 13:40:04 -07:00
Martin Haye
edf0433f07
Minor fixes.
2015-06-06 15:19:23 -07:00
Martin Haye
05a6f5390f
Proportional font engine now assembles.
2015-06-06 14:57:42 -07:00
Martin Haye
e70280df73
Merge branch 'master' into pfont
2015-06-06 14:23:08 -07:00
Martin Haye
a92f2e1da9
Sped up decompression to aux mem, and sped up fixups, since memory manager now doesn't have to jump through hoops to get to aux mem.
2015-06-06 09:37:04 -07:00
Martin Haye
9d19b46cb1
Memory manager now working fully in LC ram.
2015-06-06 09:32:42 -07:00
Martin Haye
bd1274448d
Moving memory manager up into Language Card RAM.
2015-06-06 09:25:04 -07:00
Martin Haye
cd68312dc6
Finished rearranging debug code.
2015-06-06 07:48:21 -07:00
Martin Haye
5b8f75ecd1
Refactored debug macro support to be always present, and provided by the memory manager.
2015-06-05 07:54:09 -07:00
Martin Haye
16509b9942
Fixed bug: need to repair line table in raycaster after using ProDOS, because ProDOS now uses aux ZP.
2015-06-04 10:21:04 -07:00
Martin Haye
a8e501c51b
Now can actually make use of the RAM freed by moving ProDOS.
2015-06-04 10:11:38 -07:00
Martin Haye
53b956eccc
Relocated ProDOS to aux bank.
2015-06-04 09:17:39 -07:00
Martin Haye
4a1a5b3fd5
Added original code of font and hi-res addr tbl for font engine.
2015-06-04 07:26:08 -07:00
Martin Haye
95c98b631e
Converting pfont to ACME.
2015-06-04 07:03:58 -07:00
Martin Haye
de5fce5414
Fix problem with clearing the fake character data.
2015-06-03 09:12:15 -07:00
Martin Haye
960d61e422
Started porting Andrew's proportional font engine.
2015-06-03 09:10:22 -07:00
Martin Haye
5fa973ea7c
Added a 'get any key' block.
2015-06-03 07:56:19 -07:00
Martin Haye
331918eb8b
Fixed bug that chopped off long texts. Added some faked-up player character stats.
2015-06-01 10:38:22 -07:00
Martin Haye
6b51dff8b9
Added move_backward blockly block.
2015-05-31 19:03:38 -07:00
Martin Haye
26e7e1b119
More compact aux to main string-copy routine.
2015-05-31 11:35:01 -07:00
Martin Haye
57462b7638
Moved scenario script strings to aux mem.
2015-05-31 11:19:03 -07:00
Martin Haye
cccb136726
Raycaster needs to reserve memory for its tables. Also, fixed to properly display mem mgr debug info when loading fixups and modules into aux mem.
2015-05-31 08:45:23 -07:00
Martin Haye
fa266e6367
Fixed so portraits work right in 3D maps.
2015-05-28 09:05:24 -07:00
Martin Haye
f1dfcccff3
Added Blockly blocks for showing portraits.
2015-05-28 08:14:01 -07:00
Martin Haye
a2454c1212
Fixes for map name display, sky/ground colors, and portrait rendering.
2015-05-27 08:13:09 -07:00
Martin Haye
2069140e31
Fixed for broken scripting after loading new map sections.
2015-05-21 07:19:22 -07:00
Martin Haye
907666c716
Now able to script transitions from 2D to 3D and back.
2015-05-20 09:47:35 -07:00
Martin Haye
0a85fb5f1d
Fixed more bugs. Now 2D to 3D, and back, work.
2015-05-16 11:00:31 -07:00
Martin Haye
7be0112be4
Symmetric improvements to 2D API.
2015-05-16 08:48:29 -07:00
Martin Haye
80cf3ddb03
Got triggers working right on 3D map, including multiple triggers per location.
2015-05-15 08:19:18 -07:00
Martin Haye
375cac1459
Getting 3D back into shape.
2015-05-07 10:17:38 -07:00
Martin Haye
64870ea6a8
Working on 2D to 3D transition.
2015-05-07 09:12:52 -07:00
Martin Haye
d4a550f760
Corrected handling of obstruction and script flags on 2D map.
2015-05-07 06:54:43 -07:00
Martin Haye
329a7070ce
Cleaned some debug stuff up.
2015-05-06 09:45:59 -07:00
Martin Haye
f22f4ed9db
Teleportation mostly fixed.
2015-05-06 09:36:27 -07:00
Martin Haye
be7b8a0b70
Testing long-range teleport.
2015-05-03 09:25:57 -07:00
Martin Haye
4f093e405f
Fixed bug when freeing and then reloading a module.
2015-04-28 08:14:19 -07:00
Martin Haye
eada6ad85d
Progress on 2D scrolling.
2015-04-27 08:25:15 -07:00
Martin Haye
8d4264d5f2
More 2D teleportation.
2015-04-27 06:21:42 -07:00
Martin Haye
1f5a6cec29
Basics of 2D teleport kinda working.
2015-04-20 08:32:02 -07:00
Martin Haye
783c011b53
Implemented the rest of the render API for the tile engine.
2015-04-15 10:22:05 -07:00
Martin Haye
7142365ed7
Okay, I think I finally have teleport code that might work.
2015-04-14 07:45:02 -07:00
Martin Haye
9739fb34e9
Working on 2D teleportation.
2015-04-14 07:19:42 -07:00
Martin Haye
9e94928f0a
More refactoring.
2015-04-09 10:31:36 -07:00
Martin Haye
efe2415098
More refactoring.
2015-04-05 09:52:38 -07:00
Martin Haye
4227042b11
More work refactoring API to rendering engines.
2015-03-31 12:02:48 -07:00
Martin Haye
58da79a805
Working on standardized API to 2d and 3d engines.
2015-03-25 11:51:29 -07:00
Martin Haye
a835321b5f
Implemented printf for handy debugging, and now generating a map index for the 2D sections.
2015-03-25 07:40:46 -07:00
Martin Haye
56897dd67d
Implementing printf-like family of functions.
2015-03-05 09:34:42 -08:00
Martin Haye
d0505a756b
Merge branch 'master' of https://github.com/badvision/lawless-legends
2015-03-04 06:51:15 -08:00
David Schmenk
d6091a87a1
Fix in-line string off-by-one
2015-03-03 18:37:00 -08:00
Martin Haye
315c6b6936
More work on 2D script triggers.
2015-03-03 09:03:22 -08:00
Martin Haye
152fa2bd8b
Merge branch 'master' of https://github.com/badvision/lawless-legends
2015-02-27 05:33:15 -08:00
Martin Haye
2b686a8629
More work on script triggers.
2015-02-27 05:33:11 -08:00
dschmenk
42bc9441a3
Add in-line strings
2015-02-26 13:07:08 -08:00
Martin Haye
5109fcf41a
Now calculating avatar X and Y offsets within current map section.
2015-02-23 08:39:10 -08:00
Martin Haye
abd63d0481
Now loading scripts for 2D maps, and registering the new trigger table.
2015-02-23 08:01:47 -08:00
Martin Haye
3376930f85
Rearranged 2D map section checks to add a 'calculate' mode, which will be used to check flags under the avatar.
2015-02-20 08:17:35 -08:00
Martin Haye
430ee9ce65
Now packing scripts for 2D map sections.
2015-02-19 10:44:17 -08:00
Martin Haye
2d06dc337a
Merge branch 'master' of https://github.com/badvision/lawless-legends
2015-02-16 16:18:04 -08:00
Martin Haye
792b8854ac
More 2d work: tileset division, show avatar in center, fix load bug.
2015-02-16 16:18:00 -08:00
dschmenk
bc93460bd6
Oops, forgot to add this in (old stdlib.plh)
2015-02-13 16:50:25 -08:00
dschmenk
d9614dfbb9
Force \r to 0x0A
2015-02-13 16:49:12 -08:00
dschmenk
b8affbb871
Merge branch 'master' of http://github.com/badvision/lawless-legends
2015-02-13 16:47:51 -08:00
dschmenk
da0c23e35a
Minor fix for initial break_tag in repeat statement. Loadable module
...
return value fixes.
2015-02-03 22:04:11 -08:00
Martin Haye
cc23a96a09
Full map scrolling now works.
2015-02-03 09:16:24 -08:00
Martin Haye
ea10bfcdae
Jump over debug support code, to avoid accidental problems when adding debugging.
2015-02-03 09:16:12 -08:00
Martin Haye
6ee15e1d9a
Needed ability to free same block more than once.
2015-02-03 09:15:38 -08:00
dschmenk
508a2c84fb
Fix VM bug in BRNE/BREQ, parse lvalue bug, and rename stdlib to cmdsys
2015-01-28 12:56:14 -08:00
Martin Haye
a71d652f30
Merge branch 'master' of https://github.com/badvision/lawless-legends
2015-01-27 10:08:23 -08:00
Martin Haye
3549f8635f
Fixed exploding bug.
2015-01-27 08:47:07 -08:00
Martin Haye
b9a4caba1f
Fixed tile address calculation and tileset numbering.
2015-01-27 08:36:05 -08:00
Martin Haye
dc194d44f7
Simplified section math.
2015-01-18 08:59:56 -08:00
Martin Haye
aa1c662d04
Simplified section math.
2015-01-18 08:49:45 -08:00
Martin Haye
4dec52a4d2
Got some tiles to display\!
2015-01-17 16:38:52 -08:00
Martin Haye
09583ce1ce
Now loading the initial 4 map sections in the tile engine.
2015-01-10 13:17:56 -08:00
Martin Haye
4e4892381f
Now splitting maps up into sections. Refactored game loop to make room for 2D variant.
2015-01-07 14:48:04 -08:00
David Schmenk
7d6860b1d5
Bring PLASMA up-to-date
2015-01-02 17:29:02 -08:00
Martin Haye
bc73588a20
Merge branch 'master' of https://github.com/badvision/lawless-legends
2014-12-21 08:17:26 -08:00
Martin Haye
14193fb73d
Working on splitting 2D maps into sections.
2014-12-21 08:17:21 -08:00
David Schmenk
dee30787b4
Add structures to PLASMA
2014-12-07 20:59:24 -08:00
David Schmenk
700b85280d
Don't output module dependencies if not a module
2014-11-18 12:55:38 -08:00
David Schmenk
f2debb1b4d
Add syntax sugar for array define and improve enter/leave sequence
2014-11-17 17:57:07 -08:00
Martin Haye
c43f381296
Much better error and warning pinpointing during pack process.
2014-09-11 08:54:37 -07:00
Martin Haye
a480dc8c96
Merge branch 'master' of https://github.com/badvision/lawless-legends
2014-09-11 06:48:04 -07:00
Martin Haye
c1f0cdab58
Added partial code to pack 126x128 images.
2014-09-11 06:48:01 -07:00
Brendan Robert
bcd2e6c83e
Started adding tile engine support to the build/pack -- still have to pack maps and tilesets and create a test stub for the tile engine
2014-09-05 09:44:14 -05:00
Martin Haye
e82f75009d
Updated comment style for new PLASMA.
2014-08-21 08:17:50 -07:00
David Schmenk
d62f499c31
Update comment and multiple statements
...
Update comment symbol to "//" and allow multiple statements per line with ";"
2014-08-14 20:01:52 -07:00
David Schmenk
fb3f6722cf
Convert comment symbol to '//' and allow multiple statements per line
...
with ';'
2014-08-14 19:28:31 -07:00
Brendan Robert
a6ebac6b5e
Added logic to set tileset memory location prior to drawing
2014-08-13 01:01:15 -05:00
Brendan Robert
5c9c04f794
Added logic to load tilesets when moving across map
2014-08-13 00:59:05 -05:00
Brendan Robert
de57fc238d
Got the compile kinks out of the tile code but it is still untested
2014-08-12 23:10:35 -05:00
Brendan Robert
bc47e0bc04
Finished outer drawing loop, now to get the code working... :-)
2014-08-11 22:47:42 -05:00
Martin Haye
f1f00fff4b
Merge branch 'master' of https://github.com/badvision/lawless-legends
2014-08-10 17:23:50 -07:00
Brendan Robert
8f49e482c5
Closer to having a workable first draft of tile rendering but not done yet
2014-08-08 01:24:55 -05:00
Brendan Robert
9dbe9a9656
Inching my way towards a full drawing routine
2014-08-07 11:00:35 -05:00
Martin Haye
c7c969d2d0
Fixed bug where println wasn't recognized.
2014-07-25 18:33:44 -05:00
Martin Haye
d66d6acf97
Fixed horrible bug in the memory manager.
2014-07-25 17:05:34 -05:00
Martin Haye
d6d6dbf718
Was fooling around with scrolling.
2014-07-25 13:23:27 -05:00
Martin Haye
f7655e6c79
Fixed scrolling.
2014-07-23 15:39:43 -05:00
Martin Haye
760cccbb80
Fixed mem coalesce bug, and made return to wilderness resume the old position.
2014-07-23 14:50:16 -05:00
Martin Haye
e849051afd
Implemented loading screen, fixed a bunch of bugs.
2014-07-21 18:28:39 -07:00
Martin Haye
45c0ccf6c3
Splitting strings into words.
2014-07-20 15:52:51 -07:00
Martin Haye
02116fad3c
Merge branch 'master' of https://github.com/badvision/lawless-legends
2014-07-20 14:44:02 -07:00
Martin Haye
a2830e9828
More work on init scripts, and proper redrawing after teleport.
2014-07-20 14:43:48 -07:00
Brendan Robert
542d0b2589
Clarifications in the comments
2014-07-20 11:23:32 -05:00
Martin Haye
c4e5e84461
Scripted transitions between maps work now.
2014-07-20 07:01:21 -07:00
Martin Haye
1e04d813a8
Merge branch 'master' of https://github.com/badvision/lawless-legends
2014-07-20 06:02:15 -07:00
Martin Haye
97b942036f
Added blocks for setting sky and ground colors, and teleporting the player. Added support for init scripts using Blockly.
2014-07-20 06:02:10 -07:00
Brendan Robert
1a2f49a117
Indicate which section is drawn with draw_section pointer now
2014-07-20 01:56:59 -05:00
Brendan Robert
04fff67eea
Updated thoughts on what the upper 3 bits should be for (visible obstructions indicated in high-bit)
...
Updated main geometry calculation macro for the drawing routine (should be mostly ok now)
Allocated variables for main loop drawing routine
Conjured up use of memory holes for tracking drawing (clever?) with address calculation notes
2014-07-20 01:52:57 -05:00
Martin Haye
ebe228d15f
Now processing IF statements with GETYN triggers, and SETMAP events.
2014-07-19 15:55:27 -07:00
Martin Haye
69026ed705
Now scripts have a flag of their own on the map, for speedy detection.
2014-07-19 14:22:31 -07:00
Martin Haye
f4342b12c1
Now scripts have a flag of their own on the map, for speedy detection.
2014-07-19 14:17:40 -07:00
Martin Haye
d6815eab05
Fixes for lots of scripts, and for empty script blocks.
2014-07-19 13:54:41 -07:00
Martin Haye
6084d6764e
Added loading code, and fixed a typo in CROSS_SOUTH.
2014-07-17 09:34:34 -07:00
Brendan Robert
7901dba5f3
Removed extra lazy fetch stuff because it would complicate things down the line a lot (it can be added back to reduce/defer loads later if desired.) Started on the drawing routine, just trying to sort out all the geometry to feed in to the main loop.
2014-07-17 00:34:05 -05:00
Brendan Robert
50b64ab2a5
Removed extra, unnecessary label
2014-07-15 23:21:50 -05:00
Brendan Robert
2fe992370d
Changed move_zp_word to move_word and got rid of indirect/jsr stuff (it saved a byte per call but was much slower, not worth it.)
2014-07-15 23:17:23 -05:00
Brendan Robert
68d9767947
Started on 2D tile routines, starting with the loading and boundary crossing logic
2014-07-15 23:11:28 -05:00
Martin Haye
278d769ade
Now packing tilesets, but not yet segmenting 2D maps.
2014-07-15 13:09:36 -07:00
Martin Haye
3bbcc7ed92
Rearranged things a bit in preparation for segmented 2D map packing.
2014-07-15 09:52:58 -07:00
Martin Haye
df246c40c6
Merge branch 'master' of https://github.com/badvision/lawless-legends
2014-07-08 19:11:11 -07:00
Martin Haye
e56ad5e7da
Really running scripts on the map now.
2014-07-08 19:11:03 -07:00
David Schmenk
695fef7a15
Merge branch 'master' of https://github.com/badvision/lawless-legends
2014-07-08 17:55:56 -07:00
David Schmenk
63da278ce3
Turn off DblHRes
2014-07-08 17:55:22 -07:00
Martin Haye
d06884c0e9
Kinda loading scripts module, but it appears to be trashing memory.
2014-07-08 16:02:10 -07:00
Martin Haye
8a8204ec77
Now packing very simple game scripts.
2014-07-08 15:43:12 -07:00
Martin Haye
a330b395fe
Working on text functions and scripting in Outlaw.
2014-07-08 09:39:31 -07:00
Martin Haye
7961be3272
Merge branch 'master' of https://github.com/badvision/lawless-legends
2014-07-08 09:34:07 -07:00
Martin Haye
15c118fe62
Hi-bit/lo-bit fix.
2014-07-08 09:34:02 -07:00
David Schmenk
3ebf9f11dd
Use new when/is/otherwise with break
2014-07-07 22:18:42 -07:00
Martin Haye
3af48520a1
Implemented blocker sprites the right way.
2014-07-06 18:22:31 -07:00
Martin Haye
02cccb1270
Working on blocker sprites.
2014-07-06 17:25:48 -07:00
Martin Haye
af0c26944f
Can now cycle through sky and ground colors.
2014-07-06 17:04:26 -07:00
Martin Haye
655fe7946f
Lots of fixes.
2014-07-06 16:45:27 -07:00
Martin Haye
89d8721afd
Added strafing.
2014-07-06 16:13:44 -07:00
Martin Haye
6ca538f33f
Can now navigate using the plasma main loop.
2014-07-06 16:09:10 -07:00
Martin Haye
ca45c71605
Can now navigate using the plasma main loop.
2014-07-06 16:02:52 -07:00
Martin Haye
a399d81478
Converting main loop to PLASMA.
2014-07-06 14:40:35 -07:00
Martin Haye
0950b9357e
Moved PLASMA compiler to be alongside other Apple platform tools.
2014-07-06 10:21:03 -07:00
Martin Haye
b28b7200fb
More work on game loop.
2014-07-06 07:40:57 -07:00
Martin Haye
f43c51dd74
Really loading and running PLASMA code now.
2014-07-03 16:56:26 -07:00
Martin Haye
0f3c02f662
Fixed coalescing.
2014-07-03 15:17:50 -07:00
Martin Haye
269770da90
Debugging PLASMA loader.
2014-07-03 10:51:24 -07:00
Martin Haye
64c3c8298f
More work on PLASMA loading.
2014-07-03 08:53:50 -07:00
Martin Haye
1dc4756d0c
Added more looading for PLASMA modules.
2014-07-02 15:50:04 -07:00
Martin Haye
d4b90e32f8
Working on module loading in mem manager.
2014-06-29 14:32:51 -07:00
Martin Haye
68c70a3ec6
Working on parsing and compressing PLASMA modules.
2014-06-29 11:40:51 -07:00
Martin Haye
786853a4a7
Now runs PLASMA code\!
2014-06-25 08:47:28 -07:00
Martin Haye
10f9d8640b
Getting Plasma running in the game.
2014-06-25 06:37:10 -07:00
Martin Haye
7c00d7272a
More bit hacking, added collision detection, playing with blocker sprites.
2014-06-16 09:03:24 -07:00
Martin Haye
d9a203c522
Sprite fixes, and workaround for Outlaw NPE.
2014-06-13 13:10:38 -07:00
Martin Haye
a6db0f3d41
Merge branch 'master' of https://github.com/badvision/lawless-legends
2014-06-10 08:25:24 -07:00
Brendan Robert
04b9a40a7b
Offically requiring Java 8 now. (sorry!)
2014-06-07 13:27:00 -05:00
Martin Haye
fa1bb0bd3c
Hacked high-bits on tree sprite graphic.
2014-06-02 10:28:50 -07:00
Martin Haye
c9d84d11b5
Fixed raycaster going past the edge of the map.
2014-06-01 07:22:07 -07:00
Martin Haye
5bd7a7c1ed
Fixed another sprite bug.
2014-06-01 07:10:12 -07:00
Martin Haye
c5182fb624
Fixed one sprite bug.
2014-06-01 07:04:37 -07:00
Martin Haye
bbac1ea183
Fix edge detection in II raycaster.
2014-05-30 09:10:20 -07:00
Martin Haye
c8d8c22478
Use real map data in Javascript raycaster, so I can more closely simulate the Apple II and thus debug problems more easily.
2014-05-30 08:33:11 -07:00
Martin Haye
25335cca9a
Sprite debugging.
2014-05-29 07:20:34 -07:00
Martin Haye
2395e8e610
Wow, first sprite is like totally working.
2014-05-22 09:16:18 -07:00
Martin Haye
9902773b35
First sprite that actually appears where it's supposed to be. Sometimes at lest.
2014-05-22 08:15:20 -07:00
Martin Haye
3c1aa135f2
Math for first sprite finally generating all the right numbers.
2014-05-22 07:50:26 -07:00
Martin Haye
933fd769e7
Actually started debugging the sprite math.
2014-05-15 10:25:39 -07:00
Martin Haye
8c8ac40e32
Sprite math essentially complete, and actually assembles now.
2014-05-15 09:06:13 -07:00
Martin Haye
03a07270d9
Needed to calculate clipping and texture bump, for Apple II version. The javascript version didn't need these coordinates, because it renders differently, but it's still productive to do the math first in Javascript.
2014-05-08 18:51:10 -07:00
Martin Haye
0f3e840ec3
Fix tabs.
2014-05-08 11:43:46 -07:00
Martin Haye
9f7d551fd0
More work on sprite math in 6502.
2014-05-08 10:41:15 -07:00
Martin Haye
53318fc2cd
Math fixes, and started on 6502 sprite math code.
2014-05-06 07:08:02 -07:00
Martin Haye
b060d37bb1
Hacked together first sprite compositing.
2014-05-01 10:15:02 -07:00
Martin Haye
7bf43d38a1
Making progress on compositing multiple shapes in the same column.
2014-04-23 09:37:39 -07:00
Martin Haye
a82379bbe5
Compression has been working great, so turned off debug checksums.
2014-04-20 09:20:35 -07:00
Martin Haye
91586d8b3c
Added sprites to map data, and to ray casting loop.
2014-04-20 09:16:40 -07:00
Martin Haye
ec49808879
Laxen rules on name matching.
2014-04-12 18:01:46 -07:00
Martin Haye
802a02a5c7
Added a startup program to the base image so you don't have to remember what to type.
2014-03-19 07:59:42 -07:00
Martin Haye
f6a6e844bb
Compression now fully working. Also, changed core to be a .system file, so we don't need BASIC.SYSTEM any more.
2014-03-18 13:29:02 -07:00
Martin Haye
b8d146ca73
More bug fixes -- raycaster now working except for some weird textures.
2014-03-18 07:30:10 -07:00
Martin Haye
654db6fd80
Decompression mostly working now.
2014-03-17 18:35:26 -07:00
Martin Haye
5b4046ca16
Fixing more bugs.
2014-03-17 12:01:13 -07:00
Martin Haye
14c006b521
Fixing lots of decompression bugs.
2014-03-17 11:35:05 -07:00
Martin Haye
e741c5d57e
Fixing lots of decompression bugs.
2014-03-17 11:30:15 -07:00
Martin Haye
539c878c5f
Fixing decompressor bugs.
2014-03-17 07:49:40 -07:00
Martin Haye
95fbd98acb
Debugging decompression.
2014-03-13 10:22:49 -07:00
Martin Haye
37f4863e30
All compression code written and integrated; now to test.
2014-03-13 09:56:29 -07:00
Martin Haye
85f434aadf
More work on compression.
2014-03-06 09:45:11 -08:00
Martin Haye
983f61b5c0
Making progress on LZ4 compression.
2014-03-06 07:25:04 -08:00
Martin Haye
625f2a44ea
Added LZ5 compression to the packer.
2014-02-25 10:07:40 -08:00
Martin Haye
46ce69f333
Added lots of sample text, and also support for low-bit sky and ground colors.
2014-02-24 07:26:11 -08:00
Martin Haye
af2a552fa0
Added code to clear the current window.
2014-02-24 07:25:52 -08:00
Martin Haye
389b67cffa
Added routines to calculate the amount of free memory.
2014-02-24 07:24:57 -08:00
Martin Haye
99827b9785
Now displays map name centered at top of window.
2014-02-20 09:13:30 -08:00
Martin Haye
ce5a45c920
Reorganized data dir and put in readmes to tell what goes where.
2014-02-20 07:55:07 -08:00
Martin Haye
14296ca13a
Font engine integrated with raycaster.
2014-02-20 07:45:48 -08:00
Martin Haye
d1e654d3f1
Converting text code to ACME.
2014-02-12 09:28:55 -08:00
Martin Haye
9d90c5ed90
Antoine's original text engine code.
2014-02-10 10:18:41 -08:00
Martin Haye
8492905ad4
Updated sample build props.
2014-02-09 15:01:16 -08:00
Martin Haye
3eb021aad8
Switched over to ACME for raycaster. Also made output of packer more brief.
2014-02-09 14:59:43 -08:00
Martin Haye
74ffc67278
More work on 8-space tabs.
2014-02-09 12:09:25 -08:00
Martin Haye
0e64901af5
Using hi-bit ascii conversion table, and switched to 8-space tabs.
2014-02-09 12:03:48 -08:00
Martin Haye
3bc19d002a
Migrated memory manager to ACME assembler format.
2014-02-09 08:59:13 -08:00
Martin Haye
b809ca801b
Started porting to ACME assembler.
2014-02-07 10:11:59 -08:00
Martin Haye
e506a361bf
Mem manager fixes, and added ground/sky/map changing to ray caster.
2014-01-30 09:27:39 -08:00
Martin Haye
83f0e24afa
No longer need to include raycaster binaries as separate files, since they're in the partition file now.
2014-01-26 16:53:19 -08:00
Martin Haye
ca3181cb8e
Put mem manager in non-debug mode by default.
2014-01-26 16:48:55 -08:00
Martin Haye
0d8584743e
Finally got everything loading and displaying in the raycaster.
2014-01-26 16:32:03 -08:00
Martin Haye
c63eed8ee7
Making progress with packing all maps, not just one, and loading back one map and only its textures.
2014-01-26 08:26:51 -08:00