mirror of
https://github.com/pumpitupdev/pumptools.git
synced 2026-09-29 02:08:06 +03:00
Use a similar code style to bemanitools though reduce indentation to 2 spaces. Also some other tweaks to be more similar to google style.
61 lines
982 B
C
61 lines
982 B
C
#ifndef NXAHOOK_OPTIONS_H
|
|
#define NXAHOOK_OPTIONS_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
#include "util/log.h"
|
|
|
|
struct nxahook_options {
|
|
struct game {
|
|
const char *settings;
|
|
} game;
|
|
|
|
struct patch {
|
|
struct gfx {
|
|
bool windowed;
|
|
} gfx;
|
|
|
|
struct hook_mon {
|
|
bool file;
|
|
bool fs;
|
|
bool io;
|
|
bool open;
|
|
bool usb;
|
|
} hook_mon;
|
|
|
|
struct main_loop {
|
|
bool disable_built_in_inputs;
|
|
const char *x11_input_handler_api_lib;
|
|
} main_loop;
|
|
|
|
struct net {
|
|
const char *server;
|
|
uint32_t machine_id;
|
|
} net;
|
|
|
|
struct piuio {
|
|
const char *api_lib;
|
|
bool exit_test_serv;
|
|
} piuio;
|
|
|
|
struct sound {
|
|
const char *device;
|
|
} sound;
|
|
|
|
struct sigsegv {
|
|
bool halt_on_segv;
|
|
} sigsegv;
|
|
} patch;
|
|
|
|
struct log {
|
|
const char *file;
|
|
enum util_log_level level;
|
|
} log;
|
|
};
|
|
|
|
bool nxahook_options_init(
|
|
int argc, char **argv, struct nxahook_options *options);
|
|
|
|
#endif
|