comparison libmlk-rpg/rpg/map.c @ 274:a9064c09dde6

rpg: increase margins
author David Demelier <markand@malikania.fr>
date Sun, 13 Dec 2020 11:00:50 +0100
parents 2d8d1cacda36
children 196264679079
comparison
equal deleted inserted replaced
273:e28429dbdaaf 274:a9064c09dde6
47 47
48 /* 48 /*
49 * Those are margins within the edge of the screen. The camera always try to 49 * Those are margins within the edge of the screen. The camera always try to
50 * keep those padding between the player and the screen. 50 * keep those padding between the player and the screen.
51 */ 51 */
52 #define MARGIN_WIDTH 80 52 #define MARGIN_WIDTH 160
53 #define MARGIN_HEIGHT 80 53 #define MARGIN_HEIGHT 90
54 54
55 #define WIDTH(map) ((map)->columns * (map)->tileset->sprite->cellw) 55 #define WIDTH(map) ((map)->columns * (map)->tileset->sprite->cellw)
56 #define HEIGHT(map) ((map)->rows * (map)->tileset->sprite->cellh) 56 #define HEIGHT(map) ((map)->rows * (map)->tileset->sprite->cellh)
57 57
58 /* 58 /*