mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: fix -Werror=strict-prototypes
This commit is contained in:
@@ -533,19 +533,19 @@ void VGui_MouseMove( int x, int y )
|
||||
vgui.MouseMove( x / xscale, y / yscale );
|
||||
}
|
||||
|
||||
void VGui_Paint()
|
||||
void VGui_Paint( void )
|
||||
{
|
||||
if(vgui.initialized)
|
||||
vgui.Paint();
|
||||
}
|
||||
|
||||
void VGui_RunFrame()
|
||||
void VGui_RunFrame( void )
|
||||
{
|
||||
//stub
|
||||
}
|
||||
|
||||
|
||||
void *GAME_EXPORT VGui_GetPanel()
|
||||
void *GAME_EXPORT VGui_GetPanel( void )
|
||||
{
|
||||
if( vgui.initialized )
|
||||
return vgui.GetPanel();
|
||||
|
||||
@@ -27,12 +27,12 @@ extern "C" {
|
||||
//
|
||||
void VGui_Startup( const char *clientlib, int width, int height );
|
||||
void VGui_Shutdown( void );
|
||||
void VGui_Paint();
|
||||
void VGui_RunFrame();
|
||||
void VGui_Paint( void );
|
||||
void VGui_RunFrame( void );
|
||||
void VGui_KeyEvent( int key, int down );
|
||||
void VGui_MouseMove( int x, int y );
|
||||
qboolean VGui_IsActive( void );
|
||||
void *VGui_GetPanel();
|
||||
void *VGui_GetPanel( void );
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user