]> 4ch.mooo.com Git - 16.git/commitdiff
meh i should organize gvar and mv soon
authorsparky4 <sparky4@cock.li>
Tue, 21 Jun 2016 16:44:03 +0000 (11:44 -0500)
committersparky4 <sparky4@cock.li>
Tue, 21 Jun 2016 16:44:03 +0000 (11:44 -0500)
src/scroll.c

index 6cb59b464059efdd0860b3b6aea91892b91da8c9..1490ad0b2b546d5b8778f8af2c50c5c943d603ea 100755 (executable)
@@ -32,7 +32,6 @@ bitmap_t *p;
 global_game_variables_t gvar;
 static map_t map;
 player_t player[MaxPlayers];
-//page_t screen, gvar.video.page[1], gvar.video.page[2];
 map_view_t mv[4];
 //word pn=0; //i forgot ww
 //static planar_buf_t huge *pp;
@@ -114,8 +113,7 @@ void main(int argc, char *argv[])
        //mappalptr = map.tiles->btdata->palette;
 
        /* data */
-       //++++
-       p = malloc(48*128);
+       p = malloc(48*128); //TODO use exmm
        player[0].data = p;
        *p = bitmapLoadPcx("data/chikyuu.pcx"); // load sprite
        *player[0].data = bitmapLoadPcx("data/chikyuu.pcx"); // load sprite