Commit Graph

10937 Commits

Author SHA1 Message Date
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
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
Broxzier 9400b292cf Add toggling footpath slope to MP 2017-02-12 23:01:51 +01:00
Broxzier 7ffcc61bf2 Add toggling footpath slope to the tile inspector. 2017-02-12 23:01:49 +01:00
Broxzier 1a611bc5be Add setting slope for fences to MP 2017-02-12 23:00:07 +01:00
Broxzier 31aa7f045a Add path edges and corner toggle to MP 2017-02-12 23:00:07 +01:00
Broxzier 577d1d1128 Add diagonal toggle to MP 2017-02-12 23:00:07 +01:00
Broxzier 7349177c2d Add toggle surface corner to MP 2017-02-12 23:00:07 +01:00
Broxzier c38f4b7171 Add show/restore park fences to MP 2017-02-12 23:00:07 +01:00
Broxzier 044f9c60a9 Better code for readiblity and consistency 2017-02-12 23:00:07 +01:00
Broxzier 813317deed Move map.h include to header, as rct_map_element is used there 2017-02-12 23:00:07 +01:00
Broxzier efd9fce064 Change base height 2017-02-12 23:00:07 +01:00
Broxzier d57f73673a prefix new functions taking x and y with '_at' 2017-02-12 23:00:07 +01:00
Broxzier 83dbb52976 Sorting tile 2017-02-12 23:00:07 +01:00
Michał Janiszewski fc42dce87e Use our own assert_struct_size macro for static assert 2017-02-12 23:00:07 +01:00
Broxzier be97031bb9 Add compiletime asserts to verify size hasn't changed. 2017-02-12 23:00:07 +01:00
Broxzier ff1e5c7675 Use memcpy instead of copying data manually 2017-02-12 23:00:07 +01:00
Broxzier f7ae3065f9 Made pasting of map elements work in MP 2017-02-12 23:00:07 +01:00
Broxzier ab62d3505a Made rotate button work in MP 2017-02-12 23:00:06 +01:00
LRFLEW 7dc9ad6cb3 Update Xcode Project 2017-02-12 23:00:06 +01:00
Broxzier 87216cf8a6 Add moving of elements
This also simplifies the logic in map.c a little bit, as elements are not
important for modifying a tile.
2017-02-12 23:00:06 +01:00