Fix building all_source and all_source_host

Former-commit-id: 0ac742bdd8
This commit is contained in:
Henrique Gemignani Passos Lima 2023-02-07 03:01:35 +02:00
parent 92fdc5d033
commit cc3ae8e11c
3 changed files with 4 additions and 3 deletions

View File

@ -20,7 +20,7 @@ public:
~CGameCamera() override; ~CGameCamera() override;
void Accept(IVisitor& visitor) override; void Accept(IVisitor& visitor) override;
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, CStateManager& mgr) override; void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, CStateManager& mgr) override;
void SetActive(uchar active) override; void SetActive(const bool active) override;
// CGameCamera // CGameCamera
virtual void ProcessInput(const CFinalInput&, CStateManager& mgr) = 0; virtual void ProcessInput(const CFinalInput&, CStateManager& mgr) = 0;

View File

@ -29,7 +29,9 @@
* *
*/ */
#ifndef _MSC_VER
#include <stdlib.h> #include <stdlib.h>
#endif
extern "C" int abs(int); extern "C" int abs(int);
#include <Kyoto/Audio/g721.h> #include <Kyoto/Audio/g721.h>
@ -456,4 +458,3 @@ g721_decoder(int i,
return (sr << 2); /* sr was 14-bit dynamic range */ return (sr << 2); /* sr was 14-bit dynamic range */
} }

View File

@ -13,7 +13,7 @@
CBSAttack::CBSAttack() CBSAttack::CBSAttack()
: x4_nextState(pas::kAS_Invalid) : x4_nextState(pas::kAS_Invalid)
// , x8_slide(CBCSlideCmd()) , x8_slide(pas::kSlide_Invalid, CVector3f::Zero())
, x20_targetPos(CVector3f::Zero()) , x20_targetPos(CVector3f::Zero())
, x2c_alignTargetPosStartTime(-1.f) , x2c_alignTargetPosStartTime(-1.f)
, x30_alignTargetPosTime(-1.f) , x30_alignTargetPosTime(-1.f)