mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Version 1.03a
This commit is contained in:
parent
0aa3e8f546
commit
9d98ce7e72
|
@ -641,6 +641,8 @@ void CMenus::RenderServerbrowserServerDetail(CUIRect View)
|
||||||
Cursor.m_LineWidth = Row.w;
|
Cursor.m_LineWidth = Row.w;
|
||||||
TextRender()->TextEx(&Cursor, aTemp, -1);
|
TextRender()->TextEx(&Cursor, aTemp, -1);
|
||||||
|
|
||||||
|
//DDRace
|
||||||
|
|
||||||
LeftColumn.HSplitTop(15.0f, &Row, &LeftColumn);
|
LeftColumn.HSplitTop(15.0f, &Row, &LeftColumn);
|
||||||
UI()->DoLabelScaled(&Row, "Cheats", FontSize, -1);
|
UI()->DoLabelScaled(&Row, "Cheats", FontSize, -1);
|
||||||
str_format(aTemp, sizeof(aTemp), "%s", pSelectedServer->m_Flags&SERVER_FLAG_CHEATS ? pSelectedServer->m_Flags&SERVER_FLAG_CHEATTIME? "On & can finish" : "On & can't finish" : "Off");
|
str_format(aTemp, sizeof(aTemp), "%s", pSelectedServer->m_Flags&SERVER_FLAG_CHEATS ? pSelectedServer->m_Flags&SERVER_FLAG_CHEATTIME? "On & can finish" : "On & can't finish" : "Off");
|
||||||
|
|
|
@ -552,7 +552,7 @@ void CGameContext::ConInfo(IConsole::IResult *pResult, void *pUserData, int Clie
|
||||||
{
|
{
|
||||||
CGameContext *pSelf = (CGameContext *)pUserData;
|
CGameContext *pSelf = (CGameContext *)pUserData;
|
||||||
|
|
||||||
pSelf->Console()->PrintResponse(IConsole::OUTPUT_LEVEL_STANDARD, "info", "DDRace Mod. Version: " DDRACE_VERSION);
|
pSelf->Console()->PrintResponse(IConsole::OUTPUT_LEVEL_STANDARD, "info", "DDRace Mod. Version: " GAME_VERSION);
|
||||||
pSelf->Console()->PrintResponse(IConsole::OUTPUT_LEVEL_STANDARD, "info", "Official site: DDRace.info");
|
pSelf->Console()->PrintResponse(IConsole::OUTPUT_LEVEL_STANDARD, "info", "Official site: DDRace.info");
|
||||||
pSelf->Console()->PrintResponse(IConsole::OUTPUT_LEVEL_STANDARD, "info", "For more Info /cmdlist");
|
pSelf->Console()->PrintResponse(IConsole::OUTPUT_LEVEL_STANDARD, "info", "For more Info /cmdlist");
|
||||||
pSelf->Console()->PrintResponse(IConsole::OUTPUT_LEVEL_STANDARD, "info", "Or visit DDRace.info");
|
pSelf->Console()->PrintResponse(IConsole::OUTPUT_LEVEL_STANDARD, "info", "Or visit DDRace.info");
|
||||||
|
|
|
@ -604,7 +604,7 @@ void CGameContext::OnClientEnter(int ClientId)
|
||||||
str_format(aBuf, sizeof(aBuf), "'%s' entered and joined the %s", Server()->ClientName(ClientId), m_pController->GetTeamName(m_apPlayers[ClientId]->GetTeam()));
|
str_format(aBuf, sizeof(aBuf), "'%s' entered and joined the %s", Server()->ClientName(ClientId), m_pController->GetTeamName(m_apPlayers[ClientId]->GetTeam()));
|
||||||
SendChat(-1, CGameContext::CHAT_ALL, aBuf);
|
SendChat(-1, CGameContext::CHAT_ALL, aBuf);
|
||||||
|
|
||||||
SendChatTarget(ClientId, "DDRace Mod. Version: " DDRACE_VERSION);
|
SendChatTarget(ClientId, "DDRace Mod. Version: " GAME_VERSION);
|
||||||
SendChatTarget(ClientId, "Official site: DDRace.info");
|
SendChatTarget(ClientId, "Official site: DDRace.info");
|
||||||
SendChatTarget(ClientId, "For more Info /cmdlist");
|
SendChatTarget(ClientId, "For more Info /cmdlist");
|
||||||
SendChatTarget(ClientId, "Or visit DDRace.info");
|
SendChatTarget(ClientId, "Or visit DDRace.info");
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
#ifndef GAME_VERSION_H
|
#ifndef GAME_VERSION_H
|
||||||
#define GAME_VERSION_H
|
#define GAME_VERSION_H
|
||||||
|
|
||||||
#define DDRACE_VERSION "0.5 trunk, DDRace 1.02a"
|
#define GAME_VERSION "0.5 trunk, 1.03a"
|
||||||
#define GAME_VERSION "0.5 trunk, DDRace 1.02a"
|
|
||||||
#define GAME_NETVERSION "0.5 b67d1f1a1eea234e"
|
#define GAME_NETVERSION "0.5 b67d1f1a1eea234e"
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue