From a7cfb80c40d9a4c544ece10872fd3808f9f59f8d Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 4 Sep 2006 17:30:30 +0000 Subject: (svn r6380) -Codechange: unify all ways to quit OTTD. This means that in the intro menu the 'Quit' button immediatelly quits and the 'Quit' in the menu of the normal game and scenario editor immediatelly quits when the 'autosave_on_exit' patch is turned on. This is the same way as the OS/window manager initiated quits, like alt-F4 and the 'x' in the (OS/window manager drawn) title bar of OTTD. --- functions.h | 1 + 1 file changed, 1 insertion(+) (limited to 'functions.h') diff --git a/functions.h b/functions.h index 2969fb2e1..352f7b962 100644 --- a/functions.h +++ b/functions.h @@ -233,6 +233,7 @@ void LoadFromConfig(void); void SaveToConfig(void); void CheckConfig(void); int ttd_main(int argc, char* argv[]); +void HandleExitGameRequest(void); void DeterminePaths(void); -- cgit v1.2.3-70-g09d2