📄 config.h
字号:
#ifndef _CONFIG_H_
#define _CONFIG_H_
typedef struct
{
int joy_driver;
int video_driver;
int video_depth;
int video_width;
int video_height;
int no_vga;
int no_mmx;
int expand;
int blur;
int scale;
int scanlines;
int tweak;
int vsync;
int throttle;
int fps;
int sound;
int sndcard;
int sndrate;
int country;
int fm_enable;
}t_option;
/* Global data */
t_option option;
/* Function prototypes*/
void do_config(char *file);
void parse_args(int argc, char **argv);
int parse_file(const char *filename, int *argc, char **argv);
void set_option_defaults(void);
#endif /* _CONFIG_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -