adrian17
ae85c697ee
Save screenshots when PrintScreen is pressed
2014-08-03 18:13:15 +02: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
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
Duncan Frost
101324ebc0
Implemented window_resize_gui.
2014-07-29 19:40:06 +01:00
Duncan Frost
3acb1a72ba
Fixes cursor error when main window is at increased size.
2014-07-29 18:05:52 +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
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
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
Duncan Frost
960307e3bc
Fixed bug in create window due to uninitialised data. Finished load_character_width function
2014-06-14 08:32:47 +01:00
Patrick Wijnings
4485e3dd72
osinterface: use FAILED macro to check for success of CoInitializeEx / SHGetMalloc.
2014-06-13 14:44:40 +02:00
IntelOrca
74f5db4ebd
Merge branch 'master' into gfx_unstable
2014-05-27 22:28:45 +01:00
atmaxinger
a70021d53a
Add function for checking wether file exists to osinterface, BMP screenshots can now be saved without WIN32 specific methods.
2014-05-27 16:48:15 +02:00
IntelOrca
70d3d652c5
add saving of screenshots in subfolder
2014-05-26 14:12:43 +01:00
atmaxinger
16c0bde2f4
Check if path could be allocated, initialize it with an empty string.
2014-05-26 09:34:14 +02:00
atmaxinger
35ff9a510d
Fixed returning pointer from a local buffer
2014-05-26 09:27:54 +02:00
atmaxinger
bbae0af0ef
Save screenshots in home folder, Add functions for path separator and detection of homefolder to osinterface
2014-05-25 22:27:28 +02:00
anyc
88a0359cf6
added quit_prompt to save_prompt; proper case handling except save operation
2014-05-24 21:23:01 +02:00
anyc
656a0aafbf
check SDL return values
2014-05-22 23:47:23 +02:00
anyc
872f4521a0
fixed strcat and rct2_startup_checks()
2014-05-22 20:18:42 +02:00
Duncan Frost
eb2682fbd4
Fix merge error
2014-05-13 19:03:23 +01:00
adrian17
0e02787bf3
Prefer the RCT2_GLOBAL macro
2014-05-12 22:03:24 +02:00
IntelOrca
8dcca91092
mass clean up and reduce warnings
2014-05-12 01:45:45 +01:00
atmaxinger
45f78eded4
Moved platform specific UI code (MessageBox, DirectoryChooser) into osinterface.c
2014-05-09 11:40:06 +02:00
Duncan Frost
2276c198fd
Removed a pointless call in palette tried to make draw sprite more understandable
2014-05-08 20:43:10 +01:00
IntelOrca
9b46c74279
add load game and landscape dialog
2014-05-03 10:27:48 +01:00
IntelOrca
6f11cc90ff
credit author in source code header
2014-04-28 22:03:52 +02:00
Alexander Overvoorde
4201ff06d2
Add separate key buffer for shortcuts to fix misbehaving panning with keyboard
2014-04-28 22:03:52 +02:00
ZedThree
6f756bb458
Replace variable addresses with named constants
...
Done automatically with sed/unix
2014-04-28 22:00:54 +02:00
IntelOrca
b9ea3b1143
decompile window mouse wheel input
2014-04-26 15:50:01 +01:00
IntelOrca
9f91798514
implement keyboard shortcuts
2014-04-26 01:16:32 +01:00
Kevin Burke
e5a925e26c
Add newlines to the end of every file (sed/unix do this)
2014-04-21 14:57:48 +05:30
IntelOrca
d339df5784
improve input
2014-04-18 03:04:46 +01:00
IntelOrca
03db7f5bc0
anchor bottom toolbar to window width
2014-04-15 02:36:58 +01:00
IntelOrca
3a6a55147f
add window functions and title screen windows
2014-04-03 03:08:06 +01:00
IntelOrca
ffcbb5b26d
add non-commited files and improve window resize
2014-04-02 21:50:16 +01:00
IntelOrca
182db27ab3
add intro screen code
2014-04-02 16:46:58 +01:00
IntelOrca
643db7ae01
initial commit
...
Working game in SDL2 window but with various bugs and incomplete input
logic.
2014-04-02 00:31:55 +01:00