moved MSG_Get from programs.h to dosbox.h. added AddMessage to dosbox.h
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@320
This commit is contained in:
parent
07efb3af57
commit
ed0e6bee75
2 changed files with 4 additions and 3 deletions
|
@ -24,6 +24,9 @@ void E_Exit(char * message,...);
|
|||
|
||||
void S_Warn(char * message,...);
|
||||
|
||||
void AddMessage(const char*,const char*); //add messages to the internal langaugefile
|
||||
const char* MSG_Get(char const *); //get messages from the internal langaugafile
|
||||
|
||||
/* The internal types */
|
||||
typedef unsigned char Bit8u;
|
||||
typedef signed char Bit8s;
|
||||
|
@ -64,7 +67,6 @@ extern Bitu errorlevel;
|
|||
|
||||
inline void LOG_MSG(char* message)
|
||||
{
|
||||
|
||||
if(errorlevel>=0) S_Warn(message);
|
||||
}
|
||||
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#include "setup.h"
|
||||
|
||||
|
||||
char * MSG_Get(char * msg);
|
||||
class Program;
|
||||
|
||||
typedef void (PROGRAMS_Main)(Program * * make);
|
||||
|
@ -41,7 +40,7 @@ public:
|
|||
char * GetEnvNum(Bit32u num);
|
||||
Bit32u GetEnvCount(void);
|
||||
bool SetEnv(char * env_entry,char * new_string);
|
||||
void WriteOut(char * format,...); /* Write to standard output */
|
||||
void WriteOut(const char * format,...); /* Write to standard output */
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue