Files
bigmak94andClaude Opus 5.5 bd9bded792 GalaxyQuest: Super Mario Galaxy in VR on Meta Quest 3
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>
2026-10-01 01:59:38 +02:00

34 lines
992 B
C++

#pragma once
#include "Game/Camera/Camera.hpp"
class CameraCharmedVecReg : public Camera {
public:
CameraCharmedVecReg(const char* pName = "\x83\x78\x83\x4e\x83\x67\x83\x8b\x83\x8c\x83\x57\x83\x58\x83\x5e\x92\x8d\x96\xda\x83\x4a\x83\x81\x83\x89");
virtual void reset();
virtual CameraTargetObj* calc();
virtual CamTranslatorBase* createTranslator();
void setParam(const char* pName, f32 dist, f32 angleX, f32 angleYMax, f32 angleYMin, f32 distRatio, f32 angleRate) {
mName = pName;
mDist = dist;
if (mDist < 300.0f) {
mDist = 300.0f;
}
mAngleX = angleX;
mAngleYMin = angleYMin;
mAngleYMax = angleYMax;
mCamDistRatio = distRatio;
mCamAngleRate = angleRate;
}
/* 0x4C */ const char* mName;
/* 0x50 */ f32 mDist;
/* 0x54 */ f32 mAngleX;
/* 0x58 */ f32 mAngleYMin;
/* 0x5C */ f32 mAngleYMax;
/* 0x60 */ f32 mCamDistRatio;
/* 0x64 */ f32 mCamAngleRate;
};