Browse Source

win_con: fix version in title, change title for dedicated server

pull/2/head
a1batross 6 years ago
parent
commit
68ed732928
  1. 4
      engine/platform/win32/win_con.c

4
engine/platform/win32/win_con.c

@ -290,7 +290,7 @@ void Wcon_CreateConsole( void )
rect.top = 0; rect.top = 0;
rect.bottom = 364; rect.bottom = 364;
Q_strncpy( FontName, "Fixedsys", sizeof( FontName )); Q_strncpy( FontName, "Fixedsys", sizeof( FontName ));
Q_strncpy( s_wcd.title, va( "Xash3D %g", XASH_VERSION ), sizeof( s_wcd.title )); Q_strncpy( s_wcd.title, va( "Xash3D %s", XASH_VERSION ), sizeof( s_wcd.title ));
Q_strncpy( s_wcd.log_path, "engine.log", sizeof( s_wcd.log_path )); Q_strncpy( s_wcd.log_path, "engine.log", sizeof( s_wcd.log_path ));
fontsize = 8; fontsize = 8;
} }
@ -301,7 +301,7 @@ void Wcon_CreateConsole( void )
rect.top = 0; rect.top = 0;
rect.bottom = 392; rect.bottom = 392;
Q_strncpy( FontName, "System", sizeof( FontName )); Q_strncpy( FontName, "System", sizeof( FontName ));
Q_strncpy( s_wcd.title, "Xash Dedicated Server", sizeof( s_wcd.title )); Q_strncpy( s_wcd.title, va( "XashDS %s", XASH_VERSION ), sizeof( s_wcd.title ));
Q_strncpy( s_wcd.log_path, "dedicated.log", sizeof( s_wcd.log_path )); Q_strncpy( s_wcd.log_path, "dedicated.log", sizeof( s_wcd.log_path ));
s_wcd.log_active = true; // always make log s_wcd.log_active = true; // always make log
fontsize = 14; fontsize = 14;

Loading…
Cancel
Save