2020-10-10 02:42:06 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
2019-12-29 17:39:19 -05:00
|
|
|
#include "EGpDisplayDriverType.h"
|
|
|
|
|
#include "EGpAudioDriverType.h"
|
2020-09-12 11:52:19 -04:00
|
|
|
#include "EGpFontHandlerType.h"
|
2020-05-29 21:56:33 -04:00
|
|
|
#include "EGpInputDriverType.h"
|
|
|
|
|
|
2020-10-10 02:42:06 -04:00
|
|
|
#include <stdint.h>
|
2021-03-18 17:08:11 -04:00
|
|
|
#include <stddef.h>
|
2020-10-10 02:42:06 -04:00
|
|
|
|
2020-09-28 09:58:19 -04:00
|
|
|
struct IGpLogDriver;
|
2020-11-25 12:05:59 -05:00
|
|
|
struct IGpSystemServices;
|
2021-04-28 01:46:07 -04:00
|
|
|
struct IGpAllocator;
|
2020-10-10 02:42:06 -04:00
|
|
|
|
|
|
|
|
struct GpGlobalConfig
|
|
|
|
|
{
|
2019-12-22 00:35:30 -05:00
|
|
|
EGpDisplayDriverType m_displayDriverType;
|
2019-12-29 17:39:19 -05:00
|
|
|
EGpAudioDriverType m_audioDriverType;
|
2020-09-12 11:52:19 -04:00
|
|
|
EGpFontHandlerType m_fontHandlerType;
|
|
|
|
|
|
2019-12-29 17:39:19 -05:00
|
|
|
const EGpInputDriverType *m_inputDriverTypes;
|
|
|
|
|
size_t m_numInputDrivers;
|
|
|
|
|
|
2020-05-29 21:56:33 -04:00
|
|
|
IGpLogDriver *m_logger;
|
2020-11-25 12:05:59 -05:00
|
|
|
IGpSystemServices *m_systemServices;
|
2021-04-28 01:46:07 -04:00
|
|
|
IGpAllocator *m_allocator;
|
2020-10-10 02:42:06 -04:00
|
|
|
void *m_osGlobals;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
extern GpGlobalConfig g_gpGlobalConfig;
|