summaryrefslogtreecommitdiff
path: root/src/progress.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-08-24 12:18:53 +0000
committerrubidium <rubidium@openttd.org>2011-08-24 12:18:53 +0000
commit70179db81e5a7fff78b558de9f39521c44a16886 (patch)
treea5c98947d09effd5e5005211b82c18769e4845b3 /src/progress.h
parent38ad276acc6f108162c4255b837d4c450b91f23d (diff)
downloadopenttd-70179db81e5a7fff78b558de9f39521c44a16886.tar.xz
(svn r22820) -Codechange: perform a full (re)draw cycle in the first draw during progress instead of waiting 200ms
Diffstat (limited to 'src/progress.h')
-rw-r--r--src/progress.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/progress.h b/src/progress.h
index 85a27de72..eec369b23 100644
--- a/src/progress.h
+++ b/src/progress.h
@@ -26,10 +26,7 @@ static inline bool HasModalProgress()
return _in_modal_progress;
}
-/**
- * Set the modal progress state.
- * @param state The new state; are we modal or not?
- */
+bool IsFirstModalProgressLoop();
void SetModalProgress(bool state);
extern class ThreadMutex *_modal_progress_work_mutex;