mirror of https://github.com/PrimeDecomp/prime.git
Fix build
This commit is contained in:
parent
1b6a756648
commit
3d73c595c0
|
@ -7,8 +7,11 @@
|
|||
#include "Kyoto/Math/CVector3f.hpp"
|
||||
#include "Kyoto/TToken.hpp"
|
||||
|
||||
#include "rstl/optional_object.hpp"
|
||||
|
||||
class CScriptWater;
|
||||
class CStateManager;
|
||||
class CTexture;
|
||||
|
||||
extern "C" uint sub_8012f098();
|
||||
|
||||
|
@ -44,7 +47,7 @@ public:
|
|||
// GetTexturePattern1__11CFluidPlaneCFv
|
||||
// HasTexturePattern1__11CFluidPlaneCFv
|
||||
|
||||
// protected:
|
||||
protected:
|
||||
virtual void RenderStripWithRipples(const CFluidPlaneCPURender::SHFieldSample& heights,
|
||||
const unsigned char& flags, float curY, int startYDiv,
|
||||
const CFluidPlaneCPURender::SPatchInfo& info);
|
||||
|
|
|
@ -189,7 +189,7 @@ CIOWin::EMessageReturn CCredits::Update(float dt, CArchitectureQueue& queue) {
|
|||
|
||||
CIOWin::EMessageReturn CCredits::ProcessUserInput(const CFinalInput& input) {
|
||||
if (input.DA()) {
|
||||
x48_ = CMath::Clamp(0.f, x48_ - ((x50_ * input.DeltaTime())), x4c_);
|
||||
x48_ = CMath::Clamp(0.f, x48_ - ((x50_ * input.Time())), x4c_);
|
||||
} else {
|
||||
float leftY = input.ALAUp();
|
||||
float offset = 0.f;
|
||||
|
@ -197,7 +197,7 @@ CIOWin::EMessageReturn CCredits::ProcessUserInput(const CFinalInput& input) {
|
|||
offset = -leftY;
|
||||
leftY = 0.f;
|
||||
}
|
||||
x48_ = CMath::Clamp(0.f, x48_ - (leftY - offset) * 10.f * x50_ * input.DeltaTime(), x4c_);
|
||||
x48_ = CMath::Clamp(0.f, x48_ - (leftY - offset) * 10.f * x50_ * input.Time(), x4c_);
|
||||
}
|
||||
return kMR_Exit;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue