diff options
author | yexo <yexo@openttd.org> | 2009-02-25 21:45:14 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-02-25 21:45:14 +0000 |
commit | fb7b0536e74d0cfdc682593657dfb66700f724e9 (patch) | |
tree | c5ec0bb4374465ba0001b47485225c72a9a21c15 /src/openttd.cpp | |
parent | c5684e56ec96f530178d7e66aebb830fe6829974 (diff) | |
download | openttd-fb7b0536e74d0cfdc682593657dfb66700f724e9.tar.xz |
(svn r15584) -Codechange: Move several variables from variables.h to more appropriate headers.
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r-- | src/openttd.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp index 692f09698..6bea34845 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -715,6 +715,7 @@ void HandleExitGameRequest() static void ShowScreenshotResult(bool b) { if (b) { + extern char *_screenshot_name; SetDParamStr(0, _screenshot_name); ShowErrorMessage(INVALID_STRING_ID, STR_031B_SCREENSHOT_SUCCESSFULLY, 0, 0); } else { @@ -1155,6 +1156,7 @@ void GameLoop() IncreaseSpriteLRU(); InteractiveRandom(); + extern int _caret_timer; _caret_timer += 3; _palette_animation_counter += 8; CursorTick(); |