X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fdos_gfx.cpp;h=4491318bb566aec00009d07b18767b42e530b70f;hb=52483d8c2e16d2298a30e8b5aca4a90c07ea1816;hp=482bdff8f68476dc2f7f2c184aa1209c1bf00d47;hpb=acb3c61575385f298afef74cc3e2d91f8411d618;p=16.git diff --git a/src/lib/dos_gfx.cpp b/src/lib/dos_gfx.cpp index 482bdff8..4491318b 100644 --- a/src/lib/dos_gfx.cpp +++ b/src/lib/dos_gfx.cpp @@ -175,21 +175,18 @@ void BlockMove(){ }*/ } -void etesuto(int x = 160, int y = 100){ +void eraseplayer(int x = 160, int y = 100){ memset(vaddr+(x+(y*SW)),gq-1,1); - //updatevbuff(); } -void qtesuto(int x = 160, int y = 100, int color = 0){ +void drawplayer(int x = 160, int y = 100, int color = 0){ memset(vaddr+(x+(y*SW)),color,1); - //updatevbuff(); } //color てすと int colortest(){ if(gq < NUM_COLORS){ cls(gq, vaddr); - //updatevbuff(); gq++; }else gq = 0; return gq; @@ -199,7 +196,6 @@ int colortest(){ int colorz(){ if(gq < HGQ){ cls(gq, vaddr); - //updatevbuff(); gq++; }else gq = LGQ; return gq; @@ -222,6 +218,7 @@ void ssd(int svq){ }else sy = 0; } +//inefficient pallette dumping void pdump(int mult){ int palq=mult*16; int palcol=0;