mirror of
https://github.com/UberGames/rpgxEF.git
synced 2024-11-10 07:11:34 +00:00
Some fixes
This commit is contained in:
parent
1e26694845
commit
61429f882f
4 changed files with 33 additions and 33 deletions
|
@ -610,21 +610,7 @@ void Con_DrawNotify (void)
|
|||
// draw the chat line
|
||||
if ( Key_GetCatcher( ) & KEYCATCH_MESSAGE )
|
||||
{
|
||||
#ifdef ELITEFORCE
|
||||
if (chat_team)
|
||||
{
|
||||
SCR_DrawSmallString (8, v, "say_team:", 1.0f );
|
||||
skip = 11;
|
||||
}
|
||||
else
|
||||
{
|
||||
SCR_DrawSmallString (8, v, "say:", 1.0f );
|
||||
skip = 6;
|
||||
}
|
||||
|
||||
Field_Draw(&chatField, skip * SMALLCHAR_WIDTH, v,
|
||||
SCREEN_WIDTH - ( skip + 1 ) * SMALLCHAR_WIDTH, qtrue, qtrue);
|
||||
#elif defined(XTRA)
|
||||
#ifdef XTRA
|
||||
if (chat_team)
|
||||
{
|
||||
SCR_DrawSmallString (8, v, "global:", 1.0f );
|
||||
|
@ -646,6 +632,20 @@ void Con_DrawNotify (void)
|
|||
skip = 7;
|
||||
}
|
||||
|
||||
Field_Draw(&chatField, skip * SMALLCHAR_WIDTH, v,
|
||||
SCREEN_WIDTH - ( skip + 1 ) * SMALLCHAR_WIDTH, qtrue, qtrue);
|
||||
#elif defined(ELITEFORCE)
|
||||
if (chat_team)
|
||||
{
|
||||
SCR_DrawSmallString (8, v, "say_team:", 1.0f );
|
||||
skip = 11;
|
||||
}
|
||||
else
|
||||
{
|
||||
SCR_DrawSmallString (8, v, "say:", 1.0f );
|
||||
skip = 6;
|
||||
}
|
||||
|
||||
Field_Draw(&chatField, skip * SMALLCHAR_WIDTH, v,
|
||||
SCREEN_WIDTH - ( skip + 1 ) * SMALLCHAR_WIDTH, qtrue, qtrue);
|
||||
#else
|
||||
|
|
|
@ -32,10 +32,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
#endif
|
||||
|
||||
int demo_protocols[] =
|
||||
#ifdef ELITEFORCE
|
||||
{ 0 };
|
||||
#elif defined(XTRA)
|
||||
#ifdef XTRA
|
||||
{ 25, 59, 0 };
|
||||
#elif defined(ELITEFORCE)
|
||||
{ 0 };
|
||||
#else
|
||||
{ 67, 66, 0 };
|
||||
#endif
|
||||
|
|
|
@ -37,17 +37,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
#define GAMENAME_FOR_MASTER "foobar" // must NOT contain whitespace
|
||||
// #define LEGACY_PROTOCOL // You probably don't need this for your standalone game
|
||||
#else
|
||||
#ifdef ELITEFORCE
|
||||
#define PRODUCT_NAME "ioST:V HM"
|
||||
#define BASEGAME "baseEF"
|
||||
#define CLIENT_WINDOW_TITLE "iostvoyHM"
|
||||
#define CLIENT_WINDOW_MIN_TITLE "iostvoyHM"
|
||||
#define HOMEPATH_NAME_UNIX ".stvef"
|
||||
#define HOMEPATH_NAME_WIN "STVEF"
|
||||
#define HOMEPATH_NAME_MACOSX HOMEPATH_NAME_WIN
|
||||
#define GAMENAME_FOR_MASTER "EliteForce"
|
||||
#define LEGACY_PROTOCOL
|
||||
#elif defined(XTRA)
|
||||
#ifdef XTRA
|
||||
#define PRODUCT_NAME "rpgxEF"
|
||||
#define BASEGAME "baseEF"
|
||||
#define CLIENT_WINDOW_TITLE "rpgxEF"
|
||||
|
@ -57,6 +47,16 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
#define HOMEPATH_NAME_MACOSX HOMEPATH_NAME_WIN
|
||||
#define GAMENAME_FOR_MASTER "EliteForce"
|
||||
#define LEGACY_PROTOCOL
|
||||
#elif defined(ELITEFORCE)
|
||||
#define PRODUCT_NAME "ioST:V HM"
|
||||
#define BASEGAME "baseEF"
|
||||
#define CLIENT_WINDOW_TITLE "iostvoyHM"
|
||||
#define CLIENT_WINDOW_MIN_TITLE "iostvoyHM"
|
||||
#define HOMEPATH_NAME_UNIX ".stvef"
|
||||
#define HOMEPATH_NAME_WIN "STVEF"
|
||||
#define HOMEPATH_NAME_MACOSX HOMEPATH_NAME_WIN
|
||||
#define GAMENAME_FOR_MASTER "EliteForce"
|
||||
#define LEGACY_PROTOCOL
|
||||
#else
|
||||
#define PRODUCT_NAME "ioq3"
|
||||
#define BASEGAME "baseq3"
|
||||
|
|
|
@ -262,12 +262,12 @@ PROTOCOL
|
|||
==============================================================
|
||||
*/
|
||||
|
||||
#ifdef ELITEFORCE
|
||||
#define PROTOCOL_VERSION 26
|
||||
#define PROTOCOL_LEGACY_VERSION 24
|
||||
#elif defined(XTRA)
|
||||
#ifdef XTRA
|
||||
#define PROTOCOL_VERSION 60
|
||||
#define PROTOCOL_LEGACY_VERSION 59
|
||||
#elif defined(ELITEFORCE)
|
||||
#define PROTOCOL_VERSION 26
|
||||
#define PROTOCOL_LEGACY_VERSION 24
|
||||
#else
|
||||
#define PROTOCOL_VERSION 71
|
||||
#define PROTOCOL_LEGACY_VERSION 68
|
||||
|
|
Loading…
Reference in a new issue