mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
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:
7
nullfe.c
7
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) {}
|
||||
|
||||
|
Reference in New Issue
Block a user