mirror of
https://github.com/PodeCaradox/GalaxyQuest-SteamFrame.git
synced 2026-10-19 10:01:18 +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>
30 lines
818 B
C++
30 lines
818 B
C++
#pragma once
|
|
|
|
#include "Game/Camera/Camera.hpp"
|
|
|
|
class CameraMtxRegParallel : public Camera {
|
|
public:
|
|
CameraMtxRegParallel(const char* pName = "\x83\x7d\x83\x67\x83\x8a\x83\x4e\x83\x58\x83\x8c\x83\x57\x83\x58\x83\x5e\x95\xc0\x8d\x73\x83\x4a\x83\x81\x83\x89");
|
|
virtual ~CameraMtxRegParallel();
|
|
|
|
virtual void reset();
|
|
virtual CameraTargetObj* calc();
|
|
virtual CamTranslatorBase* createTranslator();
|
|
|
|
void setParam(const char* str, f32 dist, const TVec2f& angle, const TVec3f& wPoint) {
|
|
mString = str;
|
|
mAngleX = angle.x;
|
|
mAngleY = angle.y;
|
|
mDist = dist;
|
|
mWPoint = wPoint;
|
|
}
|
|
|
|
void calcIdealPose();
|
|
|
|
/* 0x4C */ const char* mString;
|
|
/* 0x50 */ f32 mAngleX;
|
|
/* 0x54 */ f32 mAngleY;
|
|
/* 0x58 */ f32 mDist;
|
|
/* 0x5C */ TVec3f mWPoint;
|
|
};
|