adrian17
87a4f46934
Partial fix to #195 , added not implemented flag check
2014-07-28 22:41:22 +02:00
Ted John
7e8369907a
Merge pull request #239 from duncanspumpkin/viewport_paint
...
Viewport paint
2014-07-27 22:54:20 +01:00
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
adrian17
46889b6890
Remove duplicated SCROLL_FLAGS enum
2014-07-27 16:39:20 +02:00
adrian17
c6e94ebd79
Change some comparisons in scenario_objectives_check()
2014-07-27 16:11:13 +02: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
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
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
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
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
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
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
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
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
Duncan Frost
00381d9313
Deleted twice reversed function added note to prevent this happening. Labled global vars where noticed.
2014-07-19 11:22:45 +01:00
Duncan Frost
cbb913c8af
Added final part of input_scroll_left. Requires more testing
2014-07-19 11:22:44 +01:00
Duncan Frost
3cc9863fc5
Added switch for scroll state
2014-07-19 11:22:43 +01:00
Duncan Frost
16860a8817
Added sub_6E9F92 determines scroll action type
2014-07-19 11:22:42 +01:00
Duncan Frost
d8727e8998
Started reverse of scoll_left
2014-07-19 11:22:41 +01:00