Marijn van der Werf
bb615c60ee
Clean up translucent palettes
2016-11-13 01:51:28 +01:00
Marijn van der Werf
06b128bac7
Name more palettes
2016-11-13 01:51:27 +01:00
Marijn van der Werf
4f47808201
Name glass palettes
2016-11-13 01:51:26 +01:00
Marijn van der Werf
1ce2242bb3
Start cleaning up filters
2016-11-13 01:45:43 +01:00
Marijn van der Werf
80ea7f7de5
Name `gfx_fill_rect_inset` flags
2016-11-10 17:54:33 +00:00
wolfreak99
1f0b2aefb7
Fix #4771 : Main Menu music not playing
...
When audio_init_ride_sounds is called, it calls audio_stop_title_music, but never calls audio_start_title_music. if you do an assert for gTitleMusicChannel it shows it is null. this fixes that. i will say though this is most definitely a band-aid fix, because if run audio_start_title_music in the audio_init_ride_sounds, it still doesn't play out loud. at least on my setup it doesn't.
2016-11-09 17:37:41 +00:00
Michał Janiszewski
867de18c96
Use json_is_true instead of json_boolean_value
...
This should lower required version of jansson, which would
let us use 2.5 in Trusty (current version in Travis-CI)
See https://github.com/akheron/jansson/issues/146
2016-11-09 13:19:12 +01:00
Michael Steenbeek
26c695bdd1
Use ColourMapA for looking up the mini preview background colour, fixes #1238 ( #4766 )
2016-11-07 12:35:14 +01:00
Michał Janiszewski
512c7bcf51
Prevent crash when opening a window on invalid ride
2016-11-06 18:26:45 +01:00
Duncan
a4f9d41f57
Merge pull request #4746 from marijnvdwerf/fix/supports
...
Fix scenery segments
2016-11-05 10:38:45 +00:00
Michał Janiszewski
b6525c298e
Verify access to terrainEdgeTypeStringIds
2016-11-04 22:21:37 +01:00
Marijn van der Werf
0a431cf918
Fix #4698 : Scenery blocks wrong segments
2016-11-03 21:58:50 +01:00
Michael Steenbeek
b5630a5a5e
Merge pull request #4701 from Overv/implement-disabled-land-rights
...
Resolves #4559 : Changes land rights buttons to be disabled if no tiles for sale remain
2016-11-03 19:42:08 +01:00
duncanspumpkin
8466de7cbf
Fix #4689 . Object selction tabs sometimes flicker.
...
Issue caused by switching between tabs when half way through tab animation. The frame number would not be reset until the next frame and this would cause a split second glitch when moving from a long animation tab to a short animation tab. Issue fixed by reseting the frame number when switching tabs.
2016-11-02 19:08:12 +00:00
Hielke Morsink
ab1708a970
Fix quarter-scenery cluster selection
2016-11-01 09:46:30 +00:00
Alexander Overvoorde
bb059a2741
Resolves #4559 : Changes land rights buttons to be disabled if no tiles for sale remain
...
This commit changes the land rights button in the park window to be
disabled if there are no more land rights and construction rights for
sale. It also disables the individual land rights and construction
rights buttons in the land rights window itself if that specific type of
tile is no longer for sale.
This is implemented by introducing two new global variables called
gLandRemainingOwnershipSales and gLandRemainingConstructionSales. These
are updated by map_count_remaining_land_rights() to contain the number
of land rights and construction rights that remain for sale. This
function is called when a scenario is loaded and whenever the game
command to buy land rights or construction rights is invoked.
It also introduces three new tooltip strings that explain why the
buttons are disabled.
2016-10-31 20:21:10 +01:00
Yaroslav Tretyakov
12bd31bc52
Fix #4726 : Checking wrong x value
2016-10-31 08:20:52 +00:00
Michał Janiszewski
5585a3e67d
Fix #4722 : warnings with clang 3.9
2016-10-30 21:57:14 +01:00
Ted John
66cd816922
Refactor and fix stex disabling tab 1 on objective options
2016-10-30 01:12:41 +00:00
Ted John
33a07f86be
Fix #4724 : Not all rides show up in preserved rides tab
2016-10-30 01:03:26 +00:00
Ted John
09c37d6465
Fix #4713 : preserved rides tab in the wrong tool?
...
Ride check for showing the preserved rides tab was the wrong way round.
2016-10-29 14:48:28 +01:00
zsilencer
3d712ddc58
Give names to _currentTrackSelectionFlags flags
2016-10-26 16:19:56 -06:00
zsilencer
1b47bdd180
Fix desync caused by provisional track piece peep interaction
2016-10-26 15:38:54 -06:00
zsilencer
24bd56af02
Fix desync caused by provisional ride entrance/exit peep interaction
2016-10-26 15:01:50 -06:00
Michał Janiszewski
8894be6a6d
Tie _tooltipText size to that of gCommonStringFormatBuffer
2016-10-23 22:28:35 +02:00
Ted John
94a9c94c1f
Fix saving in editor mode
...
Fixes #4572 : Don't create .sv6 autosaves in track designs manager, roller coaster designer and scenario editor
Fixes #4573 : "Save this before quitting?" in scenario editor saves to .sv6, not .sc6
2016-10-23 17:42:11 +01:00
Ted John
9ee865a8da
Fix #873 : Unable to save track with colon symbol in name of ride
...
Add protection for saving any file with invalid path characters in save dialog.
2016-10-23 17:12:55 +01:00
Ted John
9eaf887546
Fix track manager issues
2016-10-23 00:42:22 +01:00
Ted John
e666028e02
Convert track repository to C++
2016-10-22 22:36:45 +01:00
Ted John
60df18ee0f
Refactor paint_arrange_structs
2016-10-22 13:35:21 +01:00
Ted John
86dd18a65d
Rename paint functions
2016-10-22 13:35:21 +01:00
Ted John
504257ce08
Refactor paint_init
2016-10-22 13:35:21 +01:00
Ted John
2aa0271222
Refactor paint_quadrant_ps
2016-10-22 13:35:21 +01:00
Duncan
81bb6cb950
Merge pull request #4649 from zsilencer/multiplayer
...
Guest+staff pickup and balloon pop commands
2016-10-20 12:46:27 +01:00
zsilencer
3617c2cb93
Code review
2016-10-19 16:20:13 -06:00
wolfreak99
ca19ececd6
Create folder button
...
Fixed remarks
Update comments to plural usage
2016-10-19 02:48:02 -04:00
zsilencer
541ae91d67
fix pickup commands to work with hiring staff
2016-10-18 13:40:50 -06:00
zsilencer
d74efb23fe
Add picking up peeps/staff as game command
2016-10-18 13:40:49 -06:00
Ted John
dd3db116f7
Merge pull request #4606 from IntelOrca/refactor/scenario-sources
...
Refactor scenario sources and scenario list to C++
2016-10-16 22:27:34 +01:00
Hielke Morsink
8434258a62
Tile inspector fixes
...
1. Collision typo (sxtra s)
2. Selection area from previous window session was being used
3. Add label and value for base height spinner for entrances
2016-10-16 21:56:44 +01:00
Hielke Morsink
da9fbf0562
Highlight all selected tiles for cluster tool
2016-10-16 21:19:05 +01:00
Ted John
00e907d007
Merge pull request #4414 from Broxzier/extended_tile_inspector
...
Extended tile inspector
2016-10-16 21:12:21 +01:00
Ted John
babf261542
Refactor scenario list to C++
2016-10-15 21:50:52 +01:00
Manuel Vögele
ec8d37eead
Fix #1943 : Placing Handyman/Security Guard/Mechanic In Multiplayer Causes Crash
...
Open staff window on multiplayer clients when hiring new staff instead of a random visitor.
2016-10-13 22:02:10 +01:00
Michał Janiszewski
f1cbb7935d
Fix left shifts that may overflow
2016-10-13 19:48:42 +01:00
Broxzier
1fcca773aa
Resolves left-shift warning for signed variables
2016-10-11 23:35:00 +02:00
Broxzier
b9e7786a53
[ci skip] Removes unused variables
2016-10-11 23:27:15 +02:00
Broxzier
9fdad31be2
Tile inspector raises surface when all corners are raised. Removes printf.
2016-10-11 23:27:14 +02:00
Broxzier
2ad5ef3c5f
fix path corner checksbox values
2016-10-11 23:27:13 +02:00
Broxzier
52beb417e7
Cleanups
2016-10-11 23:27:12 +02:00