mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-30 13:23:36 +00:00
20 lines
597 B
C
20 lines
597 B
C
#pragma once
|
|
|
|
#include "IPlatformFileIO.h"
|
|
#include "IPlatformInput.h"
|
|
#include "IPlatformLeaderboard.h"
|
|
#include "IPlatformNetwork.h"
|
|
#include "IPlatformProfile.h"
|
|
#include "IPlatformRenderer.h"
|
|
#include "IPlatformStorage.h"
|
|
|
|
// Interface references to platform services. Game code uses these
|
|
// instead of concrete globals directly. Bindings are established
|
|
// by the app layer at startup.
|
|
|
|
extern IPlatformFileIO& PlatformFileIO;
|
|
extern IPlatformInput& PlatformInput;
|
|
extern IPlatformProfile& PlatformProfile;
|
|
extern IPlatformRenderer& PlatformRender;
|
|
extern IPlatformStorage& PlatformStorage;
|