~l3kn/quad

417a86d31e475c8a99df1fe7ad67d41d29f2dc35 — Leon Rische 6 months ago c2e2bb1
m
1 files changed, 4 insertions(+), 5 deletions(-)

M config.h
M config.h => config.h +4 -5
@@ 1,12 1,11 @@
#define SWIDTH 360
#define SHEIGHT 720
#define SHEIGHT 680

#define SIZE 360
#define HALF (SIZE / 2)
#define BW 1
#define FLIP

#define PADDING (SWIDTH - SIZE) / 2
#define PADDING 0

#define SCALE 2



@@ 27,13 26,13 @@
#define MENU_Y (PADDING + SIZE + TILE_SIZE)
#define MENU_WIDTH (WEDITRULES * WEDIT - 1)
#define MENU_HEIGHT 5
#define TILE_SIZE (SIZE / MENU_HEIGHT)
#define TILE_SIZE (SIZE / (MENU_WIDTH + 1))

#define CANVAS_X PADDING
#define CANVAS_Y PADDING

#define HEIGHT (PADDING +                \
               (MENU_WIDTH + 1) * TILE_SIZE + SIZE +  \
               (MENU_HEIGHT + 2) * TILE_SIZE + SIZE +  \
               PADDING)
#define WIDTH (SIZE + 2 * PADDING)