Ted John
173a42f656
Apply code review suggestions
2020-09-03 22:38:42 +01:00
Ted John
1c91404707
Add more network guards
2020-09-03 22:38:42 +01:00
Ted John
fd6fddb61a
Improve WSA handling
2020-09-03 22:38:42 +01:00
Ted John
7dfb748500
Add listening property
2020-09-03 22:38:42 +01:00
Ted John
5da5804f84
Add localhost limitation
2020-09-03 22:38:42 +01:00
Ted John
703dc1efa7
Add ability to connect
2020-09-03 22:38:42 +01:00
Ted John
182bcaf21a
Implement setNoDelay
2020-09-03 22:38:42 +01:00
Ted John
7a5cb8a5b6
Refactor events into EventList class
2020-09-03 22:38:42 +01:00
Ted John
dce547af99
Start implementing TCP API
2020-09-03 22:38:35 +01:00
Nils Caspar
359bbee9f5
Fix #12845 : Cancel marketing campaigns for demolished rides ( #12848 )
2020-09-03 18:20:42 -03:00
Duncan
c0255efeaa
Create an enum class serializer ( #12810 )
...
* Create an enum class serializer
* Make visitor work again
* Make suggested changes
2020-09-03 21:55:46 +01:00
Nils Caspar
bc33ef3d43
Add Park.entranceFee to the plugin API ( #12840 )
2020-09-03 17:07:19 -03:00
Nils Caspar
22f29bf192
Close #12414 : Refactor GUEST_LIST_FILTER_TYPE to use strong enum ( #12830 )
2020-09-02 12:50:16 -03:00
Simon Ellmann
5f3fe62f83
Close #12432 : Refactor STAFF_MODE to use strong enum ( #12752 )
...
* Refactor STAFF_MODE to use strong enum
Closes #12432
* Change type of gStaffModes to StaffMode
2020-09-02 12:48:40 -03:00
Michael Steenbeek
55722a7ad4
Remove commented-out code ( #12834 )
2020-09-01 15:33:52 -03:00
Simon J
f7acb84e42
Fix #400 : unable to place some saved tracks flush to the the ground ( #12721 )
2020-09-01 18:26:44 +02:00
Tulio Leao
4e58eae43d
Merge pull request #12808 from gguedesaz/fix-stringbuilder
...
Part of #11159 : Refactor on StringBuilder.hpp
2020-09-01 00:48:55 -03:00
Gabriel Guedes
95ae589750
Part of #11159 : Prefer std::basic_string<utf8> over raw pointer
...
Usage of std::basic_string to improve readability and maintainability.
2020-08-31 21:06:02 -03:00
Julia Pinheiro
dafde532af
Close #12426 : Refactor NETWORK_READPACKET to use strong enum ( #12807 )
...
Replacing enum NETWORK_READPACKET with enum class NetworkReadPacket.
2020-08-31 09:13:15 -03:00
Gabriel Guedes
332e9e76d5
Part of #11159 : Removing unused functions from StringBuilder.hpp
2020-08-29 14:34:30 -03:00
ju-pinheiro
e9c3f31422
Close #12423 : Refactor NETWORK_SERVER_STATE to use strong enum ( #12802 )
...
#12423
2020-08-29 08:05:51 -03:00
Łukasz Pękalski
bfdc1f6d2a
Close #12430 : Refactor OBJ_STRING_ID to use strong enum ( #12796 )
2020-08-28 23:36:58 -03:00
Tulio Leao
731a93dc39
Create WindowColour enum for widget definition calls ( #12722 )
...
* Make MakeWidget* functions take enum colour
* Make windows A-D use WindowColour enum
* Make windows E-G use WindowColour enum
* Make windows I-M use WindowColour enum
* Make windows N-P use WindowColour enum
* Make windows R-S use WindowColour enum
* Make windows T use WindowColour enum
* Make windows V-W use WindowColour enum
2020-08-28 23:31:31 -03:00
Cory Sanin
8d366ebaea
Add Ride.totalProfit to the plugin API ( #12795 )
...
Add Ride.totalProfit to the plugin API
2020-08-28 22:52:54 +01:00
Ted John
3a0bff4b93
Add comment about remX, remY
2020-08-28 01:30:17 +01:00
Ted John
65e3d20156
Refactor drawing
2020-08-28 01:30:15 +01:00
Ted John
a1cd02c61c
Disable closer zoom levels for software rendering
2020-08-28 01:29:59 +01:00
Ted John
609cde2304
Fix drawing of money text when zoomed in
2020-08-28 01:29:59 +01:00
Ted John
7f0510e444
Fix sub pixel clip issues with OpenGL
2020-08-28 01:29:59 +01:00
Ted John
f51ad862c9
Refactor window drawing
2020-08-28 01:29:59 +01:00
Ted John
2b51eaeaa1
Fix weather gloom when zoomed in
2020-08-28 01:29:59 +01:00
Ted John
25581fa4ef
Share blit methods between BMP and RLE
2020-08-28 01:29:59 +01:00
Ted John
f16a46b872
Refactor RLE minify
2020-08-28 01:29:59 +01:00
Ted John
1645c64e87
Implement RLE magnify
2020-08-28 01:29:59 +01:00
Ted John
247c950c60
Implement magnify for bitmap
2020-08-28 01:29:59 +01:00
Ted John
cd7324262d
Create ZoomLevel struct to add two new zoom levels
2020-08-28 01:29:59 +01:00
Łukasz Pękalski
411f242cfd
Close #12431 Refactor VirtualFloorStyles to use strong enum ( #12790 )
2020-08-27 21:06:39 -03:00
Michał Janiszewski
c6b10bb051
Make GetCurrentExecutableDirectory public ( #12791 )
2020-08-27 21:03:41 +02:00
Michael Steenbeek
db8efe20d0
Merge pull request #12785 from Gymnasiast/refactor/text-drawing
...
Start removal of gfx_draw_string_*()
2020-08-26 22:51:39 +02:00
Gymnasiast
17bac8c57b
Use colour_t
2020-08-26 15:38:27 +02:00
Gymnasiast
972e6e80ab
Allow passing Formatter to DrawTextBasic() and DrawTextEllipsised()
2020-08-26 15:08:42 +02:00
Gymnasiast
39bc73c394
Deprecate text draw functions with 1:1 replacements
2020-08-26 14:53:59 +02:00
Gymnasiast
9a31a94128
Use const args in DrawTextEllipsised()
2020-08-26 14:49:28 +02:00
Gymnasiast
ceace1a3ad
Remove draw_string_left_underline()
2020-08-26 14:47:47 +02:00
Gymnasiast
f1caddc9fe
Remove draw_string_right_underline()
2020-08-26 14:46:37 +02:00
Gymnasiast
5f468da9cf
Remove draw_string_centred_underline()
2020-08-26 14:44:57 +02:00
Gymnasiast
e1b778832b
Expose DrawTextBasic() and DrawTextEllipsised()
2020-08-26 14:44:30 +02:00
Gymnasiast
10ac7954b0
Remove set_format_arg_body()
2020-08-26 14:04:44 +02:00
Michael Steenbeek
8b19d943a4
Merge pull request #12676 from mwnciau/Ride-Helix-Save
...
Fix #7037 : saving rides starting with sloped turn
2020-08-26 12:13:59 +02:00
Michael Steenbeek
56c623e549
Merge pull request #12671 from AaronVanGeffen/refactor/tabs
...
MakeTab wrapper for standard tab widgets
2020-08-26 12:13:36 +02:00