# HG changeset patch # User rubidium # Date 1201566391 0 # Node ID 33899f3d6b5c6c22f5159c5386d9dfb4c1893afa # Parent 19e2849a638c2f9e56390ef33ba57f963fd156be (svn r12003) -Codechange: don't declare InteractiveRandom[Range] in multiple places. diff -r 19e2849a638c -r 33899f3d6b5c src/genworld_gui.cpp --- a/src/genworld_gui.cpp Mon Jan 28 17:51:45 2008 +0000 +++ b/src/genworld_gui.cpp Tue Jan 29 00:26:31 2008 +0000 @@ -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" diff -r 19e2849a638c -r 33899f3d6b5c src/gfx_func.h --- a/src/gfx_func.h Mon Jan 28 17:51:45 2008 +0000 +++ b/src/gfx_func.h Tue Jan 29 00:26:31 2008 +0000 @@ -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(); diff -r 19e2849a638c -r 33899f3d6b5c src/music_gui.cpp --- a/src/music_gui.cpp Mon Jan 28 17:51:45 2008 +0000 +++ b/src/music_gui.cpp Tue Jan 29 00:26:31 2008 +0000 @@ -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" diff -r 19e2849a638c -r 33899f3d6b5c src/video/dedicated_v.cpp --- a/src/video/dedicated_v.cpp Mon Jan 28 17:51:45 2008 +0000 +++ b/src/video/dedicated_v.cpp Tue Jan 29 00:26:31 2008 +0000 @@ -17,6 +17,7 @@ #include "../blitter/factory.hpp" #include "../core/alloc_func.hpp" #include "../player_func.h" +#include "../core/random_func.hpp" #include "dedicated_v.h" #ifdef BEOS_NET_SERVER diff -r 19e2849a638c -r 33899f3d6b5c src/video/sdl_v.cpp --- a/src/video/sdl_v.cpp Mon Jan 28 17:51:45 2008 +0000 +++ b/src/video/sdl_v.cpp Tue Jan 29 00:26:31 2008 +0000 @@ -12,6 +12,7 @@ #include "../blitter/factory.hpp" #include "../network/network.h" #include "../core/math_func.hpp" +#include "../core/random_func.hpp" #include "sdl_v.h" #include