1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 11:33:03 +01:00
Commit Graph

1059 Commits

Author SHA1 Message Date
Duncan Frost
e1012eaae8 Updated viewport_create function variable inputs 2014-07-27 16:29:41 +01:00
Duncan Frost
d97c0b4679 First draft of draw_quadrant 2014-07-27 16:29:41 +01:00
Duncan Frost
03f4c2e57e Added note for function call 2014-07-27 16:29:40 +01:00
Duncan Frost
1b63aa6bff Decompiled second function. Function unknown 2014-07-27 16:29:40 +01:00
Duncan Frost
2f6945f270 Decompiled first func underground_setup 2014-07-27 16:29:39 +01:00
Duncan Frost
d6d61c7cfc Remove warning 2014-07-27 16:29:38 +01:00
Duncan Frost
2b5e1039ed Fix final zoom related error 2014-07-27 16:29:38 +01:00
Duncan Frost
1cbcf08925 Fix small bug in zooming. Another breaking bug still exists 2014-07-27 16:29:37 +01:00
Duncan Frost
66afea46bd Fixed all remaining bugs labeled more variables 2014-07-27 16:29:36 +01:00
Duncan Frost
34e422fabe Rewrite. Potential mistake 2014-07-27 16:29:36 +01:00
Duncan Frost
ede66261ef Added known addressess 2014-07-27 16:29:35 +01:00
Duncan Frost
5bbfc35565 Fixed bug causing crash 2014-07-27 16:29:34 +01:00
Duncan Frost
4562327e0f First very rough draft of viewport_paint 2014-07-27 16:29:34 +01:00
Duncan Frost
e63c169664 Started decompiling viewport_paint 2014-07-27 16:29:33 +01:00
Ted John
e3b7adfa04 Merge pull request #237 from ZedThree/currency-local
Local currency
2014-07-27 13:36:45 +01:00
ZedThree
c9444737c9 Fix Franc and Guilder symbols, and whitespace 2014-07-27 12:22:01 +02:00
ZedThree
ebe6c95a88 Add localised currency string formatting - fixes #222 2014-07-26 22:08:19 +02:00
ZedThree
6e61f73e7b Fixes #236 - strcat used instead of strcpy 2014-07-26 22:08:19 +02:00
ZedThree
32b53ad968 Change format_currency functions to use format_integer functions 2014-07-26 22:08:18 +02:00
ZedThree
bba524a7a9 Bug fix: in-line sprites in text not rendered correctly 2014-07-26 22:08:18 +02:00
Ted John
ed079819fc Merge pull request #235 from duncanspumpkin/fix_footpath_update
Fixes issue with footpath closing
2014-07-25 21:42:35 +01:00
Ted John
ba2e15052b Merge pull request #234 from adrian17/master
Small work on flags defines, added SCROLL_FLAGS enum
2014-07-25 21:42:10 +01:00
Duncan Frost
f5f7e942c0 Fixes issue with footpath closing 2014-07-25 19:24:39 +01:00
adrian17
8960792073 Add SCROLL_FLAGS enum (and fix an hidden bug in widget_scroll_get_part) 2014-07-25 20:19:32 +02:00
adrian17
65b17cbd5d Used defined flags macros. (and fixed indentation) 2014-07-25 17:56:43 +02:00
Ted John
a66310c2ac Merge pull request #232 from adrian17/master
Use defines for options window size. Fixes #231.
2014-07-24 21:45:10 +01:00
adrian17
6922a771f3 Use defines for options window size. Fixes #231. 2014-07-24 16:57:02 +02:00
Ted John
2f2dff48ea Merge pull request #230 from duncanspumpkin/fix_draw_string
Partial fix to #223
2014-07-23 20:56:03 +01:00
Ted John
eb29534d57 Merge pull request #229 from duncanspumpkin/window_h
Window h and compile error cleanup
2014-07-23 20:54:36 +01:00
Duncan Frost
e897301ff4 Fixes highlighting error 2014-07-23 18:45:19 +01:00
Duncan Frost
d68e716cd8 Removed compile errors. Implemented changes to window.h 2014-07-23 18:07:38 +01:00
Duncan Frost
4263e64f32 Merge branch 'window_h' of https://github.com/duncanspumpkin/OpenRCT2 into window_h 2014-07-23 17:36:18 +01:00
Duncan
105624d915 Added viewport_target_sprite variable name. 2014-07-23 16:17:13 +01:00
Duncan
6ff915ec2f Added variable names for window items.
Has not been tested will require modificaiton of any references to these items.
2014-07-23 12:23:15 +01:00
Ted John
1e134ded1a Merge pull request #227 from duncanspumpkin/fix_ride_list
Fix ride list
2014-07-22 22:58:36 +01:00
Duncan Frost
73a9ceb65d Fix ride list. Update variable names. 2014-07-22 21:03:59 +01:00
Ted John
88ad431818 Merge pull request #221 from marcotc/rain
Small refactor on climate_update
2014-07-22 07:29:42 +01:00
Ted John
c71e825a85 Merge pull request #220 from adrian17/master
Reworked viewport_render()
2014-07-22 07:28:54 +01:00
Marco Costa
73dda39374 Small refactor on climate_update
* Extracted the logic of stepping "weather level" variables.
* Simplified the rain stepping code, as "rain level" is always between 0 and 2.
2014-07-22 00:05:32 -04:00
adrian17
3b6c0d4bbc Reworked viewport_render() 2014-07-21 22:38:52 +02:00
Ted John
e474dfb3e3 Merge pull request #219 from adrian17/master
Improvements for a9091b41b6
2014-07-21 15:30:24 +01:00
adrian17
0369bdcb34 Improvements for a9091b41b6
* renamed variables and functions
* simplified logic copied from other functions
* removed "fast staff" button
* commented the macros in window_cheats.c
* changed water tool bottom limit back to 1 (it doesn't work the same way as the land tool)
* used 1ULL for bit shift by 32
2014-07-21 14:05:43 +02:00
Ted John
8f1fa5b9ee Merge pull request #216 from wolfreak99/master
Cheats, temporary cheat placement macro for convenince, audio option, co...
2014-07-20 22:12:43 +01:00
wolfreak99
2b438c89b4 Update ride.h 2014-07-20 13:58:23 -04:00
Ted John
9805fcc1bc Merge pull request #217 from marcotc/rain
Implement draw_rain_window and call_draw_rain_func
2014-07-20 11:19:12 +01:00
Marco Costa
54933646f1 Implement draw_rain_window and call_draw_rain_func
Implement procedure (0x006842AF) as two methods: draw_rain_window and
call_draw_rain_func.
Avoid using global variable 0x00EE7850 by passing it as a parameter:
draw_rain_func. This global variable was only used by these procedures.
Rain has some visual artifacts in RCT2, specially when using game
windows. This implementation matches the original game, and thus has the
same artifacts.
2014-07-20 02:50:06 -04:00
Ted John
1a57326df6 Merge pull request #215 from duncanspumpkin/input_scroll_left
Input scroll left
2014-07-19 13:36:46 +01:00
Duncan Frost
5f030c6b1e Cleaned up code to remove goto. 2014-07-19 12:04:32 +01:00
Duncan Frost
6727c216e4 fixed bug due to incorrect function calls 2014-07-19 11:55:34 +01:00
Duncan Frost
c4f49bb7cd Added missing case still not working 2014-07-19 11:22:46 +01:00