Mercurial > hg > openttd
changeset 8433:ecb823533681 draft
(svn r12003) -Codechange: don't declare InteractiveRandom[Range] in multiple places.
author | rubidium <rubidium@openttd.org> |
---|---|
date | Tue, 29 Jan 2008 00:26:31 +0000 |
parents | e802c4a2fa5e |
children | 1b2d9c0995f9 |
files | src/genworld_gui.cpp src/gfx_func.h src/music_gui.cpp src/video/dedicated_v.cpp src/video/sdl_v.cpp |
diffstat | 5 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/genworld_gui.cpp +++ b/src/genworld_gui.cpp @@ -27,6 +27,7 @@ #include "settings_type.h" #include "widgets/dropdown_type.h" #include "widgets/dropdown_func.h" +#include "core/random_func.hpp" #include "table/strings.h" #include "table/sprites.h"
--- a/src/gfx_func.h +++ b/src/gfx_func.h @@ -69,8 +69,6 @@ void CSleep(int milliseconds); void UpdateWindows(); -uint32 InteractiveRandom(); //< Used for random sequences that are not the same on the other end of the multiplayer link -uint InteractiveRandomRange(uint max); void DrawChatMessage(); void DrawMouseCursor(); void ScreenSizeChanged();
--- a/src/music_gui.cpp +++ b/src/music_gui.cpp @@ -14,6 +14,7 @@ #include "sound_func.h" #include "gfx_func.h" #include "core/math_func.hpp" +#include "core/random_func.hpp" #include "table/strings.h" #include "table/sprites.h"