ref: 9478efe32ea5aa6577d11fe45df81b49199780cd
parent: 332873db834d641f4a28a5452cd7d32c373902a7
author: Ben Harris <[email protected]>
date: Sat Jan 7 13:55:37 EST 2023
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.
--- a/nullfe.c
+++ b/nullfe.c
@@ -48,14 +48,7 @@
{ 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) {}