(svn r12003) -Codechange: don't declare InteractiveRandom[Range] in multiple places.
--- 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"
--- 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();
--- 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"
--- 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
--- 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 <SDL.h>