janisozaur
658e877955
Name all the typdef-ed structs ( #3581 )
2016-05-12 22:57:40 +01:00
Ted John
c77311a113
small fix and refactor of S6Importer / Exporter
2016-05-08 23:16:25 +01:00
Ted John
a86bc57a96
use S6Exporter for scenario_save
2016-05-08 22:35:09 +01:00
duncanspumpkin
7f02193411
Move around map element and sprite functions into seperate files
...
Add dummy files for big file move around
Fix files so they can compile
Add copyright header
Split up functions into seperate files
Remove suffix
Move supports again
Change functions signatures to remove viewport_setup
Rename folder structure
Finish moving about files
2016-05-05 21:41:53 +01:00
duncanspumpkin
72ca648135
Move painter functions into paint.c. Fix mistake in paint_attach_to_previous_ps
2016-05-04 18:54:42 +01:00
duncanspumpkin
221d5cb57e
Label more fields.
2016-05-04 18:54:39 +01:00
duncanspumpkin
d6a4ae9aff
Split up attached ps's. Change field names.
2016-05-04 18:54:39 +01:00
janisozaur
68bad6505c
Add and correct licence headers to all sources ( #3108 )
2016-05-04 18:24:41 +01:00
Michael Steenbeek
142c54852d
Clean up some residual usages of old config ( #3484 )
2016-05-03 22:36:29 +01:00
Marijn van der Werf
df4297f9d6
Draw back edges
2016-04-27 23:20:07 +02:00
Marijn van der Werf
ff52ff0a09
Implement surface smoothing
2016-04-27 23:17:22 +02:00
Ted John
870a8b55e5
add global macros for viewport variables
2016-04-25 21:53:21 +01:00
Marijn van der Werf
7728a96e96
Update signature
2016-04-22 14:05:51 +02:00
Duncan
0860cf4540
Merge pull request #3299 from marijnvdwerf/paint-setup/cleanup
...
WIP Paint setup/cleanup
2016-04-18 18:48:53 +01:00
Marijn van der Werf
18a36298b4
Update method signature
2016-04-17 09:42:34 +02:00
IntelOrca
89ad0cc769
store windows in openrct2 memory and increase max
...
Allocate a bigger window list and viewport list in OpenRCT2 static memory and move over all references from RCT2.
This also removes the 'active' viewport pointer list and instead changes everything to just enumerate the whole viewport list
2016-04-14 23:00:35 +01:00
Marijn van der Werf
3bb2214235
Pass 0x009DEA52-0x009DEA56 as parameters
2016-04-14 11:07:41 +02:00
Marijn van der Werf
a6cbd392c6
Add parameter to 9c
2016-04-14 10:08:40 +02:00
Marijn van der Werf
e529532ddd
Add parameters to sub_98198C
2016-04-14 10:02:17 +02:00
duncanspumpkin
9018120c17
Change order of parameters in image setup code.
2016-03-25 18:35:00 +00:00
IntelOrca
96b9a4ed18
implement wooden_a_supports_paint_setup
2015-12-19 20:11:04 +00:00
duncanspumpkin
d91a9c965c
Fix #2405 . Foundations under shops now correctly drawn.
...
Issue was caused by a mistake in implementation
2015-11-30 18:00:33 +00:00
IntelOrca
31ab7c8b98
fix several warnings
2015-11-06 18:50:37 +00:00
Jonathan Haas
96d71ac174
Fix Bug #2201
2015-11-04 12:51:00 +01:00
Michał Janiszewski
c0e2a5c7be
Add get_current_rotation function and DEBUG_LEVEL macros
2015-11-02 22:58:15 +01:00
duncanspumpkin
9a76c59ec9
Fix entrance drawing issue. Fixes #2164 .
2015-10-30 23:33:02 +00:00
duncanspumpkin
e7c653abf2
Refactor attached ps setup code
2015-10-28 18:44:44 +00:00
duncanspumpkin
c62e61bd36
Started implementing rotation 0
2015-10-28 18:44:44 +00:00
Michał Janiszewski
7d0ce00bab
Strip all whitespace
2015-10-20 20:48:51 +02:00
Michał Janiszewski
8f2dc5fd1a
sub_0x68615B doesn't really take any params
...
In all cases, sub_0x68615B takes a single argument, 0xEE788C.
It now takes 0 arguments and simply knows about its initializing values.
2015-07-23 20:22:08 +02:00
IntelOrca
e967e9465f
implement sub_68B2B7
2015-07-17 16:00:46 +01:00
IntelOrca
fbd402eb67
implement remaining screen_get_map_xy... functions
2015-07-11 18:23:59 +01:00
IntelOrca
5724567b15
implement ride_get_place_position_from_screen_position
2015-07-10 14:54:02 +01:00
zsilencer
c971a260b7
fix #1572
2015-07-09 11:00:46 -06:00
IntelOrca
0def7c0883
refactor invalidation of map tiles and viewports
2015-07-06 18:57:36 +01:00
IntelOrca
57fd914a52
implement ride construction
2015-06-27 15:17:54 +01:00
Duncan Frost
8554d2183c
Implemented more of the paint_struct setup code
2015-06-21 16:23:23 +01:00
IntelOrca
18f33f806c
implement sub_68ADBC
2015-06-20 16:24:38 +01:00
Duncan Frost
b2caeaf531
Refactor of code slightly
...
Since get_map_coordinates_from_pos returns sint16 values I changed it so that it didn't use sint32 values.
2015-05-30 06:27:52 +01:00
Duncan Frost
503b330eb8
Fix bugs in viewport interaction and loadsave dialog
...
Part of the issue was comparing an int litteral when it should have been a short but the main issue was due to a wrong mask in the viewport interaction code.
Loadsave MS dialog box should now work correctly.
Fixes #1040 .
Fixes #1039 .
2015-05-05 19:11:35 +01:00
Timmy Weerwag
10c4722a86
Deciphered flags and z param of get_map_coordinates_from_pos
2015-05-03 13:54:08 +02:00
Duncan Frost
b3be906270
Added remaining scenery functions
2015-04-21 18:19:11 +01:00
Timmy Weerwag
5f55bd97be
Decompiled sub_688972
2015-04-04 14:39:46 +02:00
Timmy Weerwag
f52ccebbca
Decompiled screen_pos_to_map_pos
2015-04-04 12:32:35 +02:00
Timmy Weerwag
b20efdada8
Refactored common code into viewport_coord_to_map_coord
2015-04-03 21:11:03 +02:00
Timmy Weerwag
fe799f03a5
Added footpath_bridge_get_info_from_pos
2015-04-01 01:45:18 +02:00
Duncan Frost
04e7ff76e4
Added start of actual paint code. Bugs encountered
2015-02-09 18:51:57 +00:00
IntelOrca
2b7142e49f
attempt to fix #566 and other bugs, also refactor some footpath related functions
2014-11-15 18:22:06 +00:00
IntelOrca
d111c715d6
implement viewport_interaction_get_item_left
2014-11-10 00:40:59 +00:00
IntelOrca
f1cc82f258
prepare for left viewport interaction implementation
2014-11-05 20:28:51 +00:00