Commit Graph

11056 Commits

Author SHA1 Message Date
Michał Janiszewski 726a01db1c Ensure main windows always exists 2017-02-17 09:07:05 +01:00
Michał Janiszewski 32438ef6d0 Check for NULL element in get_ride_queue_end 2017-02-17 09:02:50 +01:00
Michał Janiszewski 7d62c70c59 Initialise variables to default values 2017-02-17 08:50:58 +01:00
Michał Janiszewski 13640959e5 Remove unused value 2017-02-17 08:50:46 +01:00
Michał Janiszewski 8f0711f99d Validate peep action in sub_693B58 2017-02-17 08:42:08 +01:00
Michał Janiszewski 03dd026ba0 Fix invalid bounds check in game_command_set_staff_order 2017-02-17 08:36:34 +01:00
Michał Janiszewski 31ef90fafb Remove unnecessary clamp in cheats_set_money 2017-02-17 08:32:14 +01:00
Michał Janiszewski f4d712ce80 Fix NULL check in game_command_remove_banner 2017-02-17 08:29:19 +01:00
OpenRCT2 git bot cfab71a076 Merge Localisation/master into OpenRCT2/develop. 2017-02-17 04:00:20 +00:00
Michał Janiszewski f03b37e6f2 Merge pull request #5227 from janisozaur/set_format_body_size
Ensure set_format_body macro only accepts properly sized arguments
2017-02-17 00:11:25 +01:00
Christian Murphy 29ba9586f5 Update platform.h 2017-02-16 21:47:00 +00:00
Marijn van der Werf 0ebfc557fb Set Xcode C dialect to gnu11 2017-02-16 22:09:51 +01:00
Duncan cc7bdf2a17 Merge pull request #5230 from duncanspumpkin/refactor
Refactor flags
2017-02-16 19:09:13 +00:00
duncanspumpkin 260a6200b9 Fix dropdown custom height code. Use flags for filters.
Note dropdown custom height code is not used in any function at present.
2017-02-16 18:35:59 +00:00
Michał Janiszewski 2dcf33bd42 Ensure set_format_body macro only accepts properly sized arguments 2017-02-16 16:50:35 +01:00
Christian Murphy b40c57934b Update platform.h 2017-02-16 12:23:32 +00:00
Christian Murphy c3ea18f490 Modified MAX_PATH usage to use more appropriate MAX_COMMAND_LENGTH 2017-02-15 23:10:04 +00:00
Christian Murphy b552231c1d more bash escapes on zenity commands for file dialog 2017-02-15 21:45:21 +00:00
duncanspumpkin cab367aa24 Label known flags 2017-02-15 21:41:03 +00:00
Michał Janiszewski d40bbd7f5c Fix #5219: segfault when opening "misc" tab in options 2017-02-15 22:11:28 +01:00
Michał Janiszewski 8bf8172345 Provide default height in case of null map element 2017-02-15 21:44:27 +01:00
Michał Janiszewski 663e45f24d Limit tile inspector coord update to valid actions only 2017-02-15 21:37:29 +01:00
Michał Janiszewski b874626602 Check for NULL element in map_is_location_owned_or_has_rights 2017-02-15 21:26:06 +01:00
Michał Janiszewski 6f7d869639 Merge pull request #5110 from Broxzier/tileinspector_multiplayer
Multiplayer support for the tile inspector
2017-02-15 13:20:35 +01:00
Broxzier 5a6233ede7 Set last action coords 2017-02-15 12:23:48 +01:00
OpenRCT2 git bot bea5a4316f Merge Localisation/master into OpenRCT2/develop. 2017-02-15 04:00:24 +00:00
Michał Janiszewski d088f9b3ac Update network version
Also fix a typo
2017-02-14 23:18:25 +01:00
Michał Janiszewski f043bd1001 Don't assert inside logic
This would be an easy target for DoS by a malicious client.
2017-02-14 22:46:24 +01:00
Michał Janiszewski a78e922a14 Fix edge conditions 2017-02-14 22:34:13 +01:00
Michał Janiszewski e402701c66 Verify element indices for tile inspector 2017-02-14 00:15:08 +01:00
Christian Murphy fb0661b55e improve file dialogs (zenity + kdialog) 2017-02-13 21:11:13 +00:00
OpenRCT2 git bot 13df54c9d0 Merge Localisation/master into OpenRCT2/develop. 2017-02-13 04:00:19 +00:00
Michał Janiszewski 84769239f9 Guard against unsupported elementIndex values
This will verify if passed in `elementIndex` value produces a valid
element. The check for base element is still required, as it can be
`NULL` and only create a valid element because of `elementIndex` value,
which is not portable at all.
2017-02-13 00:12:37 +01:00
Michał Janiszewski 66ac57ddf3 Fix null element detection 2017-02-12 23:32:00 +01:00
Broxzier 183291ed03 Updated changelog
[ci skip]
2017-02-12 23:03:00 +01:00
wolfreak99 5bdf2cac75 Add permissions for MODIFY_TILE command 2017-02-12 23:02:59 +01:00
wolfreak99 bee43fc78d Disable unsupported debug options in multiplayer 2017-02-12 23:02:19 +01:00
Broxzier 879b8c67e0 Apply coding style to new code in map.c 2017-02-12 23:02:19 +01:00
Broxzier 2fb49013bc Apply coding style to tile inspector source files 2017-02-12 23:02:19 +01:00
Broxzier 22cfb3da2c Fix Travis warning 2017-02-12 23:02:19 +01:00
Broxzier bc93ecaf30 Add banner toggle for blocking paths to MP 2017-02-12 23:02:19 +01:00
Broxzier f44a78ff8a Add clamp corrupt element to MP 2017-02-12 23:02:18 +01:00
Broxzier cc2fae2f6a Add setting quadrant collision for small scenery to MP 2017-02-12 23:02:18 +01:00
Broxzier 2682639393 Add setting small scenery quadrant location to MP 2017-02-12 23:02:18 +01:00
Broxzier 06b73d03ab Add missing string
[ci skip]
2017-02-12 23:02:16 +01:00
Broxzier 623501b042 Fix crash in track block functions 2017-02-12 23:01:51 +01:00
Broxzier 5ef6816da6 Replace returns in switch with breaks
[ci skip]
2017-02-12 23:01:51 +01:00
Broxzier 1cbf2e6589 Remove no longer needed definitions 2017-02-12 23:01:51 +01:00
Broxzier d5291cfd0a Add raising and setting chain for track blocks to MP 2017-02-12 23:01:51 +01:00
Broxzier 96a1192445 Replaced asserts with openrct2_asserts 2017-02-12 23:01:51 +01:00