better look

This commit is contained in:
Skull 2022-06-21 16:46:40 +03:00
parent 14b9cf89c7
commit ef01673425
4 changed files with 5 additions and 2 deletions

View File

@ -7,7 +7,7 @@
# H1-Mod
<p align="center">
<img src="https://cdn.discordapp.com/attachments/866389597948739594/983104537990692924/splash.png" width="800px"/>
<img src="assets/github/banner?raw=true" />
</p>
A client for Call of Duty: Modern Warfare Remastered.

BIN
assets/github/banner.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 742 KiB

View File

@ -6,6 +6,7 @@
#include "command.hpp"
#include "rcon.hpp"
#include "version.hpp"
#include <utils/thread.hpp>
#include <utils/hook.hpp>
@ -269,7 +270,9 @@ namespace console
con.cursor = 0;
clear_output();
SetConsoleTextAttribute(OUTPUT_HANDLE, get_attribute(7)); // green
invoke_printf("]%s\r\n", con.buffer);
SetConsoleTextAttribute(OUTPUT_HANDLE, get_attribute(con_type_info));
strncpy_s(con.buffer, "", sizeof(con.buffer));
break;
}
@ -347,7 +350,7 @@ namespace console
printf_hook.create(printf, printf_stub);
ShowWindow(GetConsoleWindow(), SW_SHOW);
SetConsoleTitle("H1-Mod");
SetConsoleTitle("H1-Mod: " VERSION);
con.kill_event = CreateEvent(NULL, TRUE, FALSE, NULL);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 740 KiB

After

Width:  |  Height:  |  Size: 1.1 MiB