diff options
author | rubidium <rubidium@openttd.org> | 2009-03-15 15:12:06 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-03-15 15:12:06 +0000 |
commit | f9def73be628b8298eb9164ebdf5d0d77f30b106 (patch) | |
tree | 66a1daaed45d405317364932c5184ead15c023d4 /src/highscore_gui.cpp | |
parent | e9ae5ae307d3f4064a46175f4f66ca6a372f5578 (diff) | |
download | openttd-f9def73be628b8298eb9164ebdf5d0d77f30b106.tar.xz |
(svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth)
Diffstat (limited to 'src/highscore_gui.cpp')
-rw-r--r-- | src/highscore_gui.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/highscore_gui.cpp b/src/highscore_gui.cpp index 372e5553b..095e973c0 100644 --- a/src/highscore_gui.cpp +++ b/src/highscore_gui.cpp @@ -166,19 +166,19 @@ static const Widget _highscore_widgets[] = { { WIDGETS_END}, }; -static const WindowDesc _highscore_desc = { +static const WindowDesc _highscore_desc( 0, 0, 641, 481, 641, 481, WC_HIGHSCORE, WC_NONE, 0, - _highscore_widgets, -}; + _highscore_widgets +); -static const WindowDesc _endgame_desc = { +static const WindowDesc _endgame_desc( 0, 0, 641, 481, 641, 481, WC_ENDSCREEN, WC_NONE, 0, - _highscore_widgets, -}; + _highscore_widgets +); /** Show the highscore table for a given difficulty. When called from * endgame ranking is set to the top5 element that was newly added |