diff options
author | rubidium <rubidium@openttd.org> | 2010-11-19 10:35:59 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-11-19 10:35:59 +0000 |
commit | ab44c91778618147efd12f62fd3b74df872e599d (patch) | |
tree | d9ca07e5fd6a7f6ead55dc34eac6c18a53e93ac5 /src/gfx_type.h | |
parent | 43692e514c476923e35d59fc2fe9053e381a4920 (diff) | |
download | openttd-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.h | 3 |
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 */ |