Michał Janiszewski
8e6ea776f6
Add time.h include to shared.c for clock_gettime
2017-05-04 17:29:05 +01:00
Ted John
4ba60cbf52
Replace SDLRW with fopen in interop.c
2017-05-04 17:29:05 +01:00
Ted John
80bdb25740
Change http.cpp to use std::thread
2017-05-04 17:29:05 +01:00
Ted John
08b3817272
Use C++ future, thread and chrono for TcpSocket
2017-05-04 17:29:05 +01:00
Ted John
b8931bd503
Use C++ mutex instead of SDL for server_list.cpp
2017-05-04 17:29:05 +01:00
Ted John
ec3652152a
Quick port of server_list window to C++
...
So that C++ mutex can be used.
2017-05-04 17:29:04 +01:00
Ted John
90596e0f54
Remove unnecessary SDL headers from NetworkTypes.h
2017-05-04 17:28:37 +01:00
Ted John
0ad94f92e3
Replace Stopwatch with chrono
2017-05-04 17:28:37 +01:00
Ted John
459d79d2f3
Use FILE instead of SDL for FileStream
2017-05-04 17:27:51 +01:00
Ted John
73fb132e41
Replace some SDL functions with our own
2017-05-04 17:27:51 +01:00
Michał Janiszewski
ac593b9daf
Start v0.0.8
2017-05-03 23:43:16 +02:00
Marijn van der Werf
a0259b79d4
Use rct_widgetindex type
2017-05-03 22:43:33 +02:00
Marijn van der Werf
31e8b510ec
Use constants for maze construction
2017-05-03 16:09:21 +02:00
Marijn van der Werf
927190103b
Use enum for tools
2017-05-03 16:09:21 +02:00
Ted John
18fc922000
Use a file pattern as it appears to now be supported in VS
2017-05-03 11:14:13 +02:00
Michael Steenbeek
b713b799b5
Increase network version
2017-05-03 08:41:34 +02:00
zaxcav
36ff7e90af
Improve ignoring wide flags on patrol zone edges
...
This is a minor improvement to #5424 .
The zone edge detection is expanded to also check the diagonal neighbouring tiles so that the fix in #5242 also works for tiles on an internal corner of a patrol zone.
2017-05-03 08:41:34 +02:00
Gymnasiast
af713f2cbe
Add booster sprites and drawing routines to the mini roller coaster
2017-05-02 22:40:31 +02:00
Marijn van der Werf
2b54032b8e
Replace magic numbers in windows with constants
2017-05-02 14:41:53 +02:00
Marijn van der Werf
3cf725745d
Add compile-time checked constants for widget ids
2017-05-02 09:58:25 +02:00
zaxcav
0debd879da
Ignore wide flags on patrol zone edges in path finding heuristic, fixes #5414
...
Wide path flags in patrol zones can divide the paths with an uncrossable boundary. Ignore wide flags on the patrol zone edges to provide doorways for mechanics through these boundaries without otherwise affecting the path finding heuristic.
Fixes #5414 .
Requires new network version.
2017-05-02 08:10:09 +02:00
Michał Janiszewski
5e03fcde33
Update network version to 20 after #5423
2017-05-01 21:41:52 +02:00
zaxcav
94eb6994fb
Prevent peeps walking up and back down ride queues ( #5423 )
...
This bug is caused by inconsistent use of peep->interactionRideIndex. The primary use of this value is to record when a peep has decided to go on the ride at the queue entrance so they remember that decision when entering each queue path tile - without this they would re-decide whether to go on the ride each time they walk into a new ride queue tile.
This is also important for making the peeps walk up and back out of the queue when the ride is closed.
This value is also set when a peep decides not to go on a ride (though the reason why is not clear to me), but is not reset/changed on interaction with other tile types (e.g. shops, no entry signs, etc) causing peeps who bounce back on a ride queue entrance to walk up and down the queue.
Fixes #3499
Requires new network version.
2017-05-01 21:29:38 +02:00
Ted John
ded1a7b918
Fix #5421 : Keyboard shortcuts are not working properly
...
Update magic numbers, change some to actually open window instead of delegating to the top toolbar.
2017-05-01 16:33:57 +01:00
Ted John
53c9230142
Merge pull request #5415 from IntelOrca/feature/mute-toolbar
...
Add mute button to toolbar
2017-04-30 23:08:18 +01:00
Ted John
4288e13947
Change mute widget index to its more logical position
2017-04-30 22:35:47 +01:00
Ted John
ae8aa2d466
Fix top toolbar tool switching
...
Moved tool active checks to top toolbar so that it can use constants.
2017-04-30 22:33:19 +01:00
Ted John
8bd0c703a7
Revert "fix and refactor DrawRLESprite2 ( #5396 )" as it broke water rendering
...
This reverts commit fde3c8a3ed .
2017-04-30 20:02:27 +01:00
Ted John
75e0c94082
Fix mute / unmute logic
2017-04-30 18:03:25 +01:00
Ted John
21bf897bda
Adjust group box on interface options page
2017-04-30 17:46:23 +01:00
Ted John
eb422a70bd
Fix toolbar strings and use new icon
2017-04-30 17:37:36 +01:00
Ted John
95c9ec5f54
Add ear toolbar icon to g2
2017-04-30 17:37:36 +01:00
Pulkit
970614bd51
WIDX_MUTE Improvements
2017-04-30 17:36:38 +01:00
Pulkit
89baa54633
Fixed the whitespaces
2017-04-30 17:33:26 +01:00
Pulkit
dff1d724a0
Updated the location of the mute button
2017-04-30 17:33:26 +01:00
Pulkit
daf968161e
Added the mute option in the toolbar
2017-04-30 17:33:26 +01:00
Pulkit
f7d01e3983
Modified the Mute button Like the Cheat
...
I implemented the Mute button but for some reason I am unable to enable
the checkbox. Could someone kindly look into it
2017-04-30 17:33:26 +01:00
Pulkit
0ca023a459
Few Corrections, in the code.
2017-04-30 17:33:26 +01:00
Pulkit
a0f6a3b61b
Updated Position of the Mute Button
2017-04-30 17:33:25 +01:00
Pulkit
ffa3896b24
Mute Button Implemented like in RCT1
...
Added the Mute button, like requested in the Issue #1421 .
2017-04-30 17:33:21 +01:00
Ted John
1ab90d86ca
Fix exporting non-RLE sprites
2017-04-30 17:22:27 +01:00
camthesaxman
a793ac24f3
remove unused variables
2017-04-30 06:42:23 +02:00
camthesaxman
2ac8c9bad3
build the version string at compile time
2017-04-30 06:42:23 +02:00
Cameron Hall
fde3c8a3ed
fix and refactor DrawRLESprite2 ( #5396 )
2017-04-30 06:40:25 +02:00
CraigCraig
e0b875398b
Tons of spelling fixes ( #5413 )
...
[ci skip]
2017-04-30 06:39:24 +02:00
Michał Janiszewski
b8bc6c7374
Bump network version to 19
2017-04-29 20:56:32 +02:00
Michał Janiszewski
f58233912d
Prevent execution of invalid command in track_place
2017-04-29 20:56:32 +02:00
Michał Janiszewski
a5df306a84
Guard from null scenery entry
2017-04-29 20:56:32 +02:00
Michał Janiszewski
2609242780
Fix #3136 : Add 255th FlatRideTrackBlock entry
...
This is to guard invalid ride type from invoking an uninitialised read.
2017-04-29 20:56:32 +02:00
Michał Janiszewski
dd6e040122
Prevent access to invalid banner in game command
2017-04-29 20:56:32 +02:00