summaryrefslogtreecommitdiff
path: root/src/gfx_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-11-19 10:35:59 +0000
committerrubidium <rubidium@openttd.org>2010-11-19 10:35:59 +0000
commitab44c91778618147efd12f62fd3b74df872e599d (patch)
treed9ca07e5fd6a7f6ead55dc34eac6c18a53e93ac5 /src/gfx_type.h
parent43692e514c476923e35d59fc2fe9053e381a4920 (diff)
downloadopenttd-ab44c91778618147efd12f62fd3b74df872e599d.tar.xz
(svn r21252) -Codechange: introduce a constant for the number of milliseconds per game tick and use it
Diffstat (limited to 'src/gfx_type.h')
-rw-r--r--src/gfx_type.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gfx_type.h b/src/gfx_type.h
index 8c4bf918f..b1ee21172 100644
--- a/src/gfx_type.h
+++ b/src/gfx_type.h
@@ -259,4 +259,7 @@ enum SpriteType {
ST_INVALID = 4, ///< Pseudosprite or other unusable sprite, used only internally
};
+/** The number of milliseconds per game tick. */
+static const uint MILLISECONDS_PER_TICK = 30;
+
#endif /* GFX_TYPE_H */