-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxerxes.h
60 lines (49 loc) · 1.14 KB
/
xerxes.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
#ifndef XERXES_H
#define XERXES_H
/* xerxes system types */
typedef unsigned int quad;
typedef unsigned short word;
typedef unsigned char byte;
/* macros */
#define APPNAME "WinV2"
#define LOGFILE "winv2.log"
#define ORDER_INT(a,b) { if (a>b) { a=a-b; b=a+b; a=b-a; } }
#define SWAP(a,b) { a=a-b; b=a+b; a=b-a; }
/* system includes */
#define WIN32_LEAN_AND_MEAN
#define _WIN32_WINNT 0x0500
#include <crtdbg.h>
#include <windows.h>
#include <mmsystem.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
/* xerxes includes */
#include "vid_ddbase.h"
#include "vid_manager.h"
#include "vid_sysfont.h"
#include "a_common.h"
#include "a_config.h"
#include "a_image.h"
#include "a_vfile.h"
#include "win_joystick.h"
#include "win_network.h"
#include "win_keyboard.h"
#include "win_mouse.h"
#include "win_system.h"
#include "win_sound.h"
#include "win_timer.h"
#include "g_8bpp.h"
#include "g_controls.h"
#include "g_chr.h"
#include "g_fnt.h"
#include "g_vsp.h"
#include "g_map.h"
#include "g_vc.h"
#include "g_engine.h"
#include "g_startup.h"
/* prototypes */
void xmain(int argc, char *argv[]);
void err(char *s, ...);
void HandleMessages();
#endif