dosbox-wii/include/dosbox.h

59 lines
1.5 KiB
C
Raw Normal View History

2009-05-02 23:03:37 +02:00
/*
2009-05-02 23:53:27 +02:00
* Copyright (C) 2002-2004 The DOSBox Team
2009-05-02 23:03:37 +02:00
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2009-05-03 00:02:15 +02:00
* GNU General Public License for more details.
2009-05-02 23:03:37 +02:00
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#if !defined __DOSBOX_H
#define __DOSBOX_H
void E_Exit(char * message,...);
2009-05-02 23:20:05 +02:00
void MSG_Add(const char*,const char*); //add messages to the internal langaugefile
const char* MSG_Get(char const *); //get messages from the internal langaugafile
2009-05-02 23:12:18 +02:00
#include <stddef.h>
#include "config.h"
2009-05-02 23:03:37 +02:00
2009-05-02 23:20:05 +02:00
class Section;
2009-05-02 23:03:37 +02:00
typedef Bitu (LoopHandler)(void);
void DOSBOX_RunMachine();
void DOSBOX_SetLoop(LoopHandler * handler);
2009-05-02 23:12:18 +02:00
void DOSBOX_SetNormalLoop();
2009-05-02 23:03:37 +02:00
2009-05-02 23:20:05 +02:00
void DOSBOX_Init(void);
class Config;
extern Config * control;
2009-05-02 23:35:44 +02:00
2009-05-02 23:53:27 +02:00
enum MachineType {
MCH_HERC,
MCH_CGA,
MCH_TANDY,
2009-05-03 00:02:15 +02:00
MCH_VGA
2009-05-02 23:53:27 +02:00
};
extern MachineType machine;
2009-05-03 00:02:15 +02:00
extern bool SDLNetInited;
2009-05-02 23:53:27 +02:00
2009-05-02 23:43:00 +02:00
#ifndef __LOGGING_H_
#include "logging.h"
#endif // the logging system.
2009-05-02 23:20:05 +02:00
2009-05-02 23:35:44 +02:00
#endif /* __DOSBOX_H */
2009-05-02 23:03:37 +02:00