Project: Fixed compiling with clang
This commit is contained in:
parent
91c9b634f4
commit
b9f93b8fa5
3
gui.h
3
gui.h
@ -1,6 +1,7 @@
|
||||
#include "simdata.h"
|
||||
#include "gui_display.h"
|
||||
|
||||
int start_gui();
|
||||
int start_gui(enum FB_DRIVER_t);
|
||||
int gui_continue_request(struct simdata_t*);
|
||||
int end_gui();
|
||||
int gui_error(char *);
|
||||
|
@ -146,11 +146,11 @@ int init_aalib(WINDOW *win,int fullscreen){
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
int clean_aalib(){
|
||||
aa_close(aactx);
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
#ifndef GUI_DISPLAY
|
||||
|
||||
#include <ncurses.h>
|
||||
int update_general_terminal_output(WINDOW *win, struct simdata_t *simdata);
|
||||
int update_display_terminal_output(WINDOW *win, struct simdata_t *simdata);
|
||||
@ -6,3 +8,6 @@ enum FB_DRIVER_t{
|
||||
FB_AALIB,
|
||||
FB_BRAILLE
|
||||
};
|
||||
|
||||
#endif
|
||||
#define GUI_DISPLAY
|
||||
|
Loading…
Reference in New Issue
Block a user