diff options
Diffstat (limited to '')
-rw-r--r-- | src/control/Bridge.cpp | 6 | ||||
-rw-r--r-- | src/control/Pickups.cpp | 6 | ||||
-rw-r--r-- | src/core/Camera.cpp | 2 | ||||
-rw-r--r-- | src/peds/Ped.cpp | 4 | ||||
-rw-r--r-- | src/render/Credits.cpp | 626 | ||||
-rw-r--r-- | src/render/Fluff.cpp | 38 |
6 files changed, 341 insertions, 341 deletions
diff --git a/src/control/Bridge.cpp b/src/control/Bridge.cpp index 31214207..6a577449 100644 --- a/src/control/Bridge.cpp +++ b/src/control/Bridge.cpp @@ -60,7 +60,7 @@ void CBridge::Update() if (timeElapsed < 10000) { State = STATE_LIFT_PART_MOVING_DOWN; - liftHeight = 25.0 - timeElapsed / 10000.0 * 25.0f; + liftHeight = 25.0f - timeElapsed / 10000.0f * 25.0f; } else if (timeElapsed < 40000) { @@ -75,7 +75,7 @@ void CBridge::Update() else if (timeElapsed < 60000) { State = STATE_LIFT_PART_MOVING_UP; - liftHeight = (timeElapsed - 50000) / 10000.0 * 25.0f; + liftHeight = (timeElapsed - 50000) / 10000.0f * 25.0f; } else { @@ -151,4 +151,4 @@ STARTPATCHES InjectHook(0x413D10, &CBridge::ShouldLightsBeFlashing, PATCH_JUMP); InjectHook(0x413D20, &CBridge::FindBridgeEntities, PATCH_JUMP); InjectHook(0x413DE0, &CBridge::ThisIsABridgeObjectMovingUp, PATCH_JUMP); -ENDPATCHES
\ No newline at end of file +ENDPATCHES diff --git a/src/control/Pickups.cpp b/src/control/Pickups.cpp index b4ec7a0b..c53cab3f 100644 --- a/src/control/Pickups.cpp +++ b/src/control/Pickups.cpp @@ -704,9 +704,9 @@ CPickups::DoPickUpEffects(CEntity *entity) aWeaponReds[colorId] * colorModifier, aWeaponGreens[colorId] * colorModifier, aWeaponBlues[colorId] * colorModifier,
4.0f, 1.0f, 40.0f, false, 0.0f);
- float radius = (double)(rand() & 0xF) * 0.1 + 3.0f;
+ float radius = (rand() & 0xF) * 0.1f + 3.0f;
CPointLights::AddLight(CPointLights::LIGHT_POINT, pos, CVector(0.0f, 0.0f, 0.0f), radius, aWeaponReds[colorId] * modifiedSin / 256.0f, aWeaponGreens[colorId] * modifiedSin / 256.0f, aWeaponBlues[colorId] * modifiedSin / 256.0f, CPointLights::FOG_NONE, true);
- float size = (double)(rand() & 0xF) * 0.0005 + 0.6;
+ float size = (rand() & 0xF) * 0.0005f + 0.6f;
CCoronas::RegisterCorona( (uintptr)entity,
aWeaponReds[colorId] * modifiedSin / 2.0f, aWeaponGreens[colorId] * modifiedSin / 2.0f, aWeaponBlues[colorId] * modifiedSin / 2.0f,
255,
@@ -1044,4 +1044,4 @@ STARTPATCHES InjectHook(0x433E40, CPickups::Save, PATCH_JUMP);
InjectHook(0x433BA0, &CPickup::GiveUsAPickUpObject, PATCH_JUMP);
InjectHook(0x430860, &CPickup::Update, PATCH_JUMP);
-ENDPATCHES
\ No newline at end of file +ENDPATCHES
diff --git a/src/core/Camera.cpp b/src/core/Camera.cpp index fc056038..75e52c5f 100644 --- a/src/core/Camera.cpp +++ b/src/core/Camera.cpp @@ -428,7 +428,7 @@ CCam::Process_FollowPed(const CVector &CameraTarget, float TargetOrientation, fl if(TheCamera.PedZoomIndicator == 3.0f) RealGroundDist = 4.704914f; if(TheCamera.PedZoomIndicator == 4.0f) RealGroundDist = 2.090556f; if(m_fCloseInPedHeightOffset > 0.00001f) - RealGroundDist = 1.7016; + RealGroundDist = 1.7016f; bool Shooting = false; diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp index 45590b07..7fc83be3 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -10169,7 +10169,7 @@ CPed::ProcessControl(void) } if (!bIsStanding && m_vecMoveSpeed.z > 0.25f) { - double airResistance = Pow(0.95, CTimer::GetTimeStep()); + float airResistance = Pow(0.95f, CTimer::GetTimeStep()); m_vecMoveSpeed *= airResistance; } @@ -15048,7 +15048,7 @@ CPed::ProcessBuoyancy(void) m_vecMoveSpeed.y *= speedMult; if (m_vecMoveSpeed.z >= -0.1f) { if (m_vecMoveSpeed.z < -0.04f) - m_vecMoveSpeed.z = -0.02; + m_vecMoveSpeed.z = -0.02f; } else { m_vecMoveSpeed.z = -0.01f; DMAudio.PlayOneShot(m_audioEntityId, SOUND_SPLASH, 0.0f); diff --git a/src/render/Credits.cpp b/src/render/Credits.cpp index 8f4e2270..b423fcc0 100644 --- a/src/render/Credits.cpp +++ b/src/render/Credits.cpp @@ -68,199 +68,199 @@ CCredits::Render(void) CFont::SetColor(CRGBA(220, 220, 220, 220)); CFont::SetFontStyle(FONT_HEADING); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED002"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED003"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED004"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED005"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED006"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED007"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED008"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED009"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED010"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED011"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED012"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED013"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED014"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED015"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED016"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED017"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED018"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED019"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.4, 0.82, TheText.Get("CRED020"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED021"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED022"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED245"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED023"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED024"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED025"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED026"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED027"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED028"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED257"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED029"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED030"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED031"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED032"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED033"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED244"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED034"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED035"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED247"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED036"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED037"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED038"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED039"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED040"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.4, 0.82, TheText.Get("CRED041"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED002"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED003"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED004"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED005"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED006"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED007"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED008"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED009"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED010"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED011"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED012"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED013"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED014"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED015"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED016"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED017"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED018"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED019"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.4f, 0.82f, TheText.Get("CRED020"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED021"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED022"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED245"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED023"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED024"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED025"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED026"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED027"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED028"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED257"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED029"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED030"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED031"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED032"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED033"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED244"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED034"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED035"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED247"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED036"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED037"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED038"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED039"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED040"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.4f, 0.82f, TheText.Get("CRED041"), lineoffset, scrolloffset); if(CMenuManager::m_PrefsLanguage == LANGUAGE_ITALIAN) PrintCreditSpace(1.5, lineoffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED042"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED043"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED042"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED043"), lineoffset, scrolloffset); if(CMenuManager::m_PrefsLanguage == LANGUAGE_ITALIAN) PrintCreditSpace(1.5, lineoffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED044"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED045"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED046"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED047"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED048"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED049"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED050"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRD050A"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED051"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED052"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED053"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED054"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED055"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED056"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED248"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED249"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED250"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED251"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED252"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED253"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED057"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED058"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED059"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED254"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED255"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED060"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED061"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED044"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED045"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED046"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED047"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED048"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED049"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED050"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRD050A"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED051"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED052"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED053"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED054"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED055"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED056"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED248"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED249"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED250"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED251"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED252"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED253"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED057"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED058"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED059"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED254"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED255"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED060"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED061"), lineoffset, scrolloffset); if(CMenuManager::m_PrefsLanguage == LANGUAGE_ITALIAN) PrintCreditSpace(1.5, lineoffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED062"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED063"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED064"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED065"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED062"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED063"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED064"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED065"), lineoffset, scrolloffset); PrintCreditSpace(1.5, lineoffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED066"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED067"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED068"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED069"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED066"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED067"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED068"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED069"), lineoffset, scrolloffset); if(CMenuManager::m_PrefsLanguage == LANGUAGE_ITALIAN) PrintCreditSpace(1.5, lineoffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED070"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED071"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED070"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED071"), lineoffset, scrolloffset); PrintCreditSpace(1.5, lineoffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED072"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED073"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED072"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED073"), lineoffset, scrolloffset); PrintCreditSpace(1.5, lineoffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED074"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED075"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED076"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED077"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED078"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED079"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED080"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED081"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED082"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED083"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED084"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED242"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED259"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED260"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED261"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED262"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED085"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED074"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED075"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED076"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED077"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED078"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED079"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED080"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED081"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED082"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED083"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED084"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED242"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED259"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED260"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED261"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED262"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED085"), lineoffset, scrolloffset); if(CMenuManager::m_PrefsLanguage == LANGUAGE_ITALIAN) PrintCreditSpace(1.5, lineoffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED086"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.4, 0.82, TheText.Get("CRED087"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED086"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.4f, 0.82f, TheText.Get("CRED087"), lineoffset, scrolloffset); PrintCreditSpace(1.5, lineoffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED088"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED089"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED088"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED089"), lineoffset, scrolloffset); PrintCreditSpace(1.5, lineoffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED090"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED091"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED094"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED095"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED096"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED097"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED098"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED099"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED263"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED264"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED265"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED267"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED270"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED266"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.4, 0.82, TheText.Get("CRED100"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED090"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED091"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED094"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED095"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED096"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED097"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED098"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED099"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED263"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED264"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED265"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED267"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED270"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED266"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.4f, 0.82f, TheText.Get("CRED100"), lineoffset, scrolloffset); PrintCreditSpace(1.5, lineoffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED101"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED102"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED103"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED104"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED105"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED106"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED268"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED269"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED107"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED101"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED102"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED103"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED104"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED105"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED106"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED268"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED269"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED107"), lineoffset, scrolloffset); PrintCreditSpace(1.5, lineoffset); PrintCreditText(1.0, 1.0, TheText.Get("CRED108"), lineoffset, scrolloffset); PrintCreditSpace(1.0, lineoffset); @@ -268,8 +268,8 @@ CCredits::Render(void) if(CMenuManager::m_PrefsLanguage == LANGUAGE_ITALIAN) PrintCreditSpace(1.0, lineoffset); PrintCreditText(1.0, 1.0, TheText.Get("CRED110"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED111"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED111"), lineoffset, scrolloffset); PrintCreditText(1.0, 1.0, TheText.Get("CRED112"), lineoffset, scrolloffset); if(CMenuManager::m_PrefsLanguage == LANGUAGE_ITALIAN) PrintCreditSpace(1.0, lineoffset); @@ -337,152 +337,152 @@ CCredits::Render(void) if(CMenuManager::m_PrefsLanguage == LANGUAGE_ITALIAN) PrintCreditSpace(1.0, lineoffset); PrintCreditText(1.0, 1.0, TheText.Get("CRED134"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED135"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED136"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRD136A"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED137"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRD137A"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED138"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRD138A"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRD138B"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED135"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED136"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRD136A"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED137"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRD137A"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED138"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRD138A"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRD138B"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); PrintCreditText(1.0, 1.0, TheText.Get("CRED139"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.7, 1.0, TheText.Get("CRED140"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRD140A"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRD140B"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRD140C"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRD140D"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRD140E"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.4, 0.82, TheText.Get("CRED141"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.7f, 1.0f, TheText.Get("CRED140"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRD140A"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRD140B"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRD140C"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRD140D"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRD140E"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.4f, 0.82f, TheText.Get("CRED141"), lineoffset, scrolloffset); PrintCreditText(1.0, 1.0, TheText.Get("CRED142"), lineoffset, scrolloffset); PrintCreditSpace(1.0, lineoffset); PrintCreditText(1.0, 1.0, TheText.Get("CRED143"), lineoffset, scrolloffset); PrintCreditSpace(1.0, lineoffset); PrintCreditText(1.0, 1.0, TheText.Get("CRED144"), lineoffset, scrolloffset); PrintCreditSpace(1.0, lineoffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.4, 0.82, TheText.Get("CRED145"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED146"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED147"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED148"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED149"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED150"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED151"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED152"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED153"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED154"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED155"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED156"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED157"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED158"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED159"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED160"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED161"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED162"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED163"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED164"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED165"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED166"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED167"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED168"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED169"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED170"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED171"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED172"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED173"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED174"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED175"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED176"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED177"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED178"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED179"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED180"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED181"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED182"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED183"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED184"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED185"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED186"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED187"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED188"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED189"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED190"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED191"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED192"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED193"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED194"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED195"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED196"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED197"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED198"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED199"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED200"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED201"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED202"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED203"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED204"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED205"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED206"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED207"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED208"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED209"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED210"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED211"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED212"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED213"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED214"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED215"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED216"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED241"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.4, 0.82, TheText.Get("CRED217"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.4f, 0.82f, TheText.Get("CRED145"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED146"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED147"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED148"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED149"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED150"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED151"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED152"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED153"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED154"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED155"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED156"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED157"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED158"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED159"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED160"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED161"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED162"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED163"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED164"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED165"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED166"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED167"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED168"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED169"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED170"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED171"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED172"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED173"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED174"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED175"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED176"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED177"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED178"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED179"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED180"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED181"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED182"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED183"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED184"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED185"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED186"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED187"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED188"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED189"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED190"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED191"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED192"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED193"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED194"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED195"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED196"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED197"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED198"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED199"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED200"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED201"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED202"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED203"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED204"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED205"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED206"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED207"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED208"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED209"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED210"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED211"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED212"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED213"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED214"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED215"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED216"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED241"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.4f, 0.82f, TheText.Get("CRED217"), lineoffset, scrolloffset); PrintCreditSpace(1.5, lineoffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.4, 0.82, TheText.Get("CRED218"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.4f, 0.82f, TheText.Get("CRED218"), lineoffset, scrolloffset); PrintCreditSpace(1.5, lineoffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRD218A"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRD218B"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.4, 0.82, TheText.Get("CRED219"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRD218A"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRD218B"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.4f, 0.82f, TheText.Get("CRED219"), lineoffset, scrolloffset); PrintCreditSpace(1.5, lineoffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED220"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.4, 0.82, TheText.Get("CRED221"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED220"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.4f, 0.82f, TheText.Get("CRED221"), lineoffset, scrolloffset); PrintCreditSpace(1.5, lineoffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED222"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.4, 0.82, TheText.Get("CRED223"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED224"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED225"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED226"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.4, 0.82, TheText.Get("CRED227"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED222"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.4f, 0.82f, TheText.Get("CRED223"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED224"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED225"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED226"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.4f, 0.82f, TheText.Get("CRED227"), lineoffset, scrolloffset); PrintCreditSpace(1.5, lineoffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED228"), lineoffset, scrolloffset); - PrintCreditText(1.7, 1.7, TheText.Get("CRED229"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditText(1.4, 0.82, TheText.Get("CRED230"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED231"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED232"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED233"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED234"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED235"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED236"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED237"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED238"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED239"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED240"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("LITTLE"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("NICK"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED243"), lineoffset, scrolloffset); - PrintCreditText(1.4, 1.4, TheText.Get("CRED244"), lineoffset, scrolloffset); - PrintCreditSpace(2.0, lineoffset); - PrintCreditSpace(2.0, lineoffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED228"), lineoffset, scrolloffset); + PrintCreditText(1.7f, 1.7f, TheText.Get("CRED229"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditText(1.4f, 0.82f, TheText.Get("CRED230"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED231"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED232"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED233"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED234"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED235"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED236"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED237"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED238"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED239"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED240"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("LITTLE"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("NICK"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED243"), lineoffset, scrolloffset); + PrintCreditText(1.4f, 1.4f, TheText.Get("CRED244"), lineoffset, scrolloffset); + PrintCreditSpace(2.0f, lineoffset); + PrintCreditSpace(2.0f, lineoffset); CFont::DrawFonts(); diff --git a/src/render/Fluff.cpp b/src/render/Fluff.cpp index e0db5732..8d7fad92 100644 --- a/src/render/Fluff.cpp +++ b/src/render/Fluff.cpp @@ -106,17 +106,17 @@ void CMovingThings::Init() Num = 0; // Initialize scroll bars - aScrollBars[0].Init(CVector( 228.3f, -669.0f, 39.0f ), SCROLL_BUSINESS, 0.0, 0.5, 0.5, 255, 128, 0, 0.3); - aScrollBars[1].Init(CVector( 772.0f, 164.0f, -9.5f ), SCROLL_TRAFFIC, 0.0, 0.5, 0.25, 128, 255, 0, 0.3); - aScrollBars[2].Init(CVector(-1089.61f, -584.224f, 13.246f), SCROLL_AIRPORT_DOORS, 0.0, -0.1706, 0.107, 255, 0, 0, 0.11); - aScrollBars[3].Init(CVector(-1089.61f, -602.04602f, 13.246f), SCROLL_AIRPORT_DOORS, 0.0, -0.1706, 0.107, 0, 255, 0, 0.11); - aScrollBars[4].Init(CVector(-1089.61f, -619.81702f, 13.246f), SCROLL_AIRPORT_DOORS, 0.0, -0.1706, 0.107, 255, 128, 0, 0.11); - aScrollBars[5].Init(CVector(-754.578f, -633.50897f, 18.411f), SCROLL_AIRPORT_FRONT, 0.0, 0.591, 0.52, 100, 100, 255, 0.3); - aScrollBars[6].Init(CVector( -754.578f, -586.672f, 18.411f), SCROLL_AIRPORT_FRONT, 0.0, 0.591, 0.52, 100, 100, 255, 0.3); - aScrollBars[7].Init(CVector( 85.473f, -1069.512f, 30.5f ), SCROLL_STORE, 0.625, -0.3125, 0.727, 100, 100, 255, 0.5); - aScrollBars[8].Init(CVector( 74.823f, -1086.879f, 31.495f), SCROLL_ENTERTAINMENT, -0.2083, 0.1041, 0.5, 255, 255, 128, 0.3); - aScrollBars[9].Init(CVector( -36.459f, -1031.2371f, 32.534f), SCROLL_ENTERTAINMENT, -0.1442, 0.0721, 0.229, 150, 255, 50, 0.3); - aScrollBars[10].Init(CVector( 1208.0f, -62.208f, 19.157f), SCROLL_USED_CARS, 0.0642, -0.20365, 0.229, 255, 128, 0, 0.3); + aScrollBars[0].Init(CVector( 228.3f, -669.0f, 39.0f ), SCROLL_BUSINESS, 0.0f, 0.5f, 0.5f, 255, 128, 0, 0.3f); + aScrollBars[1].Init(CVector( 772.0f, 164.0f, -9.5f ), SCROLL_TRAFFIC, 0.0f, 0.5f, 0.25f, 128, 255, 0, 0.3f); + aScrollBars[2].Init(CVector(-1089.61f, -584.224f, 13.246f), SCROLL_AIRPORT_DOORS, 0.0f, -0.1706f, 0.107f, 255, 0, 0, 0.11f); + aScrollBars[3].Init(CVector(-1089.61f, -602.04602f, 13.246f), SCROLL_AIRPORT_DOORS, 0.0f, -0.1706f, 0.107f, 0, 255, 0, 0.11f); + aScrollBars[4].Init(CVector(-1089.61f, -619.81702f, 13.246f), SCROLL_AIRPORT_DOORS, 0.0f, -0.1706f, 0.107f, 255, 128, 0, 0.11f); + aScrollBars[5].Init(CVector(-754.578f, -633.50897f, 18.411f), SCROLL_AIRPORT_FRONT, 0.0f, 0.591f, 0.52f, 100, 100, 255, 0.3f); + aScrollBars[6].Init(CVector( -754.578f, -586.672f, 18.411f), SCROLL_AIRPORT_FRONT, 0.0f, 0.591f, 0.52f, 100, 100, 255, 0.3f); + aScrollBars[7].Init(CVector( 85.473f, -1069.512f, 30.5f ), SCROLL_STORE, 0.625f, -0.3125f, 0.727f, 100, 100, 255, 0.5f); + aScrollBars[8].Init(CVector( 74.823f, -1086.879f, 31.495f), SCROLL_ENTERTAINMENT, -0.2083f, 0.1041f, 0.5f, 255, 255, 128, 0.3f); + aScrollBars[9].Init(CVector( -36.459f, -1031.2371f, 32.534f), SCROLL_ENTERTAINMENT, -0.1442f, 0.0721f, 0.229f, 150, 255, 50, 0.3f); + aScrollBars[10].Init(CVector( 1208.0f, -62.208f, 19.157f), SCROLL_USED_CARS, 0.0642f, -0.20365f, 0.229f, 255, 128, 0, 0.3f); // Initialize tower clocks aTowerClocks[0].Init(CVector(59.4f, -1081.3f, 54.15f), -1.0f, 0.0f, 0, 0, 0, 80.0f, 2.0f); @@ -406,9 +406,9 @@ void CScrollBar::Update() m_pMessage = "KEEP YOUR EYES ON THE ROAD AND NOT ON THIS SIGN "; break; case 4: - if (CWeather::Foggyness > 0.5) + if (CWeather::Foggyness > 0.5f) m_pMessage = "POOR VISIBILITY ! "; - else if (CWeather::WetRoads > 0.5) + else if (CWeather::WetRoads > 0.5f) m_pMessage = "ROADS ARE SLIPPERY ! "; else m_pMessage = "ENJOY YOUR TRIP "; @@ -562,7 +562,7 @@ void CScrollBar::Update() "ONE FOR ALL THE FAMILY. . . "; break; case 9: - m_pMessage = (char*)FindTimeMessage(); + m_pMessage = FindTimeMessage(); break; } } @@ -686,7 +686,7 @@ void CScrollBar::Render() r / 2, g / 2, b / 2, - 255, 1.0 / screenCoord.z, 255); + 255, 1.0f / screenCoord.z, 255); } } } @@ -849,11 +849,11 @@ void CDigitalClock::Render() { CSprite::RenderBufferedOneXLUSprite( screenCoord.x, screenCoord.y, screenCoord.z, - screenW * m_fScale * 0.12, - screenW * m_fScale * 0.12, + screenW * m_fScale * 0.12f, + screenW * m_fScale * 0.12f, r, g, b, 255, - 1.0 / screenCoord.z, + 1.0f / screenCoord.z, 255); } } @@ -891,4 +891,4 @@ InjectHook(0x5001D0, &CTowerClock::Render, PATCH_JUMP); InjectHook(0x5004F0, &CDigitalClock::Init, PATCH_JUMP); InjectHook(0x500550, &CDigitalClock::Update, PATCH_JUMP); InjectHook(0x5005F0, &CDigitalClock::Render, PATCH_JUMP); -ENDPATCHES
\ No newline at end of file +ENDPATCHES |