X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ffiles.c;h=ac75c2afc8151a97e03cd7428bb08ab5265c8b59;hb=b3be19debfe6a782dced04fe3ee4406b7d8a2135;hp=c7408331e2fe1c04b9783780336023a6c7e686b1;hpb=22c1545e660b56b81728829aec43de128934ae04;p=rocksndiamonds.git diff --git a/src/files.c b/src/files.c index c7408331..ac75c2af 100644 --- a/src/files.c +++ b/src/files.c @@ -8306,12 +8306,14 @@ void SaveScore(int nr) #define SETUP_TOKEN_TOUCH_MOVE_DISTANCE 42 #define SETUP_TOKEN_TOUCH_DROP_DISTANCE 43 #define SETUP_TOKEN_TOUCH_TRANSPARENCY 44 -#define SETUP_TOKEN_TOUCH_GRID_XSIZE_0 45 -#define SETUP_TOKEN_TOUCH_GRID_YSIZE_0 46 -#define SETUP_TOKEN_TOUCH_GRID_XSIZE_1 47 -#define SETUP_TOKEN_TOUCH_GRID_YSIZE_1 48 +#define SETUP_TOKEN_TOUCH_DRAW_OUTLINED 45 +#define SETUP_TOKEN_TOUCH_DRAW_PRESSED 46 +#define SETUP_TOKEN_TOUCH_GRID_XSIZE_0 47 +#define SETUP_TOKEN_TOUCH_GRID_YSIZE_0 48 +#define SETUP_TOKEN_TOUCH_GRID_XSIZE_1 49 +#define SETUP_TOKEN_TOUCH_GRID_YSIZE_1 50 -#define NUM_GLOBAL_SETUP_TOKENS 49 +#define NUM_GLOBAL_SETUP_TOKENS 51 /* auto setup */ #define SETUP_TOKEN_AUTO_EDITOR_ZOOM_TILESIZE 0 @@ -8513,6 +8515,8 @@ static struct TokenInfo global_setup_tokens[] = { TYPE_INTEGER,&si.touch.move_distance, "touch.move_distance" }, { TYPE_INTEGER,&si.touch.drop_distance, "touch.drop_distance" }, { TYPE_INTEGER,&si.touch.transparency, "touch.transparency" }, + { TYPE_INTEGER,&si.touch.draw_outlined, "touch.draw_outlined" }, + { TYPE_INTEGER,&si.touch.draw_pressed, "touch.draw_pressed" }, { TYPE_INTEGER,&si.touch.grid_xsize[0], "touch.virtual_buttons.0.xsize" }, { TYPE_INTEGER,&si.touch.grid_ysize[0], "touch.virtual_buttons.0.ysize" }, { TYPE_INTEGER,&si.touch.grid_xsize[1], "touch.virtual_buttons.1.xsize" }, @@ -8731,6 +8735,8 @@ static void setSetupInfoToDefaults(struct SetupInfo *si) si->touch.move_distance = TOUCH_MOVE_DISTANCE_DEFAULT; /* percent */ si->touch.drop_distance = TOUCH_DROP_DISTANCE_DEFAULT; /* percent */ si->touch.transparency = TOUCH_TRANSPARENCY_DEFAULT; /* percent */ + si->touch.draw_outlined = TRUE; + si->touch.draw_pressed = TRUE; for (i = 0; i < 2; i++) {