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.
This commit is contained in:
Ben Harris
2023-01-07 18:55:37 +00:00
parent 332873db83
commit 9478efe32e

View File

@ -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) {}