X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fclient%2Fwindows.h;h=46525132bd4f3611fc727738e7896462283a3473;hb=f66a29b78490b1a7013c4acb7595d4b211560750;hp=5e993438f30d1ee4fe9a4402902e263b131f65d6;hpb=1befe1034a6330301d4af2df80aaa98430a6e8c9;p=plomrogue diff --git a/src/client/windows.h b/src/client/windows.h index 5e99343..4652513 100644 --- a/src/client/windows.h +++ b/src/client/windows.h @@ -66,11 +66,10 @@ struct WinMeta -/* Initialize ncurses and world.wmeta on terminal screen. All struct members - * initialize to 0, except for .screen, the newly created virtual screen .pad - * and its .padsize (height: that of the terminal screen; width: 1 cell). +/* Initialize world.wmeta and ncurses on terminal screen. All struct members + * initialize to 0 (.pad = NULL), except for .screen (= initscr()). */ -extern void init_win_meta(); +extern void init_wmeta_and_ncurses(); /* Initialize a Win child "wp" of "wmeta" to "title", "height" and "width" and * appoint "func"() as its .draw. Initialize other members to 0. @@ -85,9 +84,6 @@ extern void init_win_meta(); extern void init_win(struct Win ** wp, char * title, int16_t height, int16_t width, void * func); -/* Free memory initialized below world.wmeta and run endwin(). */ -extern void free_winmeta_and_endwin(); - /* Free memory initianized Win structs. */ extern void free_win(struct Win * win);