segatools/chunihook/config.h

33 lines
730 B
C
Raw Normal View History

2019-05-18 03:35:53 +00:00
#pragma once
2019-10-20 00:37:43 +00:00
#include <stdbool.h>
2019-05-18 03:35:53 +00:00
#include <stddef.h>
2019-11-06 01:11:25 +00:00
#include "amex/amex.h"
2019-05-18 03:35:53 +00:00
2019-11-06 01:11:25 +00:00
#include "board/sg-reader.h"
2021-05-31 16:58:22 +00:00
#include "chunihook/chuni-dll.h"
2019-11-06 01:11:25 +00:00
#include "chunihook/slider.h"
2019-10-19 21:04:34 +00:00
#include "gfxhook/gfx.h"
2019-05-18 03:35:53 +00:00
2019-11-06 01:11:25 +00:00
#include "platform/platform.h"
2019-10-20 00:37:43 +00:00
2019-05-18 03:35:53 +00:00
struct chuni_hook_config {
struct platform_config platform;
2019-05-18 03:35:53 +00:00
struct amex_config amex;
struct aime_config aime;
2019-10-19 21:04:34 +00:00
struct gfx_config gfx;
2021-05-31 16:58:22 +00:00
struct chuni_dll_config dll;
2019-10-20 00:37:43 +00:00
struct slider_config slider;
2019-05-18 03:35:53 +00:00
};
2021-05-31 16:58:22 +00:00
void chuni_dll_config_load(
struct chuni_dll_config *cfg,
const wchar_t *filename);
2019-10-20 00:37:43 +00:00
void slider_config_load(struct slider_config *cfg, const wchar_t *filename);
2019-05-18 03:35:53 +00:00
void chuni_hook_config_load(
struct chuni_hook_config *cfg,
const wchar_t *filename);