From: sparky4 Date: Tue, 26 May 2015 21:16:15 +0000 (-0500) Subject: fixings~ <3 X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=26fc7489c3a21062310fbf51b9da51f65086075b;p=16.git fixings~ <3 modified: maptest.exe modified: scroll.exe modified: src/lib/mapread.h modified: src/maptest.c modified: src/scroll.c --- diff --git a/maptest.exe b/maptest.exe index 85028f5f..013a6416 100644 Binary files a/maptest.exe and b/maptest.exe differ diff --git a/scroll.exe b/scroll.exe index 504fc52c..eb625079 100644 Binary files a/scroll.exe and b/scroll.exe differ diff --git a/src/lib/mapread.h b/src/lib/mapread.h index ceef6bb9..ebacd102 100644 --- a/src/lib/mapread.h +++ b/src/lib/mapread.h @@ -11,7 +11,7 @@ #include "src/lib/lib_head.h" //#define DEBUG_MAPDATA -#define DEBUG_MAPVAR +//#define DEBUG_MAPVAR //#define DEBUG_DUMPVARS //#define DEBUG_JS diff --git a/src/maptest.c b/src/maptest.c index 09a72024..86cda8db 100644 --- a/src/maptest.c +++ b/src/maptest.c @@ -8,9 +8,7 @@ main(int argc, char *argv[]) { map_t map; short i; - //int lm; loadmap("data/test.map", &map); - //fprintf(stdout, "loadmap= %d\n\n", lm); #ifdef DUMP fprintf(stdout, "map.width= %d\n", map.width); fprintf(stdout, "map.height= %d\n", map.height); diff --git a/src/scroll.c b/src/scroll.c index 7c542a8d..ad26f4b0 100644 --- a/src/scroll.c +++ b/src/scroll.c @@ -90,7 +90,8 @@ void main() { map_view_t mv, mv2, mv3; map_view_t *bg, *spri, *mask;//, *tmp; byte *dpal, *gpal; - byte *ptr, *mappalptr; + byte far *ptr; + byte *mappalptr; actor_t player; //actor_t npc0;