
This commit changes which variables are static: the Mac (and presumably the Linux) debug data tells you what variables are static, by prefixing their names with double_underscores. The variable names themselves also hint at this: global variables are prefixed with 'g', and use upper-camelcase, while static variables use whatever_you_call_this.
21 lines
385 B
C
21 lines
385 B
C
#pragma once
|
|
|
|
#include "WindowsWrapper.h"
|
|
|
|
struct CONFIG
|
|
{
|
|
char proof[0x20];
|
|
char font_name[0x40];
|
|
long move_button_mode;
|
|
long attack_button_mode;
|
|
long ok_button_mode;
|
|
long display_mode;
|
|
BOOL bJoystick;
|
|
long joystick_button[8];
|
|
};
|
|
|
|
extern const char* const gConfigName;
|
|
extern const char* const gProof;
|
|
|
|
BOOL LoadConfigData(CONFIG *conf);
|
|
void DefaultConfigData(CONFIG *conf);
|