Ted John
110730015b
Rename scenery set to scenery group
2017-11-19 20:40:55 +00:00
Ted John
3251af4f30
Refactor entertainer invented logic
...
Remove hard dependency on scenery window by calling a new is scenery set invented function. I don't think this the performance is any worse as it called init_scenery anyway for every call to get_available_entertainers.
2017-11-19 16:06:10 +00:00
Michael Steenbeek
03299b9a64
Assert string number is not -2
2017-11-19 16:47:35 +01:00
Marijn van der Werf
67ebf40f83
Move main editor window to UI project
2017-11-18 21:07:21 +01:00
Marijn van der Werf
dceb403ca9
Move editor bottom toolbar to UI module
2017-11-18 21:07:21 +01:00
Marijn van der Werf
8b7322ad6e
Move bottom toolbar to UI module
2017-11-18 21:07:21 +01:00
Marijn van der Werf
3d7867791d
Move scenery window to UI module
2017-11-18 21:07:21 +01:00
platipo
789b47b7bb
Refactor slope flags and path type flag
2017-11-18 12:58:27 +01:00
Ted John
06cd6a958e
Fix #6274 : Demolishing launched freefall track piece removes entrance and exit
...
Regression caused by multiple refactor commits. Track type and sequence was being retrieved from the entrance element instead of the track element in sub_6CB945.
Also fixes #6690 .
2017-11-18 00:04:40 +00:00
Michael Steenbeek
81ee4793df
Fix #6688 : reverser elements not correctly registered
...
Issue caused by using tile_element_get_type() where track_element_get_type was intended.
2017-11-17 23:44:05 +01:00
Michael Steenbeek
8027af56b6
Fix multi-dim coasters freezing and crashing
2017-11-17 23:23:45 +01:00
Michael Steenbeek
bb483b0c5f
Replace direct access to large scenery colour with helper functions
2017-11-17 22:54:54 +01:00
Enrico Paganin
8ffe7d5b43
Refactor maze flags
2017-11-17 17:03:57 +01:00
Enrico Paganin
27b420374e
Refactor path flags
2017-11-17 17:03:57 +01:00
Enrico Paganin
c2bf44ab1b
Refactor scenery flags
...
Every SCENERY_GHOST_FLAG_X is connected with its respective
SCENERY_TYPE_xxx flag
2017-11-17 17:03:57 +01:00
Enrico Paganin
94bdfb0e43
Refactor marketing.h flag
2017-11-17 17:03:57 +01:00
Enrico Paganin
95e75c4575
Refactor colour.h flags
2017-11-17 17:03:57 +01:00
Michael Steenbeek
e23c10863e
Fix tile element type confusion
2017-11-17 14:20:49 +01:00
Michael Steenbeek
470c9993fa
Fix calling wrong function
2017-11-17 13:10:58 +01:00
Michael Steenbeek
3bd68947b9
Create functions for getting large scenery type and sequence
2017-11-17 12:56:08 +01:00
Michael Steenbeek
9a4021996f
Remove unnecessary comment
...
[ci skip]
2017-11-17 12:54:47 +01:00
Michael Steenbeek
e12de39407
Fix include
2017-11-17 12:54:47 +01:00
Michael Steenbeek
dd6257af1e
Tackle the two residual usages of the colour property
2017-11-17 12:54:47 +01:00
Michael Steenbeek
268851aa87
Fix testpaint
2017-11-17 12:54:47 +01:00
Michael Steenbeek
3cf8da184d
Create tile_element_get_ride_index()
2017-11-17 12:54:47 +01:00
Michael Steenbeek
99830ed069
Add track_cable_lift functions to compat.c
2017-11-17 12:54:47 +01:00
Michael Steenbeek
a5dee3a0ae
Add track_element_[sg]et_type to compat.c
2017-11-17 12:54:47 +01:00
Michael Steenbeek
60d5d5ca1e
Cleanup
2017-11-17 12:54:47 +01:00
Michael Steenbeek
f448d16707
Add methods for getting and setting track element type
2017-11-17 12:54:47 +01:00
Michael Steenbeek
5a7ace134f
Apply changes to Testpaint
2017-11-17 12:54:47 +01:00
Michael Steenbeek
953d6840f4
Fix some missed occurrences
2017-11-17 12:54:47 +01:00
Michael Steenbeek
ab3f42f1f9
Add getters and setters for ride index and maze entry
2017-11-17 12:54:47 +01:00
Michael Steenbeek
74209c7282
Move track tile element functions to Track.cpp
2017-11-17 12:54:47 +01:00
Aaron van Geffen
13f99e495e
Reduce console verbosity for TTF loading.
2017-11-17 10:31:26 +01:00
Michael Steenbeek
a292917e50
Compile mapgen.c as C++
2017-11-17 10:22:54 +01:00
OpenRCT2 git bot
36236d8c97
Merge Localisation/master into OpenRCT2/develop.
2017-11-17 04:00:43 +00:00
TELK
d6131ed062
Fix #6547 : logging does not work if server contains CJK characters ( #6565 )
2017-11-16 23:02:37 +00:00
Mike Slone
aca7048377
Fix #6293 : Screenshot sound not played when the game is paused ( #6429 )
...
Stop all sounds when pausing the game, but allow new sounds to play.
This allows interface sounds to function while paused, which fixes #6293 .
2017-11-16 23:02:16 +00:00
Ted John
271f15328b
Merge pull request #6329 from JeroenDStout/railway-crossings-fix-clip
...
Fix railway/path clipping when on same height
2017-11-16 23:00:40 +00:00
Michał Janiszewski
63e246938f
Make sure PORTABLE option is honoured globally
2017-11-16 23:08:03 +01:00
Ted John
f36cffc98a
Fix running headless instances
...
colours_init_maps was not blocked when running in headless mode.
2017-11-16 21:53:34 +00:00
Ted John
d649a3e8b4
Merge pull request #6631 from sajattack/develop
...
replace flock with fcntl for better os compatibility
2017-11-16 20:28:24 +00:00
Ted John
f7c7a5bace
Fix build
2017-11-16 19:11:10 +00:00
Ted John
6b5ad0cf73
Fix alignment in sprites.h
2017-11-16 19:06:19 +00:00
Jeroen D Stout
deb37a8de8
Add missing 3-tile turn piece
2017-11-16 19:04:08 +00:00
Jeroen D Stout
0c1265aba3
Add sprites to sprite index
2017-11-16 19:04:08 +00:00
Jeroen D Stout
f8b4ee2602
Add gravel / grooved track painting behaviour to miniature railway
2017-11-16 19:04:08 +00:00
Jeroen D Stout
c6d548cc36
Increase bouding box z of peeps
2017-11-16 19:03:14 +00:00
Jeroen D Stout
b207826e56
Increase bounding box z of litter
2017-11-16 19:03:14 +00:00
Jeroen D Stout
afab2bd51f
Change path bounding box when intersecting with track
2017-11-16 19:03:14 +00:00