Matt
843ad4c9fc
If the master server vanishes make sure to register again, cleanup ( #25588 )
...
* If the master server vanishes make sure to register again, cleanup
* Update changelog.txt
* Fix uncaught exceptions for the HTTP impl just silently failing
* Don't set the future object to an empty one, that is always pending
* Improve the console messages, adjust retry time
2025-12-01 17:44:30 +00:00
Gymnasiast
daa4fe8ac3
Rename field of all config categories
2025-10-07 20:21:32 +02:00
Aaron van Geffen
d2c4a36787
Drop 'Network' prefix from more classes as suggested
...
* Rename Network::NetworkReadPacket class to Network::ReadPacket
* Rename Network::NetworkKey class to Network::Key
* Rename Network::NetworkPacket class to Network::Packet
* Rename Network::NetworkUser class to Network::User
* Rename Network::NetworkConnection class to Network::Connection
2025-09-05 13:17:14 +02:00
Aaron van Geffen
cecac8ee0b
Drop 'Network' from namespaced network constants
2025-09-05 12:53:42 +02:00
Aaron van Geffen
5a4cc7d00d
Remove Network function name prefixes given namespace qualifiers
2025-08-31 16:02:43 +02:00
Aaron van Geffen
6ea5959b2b
Move network units to OpenRCT2::Network namespace
2025-08-31 15:26:10 +02:00
Aaron van Geffen
5b8fedd5b2
Rework Map.h includes (remove transitive header includes)
2025-09-04 22:16:53 +02:00
Gymnasiast
9c810d9e32
Update ParkData fields to new code style
2025-08-21 22:12:41 +02:00
Aaron van Geffen
e5ead99c83
Move .numGuestsInPark, .guestsInParkHistory into ParkData struct
2025-08-13 21:20:13 +02:00
Aaron van Geffen
b842537616
Move .cash, .cashHistory into ParkData struct
2025-08-13 20:23:14 +02:00
Gymnasiast
c7d38b29fc
Rename ADVERTISE_STATUS and its members
2025-03-26 12:03:26 +01:00
Gymnasiast
4badffcdb6
Change GameState_t members to lowerCamelCase
2025-03-20 23:05:57 +01:00
73
a976a43708
Rename network.h to Network.h ( #23882 )
2025-02-24 10:43:06 +01:00
Aaron van Geffen
fa06a49302
Update copyright year to 2025 ( #23514 )
2024-12-31 20:30:04 +01:00
Tulio Leao
fef568c7c8
Use std::chrono for easier to read durations ( #23499 )
2024-12-29 17:48:24 -03:00
Aaron van Geffen
35e117aca2
Rename String methods to use lowerCamelCase
2024-12-11 22:49:37 +01:00
Aaron van Geffen
3685d1a24b
clang-format: change IndentPPDirectives to BeforeHash ( #23287 )
2024-11-29 12:04:56 +09:00
Aaron van Geffen
d2e01dde4e
Remove a bunch of Util.h includes
2024-10-29 13:12:52 +01:00
Harry Hopkinson
4744c7416d
Refactor object and network constants to kCamelCase
2024-08-11 20:21:24 +00:00
Aaron van Geffen
3fd91038c3
Rename Date.h to Localisation.Date.h to match unit file
2024-07-12 22:18:43 +02:00
Aaron van Geffen
51873dc0f6
Include Diagnostic.h at unit level
2024-07-09 16:23:31 +02:00
Aaron van Geffen
aad71af8ab
Rework OPENRCT2_MASTER_SERVER_URL into kMasterServerURL
2024-07-09 14:29:13 +02:00
Aaron van Geffen
a63d86c488
Introduce Config namespace and struct
2024-05-10 12:10:21 +02:00
Harry-Hopkinson
7aed4d18f2
Rename NETWORK_LAN_BROADCAST_MSG to kNetworkLanBroadcastMsg
2024-04-26 17:55:23 +01:00
Harry-Hopkinson
82c31b80d4
Rename NETWORK_LAN_BROADCAST_PORT to kNetworkLanBroadcastPort
2024-04-26 17:55:23 +01:00
Gymnasiast
c158854a7f
Move Park into namespace, add other park-related things to struct
2024-04-04 18:14:27 +02:00
Harry-Hopkinson
b755c873e5
Move gMapSize to GameState_t
2024-02-12 21:32:08 +00:00
Harry Hopkinson
11ae8247bd
Move gNumGuestsInPark to GameState_t ( #21295 )
...
* Move gNumGuestsInPark to GameState_t
* Replace GetGameState() with gameState
2024-01-28 19:17:43 -03:00
Hielke Morsink
0c10435b7e
#21193 : Move gParkValue to GameState_t
2024-01-25 14:30:44 +01:00
Hielke Morsink
13351d996e
#21193 : Move gParkFlags to GameState_t, refactor uses
...
Also changed a few instances where GetGameState was called inside the same function.
The change in Peep.cpp is needed because of a function conflict. FormatStringID exists both in the global and in the OpenRCT2 namespace.
2024-01-22 16:31:35 +01:00
ζeh Matt
3518a638bb
#21193 : Move gCash to GameState_t, refactor uses
2024-01-20 15:46:35 +02:00
James103
1d8dc111f1
Replace 2023 with 2024 in copyright headers ( #21139 )
...
Replace all instances of the year 2023 with 2024 in all copyright headers
2024-01-01 12:52:28 +01:00
Matthias Moninger
9d6a54b9e7
Fix #19735 : Server unable to advertise its self after connection loss
2023-08-21 12:58:22 +00:00
Michael Steenbeek
fd80b4c822
Refactor and clean up date handling ( #19666 )
...
* Refactor and clean up date handling
* Remove gDate, remove direct access to days_in_month
* Adjust the MultiLaunch test
* Bump network version
---------
Co-authored-by: ζeh Matt <5415177+ZehMatt@users.noreply.github.com >
2023-04-02 09:25:41 +01:00
Hielke Morsink
2c224cfd53
Rename snake_case functions in OpenRCT2/network folder ( #19203 )
2023-01-18 06:05:53 +00:00
Hielke Morsink
6b7dc8fcdb
Rename snake_case functions in openrct2/src folder
...
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk >
2023-01-17 13:24:51 +01:00
James103
73738bbdc8
Replace 2022 with 2023 in copyright headers
...
Replace all instances of the year 2022 with 2023 in all copyright headers
2023-01-01 11:58:01 +01:00
Hielke Morsink
bff430805f
Rename public network config data members
2022-10-16 21:46:06 +02:00
73
b9e677945d
Replace 20XX with 2022 ( #18158 )
...
* Replace 2020 with 2022
Replace all 2020 headers with 2022
* replace other years with 2022
add missing years
2022-10-01 08:42:14 +01:00
Fruitsalad
5bdcd06dec
Remove headless servers from the server list player count
2022-09-06 23:26:27 +02:00
Hielke Morsink
dcec3fb63f
Remove misplaced 'h' from error message
2022-05-09 14:34:48 +02:00
Michael Steenbeek
5edc561715
Close #11437 : Migrate old platform methods
2022-02-18 21:57:00 +01:00
Ted John
454bfb0a8f
Refactor map size to allow for rectangle maps
2022-02-14 23:15:59 +00:00
ζeh Matt
9f23449ffb
Move Staff/Guest/Peep to entity
2021-11-26 18:26:19 +02:00
Duncan
3f19d6f7d7
Split Peep header Guest into separate header ( #15810 )
...
* Move guest functions and classes to guest header
* Reduce includes of Peep.h
2021-10-28 21:38:23 +01:00
Ted John
3f5698b1e0
Fix REPL write line on Linux
2021-02-16 20:24:51 +00:00
Ted John
05cb106ee7
Improve advertise messages
2021-02-16 20:24:50 +00:00
Tulio Leao
b7f70ab20b
Close #13628 : Refactor MASTER_SERVER_STATUS to strong enum
2020-12-23 20:07:53 -03:00
ζeh Matt
645289f4ec
Rename GameActionResult and use GameActions namespace instead ( #13184 )
2020-10-14 22:04:39 -03:00
Julia Pinheiro
c36ec5c5ce
Close #12425 : Refactor SOCKET_STATUS to use strong enum ( #13064 )
2020-10-01 22:10:51 -03:00