mirror of
https://github.com/PodeCaradox/GalaxyQuest-SteamFrame.git
synced 2026-10-19 09:01:20 +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>
27 lines
657 B
C++
27 lines
657 B
C++
#pragma once
|
|
|
|
#include "Game/Camera/Camera.hpp"
|
|
|
|
class CameraGround : public Camera {
|
|
public:
|
|
CameraGround(const char* pName = "\x92\x6e\x96\xca\x83\x4a\x83\x81\x83\x89");
|
|
|
|
virtual void reset();
|
|
virtual CameraTargetObj* calc();
|
|
virtual CamTranslatorBase* createTranslator();
|
|
|
|
void setParam(const TVec2f& angle, f32 dist, const TVec3f& rUp) {
|
|
mAngleA = angle.x;
|
|
mAngleB = angle.y;
|
|
mDist = dist;
|
|
mUp.set(rUp);
|
|
}
|
|
|
|
/* 0x4C */ f32 mAngleA;
|
|
/* 0x50 */ f32 mAngleB;
|
|
/* 0x54 */ f32 mDist;
|
|
/* 0x58 */ TVec3f mUp;
|
|
/* 0x64 */ TVec3f mLastWatchPoint;
|
|
/* 0x70 */ bool mIsNotInitialized;
|
|
};
|