cleanup some code
This commit is contained in:
parent
b0fa1e290b
commit
d5cc6fe642
@ -125,13 +125,6 @@ void Daytona3::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTrigg
|
||||
helpers->log((char *)ffs.c_str());
|
||||
while (SDL_WaitEvent(&e) != 0)
|
||||
{
|
||||
/* if (e.type == SDL_KEYDOWN)
|
||||
{
|
||||
if (e.key.keysym.sym == SDLK_ESCAPE)
|
||||
{
|
||||
MessageBoxA(NULL, "test", "", 0);
|
||||
}
|
||||
} */
|
||||
myTriggers = triggers;
|
||||
myConstants = constants;
|
||||
myHelpers = helpers;
|
||||
|
@ -41,10 +41,7 @@ static int Gear6 = GetPrivateProfileInt(TEXT("Settings"), TEXT("Gear6"), 0, sett
|
||||
void SendForceFeedback(__int8 force)
|
||||
{
|
||||
float ffspeed = myHelpers->ReadFloat32(0x08273DF0, /* isRelativeOffset */ false); //speedo
|
||||
/*char gay[256];
|
||||
memset(gay, 0, 256);
|
||||
sprintf(gay, "hex print: %08X", force);
|
||||
OutputDebugStringA(gay);*/
|
||||
|
||||
if ((force == 0x10) || (force == 0x0B) || (force == 0x04))
|
||||
{
|
||||
double percentForce = SpeedStrength / 100.0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user