Convert prototypes to C-style for doxygen.

This commit is contained in:
Bill Currie 2011-07-10 08:56:04 +09:00 committed by Antti Harri
parent 070eeb2adb
commit a46f8e333c
5 changed files with 32 additions and 33 deletions

View file

@ -1,7 +1,7 @@
#ifndef __controls_o_h #ifndef __controls_o_h
#define __controls_o_h #define __controls_o_h
@extern void () MENU_control_binding; @extern void MENU_control_binding (void);
@extern void () load_keybindings; @extern void load_keybindings (void);
#endif//__controls_o_h #endif//__controls_o_h

View file

@ -1,28 +1,27 @@
#ifndef __menu_h #ifndef __menu_h
#define __menu_h #define __menu_h
@extern void (int x, int y, string text) Menu_Begin; @extern void Menu_Begin (int x, int y, string text);
@extern void (int val) Menu_FadeScreen; @extern void Menu_FadeScreen (int val);
@extern void (int (int x, int y) func) Menu_Draw; @extern void Menu_Draw (int (func)(int x, int y));
@extern void (void () func) Menu_EnterHook; @extern void Menu_EnterHook (void (func)(void));
@extern void (void () func) Menu_LeaveHook; @extern void Menu_LeaveHook (void (func)(void));
@extern void (int x, int y, string name) Menu_Pic; @extern void Menu_Pic (int x, int y, string name);
@extern void (int x, int y, string name, int srcx, int srcy, @extern void Menu_SubPic (int x, int y, string name, int srcx, int srcy,
int width, int height) Menu_SubPic; int width, int height);
@extern void (int x, int y, string name) Menu_CenterPic; @extern void Menu_CenterPic (int x, int y, string name);
@extern void (int x, int y, string name, int srcx, int srcy, @extern void Menu_CenterSubPic (int x, int y, string name, int srcx, int srcy,
int width, int height) Menu_CenterSubPic; int width, int height);
@extern void (int x, int y, string text, @extern void Menu_Item (int x, int y, string text,
int (string text, int key) func, int (func)(string text, int key),
int allkeys) Menu_Item; int allkeys);
@extern void (void (int x, int y) func) Menu_Cursor; @extern void Menu_Cursor (void (func)(int x, int y));
@extern void (int (int key, int unicode, int down) @extern void Menu_KeyEvent (int (func)(int key, int unicode, int down));
func) Menu_KeyEvent; @extern void Menu_End (void);
@extern void () Menu_End; @extern void Menu_TopMenu (string name);
@extern void (string name) Menu_TopMenu; @extern void Menu_SelectMenu (string name);
@extern void (string name) Menu_SelectMenu; @extern void Menu_SetQuit (int (func)(void));
@extern void (int () func) Menu_SetQuit; @extern void Menu_Quit (void);
@extern void () Menu_Quit; @extern int Menu_GetIndex (void);
@extern int () Menu_GetIndex;
#endif//__menu_h; #endif//__menu_h;

View file

@ -1,7 +1,7 @@
#ifndef __options_h #ifndef __options_h
#define __options_h #define __options_h
@extern void () MENU_options; @extern void MENU_options (void);
@extern void (int x, int y, int spacing, string label, string valstr) draw_val_item; @extern void draw_val_item (int x, int y, int spacing, string label, string valstr);
#endif//__options_r #endif//__options_r

View file

@ -1,10 +1,10 @@
#ifndef __options_util_h #ifndef __options_util_h
#define __options_util_h #define __options_util_h
@extern void (int x, int y) opt_cursor; @extern void opt_cursor (int x, int y);
@extern void (int x, int y, int spacing, string spacechar, string label, string valstr) draw_item; @extern void draw_item (int x, int y, int spacing, string spacechar, string label, string valstr);
@extern void (int x, int y, int spacing, string label, string valstr) draw_val_item; @extern void draw_val_item (int x, int y, int spacing, string label, string valstr);
@extern int (float min, float max, float val) to_percentage; @extern int to_percentage (float min, float max, float val);
@extern float (float min, float max, float step, float val, int cntflag) min_max_cnt; @extern float min_max_cnt (float min, float max, float step, float val, int cntflag);
#endif//__options_util_h #endif//__options_util_h

View file

@ -1,6 +1,6 @@
#ifndef __servlist_h #ifndef __servlist_h
#define __servlist_h #define __servlist_h
@extern void () server_list_menu; @extern void server_list_menu (void);
#endif//__servlist_h #endif//__servlist_h