Commit Graph

1094 Commits

Author SHA1 Message Date
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
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
Ted John 1c90efbc95 Merge pull request #240 from duncanspumpkin/cursor_investigation
Cursor investigation
2014-07-29 07:30:22 +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
Duncan Frost e321708e05 Debugging 2014-07-28 17:45:46 +01:00
Duncan Frost d84ed93c62 Added JeroenSack's decompile of mouse over. 2014-07-28 17:45:45 +01:00
Duncan Frost 2fd87342af Trying a different set_cursor interface to make multiple os support easier 2014-07-28 17:45:44 +01:00
Duncan Frost 6f8cefac21 Added a setcursor function 2014-07-28 17:45:44 +01:00
Duncan Frost 2622df3777 Implemented LoadCursor function. 2014-07-28 17:45:43 +01:00
Ted John 7e8369907a Merge pull request #239 from duncanspumpkin/viewport_paint
Viewport paint
2014-07-27 22:54:20 +01:00
Ted John 94f39e52e5 Merge pull request #238 from adrian17/master
Change some comparisons in scenario_objectives_check()
2014-07-27 22:47:43 +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
Ted John e3b7adfa04 Merge pull request #237 from ZedThree/currency-local
Local currency
2014-07-27 13:36:45 +01:00