mirror of
https://github.com/qwertyuiop3/Storm.git
synced 2025-06-10 11:26:45 +08:00
remove FCVAR_CHEAT
just for some (e.g., mat_fullbright)
This commit is contained in:
parent
c6e7a71af1
commit
7070f6a68c
@ -129,29 +129,11 @@ __int32 __stdcall DllMain(HMODULE This_Module, unsigned __int32 Call_Reason, voi
|
||||
|
||||
HANDLE Standard_Output_Handle = GetStdHandle(STD_OUTPUT_HANDLE);
|
||||
|
||||
CONSOLE_FONT_INFOEX Console_Font_Information;
|
||||
|
||||
Console_Font_Information.cbSize = sizeof(CONSOLE_FONT_INFOEX);
|
||||
|
||||
Console_Font_Information.nFont = 0;
|
||||
|
||||
Console_Font_Information.dwFontSize.X = 0;
|
||||
|
||||
Console_Font_Information.dwFontSize.Y = 12;
|
||||
|
||||
Console_Font_Information.FontFamily = FF_DONTCARE;
|
||||
|
||||
Console_Font_Information.FontWeight = FW_NORMAL;
|
||||
|
||||
wcscpy(Console_Font_Information.FaceName, L"Terminal");
|
||||
CONSOLE_FONT_INFOEX Console_Font_Information = { sizeof(CONSOLE_FONT_INFOEX), 0, { 0, 12 }, FF_DONTCARE, FW_NORMAL, { L"Terminal" } };
|
||||
|
||||
SetCurrentConsoleFontEx(Standard_Output_Handle, 0, &Console_Font_Information);
|
||||
|
||||
CONSOLE_CURSOR_INFO Console_Cursor_Information;
|
||||
|
||||
Console_Cursor_Information.bVisible = 0;
|
||||
|
||||
Console_Cursor_Information.dwSize = sizeof(Console_Cursor_Information);
|
||||
CONSOLE_CURSOR_INFO Console_Cursor_Information = { sizeof(Console_Cursor_Information) };
|
||||
|
||||
SetConsoleTextAttribute(Standard_Output_Handle, FOREGROUND_BLUE | FOREGROUND_GREEN | FOREGROUND_RED | FOREGROUND_INTENSITY | BACKGROUND_BLUE);
|
||||
|
||||
@ -169,6 +151,11 @@ __int32 __stdcall DllMain(HMODULE This_Module, unsigned __int32 Call_Reason, voi
|
||||
|
||||
Engine_Module = GetModuleHandleW(L"engine.dll");
|
||||
|
||||
_putws(L"[ + ] Delimit Interface");
|
||||
{
|
||||
Byte_Manager::Set_Bytes(0, (void*)((unsigned __int32)Engine_Module + 1423205), 1, 235);
|
||||
}
|
||||
|
||||
_putws(L"[ + ] Extend Interface");
|
||||
{
|
||||
Implement_Extended_Interface();
|
||||
|
@ -250,7 +250,9 @@ void __thiscall Perform_Trace(void* Stack)
|
||||
Damage *= min(Multipliers[Group], 4.f - 2.75f * Is_Shotgun);
|
||||
}
|
||||
|
||||
if (Get_Identifier(Entity, 1, 0) == 99)
|
||||
__int32 Raw_Identifier = Get_Identifier(Entity, 1, 0);
|
||||
|
||||
if (Raw_Identifier == 99)
|
||||
{
|
||||
if (*(__int32*)((unsigned __int32)Entity + 2212) == 5)
|
||||
{
|
||||
@ -284,9 +286,8 @@ void __thiscall Perform_Trace(void* Stack)
|
||||
if (Damage != __builtin_inff())
|
||||
{
|
||||
Damage = (__int32)(Damage + 1.f * (Damage < 1));
|
||||
}
|
||||
|
||||
if (Identifier == 276)
|
||||
if (Raw_Identifier == 276)
|
||||
{
|
||||
if (__builtin_strstr(Get_Sequence_Name(Entity), "limb") != nullptr)
|
||||
{
|
||||
@ -296,6 +297,7 @@ void __thiscall Perform_Trace(void* Stack)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Perform_Trace_Damage += Damage;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user