mirror of
https://github.com/qwertyuiop3/Storm.git
synced 2025-06-08 10:39:35 +08:00
disable prediction error smoothing
also z_sidespeed
This commit is contained in:
parent
0b54788d15
commit
d5a3de9a21
@ -114,11 +114,11 @@ void __thiscall Redirected_Copy_Command(void* Unknown_Parameter, Command_Structu
|
||||
|
||||
if (__builtin_signbitf(Strafe_Angle) == 0)
|
||||
{
|
||||
Command->Move[1] = -400.f;
|
||||
Command->Move[1] = -450.f;
|
||||
}
|
||||
else
|
||||
{
|
||||
Command->Move[1] = 400.f;
|
||||
Command->Move[1] = 450.f;
|
||||
}
|
||||
|
||||
Move_Angles[1] -= Strafe_Angle;
|
||||
@ -127,11 +127,11 @@ void __thiscall Redirected_Copy_Command(void* Unknown_Parameter, Command_Structu
|
||||
{
|
||||
if (__builtin_signbitf(Difference) == 0)
|
||||
{
|
||||
Command->Move[1] = -400.f;
|
||||
Command->Move[1] = -450.f;
|
||||
}
|
||||
else
|
||||
{
|
||||
Command->Move[1] = 400.f;
|
||||
Command->Move[1] = 450.f;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -270,6 +270,8 @@ __int32 __stdcall DllMain(HMODULE This_Module, unsigned __int32 Call_Reason, voi
|
||||
|
||||
_putws(L"[ + ] Effects");
|
||||
{
|
||||
Byte_Manager::Set_Bytes(0, (void*)((unsigned __int32)Client_Module + 407384), 1, 133);
|
||||
|
||||
Original_Calculate_View_Caller = Redirection_Manager::Redirect_Function(0, (void*)((unsigned __int32)Client_Module + 132944), (void*)Redirected_Calculate_View);
|
||||
|
||||
Byte_Manager::Set_Bytes(0, (void*)((unsigned __int32)Client_Module + 133424), 1, 235);
|
||||
|
@ -313,6 +313,8 @@ void __thiscall Redirected_Paint(void* Panel)
|
||||
|
||||
Draw_Text_Type((unsigned __int32)Engine_Module + 2218736)(Font, 0, 0, 0, 0, 0, 0, Text);
|
||||
|
||||
Write_Character = 0;
|
||||
|
||||
if (Character != L'~')
|
||||
{
|
||||
Character += L'\1';
|
||||
@ -365,8 +367,6 @@ void __thiscall Redirected_Paint(void* Panel)
|
||||
|
||||
wchar_t Text[2] = { Paint_Data->Name[Character_Number] };
|
||||
|
||||
Write_Character = Text[0];
|
||||
|
||||
if (Ghost == 0)
|
||||
{
|
||||
Draw_Text_Type((unsigned __int32)Engine_Module + 2218736)(Font, Bounds[1] + 7 + Offset_X - Character_Bounds[0], Bounds[2] + Offset_Y, Paint_Data->Color[0], Paint_Data->Color[1], Paint_Data->Color[2], 255, Text);
|
||||
@ -376,8 +376,6 @@ void __thiscall Redirected_Paint(void* Panel)
|
||||
Draw_Text_Type((unsigned __int32)Engine_Module + 2218736)(Font, Bounds[1] + 7 + Offset_X - Character_Bounds[0], Bounds[2] + Offset_Y, 128, 128, 128, 255, Text);
|
||||
}
|
||||
|
||||
Write_Character = 0;
|
||||
|
||||
Offset_X += Character_Bounds[1] + 1;
|
||||
|
||||
Character_Number += 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user