maint(branding): rename
This commit is contained in:
@ -10,9 +10,9 @@ namespace Components
|
||||
Dvar::Var Branding::CGDrawVersionY;
|
||||
|
||||
#ifdef _DEBUG
|
||||
constexpr auto* BUILD_TYPE = "IW4x_DEV MP";
|
||||
constexpr auto* BUILD_TYPE = "IW4y_DEV MP";
|
||||
#else
|
||||
constexpr auto* BUILD_TYPE = "IW4x MP";
|
||||
constexpr auto* BUILD_TYPE = "IW4y MP";
|
||||
#endif
|
||||
|
||||
void Branding::CG_DrawVersion()
|
||||
@ -101,7 +101,10 @@ namespace Components
|
||||
RegisterBrandingDvars();
|
||||
|
||||
// UI version string
|
||||
Utils::Hook::Set<const char*>(0x43F73B, "IW4x " REVISION_STR);
|
||||
Utils::Hook::Set<const char*>(0x43F73B, "IW4y " REVISION_STR);
|
||||
|
||||
// Window title
|
||||
Utils::Hook::Set<const char*>(0x5076A0, "IW4y: Multiplayer");
|
||||
|
||||
// Short version dvar
|
||||
Utils::Hook::Set<const char*>(0x60BD91, REVISION_STR);
|
||||
@ -138,14 +141,14 @@ namespace Components
|
||||
if (Dedicated::IsEnabled())
|
||||
{
|
||||
#ifdef EXPERIMENTAL_BUILD
|
||||
Utils::Hook::Set<const char*>(0x4289E8, "IW4x " REVISION_STR "-develop: Dedicated");
|
||||
Utils::Hook::Set<const char*>(0x4289E8, "IW4y " REVISION_STR "-develop: Dedicated");
|
||||
#else
|
||||
Utils::Hook::Set<const char*>(0x4289E8, "IW4x " REVISION_STR ": Dedicated");
|
||||
Utils::Hook::Set<const char*>(0x4289E8, "IW4y " REVISION_STR ": Dedicated");
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
Utils::Hook::Set<const char*>(0x4289E8, "IW4x (" REVISION_STR "): Console");
|
||||
Utils::Hook::Set<const char*>(0x4289E8, "IW4y (" REVISION_STR "): Console");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -99,9 +99,9 @@ namespace Components
|
||||
else if (IsWindow(GetWindow()) != FALSE)
|
||||
{
|
||||
#ifdef EXPERIMENTAL_BUILD
|
||||
SetWindowTextA(GetWindow(), Utils::String::Format("IW4x " REVISION_STR "-develop : {}", hostname));
|
||||
SetWindowTextA(GetWindow(), Utils::String::Format("IW4y " REVISION_STR "-develop : {}", hostname));
|
||||
#else
|
||||
SetWindowTextA(GetWindow(), Utils::String::Format("IW4x " REVISION_STR " : {}", hostname));
|
||||
SetWindowTextA(GetWindow(), Utils::String::Format("IW4y " REVISION_STR " : {}", hostname));
|
||||
#endif
|
||||
}
|
||||
}
|
||||
@ -862,9 +862,9 @@ namespace Components
|
||||
|
||||
// Console '%s: %s> ' string
|
||||
#ifdef EXPERIMENTAL_BUILD
|
||||
Utils::Hook::Set<const char*>(0x5A44B4, "IW4x MP: " REVISION_STR "-develop> ");
|
||||
Utils::Hook::Set<const char*>(0x5A44B4, "IW4y MP: " REVISION_STR "-develop> ");
|
||||
#else
|
||||
Utils::Hook::Set<const char*>(0x5A44B4, "IW4x MP: " REVISION_STR "> ");
|
||||
Utils::Hook::Set<const char*>(0x5A44B4, "IW4y MP: " REVISION_STR "> ");
|
||||
#endif
|
||||
|
||||
// Patch console color
|
||||
|
@ -158,10 +158,11 @@ namespace Components
|
||||
{
|
||||
"NTAuthority",
|
||||
"aerosoul94",
|
||||
"FutureRave",
|
||||
"ReactIW4",
|
||||
"IW4Play",
|
||||
"V2",
|
||||
"luckyy"
|
||||
"luckyy",
|
||||
};
|
||||
|
||||
std::string credits = "^2The IW4x Team:^7\n";
|
||||
|
@ -2,7 +2,7 @@
|
||||
#include "Changelog.hpp"
|
||||
#include "News.hpp"
|
||||
|
||||
#define NEWS_MOTD_DEFAULT "Welcome to IW4x Multiplayer!"
|
||||
#define NEWS_MOTD_DEFAULT "Welcome to IW4y Multiplayer!"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
@ -339,9 +339,6 @@ namespace Components
|
||||
// fs_basegame
|
||||
Utils::Hook::Set<const char*>(0x6431D1, BASEGAME);
|
||||
|
||||
// window title
|
||||
Utils::Hook::Set<const char*>(0x5076A0, "IW4x: Multiplayer");
|
||||
|
||||
// sv_hostname
|
||||
Utils::Hook::Set<const char*>(0x4D378B, "IW4Host");
|
||||
|
||||
|
@ -17,7 +17,7 @@ namespace Components
|
||||
{
|
||||
if (Flags::HasFlag("version"))
|
||||
{
|
||||
printf("%s", "IW4x " VERSION " (built " __DATE__ " " __TIME__ ")\n");
|
||||
printf("%s", "IW4y " VERSION " (built " __DATE__ " " __TIME__ ")\n");
|
||||
#ifdef EXPERIMENTAL_BUILD
|
||||
printf("Revision: %i - develop\n", REVISION);
|
||||
#else
|
||||
|
Reference in New Issue
Block a user