mirror of
https://github.com/PodeCaradox/GalaxyQuest-SteamFrame.git
synced 2026-10-20 05:01:16 +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>
38 lines
1.1 KiB
C++
38 lines
1.1 KiB
C++
#pragma once
|
|
|
|
#include "Game/Camera/CameraTowerBase.hpp"
|
|
|
|
class CameraTowerPos : public CameraTowerBase {
|
|
public:
|
|
CameraTowerPos(const char* pName = "\x93\x83\x83\x4a\x83\x81\x83\x89\x81\x69\x83\x54\x83\x75\x83\x5e\x81\x5b\x83\x51\x83\x62\x83\x67\x95\x74\x82\xab\x81\x6a");
|
|
virtual ~CameraTowerPos();
|
|
|
|
virtual void reset();
|
|
virtual CameraTargetObj* calc();
|
|
virtual bool isEnableToReset() const {
|
|
return true;
|
|
}
|
|
virtual CamTranslatorBase* createTranslator();
|
|
|
|
void setParam(const TVec3f& wPoint, const TVec3f& axis, f32 dist, const TVec2f& angle, f32 angleXRate) {
|
|
mWPoint.set(wPoint);
|
|
mAxis.set(axis);
|
|
mDist = dist;
|
|
mAngleYMaxSpeed = angle.y;
|
|
mAngleX = angle.x;
|
|
mAngleXRate = angleXRate;
|
|
}
|
|
|
|
void calcIdealPose(bool);
|
|
void arrangeHorizontalPose(const TVec3f&, TVec3f&);
|
|
void arrangeWatchPos(TVec3f&, const TVec3f&);
|
|
|
|
/* 0x6C */ TVec3f mWPoint;
|
|
/* 0x78 */ TVec3f mAxis;
|
|
/* 0x84 */ f32 mAngleYMaxSpeed;
|
|
/* 0x88 */ f32 mAngleX;
|
|
/* 0x8C */ f32 mDist;
|
|
/* 0x90 */ f32 mAngleXRate;
|
|
/* 0x94 */ TVec3f mPos;
|
|
};
|