diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp index a6b5498feb..ba613bd593 100644 --- 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" diff --git a/src/gfx_func.h b/src/gfx_func.h index fd6af565e7..4a85860f20 100644 --- a/src/gfx_func.h +++ b/src/gfx_func.h @@ -69,8 +69,6 @@ void HandleMouseEvents(); 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 --git a/src/music_gui.cpp b/src/music_gui.cpp index 1816147c85..e048d91535 100644 --- 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" diff --git a/src/video/dedicated_v.cpp b/src/video/dedicated_v.cpp index c952ff093a..df15663d87 100644 --- a/src/video/dedicated_v.cpp +++ b/src/video/dedicated_v.cpp @@ -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 --git a/src/video/sdl_v.cpp b/src/video/sdl_v.cpp index f52478c5d0..25ce5a8c67 100644 --- a/src/video/sdl_v.cpp +++ b/src/video/sdl_v.cpp @@ -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