diff options
author | tron <tron@openttd.org> | 2005-10-22 06:39:32 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-10-22 06:39:32 +0000 |
commit | 2cc2154ad26b96b032df2f4fca0ce1634e6330b2 (patch) | |
tree | 646e010d91defd66326958b9e15c3eb36077760c /texteff.c | |
parent | 01638700067b9720c187598ad6b4bf786e0e63c1 (diff) | |
download | openttd-2cc2154ad26b96b032df2f4fca0ce1634e6330b2.tar.xz |
(svn r3077) static, const, bracing, indentation, 0 -> '\0'/NULL, typos in comments, excess empty lines, minor other changes
nothing spectacular, just some stuff, which piled up
Diffstat (limited to 'texteff.c')
-rw-r--r-- | texteff.c | 16 |
1 files changed, 7 insertions, 9 deletions
@@ -39,14 +39,14 @@ static TextMessage _text_message_list[MAX_CHAT_MESSAGES]; TileIndex _animated_tile_list[256]; -int _textmessage_width = 0; -bool _textmessage_dirty = true; -bool _textmessage_visible = false; +static int _textmessage_width = 0; +static bool _textmessage_dirty = true; +static bool _textmessage_visible = false; -const int _textmessage_box_left = 10; // Pixels from left -const int _textmessage_box_y = 150; // Height of box -const int _textmessage_box_bottom = 30; // Pixels from bottom -const int _textmessage_box_max_width = 400; // Max width of box +static const int _textmessage_box_left = 10; // Pixels from left +static const int _textmessage_box_y = 150; // Height of box +static const int _textmessage_box_bottom = 30; // Pixels from bottom +static const int _textmessage_box_max_width = 400; // Max width of box static Pixel _textmessage_backup[150 * 400]; // (y * max_width) @@ -379,5 +379,3 @@ static void SaveLoad_ANIT(void) const ChunkHandler _animated_tile_chunk_handlers[] = { { 'ANIT', SaveLoad_ANIT, SaveLoad_ANIT, CH_RIFF | CH_LAST}, }; - - |