aboutsummaryrefslogtreecommitdiff
path: root/singles.c
diff options
context:
space:
mode:
Diffstat (limited to 'singles.c')
-rw-r--r--singles.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/singles.c b/singles.c
index 9e887ed..60b4399 100644
--- a/singles.c
+++ b/singles.c
@@ -153,7 +153,7 @@ static bool game_fetch_preset(int i, char **name, game_params **params)
char buf[80];
if (i < 0 || i >= lenof(singles_presets))
- return FALSE;
+ return false;
ret = default_params();
*ret = singles_presets[i];
@@ -162,7 +162,7 @@ static bool game_fetch_preset(int i, char **name, game_params **params)
sprintf(buf, "%dx%d %s", ret->w, ret->h, singles_diffnames[ret->diff]);
*name = dupstr(buf);
- return TRUE;
+ return true;
}
static void free_params(game_params *params)
@@ -376,7 +376,7 @@ static char *generate_desc(game_state *state, int issolve)
static bool game_can_format_as_text_now(const game_params *params)
{
- return TRUE;
+ return true;
}
static char *game_text_format(const game_state *state)
@@ -1754,7 +1754,7 @@ static int game_status(const game_state *state)
static bool game_timing_state(const game_state *state, game_ui *ui)
{
- return TRUE;
+ return true;
}
static void game_print_size(const game_params *params, float *x, float *y)
@@ -1815,15 +1815,15 @@ const struct game thegame = {
encode_params,
free_params,
dup_params,
- TRUE, game_configure, custom_params,
+ true, game_configure, custom_params,
validate_params,
new_game_desc,
validate_desc,
new_game,
dup_game,
free_game,
- TRUE, solve_game,
- TRUE, game_can_format_as_text_now, game_text_format,
+ true, solve_game,
+ true, game_can_format_as_text_now, game_text_format,
new_ui,
free_ui,
encode_ui,
@@ -1840,9 +1840,9 @@ const struct game thegame = {
game_anim_length,
game_flash_length,
game_status,
- TRUE, FALSE, game_print_size, game_print,
- FALSE, /* wants_statusbar */
- FALSE, game_timing_state,
+ true, false, game_print_size, game_print,
+ false, /* wants_statusbar */
+ false, game_timing_state,
REQUIRE_RBUTTON, /* flags */
};