Jonathan G Rennison
61934fdfdc
Remove std::function from Pool iteration wrapper
...
Add a separate template wrapper for filtered iteration
5 years ago
Jonathan G Rennison
7960db35f2
Merge branch 'master' into jgrpp
...
# Conflicts:
# config.lib
# projects/openttd_vs140.vcxproj
# projects/openttd_vs140.vcxproj.filters
# projects/openttd_vs141.vcxproj
# projects/openttd_vs141.vcxproj.filters
# projects/openttd_vs142.vcxproj
# projects/openttd_vs142.vcxproj.filters
# src/aircraft_cmd.cpp
# src/base_station_base.h
# src/core/pool_type.hpp
# src/disaster_vehicle.cpp
# src/economy.cpp
# src/engine.cpp
# src/group.h
# src/group_cmd.cpp
# src/group_gui.cpp
# src/lang/english.txt
# src/lang/german.txt
# src/linkgraph/linkgraph_gui.cpp
# src/network/network_command.cpp
# src/network/network_server.cpp
# src/openttd.cpp
# src/order_cmd.cpp
# src/road_cmd.cpp
# src/saveload/afterload.cpp
# src/saveload/cargopacket_sl.cpp
# src/saveload/linkgraph_sl.cpp
# src/saveload/order_sl.cpp
# src/saveload/station_sl.cpp
# src/saveload/town_sl.cpp
# src/saveload/vehicle_sl.cpp
# src/screenshot.cpp
# src/screenshot.h
# src/settings_gui.cpp
# src/settings_type.h
# src/smallmap_gui.cpp
# src/station.cpp
# src/station_cmd.cpp
# src/table/settings.ini
# src/toolbar_gui.cpp
# src/town_cmd.cpp
# src/train.h
# src/train_cmd.cpp
# src/train_gui.cpp
# src/vehicle.cpp
# src/vehicle_base.h
# src/vehiclelist.cpp
# src/window_type.h
5 years ago
glx
41232f18c1
Codechange: Replace network related FOR_ALL with range-based for loops
5 years ago
Jonathan G Rennison
cbdd9f84d8
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/console_gui.cpp
# src/lang/korean.txt
# src/video/sdl2_v.cpp
# src/video/sdl2_v.h
# src/window.cpp
# src/window_gui.h
5 years ago
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
5 years ago
Jonathan G Rennison
ba34ec7ade
Merge branch 'master' into jgrpp
...
Replace build and refit, and group collapse implementations
Fix template creation build and refit
# Conflicts:
# Makefile.bundle.in
# config.lib
# src/animated_tile.cpp
# src/blitter/32bpp_anim.hpp
# src/blitter/32bpp_base.hpp
# src/blitter/8bpp_base.hpp
# src/blitter/null.hpp
# src/build_vehicle_gui.cpp
# src/command.cpp
# src/command_func.h
# src/console_gui.cpp
# src/core/smallstack_type.hpp
# src/date.cpp
# src/debug.cpp
# src/genworld_gui.cpp
# src/ground_vehicle.hpp
# src/group_gui.cpp
# src/lang/korean.txt
# src/linkgraph/linkgraph_gui.h
# src/main_gui.cpp
# src/misc_gui.cpp
# src/network/core/game.h
# src/network/core/packet.cpp
# src/network/core/udp.cpp
# src/network/core/udp.h
# src/network/network_content.cpp
# src/network/network_type.h
# src/network/network_udp.cpp
# src/newgrf_house.h
# src/openttd.cpp
# src/order_cmd.cpp
# src/order_gui.cpp
# src/os/unix/crashlog_unix.cpp
# src/os/windows/crashlog_win.cpp
# src/osk_gui.cpp
# src/pathfinder/opf/opf_ship.cpp
# src/rail_cmd.cpp
# src/rail_gui.cpp
# src/saveload/saveload.cpp
# src/settings.cpp
# src/settings_gui.cpp
# src/smallmap_gui.h
# src/station_base.h
# src/station_cmd.cpp
# src/table/gameopt_settings.ini
# src/table/newgrf_debug_data.h
# src/table/settings.ini
# src/timetable_gui.cpp
# src/toolbar_gui.cpp
# src/train_gui.cpp
# src/vehicle.cpp
# src/vehicle_gui.cpp
# src/vehiclelist.cpp
# src/viewport.cpp
# src/widgets/dropdown.cpp
# src/window_gui.h
6 years ago
peter1138
07de9d6c3f
Codechange: Use override keyword in networking classes.
6 years ago
Patric Stout
e3c639a09f
Remove: ENABLE_NETWORK switch
...
This switch has been a pain for years. Often disabling broke
compilation, as no developer compiles OpenTTD without, neither do
any of our official binaries.
Additionaly, it has grown so hugely in our codebase, that it
clearly shows that the current solution was a poor one. 350+
instances of "#ifdef ENABLE_NETWORK" were in the code, of which
only ~30 in the networking code itself. The rest were all around
the code to do the right thing, from GUI to NewGRF.
A more proper solution would be to stub all the functions, and
make sure the rest of the code can simply assume network is
available. This was also partially done, and most variables were
correct if networking was disabled. Despite that, often the #ifdefs
were still used.
With the recent removal of DOS, there is also no platform anymore
which we support where networking isn't working out-of-the-box.
All in all, it is time to remove the ENABLE_NETWORK switch. No
replacement is planned, but if you feel we really need this option,
we welcome any Pull Request which implements this in a way that
doesn't crawl through the code like this diff shows we used to.
6 years ago
Jonathan G Rennison
3001595916
Change chat arbitrary data field from an int64 to a struct.
8 years ago
planetmaker
5bd83befbe
(svn r25588) -Feature [FS#5643]: PING and PONG packets for admin port (Xaroth)
11 years ago
planetmaker
7686587f02
(svn r25588) -Feature [FS#5643]: PING and PONG packets for admin port (Xaroth)
11 years ago
planetmaker
fdcebd3f2f
(svn r25587) -Add FS#5643: Conclude rcon output sent to admin clients with an RCON_END packet (Xaroth)
11 years ago
planetmaker
4a1bf704ee
(svn r25587) -Add FS#5643: Conclude rcon output sent to admin clients with an RCON_END packet (Xaroth)
11 years ago
truebrain
1d84fb277e
(svn r23623) -Add: allow bi-directional communication with the AdminPort and GameScript
13 years ago
truebrain
3a535690d4
(svn r23623) -Add: allow bi-directional communication with the AdminPort and GameScript
13 years ago
rubidium
d10a5077d4
(svn r23115) -Fix [FS#4813]: allow accessing the server's client info as well in the admin network (dihedral)
13 years ago
rubidium
c8857d4679
(svn r23115) -Fix [FS#4813]: allow accessing the server's client info as well in the admin network (dihedral)
13 years ago
rubidium
fc5af08ef8
(svn r22934) -Fix [FS#4771]: prevent authentication bypass for the admin port when a new game is started
13 years ago
rubidium
998bbde49e
(svn r22934) -Fix [FS#4771]: prevent authentication bypass for the admin port when a new game is started
13 years ago
rubidium
61a3963361
(svn r22424) -Document: some more bits
14 years ago
rubidium
c4aa943aaa
(svn r22424) -Document: some more bits
14 years ago
rubidium
e2c050d256
(svn r22398) -Codechange: remove some defines from the tcp/admin code, so doxygen can create better documentation
14 years ago
rubidium
b2efd73773
(svn r22398) -Codechange: remove some defines from the tcp/admin code, so doxygen can create better documentation
14 years ago
rubidium
9ce29f918d
(svn r22367) -Codechange: send ClientSockets instead of ClientInfos to the admin "core" as they send IP addresses to the admin "bots"
14 years ago
rubidium
146d532d51
(svn r22367) -Codechange: send ClientSockets instead of ClientInfos to the admin "core" as they send IP addresses to the admin "bots"
14 years ago
smatz
c85e1c3089
(svn r22116) -Codechange: use PoolBase::Clean() at more places
14 years ago
smatz
756cc6cf65
(svn r22116) -Codechange: use PoolBase::Clean() at more places
14 years ago
rubidium
692e61d1dc
(svn r21701) -Codechange: ConsoleColour = TextColour, so make it that way and remove some unneeded casts
14 years ago
rubidium
b25cf57542
(svn r21701) -Codechange: ConsoleColour = TextColour, so make it that way and remove some unneeded casts
14 years ago
rubidium
72a4dc53d9
(svn r21668) -Feature: command logging using the admin interface (dihedral)
14 years ago
rubidium
6546561360
(svn r21668) -Feature: command logging using the admin interface (dihedral)
14 years ago
rubidium
d0c3cb352c
(svn r20975) -Add: logging of console output for remote admins (dihedral)
14 years ago
rubidium
a5d414a734
(svn r20975) -Add: logging of console output for remote admins (dihedral)
14 years ago
rubidium
a7c0820d4e
(svn r20974) -Add: remote console (rcon) for remote admins (dihedral)
14 years ago
rubidium
ad12a91cda
(svn r20974) -Add: remote console (rcon) for remote admins (dihedral)
14 years ago
rubidium
28832b68f5
(svn r20973) -Add: chat sending and receiving support for remote admins (dihedral)
14 years ago
rubidium
d9602f4ef9
(svn r20973) -Add: chat sending and receiving support for remote admins (dihedral)
14 years ago
rubidium
de8feb0d01
(svn r20972) -Add: company statistics updates at intervals to remote admins (dihedral)
14 years ago
rubidium
459514afe4
(svn r20972) -Add: company statistics updates at intervals to remote admins (dihedral)
14 years ago
rubidium
064117be4a
(svn r20971) -Add: company economy updates at intervals to remote admins (dihedral)
14 years ago
rubidium
ca5d9f7002
(svn r20971) -Add: company economy updates at intervals to remote admins (dihedral)
14 years ago
rubidium
56a65270fc
(svn r20970) -Add: company change notification to remote admins (dihedral)
14 years ago
rubidium
ae20cb4f3d
(svn r20970) -Add: company change notification to remote admins (dihedral)
14 years ago
rubidium
9f17b8ddee
(svn r20969) -Add: client info change notification to remote admins (dihedral)
14 years ago
rubidium
fe44944f32
(svn r20969) -Add: client info change notification to remote admins (dihedral)
14 years ago
rubidium
bff3ad3537
(svn r20968) -Add: date notification of remote admins (dihedral)
14 years ago
rubidium
901c4a56bd
(svn r20968) -Add: date notification of remote admins (dihedral)
14 years ago
rubidium
72c85d1cdb
(svn r20967) -Add: infrastructure to send information to remote admins at specific intervals (dihedral)
14 years ago
rubidium
b4ce7fad7f
(svn r20967) -Add: infrastructure to send information to remote admins at specific intervals (dihedral)
14 years ago
rubidium
ef2ffebc88
(svn r20964) -Add: disconnecting remote admins that fail to authenticate
14 years ago