(svn r12784) -Codechange: handle the asynchronious save 'handlers' in saveload.cpp instead of openttd.cpp.

This commit is contained in:
rubidium
2008-04-19 10:18:38 +00:00
parent e0722751c6
commit 161b588631
4 changed files with 34 additions and 55 deletions

View File

@@ -1,4 +1,5 @@
/* $Id$ */
/** @file openttd.h */
#ifndef OPENTTD_H
@@ -108,17 +109,6 @@ enum {
};
extern byte _no_scroll;
/** To have a concurrently running thread interface with the main program, use
* the OTTD_SendThreadMessage() function. Actions to perform upon the message are handled
* in the ProcessSentMessage() function */
enum ThreadMsg {
MSG_OTTD_NO_MESSAGE,
MSG_OTTD_SAVETHREAD_DONE,
MSG_OTTD_SAVETHREAD_ERROR,
};
void OTTD_SendThreadMessage(ThreadMsg msg);
extern byte _game_mode;
extern bool _exit_game;
extern int8 _pause_game;