mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
menu.c (m_return_state): changed type to m_state_e
(m_quit_prevstate): Likewise. menu.h (m_return_state): added extern declaration. net_dgrm.c (m_return_state): removed extern declaration. git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@172 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
cff54a63a6
commit
faef222404
3 changed files with 3 additions and 3 deletions
|
@ -87,7 +87,7 @@ qboolean m_entersound; // play after drawing a frame, so caching
|
|||
// won't disrupt the sound
|
||||
qboolean m_recursiveDraw;
|
||||
|
||||
int m_return_state;
|
||||
m_state_e m_return_state;
|
||||
qboolean m_return_onerror;
|
||||
char m_return_reason [32];
|
||||
|
||||
|
@ -1536,7 +1536,7 @@ void M_Help_Key (int key)
|
|||
/* QUIT MENU */
|
||||
|
||||
int msgNumber;
|
||||
int m_quit_prevstate;
|
||||
m_state_e m_quit_prevstate;
|
||||
qboolean wasInMenus;
|
||||
|
||||
void M_Menu_Quit_f (void)
|
||||
|
|
|
@ -54,6 +54,7 @@ enum m_state_e {
|
|||
};
|
||||
|
||||
extern enum m_state_e m_state;
|
||||
extern enum m_state_e m_return_state;
|
||||
|
||||
//
|
||||
// menus
|
||||
|
|
|
@ -80,7 +80,6 @@ struct
|
|||
byte data[MAX_DATAGRAM];
|
||||
} packetBuffer;
|
||||
|
||||
extern int m_return_state;
|
||||
extern qboolean m_return_onerror;
|
||||
extern char m_return_reason[32];
|
||||
|
||||
|
|
Loading…
Reference in a new issue