1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +01:00
Commit Graph

251 Commits

Author SHA1 Message Date
IntelOrca
3c1190e11f implement utf8, part 26 (bug fixes) 2015-08-03 18:06:54 +01:00
IntelOrca
a9e6f8c3db implement utf8, part 12 2015-08-01 10:20:55 +01:00
Gymnasiast
ae32b463c0 Add feature to make banners display text in all caps 2015-07-25 21:38:23 +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
2bad1052b3 fix #1641 2015-07-17 21:32:22 +01:00
IntelOrca
74dc18b062 implement viewport_track_paint_setup 2015-07-17 17:25:38 +01:00
IntelOrca
e967e9465f implement sub_68B2B7 2015-07-17 16:00:46 +01:00
Duncan Frost
8504486b28 Fix entrance/exit placement.
Fixes #1591
2015-07-13 21:09:36 +01:00
Gymnasiast
0cbabb479e Fix some warnings 2015-07-13 11:56:58 +02:00
IntelOrca
3ffffc699c clean up and remove various callprocs 2015-07-12 01:46:52 +01:00
IntelOrca
48b71782fe fix sub_679023 2015-07-11 21:58:33 +01:00
IntelOrca
9dca351e8d fix mistake in sub_679023 2015-07-11 19:37:19 +01:00
IntelOrca
daaf42d581 implement sub_679023 2015-07-11 18:46:52 +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
zsilencer
9eb4958dde fix #1002 2015-07-05 08:57:01 -06:00
IntelOrca
cc54171443 remove / isolate several CALLPROCs 2015-06-30 17:13:34 +01:00
Duncan Frost
c165811017 Fix incorrect drawing of entrance elements
2 mistakes found.
1. Did not call the correct paint setup function. This caused the order of painting to be incorrect.
2. Used the wrong offset to the transparent image. This would cause little bits of transparency to appear on the top of the entrance image.

Fixes #1442.
2015-06-24 20:20:54 +01:00
Duncan Frost
d5c19437ac Make generic version of 98197C rotations. Refactor.
I've added a new function coordinate 3d to 2d. There are still quite a few different versions of this same code throughout the project that should be changed to use this function.
2015-06-21 16:23:25 +01:00
Duncan Frost
2c6312a86d Implemented 2nd rotation. Small refactor of parameter list 2015-06-21 16:23:24 +01:00
Duncan Frost
48d3f6e7e3 Switch on setup_image_on_viewport rotation 0. 2015-06-21 16:23:24 +01:00
Duncan Frost
8554d2183c Implemented more of the paint_struct setup code 2015-06-21 16:23:23 +01:00
Duncan Frost
eac5cea701 Implement left and right parts of the entrance. 2015-06-21 16:23:22 +01:00
Duncan Frost
dc7f83d667 Implement more of park entrance paint setup
I've changed the order of some of this code so its possible this wont display quite the same. Will need extensive testing.
2015-06-21 16:23:22 +01:00
Duncan Frost
4911ad5a9d Started implementing entrance_paint_setup 2015-06-21 16:23:21 +01:00
Duncan Frost
cb7d579c9a Refactor of sprite_paint_setup and litter_setup.
Also generalized entrance_setup so that it can be used for exits as well
2015-06-21 16:23:20 +01:00
Duncan Frost
3781918957 Added viewport_ride_entrance_paint_setup 2015-06-21 16:23:20 +01:00
Duncan Frost
b20513187c Start viewport_entrance_paint_setup 2015-06-21 16:23:19 +01:00
Duncan Frost
5ba52e3688 Refactor of map_element_paint_setup 2015-06-21 16:23:18 +01:00
Duncan Frost
c004d0e73f Refactor viewport_paint_setup 2015-06-21 16:23:17 +01:00
Duncan Frost
55d3b67cfe Refactor of scrolling_text_setup 2015-06-21 16:23:17 +01:00
Duncan Frost
9958ffc0f7 Started refactor of viewport drawing
Renabled banner paint setup
2015-06-21 16:23:16 +01:00
IntelOrca
ee7a2c47f4 refactor map size 2015-06-13 19:11:26 +01:00
IntelOrca
0dd749baac refactor window event calls 2015-06-09 18:29:02 +01:00
IntelOrca
dc3fe2a6c8 remove commented out CALLPROCs and CALLFUNCs 2015-06-09 15:09:45 +01:00
Duncan Frost
169628ddb0 Fix #1243.
For a lengthy reason as to how this worked before see #1243. New version skips bad map_elements (and the next one).
2015-06-07 10:53:08 +01:00
Duncan Frost
17abada57e Fix invalid locations breaking viewports
Fixes #1183. Note this isn't the same fix that rct2 uses. But I feel it solves the main issue
2015-06-03 19:00:16 +01:00
Duncan Frost
fb1c8c4e42 Check against invalid tiles correctly 2015-06-03 18:02:41 +01:00
IntelOrca
85bf7c77d0 Merge branch 'cmdline-screenshot' into develop 2015-05-30 13:03:16 +01:00
Duncan Frost
0954687973 Refactor ofviewport code slightly
Fix potential water height bug
2015-05-30 10:00:33 +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
a59fd26b3d Added update_water
Refactored up/down water commands so that it used more standard layout.
Not tested.
2015-05-30 06:27:51 +01:00
Duncan Frost
24f9898ce6 Fixed bug with land direction
This would cause the cursor to highlight the opposite tile when hovering over bottom left and bottom right
2015-05-30 06:27:50 +01:00
IntelOrca
6f1cd77f3c implement textinput_cancel and refactor textinput event calls 2015-05-28 01:15:58 +01:00
IntelOrca
101fed0dd9 refactor g1Elements pointer and implement sub_68371D 2015-05-28 00:17:22 +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
d09a6249ff Renamed sub_688697 to store_interaction_info 2015-05-03 13:54:08 +02:00
Timmy Weerwag
10c4722a86 Deciphered flags and z param of get_map_coordinates_from_pos 2015-05-03 13:54:08 +02:00