Skip to content

Commit

Permalink
Merge pull request #9212 from IntelOrca/fix/2339-broadcast-lan
Browse files Browse the repository at this point in the history
Implement searching of local servers by broadcasting UDP packets.
  • Loading branch information
IntelOrca committed May 12, 2019
2 parents 5da95e9 + 1ac8d90 commit 616fdfd
Show file tree
Hide file tree
Showing 17 changed files with 1,124 additions and 425 deletions.
12 changes: 6 additions & 6 deletions OpenRCT2.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@
F76C86551EC4E88300FA49E2 /* NetworkServerAdvertiser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F76C84061EC4E7CC00FA49E2 /* NetworkServerAdvertiser.cpp */; };
F76C86581EC4E88300FA49E2 /* NetworkUser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F76C84091EC4E7CC00FA49E2 /* NetworkUser.cpp */; };
F76C865A1EC4E88300FA49E2 /* ServerList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F76C840B1EC4E7CC00FA49E2 /* ServerList.cpp */; };
F76C865C1EC4E88300FA49E2 /* TcpSocket.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F76C840D1EC4E7CC00FA49E2 /* TcpSocket.cpp */; };
F76C865C1EC4E88300FA49E2 /* Socket.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F76C840D1EC4E7CC00FA49E2 /* Socket.cpp */; };
F76C86601EC4E88300FA49E2 /* BannerObject.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F76C84121EC4E7CC00FA49E2 /* BannerObject.cpp */; };
F76C86621EC4E88300FA49E2 /* EntranceObject.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F76C84141EC4E7CC00FA49E2 /* EntranceObject.cpp */; };
F76C86641EC4E88300FA49E2 /* FootpathItemObject.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F76C84161EC4E7CC00FA49E2 /* FootpathItemObject.cpp */; };
Expand Down Expand Up @@ -1660,8 +1660,8 @@
F76C840A1EC4E7CC00FA49E2 /* NetworkUser.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NetworkUser.h; sourceTree = "<group>"; };
F76C840B1EC4E7CC00FA49E2 /* ServerList.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = ServerList.cpp; sourceTree = "<group>"; };
F76C840C1EC4E7CC00FA49E2 /* ServerList.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ServerList.h; sourceTree = "<group>"; };
F76C840D1EC4E7CC00FA49E2 /* TcpSocket.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TcpSocket.cpp; sourceTree = "<group>"; };
F76C840E1EC4E7CC00FA49E2 /* TcpSocket.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TcpSocket.h; sourceTree = "<group>"; };
F76C840D1EC4E7CC00FA49E2 /* Socket.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = Socket.cpp; sourceTree = "<group>"; };
F76C840E1EC4E7CC00FA49E2 /* Socket.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Socket.h; sourceTree = "<group>"; };
F76C840F1EC4E7CC00FA49E2 /* Twitch.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = Twitch.cpp; sourceTree = "<group>"; };
F76C84101EC4E7CC00FA49E2 /* twitch.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = twitch.h; sourceTree = "<group>"; };
F76C84121EC4E7CC00FA49E2 /* BannerObject.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = BannerObject.cpp; sourceTree = "<group>"; };
Expand Down Expand Up @@ -2820,8 +2820,8 @@
F76C840A1EC4E7CC00FA49E2 /* NetworkUser.h */,
F76C840B1EC4E7CC00FA49E2 /* ServerList.cpp */,
F76C840C1EC4E7CC00FA49E2 /* ServerList.h */,
F76C840D1EC4E7CC00FA49E2 /* TcpSocket.cpp */,
F76C840E1EC4E7CC00FA49E2 /* TcpSocket.h */,
F76C840D1EC4E7CC00FA49E2 /* Socket.cpp */,
F76C840E1EC4E7CC00FA49E2 /* Socket.h */,
F76C840F1EC4E7CC00FA49E2 /* Twitch.cpp */,
F76C84101EC4E7CC00FA49E2 /* twitch.h */,
);
Expand Down Expand Up @@ -4123,7 +4123,7 @@
93F76EFF20BFF77B00D4512C /* Paint.Wall.cpp in Sources */,
F76C86581EC4E88300FA49E2 /* NetworkUser.cpp in Sources */,
F76C865A1EC4E88300FA49E2 /* ServerList.cpp in Sources */,
F76C865C1EC4E88300FA49E2 /* TcpSocket.cpp in Sources */,
F76C865C1EC4E88300FA49E2 /* Socket.cpp in Sources */,
C688784B202899B90084B384 /* Intro.cpp in Sources */,
C68878FD20289B9B0084B384 /* MiniRollerCoaster.cpp in Sources */,
2A1F4FE0221FF4B0003CA045 /* Twitch.cpp in Sources */,
Expand Down
1 change: 1 addition & 0 deletions distribution/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
0.2.2+ (in development)
------------------------------------------------------------------------
- Feature: [#2339] Find local servers automatically when fetching servers.
- Feature: [#7296] Allow assigning a keyboard shortcut for the scenery picker.
- Feature: [#8029] Add the Hungarian Forint (HUF) to the list of available currencies.
- Feature: [#8481] Multi-threaded rendering.
Expand Down
2 changes: 2 additions & 0 deletions src/openrct2-ui/WindowManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,12 @@ class WindowManager final : public IWindowManager
return window_save_prompt_open();
case WC_SCENERY:
return window_scenery_open();
#ifndef DISABLE_NETWORK
case WC_SERVER_LIST:
return window_server_list_open();
case WC_SERVER_START:
return window_server_start_open();
#endif
case WC_KEYBOARD_SHORTCUT_LIST:
return window_shortcut_keys_open();
case WC_STAFF_LIST:
Expand Down
Loading

0 comments on commit 616fdfd

Please sign in to comment.