mirror of
https://github.com/PodeCaradox/GalaxyQuest-SteamFrame.git
synced 2026-10-21 03:01:27 +02:00
A native port built on the Petari decompilation (previous commit): an HLE platform layer (OS, DVD, GX, audio, input, NAND) under the game's own code, an OpenXR presentation (a diorama around the player, a giant screen, the HUD and settings as compositor layers, SpaceWarp, dynamic resolution), Touch Plus controls, the tools that convert your own game files (tools/cook, which also takes the few pieces of data the game's executable holds from your sys/main.dol), and the port's changes to the decompilation (`git diff petari-base -- decomp`). README.md explains installing and building, docs/TECHNICAL.md how it works. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
39 lines
932 B
C++
39 lines
932 B
C++
#pragma once
|
|
|
|
#include "Game/Screen/WipeLayoutBase.hpp"
|
|
|
|
class WipeRing : public WipeLayoutBase {
|
|
public:
|
|
WipeRing(bool, const char*);
|
|
|
|
virtual void init(const JMapInfoIter&);
|
|
#ifdef TARGET_PC
|
|
virtual void draw() const;
|
|
#endif
|
|
virtual void wipe(s32);
|
|
virtual void forceClose();
|
|
virtual void forceOpen();
|
|
virtual bool isOpen() const;
|
|
virtual bool isClose() const;
|
|
virtual bool isWipeIn() const;
|
|
virtual bool isWipeOut() const;
|
|
|
|
void setCenterPos(const TVec3f&);
|
|
void startAnim(const char*);
|
|
bool getMarioCenterPos(TVec3f*);
|
|
f32 calcRadius() const;
|
|
f32 calcMaxRadius() const;
|
|
void updatePlayerPos();
|
|
void exeClose();
|
|
void exeWipeIn();
|
|
void exeOpen();
|
|
void exeWipeOut();
|
|
|
|
private:
|
|
/* 0x20 */ TVec2f mCenterPos;
|
|
/* 0x28 */ s32 mAnimFrame;
|
|
/* 0x2C */ f32 mWipeOutFrame;
|
|
/* 0x30 */ f32 mWipeInFrame;
|
|
/* 0x34 */ bool mIsCenterOnPlayer;
|
|
};
|