From 9478efe32ea5aa6577d11fe45df81b49199780cd Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sat, 7 Jan 2023 18:55:37 +0000 Subject: [PATCH] Remove some midend functions from nullfe.c As far as I can tell, nothing that uses nullfe.c depends on these functions. On the other hand, they do make it impossible to include nullfe.c and midend.c in the same program. If anything does turn out to need them, they can be spun off into nullme.c or something. --- nullfe.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/nullfe.c b/nullfe.c index ee8b4ec..d1e5605 100644 --- a/nullfe.c +++ b/nullfe.c @@ -48,14 +48,7 @@ int print_rgb_hatched_colour(drawing *dr, float r, float g, float b, int hatch) { return 0; } void print_line_width(drawing *dr, int width) {} void print_line_dotted(drawing *dr, bool dotted) {} -void midend_supersede_game_desc(midend *me, const char *desc, - const char *privdesc) {} void status_bar(drawing *dr, const char *text) {} -struct preset_menu *preset_menu_new(void) {return NULL;} -struct preset_menu *preset_menu_add_submenu(struct preset_menu *parent, - char *title) {return NULL;} -void preset_menu_add_preset(struct preset_menu *parent, - char *title, game_params *params) {} void document_add_puzzle(document *doc, const game *game, game_params *par, game_state *st, game_state *st2) {}