Commit Graph

434 Commits

Author SHA1 Message Date
Lucas Scharenbroich
d720f0ccac Add two additional functions 2022-06-27 17:15:27 -05:00
Lucas Scharenbroich
7f70a98a4d
Merge pull request #9 from lscharen/sprite-improvements
Sprite refactoring; rendering refactoring and toolset conversion
2022-06-27 11:31:06 -05:00
Lucas Scharenbroich
90e23e03e4 Merge branch 'master' into sprite-improvements 2022-06-27 11:25:57 -05:00
Lucas Scharenbroich
19f73c22ed Macro changes 2022-06-27 11:25:25 -05:00
Lucas Scharenbroich
57ffa8794f Add in some missed updates 2022-06-27 11:25:08 -05:00
Lucas Scharenbroich
a7dad98d50 Additional tweaks to get old sprite demo working 2022-06-27 11:24:04 -05:00
Lucas Scharenbroich
b0affa1b72 Add check to bind SCBs in the render function 2022-06-27 00:41:30 -05:00
Lucas Scharenbroich
a51c973865 Fix addressing bug in SCB binding 2022-06-27 00:41:02 -05:00
Lucas Scharenbroich
81e0aeb351 Fix some minor bugs in the TwoLayer rendering functions 2022-06-27 00:32:44 -05:00
Lucas Scharenbroich
c501e9f944 Fix positioning bug 2022-06-26 23:50:03 -05:00
Lucas Scharenbroich
145fd2afc4 Fix argument definitions 2022-06-26 23:42:21 -05:00
Lucas Scharenbroich
b7d061e666 Fix simple script handling 2022-06-26 23:32:15 -05:00
Lucas Scharenbroich
8aafd5812b Work to expose times via Toolset 2022-06-26 22:08:42 -05:00
Lucas Scharenbroich
c257d72060 Fix argument handling in SetPalette 2022-06-25 21:21:20 -05:00
Lucas Scharenbroich
814a8c584b Convert the old sprite demo to use the toolset 2022-06-25 11:18:50 -05:00
Lucas Scharenbroich
78ee683ba8 Stub in a lot of the remaining functions 2022-06-25 11:17:50 -05:00
Lucas Scharenbroich
bcdc543241 Add in all the two-layer tile renderers; update complete. Just need to test 2022-06-23 11:31:42 -05:00
Lucas Scharenbroich
3292572261 Add TwoLayer rendering stubs 2022-06-22 15:29:09 -05:00
Lucas Scharenbroich
280d19876c Fix a nasty macro/lup bug 2022-06-22 00:09:08 -05:00
Lucas Scharenbroich
05c308d64d Add new toolvall definition 2022-06-22 00:07:33 -05:00
Lucas Scharenbroich
871a0ac8fb Update sample to exercise dynamic tiles 2022-06-22 00:06:25 -05:00
Lucas Scharenbroich
4c1dba0f68 Complete Dynamic Tile renderer 2022-06-21 23:13:28 -05:00
Lucas Scharenbroich
76a9710114 Add dynamic rendering functions 2022-06-21 15:28:58 -05:00
Lucas Scharenbroich
a91f39aab8 Remove dead code and implement Slow tile renderers in terms of the Fast once to avoid code bloat 2022-06-21 13:33:17 -05:00
Lucas Scharenbroich
2820d318a0 Final cleanups for Fast mode 2022-06-21 11:23:06 -05:00
Lucas Scharenbroich
400851259d More minor fixes 2022-06-21 10:06:17 -05:00
Lucas Scharenbroich
553fd3c02a Tweaking updated sprite dispatch flow 2022-06-21 07:29:18 -05:00
Lucas Scharenbroich
4ea3033b5e Get minimal tiles and sprites rendering without a crash 2022-06-20 17:57:19 -05:00
Lucas Scharenbroich
1f9c9b3f5b Checkpoint of final tile proc reorg for generalize new infrastructure for different engine modes 2022-06-20 15:55:09 -05:00
Lucas Scharenbroich
12b05139c2 Move to tables of dispatch tuples to set tile rendering information 2022-06-14 14:21:51 -05:00
Lucas Scharenbroich
d3da96a834 Add in the special Tile 0 render routines 2022-06-14 08:12:33 -05:00
Lucas Scharenbroich
7af4a216a0 Add modular dispatch for copy routines; add initial support for tile priority bit 2022-06-12 05:28:12 -05:00
Lucas Scharenbroich
1c26a4cce2 Create documentation build 2022-06-11 20:06:49 -05:00
Lucas Scharenbroich
955cf4a580 Remove unused memory and start working on priority renderer 2022-06-09 07:41:58 -05:00
Lucas Scharenbroich
364af7bc57 Misc updates of local work 2022-06-09 07:41:03 -05:00
Lucas Scharenbroich
3f9ba7e81b Local cleanup 2022-06-09 07:36:40 -05:00
Lucas Scharenbroich
e5938cb3c7 Change the entry points based on the engine mode 2022-06-08 23:34:15 -05:00
Lucas Scharenbroich
3c41e97b0f Move dispatch table into K bank and save 9 cycles per tile in dispatch 2022-06-08 17:34:23 -05:00
Lucas Scharenbroich
227643d7df Fix H+V sprite stamp renderer 2022-06-08 17:17:28 -05:00
Lucas Scharenbroich
388470c133 Fix left-edge sprite rendering glitch; was an issue with not erasing sprites when they transition to IS_OFFSCREEN status 2022-06-08 14:25:52 -05:00
Lucas Scharenbroich
1de4c0bc7f Make sure all macros add the vbuff offsets 2022-06-07 10:05:52 -05:00
Lucas Scharenbroich
3591c494bf Add three-sprite rendering function 2022-06-07 10:05:40 -05:00
Lucas Scharenbroich
2c409b02a7 Fix lookup tables to fix boundary rendering 2022-06-06 20:10:15 -05:00
Lucas Scharenbroich
b6202ca44c Implement framework for adjusting VBuff tables to handle boundary transitions 2022-06-06 11:23:00 -05:00
Lucas Scharenbroich
36d57f7c2d Fix signed calculations for negative sprite X and Y coordinates 2022-06-02 23:02:06 -05:00
Lucas Scharenbroich
783e813dc2 Implement overlapping rendering for two sprites 2022-06-02 13:59:15 -05:00
Lucas Scharenbroich
e6251f05a3 Clean up constants and fix bad addressing mode 2022-06-02 13:06:26 -05:00
Lucas Scharenbroich
4f557230c6 Remove some dead code and streamline some addressing. Fix bug in dispatch macro 2022-06-02 12:28:49 -05:00
Lucas Scharenbroich
83ec527b06 Make the test demo more sophisticated; multiple sprites 2022-06-01 22:24:45 -05:00
Lucas Scharenbroich
24ebb1f3af Fix Tile Store lookup initialization bug 2022-06-01 21:12:54 -05:00