27657 Commits

Author SHA1 Message Date
Duncan Frost
a00ac39b7e Fixes #218 @adrian17 did all the work for this fix. 2014-08-01 09:15:43 +01:00
Ted John
eeb313ad8a Merge pull request #254 from duncanspumpkin/fix_exit_sound
Fixes issue where sound stops working after cancel is pressed
2014-08-01 00:28:30 +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
Ted John
0fcd05aecc Merge pull request #252 from adrian17/resizable_fix
Make window resizable again.
2014-07-31 18:47:16 +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
Ted John
d827a24a24 Merge pull request #250 from anyc/testing
fix errors and warnings with mingw
2014-07-30 23:21:42 +01:00
anyc
305cef2f75 fix errors and warnings with mingw 2014-07-31 00:11:01 +02:00
Ted John
1a724da182 Merge pull request #248 from adrian17/fullscreen_mode
[RFC?] Fullscreen mode with Alt+enter shortcut and dropdown option
2014-07-30 14:29:25 +01: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
Ted John
4abd782497 Merge pull request #244 from duncanspumpkin/fix_cursor
Fixes cursor error when main window is at increased size.
2014-07-29 23:37:29 +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
Ted John
252404cd88 Merge pull request #243 from adrian17/map_window
Decompile window_map_scrollpaint() and fix window_map_mouseup()
2014-07-29 16:44:52 +01:00