]> 4ch.mooo.com Git - 16.git/commitdiff
==== chikyuu sprite sheet added ====
authorsparky4 <sparky4@cock.li>
Wed, 15 Jun 2016 22:18:37 +0000 (17:18 -0500)
committersparky4 <sparky4@cock.li>
Wed, 15 Jun 2016 22:18:37 +0000 (17:18 -0500)
data/chikyuu.png [new file with mode: 0755]
data/chikyuu==.png [new file with mode: 0755]
pcx2vrl
pcxsscut
src/lib/scroll16.c
vrl2vrs
vrsdump

diff --git a/data/chikyuu.png b/data/chikyuu.png
new file mode 100755 (executable)
index 0000000..96b5955
Binary files /dev/null and b/data/chikyuu.png differ
diff --git a/data/chikyuu==.png b/data/chikyuu==.png
new file mode 100755 (executable)
index 0000000..c7c3d24
Binary files /dev/null and b/data/chikyuu==.png differ
diff --git a/pcx2vrl b/pcx2vrl
index bd947e55158b82b4f9d900234745aca806cde60e..3d9ac6e6d0e4fe19bb8f1962de5fd02253dea7be 100755 (executable)
Binary files a/pcx2vrl and b/pcx2vrl differ
index 1deec74dc0487422bfdb03acb381df671e83a049..d743ac3b8ac58a73b3cb2380e2367aee9b167169 100755 (executable)
Binary files a/pcxsscut and b/pcxsscut differ
index 534ae630588d1981dc9da012631bed863647ff41..5f5aa9c353c0022450801f025f071526b846b904 100755 (executable)
@@ -487,7 +487,7 @@ void near ScrollRight(map_view_t *mv, player_t *player, word id, word plid)
        {
                /* block copy pattern to where we will draw the sprite */
                vga_setup_wm1_block_copy();
-               _fmemmove(mv[0].video->page[id].data-4, mv[0].video->page[id].data, mv[0].video->page[id].pagesize);
+               _fmemmove(mv[0].video->page[id].data+4, mv[0].video->page[id].data, mv[0].video->page[id].pagesize);
                /* must restore Write Mode 0/Read Mode 0 for this code to continue drawing normally */
                vga_restore_rm0wm0();
                /* Snap the origin forward */
@@ -597,6 +597,7 @@ sword chkmap(map_t *map, word q)
        return 0;
 }
 
+//TODO: player position here
 void mapGoTo(map_view_t *mv, int tx, int ty)
 {
        int px, py;
@@ -631,7 +632,7 @@ void mapGoTo(map_view_t *mv, int tx, int ty)
                                        vga_state.vga_graphics_ram[o] = (k^j)&15; // VRL samples put all colors in first 15!
                }
        }
-//     modexCopyPageRegion(mv[3].page, mv[!(mv->video->p)].page, 0/**/, 0/**/, 0, 128, 28, 36);
+       modexCopyPageRegion(mv[3].page, mv[!(mv->video->p)].page, 0/**/, 0/**/, 0, 128, 28, 36);
 }
 
 
diff --git a/vrl2vrs b/vrl2vrs
index b67956b7baa37941b88ad79da1a2ff49c0c435a0..acdd4bda2f0dd8772cdce97a19b6c906e4e09f8e 100755 (executable)
Binary files a/vrl2vrs and b/vrl2vrs differ
diff --git a/vrsdump b/vrsdump
index dbaba30e42b8639969d3bdd4433243eb338adcbe..8ba0497deb819d75caeef21a3a0d4086b394845b 100755 (executable)
Binary files a/vrsdump and b/vrsdump differ