coastline 0.0.4
Loading...
Searching...
No Matches
configuration.h
Go to the documentation of this file.
1#ifndef COASTLINE_EAR_CONFIGURATION_H
2#define COASTLINE_EAR_CONFIGURATION_H
3
4#include <stdint.h>
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
18int __stdcall ValidateEarTitleConfiguration(uint32_t required);
19
28
34extern int32_t g_bGlobalConfigurationFound;
39extern uint16_t g_wConfiguredProductTarget;
44extern uint16_t g_wConfiguredInterfaceTarget;
49extern uint16_t g_wConfiguredVersion;
54extern int32_t g_bConfiguredGlobalNoIas;
60extern int32_t g_bConfiguredDvdDrive;
66extern int32_t g_bConfiguredCdChanger;
72extern int32_t g_bConfiguredMultiDisc;
77extern int32_t g_bTitleConfigurationFound;
83extern char g_szConfiguredTitle[80];
88extern int32_t g_bConfiguredTitleNoIas;
94extern int32_t g_bConfiguredTitleIsDvd;
100extern uint32_t g_dwConfiguredLaunchCount;
106extern uint16_t g_earAudioComponentValidationFlags;
112extern int32_t g_earAudioComponentsValidated;
114
120uint32_t __stdcall ValidateEarNumericCode(uint32_t code);
121
130void __stdcall LoadEarConfiguration(uint32_t code);
131
139int __stdcall EAR_DLL_AAA_Validate(uint32_t code);
140
141#ifdef __cplusplus
142}
143#endif
144
145#endif /* COASTLINE_EAR_CONFIGURATION_H */
int __stdcall ValidateEarTitleConfiguration(uint32_t required)
Check that the configuration file configured the library and the game for the audio engine,...
int __stdcall EAR_DLL_AAA_Validate(uint32_t code)
Validate the code of the game and load the configuration it selects.
void __stdcall LoadEarConfiguration(uint32_t code)
Read the global section of config.ear in the system directory, then, unless the code reads only that ...
int ValidateEarAudioComponents(void)
Check that the loaded audio components are those the configuration records, and show a message for ea...
uint32_t __stdcall ValidateEarNumericCode(uint32_t code)
Nonzero when config.ear includes the global configuration section.