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 | 0b936c3222b3945f738885c6c7db3b46363ec6fe (patch) | |
tree | 646e010d91defd66326958b9e15c3eb36077760c /texteff.c | |
parent | 4642ac94a903d1a358ac795240a6b800372b9020 (diff) | |
download | openttd-0b936c3222b3945f738885c6c7db3b46363ec6fe.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}, }; - - |