forked from Dniel97/segatools
Shift hook DLL config structs around
This commit is contained in:
parent
f11a3cb657
commit
a94772b0c4
@ -4,15 +4,19 @@
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#include "amex/amex.h"
|
||||
#include "amex/config.h"
|
||||
|
||||
#include "board/config.h"
|
||||
#include "board/sg-reader.h"
|
||||
|
||||
#include "chunihook/config.h"
|
||||
|
||||
#include "hooklib/config.h"
|
||||
#include "hooklib/gfx.h"
|
||||
|
||||
#include "platform/config.h"
|
||||
#include "platform/platform.h"
|
||||
|
||||
void slider_config_load(struct slider_config *cfg, const wchar_t *filename)
|
||||
{
|
||||
|
@ -3,17 +3,15 @@
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#include "amex/config.h"
|
||||
#include "amex/amex.h"
|
||||
|
||||
#include "board/config.h"
|
||||
#include "board/sg-reader.h"
|
||||
|
||||
#include "hooklib/config.h"
|
||||
#include "chunihook/slider.h"
|
||||
|
||||
#include "platform/config.h"
|
||||
#include "hooklib/gfx.h"
|
||||
|
||||
struct slider_config {
|
||||
bool enable;
|
||||
};
|
||||
#include "platform/platform.h"
|
||||
|
||||
struct chuni_hook_config {
|
||||
struct platform_config platform;
|
||||
|
@ -9,7 +9,6 @@
|
||||
#include "board/slider-cmd.h"
|
||||
#include "board/slider-frame.h"
|
||||
|
||||
#include "chunihook/config.h"
|
||||
#include "chunihook/slider.h"
|
||||
|
||||
#include "chuniio/chuniio.h"
|
||||
|
@ -2,6 +2,10 @@
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#include "chunihook/config.h"
|
||||
#include <stdbool.h>
|
||||
|
||||
struct slider_config {
|
||||
bool enable;
|
||||
};
|
||||
|
||||
HRESULT slider_hook_init(const struct slider_config *cfg);
|
||||
|
@ -1,13 +1,16 @@
|
||||
#include <assert.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#include "amex/amex.h"
|
||||
#include "amex/config.h"
|
||||
|
||||
#include "board/config.h"
|
||||
#include "board/sg-reader.h"
|
||||
|
||||
#include "divahook/config.h"
|
||||
|
||||
#include "platform/config.h"
|
||||
#include "platform/platform.h"
|
||||
|
||||
void diva_hook_config_load(
|
||||
struct diva_hook_config *cfg,
|
||||
|
@ -2,9 +2,11 @@
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include "amex/config.h"
|
||||
#include "amex/amex.h"
|
||||
|
||||
#include "platform/config.h"
|
||||
#include "board/sg-reader.h"
|
||||
|
||||
#include "platform/platform.h"
|
||||
|
||||
struct diva_hook_config {
|
||||
struct platform_config platform;
|
||||
|
@ -1,13 +1,16 @@
|
||||
#include <assert.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#include "amex/amex.h"
|
||||
#include "amex/config.h"
|
||||
|
||||
#include "board/config.h"
|
||||
#include "board/sg-reader.h"
|
||||
|
||||
#include "idzhook/config.h"
|
||||
|
||||
#include "platform/config.h"
|
||||
#include "platform/platform.h"
|
||||
|
||||
void idz_hook_config_load(
|
||||
struct idz_hook_config *cfg,
|
||||
|
@ -3,15 +3,13 @@
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#include "amex/config.h"
|
||||
#include "amex/amex.h"
|
||||
|
||||
#include "board/config.h"
|
||||
#include "board/sg-reader.h"
|
||||
|
||||
#include "platform/config.h"
|
||||
#include "idzhook/zinput.h"
|
||||
|
||||
struct zinput_config {
|
||||
bool enable;
|
||||
};
|
||||
#include "platform/platform.h"
|
||||
|
||||
struct idz_hook_config {
|
||||
struct platform_config platform;
|
||||
|
@ -2,6 +2,10 @@
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#include "idzhook/config.h"
|
||||
#include <stdbool.h>
|
||||
|
||||
struct zinput_config {
|
||||
bool enable;
|
||||
};
|
||||
|
||||
HRESULT zinput_hook_init(struct zinput_config *cfg);
|
||||
|
Loading…
Reference in New Issue
Block a user