mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-01-05 03:00:50 -06:00
* Implemented guest-to-host function pointers (WIP) Co-Authored-By: Skyth (Asilkan) <19259897+blueskythlikesclouds@users.noreply.github.com> * function: support more types for function pointers * api: ported BlueBlur headers and misc. research * Move over function-pointers changes from options-menu branch. --------- Co-authored-by: Skyth (Asilkan) <19259897+blueskythlikesclouds@users.noreply.github.com>
33 lines
742 B
C++
33 lines
742 B
C++
#pragma once
|
|
|
|
namespace Hedgehog::Database
|
|
{
|
|
class CDatabase;
|
|
}
|
|
|
|
namespace SWA
|
|
{
|
|
class CGameDocument : public Hedgehog::Base::CSynchronizedObject
|
|
{
|
|
public:
|
|
class CMember
|
|
{
|
|
public:
|
|
SWA_INSERT_PADDING(0x1C);
|
|
boost::shared_ptr<Hedgehog::Database::CDatabase> m_spDatabase;
|
|
SWA_INSERT_PADDING(0x8C);
|
|
xpointer<CSoundAdministrator> m_pSoundAdministrator;
|
|
SWA_INSERT_PADDING(0x158);
|
|
be<uint32_t> m_Score;
|
|
};
|
|
|
|
// TODO: Hedgehog::Base::TSynchronizedPtr<CGameDocument>
|
|
static CGameDocument* GetInstance();
|
|
|
|
xpointer<void> m_pVftable;
|
|
xpointer<CMember> m_pMember;
|
|
};
|
|
}
|
|
|
|
#include "GameDocument.inl"
|