1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 23:34:37 +01:00
Commit Graph

132 Commits

Author SHA1 Message Date
Ted John
b97cd7b9b1 Merge pull request #4290 from wolfreak99/see_through_paths
See-Through Paths (and implement gCurrentViewportFlags)
2016-08-16 17:53:02 +01:00
Marijn van der Werf
b9a4ef86df Integrate litter data
0x0097EF6C
0x0097EFCC
0x0097EFE8
2016-08-16 10:55:38 +01:00
wolfreak99
791733a571 See-through paths, Convert gCurrentViewportFlags to uint32 2016-08-15 00:58:15 -04:00
Marijn van der Werf
80419556f4 Include some supports data 2016-08-07 20:13:46 +02:00
Marijn van der Werf
bb1ea5c9c7 Use construction_markers 2016-08-07 20:13:46 +02:00
Michał Janiszewski
9ac3b78530 Integrate g_currently_drawn_item 2016-08-07 11:41:33 +02:00
Yaroslav Tretyakov
bb822e351d Fix #4237: Some scenery dissapears while zooming out x2 or more 2016-08-07 01:47:31 +01:00
Michał Janiszewski
0ece63a7f6 Wrap RCT2's addresses in RCT2_ADDRESS macro 2016-08-06 21:38:46 +01:00
Marijn van der Werf
0333eb760a Add macro for support height 2016-08-02 23:32:58 +02:00
Marijn van der Werf
750b8d9949 Draw bound boxes 2016-07-25 14:25:35 +02:00
duncanspumpkin
9652f68024 Implemented junior rollercoaster paint 2016-07-22 19:16:03 +01:00
Michał Janiszewski
9f57c82653 Refactor access to g_sprite_list
Hide g_sprite_list behind accessor function with a check. `assert` is
temporarily disabled, as it breaks nearly every park.
2016-07-17 22:19:34 +02:00
Michał Janiszewski
c3cd35fdbd Integrate g_paint_structs (0xF1A50C) 2016-07-16 16:43:25 +01:00
Michał Janiszewski
de980c5c7a Integrate paint structs 2016-07-16 16:02:30 +01:00
Michał Janiszewski
a6d0e6916e Fix function definitions to match their declarations
This makes sure every function is properly declared, which includes
proper `extern` wrappers.
2016-07-14 14:11:49 +02:00
Marijn van der Werf
5204fb0ce9 Clean up string and sprite ID's (#3977) 2016-07-14 14:07:49 +02:00
Ted John
dca816cfd3 Merge pull request #4024 from IntelOrca/refactor/object-list
Refactor and improve the object system:
- Objects are now exported to user directory under 'object'.
- Object directories are scanned recursively.
- Improves reliability of object loading and handling of bad objects.
- Improve performance of object scanning.
- Only load new objects when loading a new game.
- Improve changing language experience.
2016-07-11 23:45:45 +01:00
duncanspumpkin
4fa10b049b Fix #3999. Animated objects correctly apply secondary colours 2016-07-09 08:05:25 +01:00
Ted John
82d90fe350 use pointer for smallscenery/var10 2016-07-08 22:58:38 +01:00
Ted John
52c11267bc add small scenery preview 2016-07-08 22:58:38 +01:00
Michał Janiszewski
644a36a310 Fixes to -Wall compilation
By default, not all warnings are enabled. This change makes sure that
the project compiles correctly with following options turned on:

    -Wall -Wno-unused-but-set-variable -Wno-missing-braces \
    -Wno-unknown-pragmas -Wno-unused-function
2016-06-20 13:46:27 +01:00
Yaroslav Tretyakov
9829fc13d3 Fix #3885: Scenery with 0 height bound box incorrect 2016-06-17 20:53:14 +01:00
Michał Janiszewski
3d4eceb5ca Fix rebase 2016-06-16 11:36:15 +02:00
Ted John
ad1b9265dc integrate variables for various drawing pointers 2016-06-16 11:36:15 +02:00
Ted John
d07b9535c2 integrate variables: object entry lists 2016-06-16 11:36:15 +02:00
Duncan
f339bd6e7a Merge pull request #3465 from marijnvdwerf/paint-setup/path
Path paint
2016-06-15 07:10:55 +01:00
duncanspumpkin
0bdff0af63 Refactor 2016-06-14 20:33:56 +01:00
Yaroslav Tretyakov
a5bf11ce86 Fix #3859: Scenery bounding box incorrect (#3874) 2016-06-14 08:02:59 +01:00
Ted John
3d76480808 fix #1433: Peep spawn point does not get set using sandbox mode
Now show peep spawns if in editor OR in sandbox mode.
2016-06-13 21:23:30 +01:00
Ted John
602d84156c fix #3856: Save Game causes Crash 2016-06-13 19:39:11 +01:00
Marijn van der Werf
b0d08d6e42 Make two branches match better 2016-06-12 19:00:30 +02:00
Marijn van der Werf
3edcadcbec Clean up function to use less globals 2016-06-11 11:47:44 +02:00
Marijn van der Werf
8e962c9157 Restore original path support drawing 2016-06-11 11:35:18 +02:00
duncanspumpkin
4131396844 Fix bugs 2016-06-11 11:24:45 +02:00
duncanspumpkin
a36a6c3ef9 Small refactor 2016-06-11 11:24:45 +02:00
duncanspumpkin
63f42c6d47 Fix support issue 2016-06-11 11:10:11 +02:00
duncanspumpkin
27eab3b0ec Finish implementing path bit drawings 2016-06-11 11:10:11 +02:00
duncanspumpkin
9f46773961 Start adding path bits paints 2016-06-11 11:10:11 +02:00
duncanspumpkin
1099a17686 Fix minor issue with declaration 2016-06-11 11:10:11 +02:00
duncanspumpkin
fc296428fd Finish function. Readd path additions. Fix scrolling text 2016-06-11 11:10:11 +02:00
duncanspumpkin
980e6ca30a Start last part 2016-06-11 11:07:41 +02:00
duncanspumpkin
a37d5e7382 Finish var_0A paths 2016-06-11 11:06:53 +02:00
Marijn van der Werf
9de7492121 Start decompilation of 0x6A3590 2016-06-11 11:06:53 +02:00
Ted John
428724d86c refactor reset_sprite_spatial_index, integrate gSpriteSpatialIndex 2016-06-03 18:13:00 +01:00
Michał Janiszewski
1508e49a28 Change macro to assert_struct_size 2016-06-03 11:29:50 +02:00
Michał Janiszewski
934ce5e84e Fix 64 bit by skipping static_asserts for structs with pointers 2016-06-03 10:55:21 +02:00
Michał Janiszewski
60630b9ad7 Drop PACKED attribute 2016-06-03 10:55:21 +02:00
Michał Janiszewski
df3030e4a9 Provide static_assert for hard-coded struct sizes. 2016-06-03 10:55:21 +02:00
Michał Janiszewski
3907fcd9d2 Explicitly pack structs 2016-06-03 10:55:21 +02:00
Duncan
8a427a2676 Merge pull request #3737 from marijnvdwerf/paint-setup/monorail
Paint setup/Monorail
2016-05-29 07:54:35 +01:00