Shift hook DLL config structs around

This commit is contained in:
Tau 2019-11-05 20:11:25 -05:00
parent f11a3cb657
commit a94772b0c4
9 changed files with 33 additions and 18 deletions

View File

@ -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)
{

View File

@ -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;

View File

@ -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"

View File

@ -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);

View File

@ -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,

View File

@ -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;

View File

@ -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,

View File

@ -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;

View File

@ -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);