mirror of
https://github.com/PodeCaradox/GalaxyQuest-SteamFrame.git
synced 2026-10-19 22:01:21 +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>
36 lines
914 B
C++
36 lines
914 B
C++
#pragma once
|
|
|
|
#include "Game/Camera/Camera.hpp"
|
|
|
|
class CameraInwardTower : public Camera {
|
|
public:
|
|
CameraInwardTower(const char* pName = "\x93\x83\x93\xe0\x95\x94\x83\x4a\x83\x81\x83\x89");
|
|
virtual ~CameraInwardTower();
|
|
|
|
virtual void reset();
|
|
virtual CameraTargetObj* calc();
|
|
virtual bool isEnableToReset() const {
|
|
return true;
|
|
}
|
|
virtual CamTranslatorBase* createTranslator();
|
|
|
|
void calcIdealPose();
|
|
|
|
void setParam(const TVec3f& rWPoint, const TVec3f& rAxis, const TVec2f& angle, f32 dist) {
|
|
mWPoint.set(rWPoint);
|
|
mAxis.set(rAxis);
|
|
mAngleX = angle.x;
|
|
mAngleMax = angle.y;
|
|
mDist = dist;
|
|
}
|
|
|
|
/* 0x4C */ TVec3f mWPoint;
|
|
/* 0x58 */ TVec3f mAxis;
|
|
/* 0x64 */ f32 mAngleX;
|
|
/* 0x68 */ f32 mAngleMax;
|
|
/* 0x6C */ f32 mDist;
|
|
/* 0x70 */ TVec3f mPos;
|
|
/* 0x7C */ f32 mAngleY;
|
|
/* 0x80 */ bool mIsResetting;
|
|
};
|