| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
#ifndef DOSBOX_DOSBOX_H |
| 22 |
#define DOSBOX_DOSBOX_H |
| 23 |
|
| 24 |
#include "config.h" |
| 25 |
|
| 26 |
GCC_ATTRIBUTE(noreturn) void E_Exit(const char * message,...) GCC_ATTRIBUTE( __format__(__printf__, 1, 2)); |
| 27 |
|
| 28 |
void MSG_Add(const char*,const char*); |
| 29 |
const char* MSG_Get(char const *); |
| 30 |
|
| 31 |
class Section; |
| 32 |
|
| 33 |
typedef Bitu (LoopHandler)(void); |
| 34 |
|
| 35 |
void DOSBOX_RunMachine(); |
| 36 |
void DOSBOX_SetLoop(LoopHandler * handler); |
| 37 |
void DOSBOX_SetNormalLoop(); |
| 38 |
|
| 39 |
void DOSBOX_Init(void); |
| 40 |
|
| 41 |
class Config; |
| 42 |
extern Config * control; |
| 43 |
|
| 44 |
enum MachineType { |
| 45 |
MCH_HERC, |
| 46 |
MCH_CGA, |
| 47 |
MCH_TANDY, |
| 48 |
MCH_PCJR, |
| 49 |
MCH_EGA, |
| 50 |
MCH_VGA |
| 51 |
}; |
| 52 |
|
| 53 |
enum SVGACards { |
| 54 |
SVGA_None, |
| 55 |
SVGA_S3Trio, |
| 56 |
SVGA_TsengET4K, |
| 57 |
SVGA_TsengET3K, |
| 58 |
SVGA_ParadisePVGA1A |
| 59 |
}; |
| 60 |
|
| 61 |
extern SVGACards svgaCard; |
| 62 |
extern MachineType machine; |
| 63 |
extern bool SDLNetInited; |
| 64 |
|
| 65 |
#define IS_TANDY_ARCH ((machine==MCH_TANDY) || (machine==MCH_PCJR)) |
| 66 |
#define IS_EGAVGA_ARCH ((machine==MCH_EGA) || (machine==MCH_VGA)) |
| 67 |
#define IS_VGA_ARCH (machine==MCH_VGA) |
| 68 |
#define TANDY_ARCH_CASE MCH_TANDY: case MCH_PCJR |
| 69 |
#define EGAVGA_ARCH_CASE MCH_EGA: case MCH_VGA |
| 70 |
#define VGA_ARCH_CASE MCH_VGA |
| 71 |
|
| 72 |
#ifndef DOSBOX_LOGGING_H |
| 73 |
#include "logging.h" |
| 74 |
#endif |
| 75 |
|
| 76 |
#endif |