mirror of
https://github.com/PodeCaradox/GalaxyQuest-SteamFrame.git
synced 2026-10-18 14:01:12 +02:00
The sources of Petari (https://github.com/SMGCommunity/Petari), the Super Mario Galaxy decompilation by the SMGCommunity, at commit 0a5c6608dc3b4c44a9aa68c2535d1793dc565f02, unchanged but for LF line endings: LICENSE (as LICENSE-Petari.txt; CC0 1.0), include/, libs/ and src/. Left out: the game data Petari keeps from the original executable, the error message archive (include/Game/System/ ErrorArchive.hpp) and two tables (src/Game/System/GalaxyID.bcsv and StoryEvent.bcsv); GalaxyQuest's converter takes them from the player's own disc. The port's changes follow in the next commit, so `git diff petari-base -- decomp` shows them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
37 lines
996 B
C++
37 lines
996 B
C++
#pragma once
|
|
|
|
#include "Game/Map/LightDataHolder.hpp"
|
|
#include "Game/Map/LightZoneDataHolder.hpp"
|
|
|
|
class LiveActor;
|
|
class DrawBuffer;
|
|
|
|
class ActorLightCtrl {
|
|
public:
|
|
ActorLightCtrl(const LiveActor*);
|
|
|
|
void init(int, bool);
|
|
void update(bool);
|
|
void loadLight() const;
|
|
void reset();
|
|
void copy(const ActorLightCtrl*);
|
|
bool isSameLight(const ActorLightCtrl*) const;
|
|
const ActorLightInfo* getActorLight() const;
|
|
void initActorLightInfo() NO_INLINE;
|
|
void tryFindNewAreaLight(bool);
|
|
void updateLightBlend();
|
|
void resetCurrentLightInfo();
|
|
const ActorLightInfo* getTargetActorLight(const AreaLightInfo*) const;
|
|
|
|
/* 0x00 */ const LiveActor* mActor;
|
|
/* 0x04 */ s32 _4;
|
|
/* 0x08 */ DrawBuffer* _8;
|
|
/* 0x0C */ u8 _C;
|
|
/* 0x10 */ AreaLightInfo* mAreaLightInf;
|
|
/* 0x14 */ ZoneLightID mLightID;
|
|
/* 0x1C */ const ActorLightInfo* _1C;
|
|
/* 0x20 */ ActorLightInfo mLightInfo;
|
|
/* 0x50 */ s32 mInterpolate;
|
|
/* 0x54 */ s32 _54;
|
|
};
|