Commit Graph

24 Commits

Author SHA1 Message Date
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
IntelOrca 62be863476 refactor viewport interaction functions 2014-11-05 19:42:19 +00:00
IntelOrca 554e1fe70e organisation: move files and update project 2014-10-06 10:21:07 +01:00
Renamed from src/viewport.h (Browse further)