1
0
mirror of https://gitea.tendokyu.moe/Dniel97/segatools.git synced 2024-12-15 05:31:14 +01:00
segatools-dniel97/chunihook/config.h

35 lines
795 B
C
Raw Normal View History

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