Commit graph

64 commits

Author SHA1 Message Date
The Dax
023eb30b3e Win32: Fix a bug in fullscreen. Consolidate the fullscreen code into one function. 99% of the code is the same anyway. 2014-07-16 23:58:22 -04:00
Henrik Rydgard
f127bb715b Revert "Windows: Get rid of that silly inner "display" window. Should be zero functional change."
Should help #6295.

This reverts commit 281ff6ce2a.

Conflicts:
	Windows/WindowsHost.cpp
	Windows/WndMainWindow.cpp
2014-06-29 22:13:53 +02:00
Henrik Rydgard
56cee3c00e Prevent rendering and multiple WM_SIZE events when switching between windowed and fullscreen
May help #6295 but also it may not, I can't test it as I don't have that GPU.

Also gets rid of some outdated code.
2014-06-29 21:08:20 +02:00
Henrik Rydgard
dc3806b700 Win32: Keep DSound running even when in the menu.
This will make it possible to play the game-selection audio later.
2014-06-22 14:17:57 +02:00
The Dax
1059f99d69 One more warning fix. 2014-06-01 18:53:35 -04:00
The Dax
58411136ee Remove the const int, and fix another warning. 2014-06-01 18:32:14 -04:00
Peter Tissen
1024eb7b63 initial commit for multiple DInput devices.
allow multiple dinput devices but still block all dinput devices if an xinput device is present.
This still has some issues with devices not being able to be dynamically added or removed but
even many commercial games react to hot-plug DInput events. Also, the axis handling is not really
ideal yet but it works for now.
2014-06-01 12:37:30 +02:00
Henrik Rydgard
281ff6ce2a Windows: Get rid of that silly inner "display" window. Should be zero functional change. 2014-05-11 18:04:07 +02:00
Unknown W. Brackets
80704d013e Fix #5390, crash on Exit on Windows. 2014-02-09 17:35:43 -08:00
Unknown W. Brackets
b1af4f4911 Write symbol maps as ".ppmap" instead.
This has some benefits:
 * They are smaller, but zgrep/zcat etc. still work.
 * Since the format is slightly different, bisecting won't overwrite.
 * It avoids conflicts with .map file associations.
