From e01373acd557c16f38153084b155143cd0b37848 Mon Sep 17 00:00:00 2001 From: kdx Date: Sun, 16 Jul 2023 23:08:06 +0200 Subject: Revert "boring" This reverts commit 2acd02f3126e3685a721c9e5a084775f13fa4137. --- map/game.tmj | 29 +---------------------------- res/pal.png | Bin 93 -> 82 bytes res/tset.png | Bin 188 -> 166 bytes src/main.c | 1 + 4 files changed, 2 insertions(+), 28 deletions(-) diff --git a/map/game.tmj b/map/game.tmj index f23ed53..655c884 100644 --- a/map/game.tmj +++ b/map/game.tmj @@ -2,33 +2,6 @@ "height":16, "infinite":false, "layers":[ - { - "data":[4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4], - "height":16, - "id":3, - "name":"bg", - "opacity":1, - "type":"tilelayer", - "visible":false, - "width":26, - "x":0, - "y":0 - }, { "data":[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, @@ -78,7 +51,7 @@ "x":0, "y":0 }], - "nextlayerid":4, + "nextlayerid":3, "nextobjectid":2, "orientation":"orthogonal", "renderorder":"right-down", diff --git a/res/pal.png b/res/pal.png index ff8f6e6..7290652 100644 Binary files a/res/pal.png and b/res/pal.png differ diff --git a/res/tset.png b/res/tset.png index ba59d20..149e764 100644 Binary files a/res/tset.png and b/res/tset.png differ diff --git a/src/main.c b/src/main.c index 8871617..3000bef 100644 --- a/src/main.c +++ b/src/main.c @@ -85,6 +85,7 @@ main_loop(void *udata) return 1; pxPalt(); pxCls(0); + pxPalt(0, true); game_draw(game); //acid(game); pxFlip(); -- cgit v1.2.3