Duncan Frost
57f17f62e5
Moved function to gfx.c added new addresses
2014-08-08 17:19:08 +01:00
Duncan
13b51fe475
More cleanup of gfx_rain.
2014-08-08 16:36:47 +01:00
Duncan Frost
5257f368c9
Cleaned up rain code. Remember to remove constant rain
2014-08-08 16:36:46 +01:00
Duncan Frost
6ec15b240b
Fix compile mistakes
2014-08-08 16:36:45 +01:00
Duncan
ca38d60b6f
Cleaned up 684027
...
Not tested.
2014-08-08 16:36:44 +01:00
Duncan
be1d3ff74a
Added very rough 0x684027 function
2014-08-08 16:36:43 +01:00
IntelOrca
13d95ded35
prepare for loading a language file
2014-08-07 23:20:58 +01:00
IntelOrca
96aaa87543
make both game commands use same call and rename / use more commands in enum
2014-08-07 22:25:51 +01:00
IntelOrca
4a89b3dd5c
refactor currency
2014-08-07 21:53:22 +01:00
Marco Costa
cc1e2248de
Decompile of rain-drawing functions
...
Light rain function at position 0x00684114
Heavy rain function at position 0x0068416D
Function array at position 0x009AC058
Avoid passing uint32 function address. Instead use the array index.
2014-08-06 20:40:42 -04:00
qcz
1baf54a051
Enum for the command table; cleanup warnings and comments from the previous commit
2014-08-06 21:06:51 +02:00
Ted John
2365563583
Merge pull request #262 from qcz/wip-stafflist
...
Decompiling the staff window
2014-08-05 22:05:54 +01:00
Dániel Tar
f87202f42f
Remove unused enum
2014-08-05 19:54:44 +02:00
Dániel Tar
fce067e667
Arrange includes and remove an unneccessary variable
2014-08-05 19:31:29 +02:00
Dániel Tar
fa931e1ff0
Decompiling window_staff
2014-08-05 19:15:28 +02:00
Duncan Frost
7384350720
Fixes combo boxes not pointing at selected item
2014-08-04 17:07:20 +01:00
adrian17
ae85c697ee
Save screenshots when PrintScreen is pressed
2014-08-03 18:13:15 +02:00
adrian17
8a70730f08
Make RCT2 know if LodePNG failed
2014-08-03 17:45:19 +02:00
Duncan Frost
a00ac39b7e
Fixes #218 @adrian17 did all the work for this fix.
2014-08-01 09:15:43 +01:00
Duncan Frost
83c197e312
Fixes issue where sound stops working after cancel is pressed
2014-07-31 20:14:00 +01:00
Ted John
397fbefa37
Merge pull request #253 from duncanspumpkin/fix_249
...
Fixes #249
2014-07-31 18:47:31 +01:00
Duncan Frost
265ae1a544
Fixes #249
2014-07-31 17:43:57 +01:00
adrian17
02df419548
Make window resizable again.
...
Note: I can't simple place SDL_WINDOW_RESIZABLE in _fullscreen_modes[] because SDL ignores this flag in SDL_SetWindowFullscreen and if the user started the game in fullscreen and switched to window, it wouldn't be resizable.
The way I did it is the only way I know to make the window resizable regardless of whether the game was first started in window or in fullscreen.
2014-07-31 11:41:00 +02:00
anyc
305cef2f75
fix errors and warnings with mingw
2014-07-31 00:11:01 +02:00
adrian17
ba08e4480c
Disable resolution option when in borderless fullscreen
2014-07-30 14:55:40 +02:00
adrian17
5df3dbe671
Add the fullscreen mode to .ini config
2014-07-30 14:55:36 +02:00
adrian17
7d3e7a596e
Create a dropdown for fullscreen in options window. Uses placeholder text.
2014-07-30 14:54:24 +02:00
adrian17
b83972715f
Basic support for switching window/fullscreen with Alt+Enter
2014-07-30 12:54:36 +02:00
Ted John
1ffcbde7a1
Merge pull request #247 from adrian17/border_flash_fix
...
Full fix for #195 (border flash bug)
2014-07-29 23:38:12 +01:00
Ted John
7e9d6d7c79
Merge pull request #246 from adrian17/map_scrollgetsize
...
Decompiled window_map_scrollgetsize
2014-07-29 23:37:52 +01:00
Ted John
ec48d91333
Merge pull request #245 from adrian17/fix_hscrollbar
...
Fixed horizontal scrollbar not drawing properly
2014-07-29 23:37:43 +01:00
adrian17
a34430e04c
Full fix for #195 (border flash bug)
2014-07-29 23:24:17 +02:00
adrian17
e3f2801ede
Decompile window_map_scrollgetsize
2014-07-29 20:58:17 +02:00
Duncan Frost
101324ebc0
Implemented window_resize_gui.
2014-07-29 19:40:06 +01:00
adrian17
a72f0c95ad
Fixed horizontal scrollbar not drawing properly
2014-07-29 19:14:33 +02:00
Duncan Frost
3acb1a72ba
Fixes cursor error when main window is at increased size.
2014-07-29 18:05:52 +01:00
Ted John
5d255fae42
Merge pull request #242 from adrian17/viewport_cleanup
...
Remove viewport_paint_underground_setup, it's just gfx_clear
2014-07-29 16:45:11 +01:00
adrian17
bc814f395e
Fix window_map_mouseup() (it was callling window_options_mouseup() instead)
2014-07-29 16:52:11 +02:00
adrian17
6b013e123d
decompile window_map_scrollpaint()
...
Not sure if preserving the top g1_element is of any importance;
I haven't noticed anything breaking when I removed it.
2014-07-29 16:52:03 +02:00
adrian17
037f59cd1a
Remove viewport_paint_underground_setup, it's just gfx_clear
2014-07-29 16:46:04 +02:00
Ted John
843996358e
Merge pull request #241 from adrian17/master
...
Partial fix to #195 , added not implemented flag check
2014-07-29 07:31:31 +01:00
adrian17
87a4f46934
Partial fix to #195 , added not implemented flag check
2014-07-28 22:41:22 +02:00
Duncan Frost
e406869fe4
Cleanup of last goto's.
2014-07-28 21:27:14 +01:00
Duncan Frost
6818d31492
Rework of cursor code
2014-07-28 18:15:02 +01:00
Duncan Frost
425ab513a4
Started cleanup of process mouse over
2014-07-28 17:45:50 +01:00
Duncan Frost
c201ebefca
Added license
2014-07-28 17:45:49 +01:00
Duncan Frost
cdb60bab6c
Fixed pointing locations.
2014-07-28 17:45:49 +01:00
Duncan Frost
0b5b95979e
Added unload of cursors. Small cleanup
2014-07-28 17:45:48 +01:00
Duncan Frost
8f50e75859
Actually add sdl cursors
2014-07-28 17:45:47 +01:00
Duncan Frost
89ba3d1faf
Add sdl cursors
2014-07-28 17:45:47 +01:00