2014-01-25 21:12:16 -08:00
Unknown W. Brackets
db77dcd149 Fix some includes on Windows/etc. 2013-12-29 15:59:36 -08:00
Sacha
a0c5af288c Add InputBox as a platform-specific system function instead of a host function. Enable it on all Qt platforms. Add Set Nickname to mobile Qt. 2013-12-08 20:16:34 +10:00
Kingcom
5844d0107b Rewrite SymbolTable 2013-11-27 13:33:30 +01:00
The Dax
7000b63082 When using a debug build, always show the debug log/enable logging on start. 2013-10-13 14:31:48 -04:00
The Dax
9c868351de Make Enable Debug Logging checkbox instant as it was intended to be. 2013-10-13 14:18:50 -04:00
The Dax
3d8b68e88e Make Fullscreen checkbox instant. 2013-10-13 13:34:55 -04:00
shenweip
db44c4c478 Don't save the console position when it is minimized. 2013-10-08 22:04:07 +08:00
The Dax
975b8cf7e7 Post a message when the window title's text needs to change. This resolves #3282. 2013-09-14 12:49:50 -04:00
The Dax
ac88cbd894 Let NewUI's Antialiasing option be instant so a game reboot isn't required. 2013-09-08 00:27:39 -04:00
Unknown W. Brackets
110f9513ca Fix multiple windows UI translations.
Just keep track of the original values used as keys.
2013-09-01 14:06:24 -07:00
Unknown W. Brackets
92c4c5825f Update ui menus AFTER loading lang ini. 2013-08-30 22:12:04 -07:00
papel
d22e555e4f Fix volume and name of Latin American languages. 2013-08-29 13:25:29 -03:00
The Dax
05b860c167 Win32: Update OSK bypass with Unicode/wchar/wstring support. 2013-08-27 07:36:46 -04:00
Henrik Rydgard
55aa3d13c7 Win32: Switch to a UNICODE build. This took quite a bit of fixing. 2013-08-26 19:00:16 +02:00
The Dax
e97def9c66 Win32: Simplify Change Nickname code and slightly change InputBox_GetString to take a const default value. We don't modify it. 2013-08-23 06:37:47 -04:00
Henrik Rydgard
87e51a5c04 Fix some window title issues, etc. 2013-08-20 17:21:25 +02:00
Henrik Rydgard
22a05c5e38 Preliminary relative mouse mapping. Disabled because it breaks the control mapping UI currently.
Needs tweaking.
2013-08-12 23:27:41 +02:00
The Dax
d549337080 Tidy up some newlines. 2013-08-06 19:40:59 -04:00
The Dax
40b1c6298a Fix Headless build error introduced by #3063. 2013-08-06 19:28:43 -04:00
Kingcom
862cf047da Basic .sym support 2013-07-29 13:06:01 +02:00
Henrik Rydgard
cc58e34cf8 Remove legacy key mapping and associate devices with keys (DInput has been left behind for now, will be fixed up soon). Saving is broken, will be fixed soon. 2013-07-06 20:45:44 +02:00
Unknown W. Brackets
defe750558 Update debugger UI on the debugger's threads. 2013-07-02 22:59:47 -07:00
Unknown W. Brackets
bf1e37dd05 Keep symbols mapped from all loaded modules.
This way the map contains all the symbols used, not just a snapshot.
2013-06-30 10:15:21 -07:00
Unknown W. Brackets
aaafd372e9 Clear temp breakpoints off the CPU thread.
This should make it possible to actually clear them.  Fixes #2519.
2013-06-29 10:54:33 -07:00
Unknown W. Brackets
bff16dbd76 Save and restore the console window's position. 2013-06-26 00:32:49 -07:00
Unknown W. Brackets
3cd391c3e2 Fix crashes / bad errors when loading a file fails. 2013-05-12 19:51:16 -07:00
Henrik Rydgard
d053d3c8b4 Windows Cursor fixes: Show mouse cursor in menu in fullscreen. Remove ClipCursor calls, not necessary. 2013-05-04 23:21:51 +02:00
Unknown W. Brackets
dcd2c26214 Treat the keyboard and pads differently.
We basically never want two pads active at once, but keyboard is
different.  So, they need to be treated differently.

Fixes #1212.
2013-04-07 18:42:23 -07:00
Unknown W. Brackets
fd0a422d89 Actually respect autorun on Windows.
Fixes #1179.
2013-04-05 00:57:43 -07:00
Unknown W. Brackets
169d04d3ad Remove unnecessary calls to UpdateMenus(). 2013-04-05 00:48:41 -07:00
Henrik Rydgard
09d1f3c1fa win: Fix X360 button problems by skipping DInput if there's a 360 pad available. 2013-04-01 20:15:16 +02:00
Henrik Rydgard
2301ad0b7c X360 controller: Left thumb speedup, right thumb menu, keyboard still works 2013-03-31 11:30:50 +02:00
Unknown W. Brackets
8f911a0ebe Add a setting to autosave the symbol map.
And move it into system, needs to be after the coreParameter too.
2013-03-30 22:28:55 -07:00
Henrik Rydgard
afa21588d7 Some work towards better control handling, includes stickyfix from native 2013-03-30 23:55:28 +01:00
Henrik Rydgard
bb939321bc Fix symbol map loading, Qt fullscreen build 2013-03-29 22:56:57 +01:00
Henrik Rydgard
949cb2f9eb win32-gl-ui: Debugger kinda works again 2013-03-29 19:52:47 +01:00
Henrik Rydgard
84fd5781de GL UI in Win32: Some basics work. 2013-03-29 18:50:08 +01:00
aquanull
138316f3d3 Actually fix window title and new[].
Now the correct string is used in the title.

And in C++ default operator new/new[] will throw a std::bad_alloc exception instead of returning a null pointer when failed. The nothrow variants as used in this commit does the opposite.
2013-03-13 10:49:59 +08:00
Henrik Rydgard
94e485e695 Slightly improved OpenGL error handling on Windows 2013-03-10 23:09:52 +01:00
Henrik Rydgard
83ba2d04ec Don't autosave .map files in the Windows version 2013-03-10 13:22:38 +01:00