mirror of
https://github.com/PodeCaradox/GalaxyQuest-SteamFrame.git
synced 2026-10-24 16:02:31 +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>
31 lines
844 B
C++
31 lines
844 B
C++
#pragma once
|
|
|
|
#include "Game/LiveActor/LiveActor.hpp"
|
|
#include <JSystem/JGeometry/TVec.hpp>
|
|
|
|
class FireBall : public LiveActor {
|
|
public:
|
|
FireBall(const char* = "\x83\x74\x83\x40\x83\x43\x83\x41\x81\x5b\x83\x7b\x81\x5b\x83\x8b");
|
|
|
|
virtual void init(const JMapInfoIter&);
|
|
virtual void appear();
|
|
virtual void kill();
|
|
virtual void control();
|
|
virtual void calcAndSetBaseMtx();
|
|
virtual void attackSensor(HitSensor*, HitSensor*);
|
|
virtual bool receiveMsgPlayerAttack(u32, HitSensor*, HitSensor*);
|
|
|
|
void initHitSensors(const char*);
|
|
void appearAndThrow(const TVec3f&, f32, f32);
|
|
HitSensor* isBindedAny() const;
|
|
void setVelocityToPlayer(f32);
|
|
void calcReflectVelocity();
|
|
bool tryToKill();
|
|
|
|
void exeThrow();
|
|
void exeReflect();
|
|
|
|
/* 0x8C */ LiveActor* mHost;
|
|
/* 0x90 */ TVec3f mUp;
|
|
};
|