-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgui.h
75 lines (50 loc) · 1.18 KB
/
gui.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#ifndef _DJ_INCLUDE_GUI_H
#define _DJ_INCLUDE_GUI_H
#ifdef DOS
#include <dir.h>
#include <keys.h>
#endif
#ifdef ALLEGRO
#include <allegro.h>
#endif
#include "list_rom.h"
#include "trans_fx.h"
#include <string.h>
#include <math.h>
#include <unistd.h>
#include <sys/stat.h>
#include <stdlib.h>
#include "pce.h"
#include "cleantyp.h"
typedef struct {
char str[16];
unsigned corr;
} TO_DISPLAY;
/* Warning, this has changed */
typedef struct {
char basefilename[13];
char romfilename[13];
char romname[16];
} INDEX_ITEM;
/* Warning, this has changed */
typedef struct {
char basefilename[13];
char archived[13];
} ARCH_FILE;
extern char selected_rom[128];
extern char name_to_extract[64];
extern UChar static_refresh;
// used to know whether we check the game directory each time
extern UChar zip_support_in_fs;
// used to know whether we check inside zip archive in a directory
extern int vwidth;
extern int vheight;
void Dir(unsigned *dirt,
unsigned *fich,
unsigned *arch,
char *nom_dir,
ARCH_FILE * fichier,
char* must_draw,
TO_DISPLAY * to_display);
char* select_rom();
#endif