mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-21 20:19:11 +00:00
CMoviePlayer progress
This commit is contained in:
@@ -1,20 +1,32 @@
|
||||
#ifndef _CMOVIEPLAYER
|
||||
#define _CMOVIEPLAYER
|
||||
|
||||
#include "Kyoto/CDvdFile.hpp"
|
||||
#include "types.h"
|
||||
|
||||
class CMoviePlayer {
|
||||
public:
|
||||
static void SetSfxVolume(uchar);
|
||||
static void SetSfxVolume(uchar);
|
||||
|
||||
CMoviePlayer(const char*, float, bool, bool);
|
||||
~CMoviePlayer();
|
||||
CMoviePlayer(const char*, float, bool, bool);
|
||||
~CMoviePlayer();
|
||||
|
||||
void Update(float);
|
||||
bool DrawVideo() const;
|
||||
void Update(float);
|
||||
bool DrawVideo() const;
|
||||
|
||||
private:
|
||||
char x0_pad[0x100];
|
||||
private:
|
||||
CDvdFile x0_movieFile;
|
||||
uint x84_;
|
||||
uint x88_;
|
||||
uint x8c_;
|
||||
uchar x90_;
|
||||
uint x94_;
|
||||
uint x98_;
|
||||
uint x9c_;
|
||||
uint xa0_;
|
||||
uint xa4_;
|
||||
uint xa8_;
|
||||
// char x0_pad[0x100];
|
||||
};
|
||||
|
||||
#endif // _CMOVIEPLAYER
|
||||
|
||||
@@ -12,6 +12,7 @@ class CNUQuaternion;
|
||||
|
||||
class CQuaternion {
|
||||
public:
|
||||
CQuaternion(CInputStream& in);
|
||||
CQuaternion(float w, float x, float y, float z) : w(w), imaginary(x, y, z) {}
|
||||
CQuaternion(float w, const CVector3f& imaginary) : w(w), imaginary(imaginary) {}
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
class CRelAngle {
|
||||
public:
|
||||
CRelAngle(float rad) : x0_angle(rad) {}
|
||||
float AsDegrees() const { return x0_angle * (180.f / M_PIF); }
|
||||
float AsRadians() const { return x0_angle; }
|
||||
// ArcCosine__9CRelAngleFf weak
|
||||
@@ -34,7 +35,6 @@ public:
|
||||
static CRelAngle FromRadians(float rad) { return CRelAngle(rad); }
|
||||
|
||||
private:
|
||||
CRelAngle(float rad) : x0_angle(rad) {}
|
||||
|
||||
float x0_angle;
|
||||
};
|
||||
|
||||
@@ -66,7 +66,7 @@ public:
|
||||
CModelData();
|
||||
CModelData(const CAnimRes&);
|
||||
CModelData(const CStaticRes&);
|
||||
// CModelData(const CModelData& other);
|
||||
CModelData(const CModelData& other);
|
||||
~CModelData();
|
||||
|
||||
CAdvancementDeltas AdvanceAnimation(float dt, CStateManager& mgr, TAreaId aid, bool advTree);
|
||||
|
||||
Reference in New Issue
Block a user