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
duncanspumpkin
e1306afbf3
Fix #3717 . Tunnels correctly drawn when paths underneath
2016-05-27 21:17:55 +01:00
Marijn van der Werf
9089a9d560
Paint other diagonal tracks
2016-05-26 18:22:48 +02:00
CraigCraig
3f9afb9744
Various Spellchecks ( #3741 )
2016-05-26 09:49:19 +02:00
zsilencer
24ab08f845
Integrate 9A3E7C
2016-05-25 00:03:26 -06:00
zsilencer
df5ad2c025
Integrate 98E3C4
2016-05-25 00:03:25 -06:00
zsilencer
1c5a73db54
integrate ScenerySubTileOffsets
2016-05-25 00:03:25 -06:00
Yaroslav Tretyakov
90d8683e67
Fix #3718 : fence height incorrect ( #3726 )
2016-05-25 01:03:37 +01:00
duncanspumpkin
f88ee81b25
Fix #3720 . Supports correctly drawn every 4 units
2016-05-24 19:41:13 +01:00
Ted John
4ea1a48edc
Merge pull request #3706 from IntelOrca/paint/river-rafts
...
Paint River Rafts
2016-05-23 19:23:46 +01:00
Michał Janiszewski
11cbdb0299
Fix compilation warnings ( #3709 )
2016-05-23 12:08:25 +01:00
Marijn van der Werf
603a255567
Add console command for painting segment heights ( #3708 )
2016-05-23 10:29:11 +01:00
Ted John
0efb23159e
fixed river rafts quarter turn draw
2016-05-22 23:01:07 +01:00
zsilencer
990024f2e4
Fix support drawing issue
2016-05-22 15:20:47 -06:00