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
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
Ted John
7d16c653cb
Merge pull request #214 from adrian17/master
...
Use address names from addresses.h
2014-07-19 11:12:46 +01:00
Ted John
a2240932e2
Merge pull request #213 from duncanspumpkin/game_cleanup
...
Implemented check affordability and clean up
2014-07-19 11:12:36 +01:00
Ted John
01e62c1769
Merge pull request #212 from marcotc/rain
...
Implemented draw_rain_animation
2014-07-19 11:12:30 +01:00
Ted John
fb76c022e8
Merge pull request #211 from duncanspumpkin/viewport_create
...
Viewport create
2014-07-19 11:12:20 +01:00
Ted John
94bb349d24
Merge pull request #144 from MaciekBaron/master
...
Labelling addresses, adding initial happiness calculation
2014-07-19 11:11:16 +01:00
Marco Costa
a13da0f7ec
Rename variables in draw_rain_animation
...
Renamed variables to better represent their meaning.
Use global g_window_list instead of manually fetching it.
2014-07-18 19:36:06 -04:00
adrian17
843c45aafc
Use address names from addresses.h
2014-07-18 22:28:15 +02:00
Marco Costa
2130c85e90
Implemented draw_rain_animation
...
Implemented the first level of the rain drawing routine.
Still not sure what the parameter means, so I keep its register name.
2014-07-17 23:29:39 -04:00
Duncan Frost
a51d057ded
Fixed bugs related with last commit
2014-07-17 18:41:23 +01:00
Duncan Frost
2bbcf146c6
Finished first draft of viewport_create
2014-07-17 17:59:49 +01:00
Duncan Frost
9d9f3424cf
Added error_string_quit and a litle part of viewport_create
2014-07-16 21:39:39 +01:00
wolfreak99
a9091b41b6
Cheats, temporary cheat placement macro for convenince, audio option, copiedunlimited land tool to water tool.
2014-07-15 22:41:12 -04:00