diff options
author | rubidium <rubidium@openttd.org> | 2007-03-07 12:11:48 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-03-07 12:11:48 +0000 |
commit | 979ccd45baa9a38169661ba379a341cae8619c3b (patch) | |
tree | 757477dbdc02025cc29690a4e66e40f872cab02b /src/texteff.cpp | |
parent | 4169bfba0604b33bad92389bd3eb6f9acde89f49 (diff) | |
download | openttd-979ccd45baa9a38169661ba379a341cae8619c3b.tar.xz |
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
Diffstat (limited to 'src/texteff.cpp')
-rw-r--r-- | src/texteff.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/texteff.cpp b/src/texteff.cpp index ec159be6d..1831dcd76 100644 --- a/src/texteff.cpp +++ b/src/texteff.cpp @@ -23,7 +23,7 @@ enum { MAX_ANIMATED_TILES = 256, }; -typedef struct TextEffect { +struct TextEffect { StringID string_id; int32 x; int32 y; @@ -32,14 +32,14 @@ typedef struct TextEffect { uint16 duration; uint32 params_1; uint32 params_2; -} TextEffect; +}; -typedef struct TextMessage { +struct TextMessage { char message[MAX_TEXTMESSAGE_LENGTH]; uint16 color; Date end_date; -} TextMessage; +}; static TextEffect _text_effect_list[MAX_TEXT_MESSAGES]; static TextMessage _textmsg_list[MAX_CHAT_MESSAGES]; |