Brad Hughes
d08fa3dde6
win32_output: Register window messages before creating window (nw)
2016-09-30 09:53:52 -04:00
Brad Hughes
3ed5ea1020
We ran out of room for OSD modules (nw)
2016-09-30 01:11:11 -04:00
Jezze
68036515ba
Fixed aspect ratio of rounded corners (nw)
2016-09-29 15:19:44 +02:00
Vas Crabb
d7a9eeb64f
use floorf rather than floor for float->float
2016-09-28 23:57:34 +10:00
Jezze
ecf1e166fc
Fixed several small issues in HLSL/BGFX
...
* fixed target texture dimension when -intoverscan is used (this fixes the appereance of scanline and shadow mask)
* added target_scale and screen_count uniforms
* rounded corners now remain aligned with screen bounds when -intoverscan is used (single screen only)
2016-09-28 15:30:43 +02:00
Nathan Woods
69f23d3d84
Changed win_get_window_text_utf8() to return std::string
...
This eliminated an unnecessary conversion step.
Also, I have no idea what this WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) stuff is; it is hard to understand how it could possibly be correct because it ignores the 'window' parameter
2016-09-25 22:22:18 -04:00
Vas Crabb
33b2c73395
srcclean (nw)
2016-09-26 04:51:59 +10:00
Brad Hughes
31a9c62d1f
Merge pull request #1405 from tverona1/master
...
Adding support for stable controller id's
2016-09-20 17:54:34 -04:00
Tomer Verona
845b36dae2
Adding id() property to input_device
...
This change adds id() property to input_device, which represents the
unique device id. This allows the osd layer when creating a device to
pass a friendly display name along with a unique identifier.
Currently the device id is only used to map a physical controller device
to controller id, but can be used more generally in the future. For raw
input devices, we use the full raw input name as the device id. For all
other devices, we fall back to device name as the device id. The
"uniqueness" of the device id is not currently enforced in code.
2016-09-20 12:19:58 -07:00
Brad Hughes
026487927f
Fix compile for DirectWrite font provider and make it compile with normal windows build
2016-09-16 20:06:30 -04:00
Brad Hughes
bf52d11826
Convert OSD monitor info to modules plus add DXGI implementation
2016-09-14 08:32:05 -04:00
Tomer Verona
2bd18d5fea
Support for configuring device to conrtoller id
...
This change adds support for configuring device to conrtoller id. This
allows for stable controller ids even if USB devices are plugged /
unplugged, system is rebooted, etc.
See documentation for additional context.
2016-09-12 18:35:36 -07:00
Brad Hughes
db54570694
Each mouse should track its own double-click status (nw)
2016-09-07 11:37:32 -04:00
Miodrag Milanovic
9a8964d5d0
Fix build (nw)
2016-09-03 13:53:44 +02:00
Miodrag Milanovic
d193abb0ad
Update BGFX and BX packages and update MAME code to support new API (nw)
...
Generated missing shaders (nw)
2016-09-03 13:30:42 +02:00
Brad Hughes
5281612e2a
Partially fix SDL joysticks with same name
...
Fixes #1334
2016-08-31 18:01:53 -04:00
Vas Crabb
c960435d3e
srcclean and translation regeneration
2016-08-29 02:02:04 +10:00
Miodrag Milanovic
85f7413a69
Cleanup for VS2015 build (nw)
2016-08-28 11:58:12 +02:00
Brad Hughes
9af893666a
Warp mode for relative mouse on OSX SDL 2.0.4
...
Fixes #1232
2016-08-27 14:23:34 -04:00
Miodrag Milanovic
62fe8b8980
some C++14 features are not supported by VS2013. VS2015 is free for home use so no need for legacy support (nw)
2016-08-27 11:15:38 +02:00
mahlemiut
cf8060d762
debugimgui: added very crude create image dialog
2016-08-25 20:14:14 +12:00
Brad Hughes
ab6bca008d
Put back accidentally replaced conditional compile directive (nw)
2016-08-22 18:19:52 -04:00
Brad Hughes
f4b5092203
cleanup missed x11 input module (nw)
2016-08-22 18:16:52 -04:00
Brad Hughes
7d3ce203b5
osd input code cleanup (nw)
2016-08-22 15:02:56 -04:00
Nathan Woods
db53f51ffc
Now reporting Windows ERROR_INVALID_NAME as osd_file::error::NOT_FOUND
2016-08-19 08:23:56 -04:00
Brad Hughes
6b83b0dbee
Minor XAudio2 tweak to not always submit buffers if not needed (nw)
2016-08-17 23:40:50 -04:00
mahlemiut
8af56d841a
debugimgui: added images menu, with crude file select dialog [Barry Rodewald]
2016-08-16 21:34:48 +12:00
Antonio Giner
9f21eabe21
Try to fix audio delay regression caused when fixing -refreshspeed for
...
-sound xaudio2
2016-08-15 00:02:26 +02:00
Vas Crabb
a2b99f8149
Attempt to fix mouse state on startup in SDL builds by initialising members
2016-08-14 13:15:54 +10:00
Jezze
7dc76d6501
- already fixed scanline issue also applied for swapped orientation (nw)
2016-08-13 20:30:56 +02:00
Antonio Giner
30cf980dd6
Fix audio distortion with -refreshspeed and -sound xaudio2 (MT 06199)
2016-08-11 14:07:51 +02:00
AJR
7835458e51
Remap "P1 Mahjong Score" to / key for OS X
2016-08-09 21:58:01 -04:00
R. Belmont
b25aca6177
Merge pull request #1179 from Pitou1/master
...
Patch to fix the Gun#2 not working in Mame, please refer to Bug id 61…
2016-08-02 14:06:35 -04:00
Vas Crabb
8e07fb8117
Fix UTF-16 encode, pass UTF-16 to Windows character drawing (unfortunately still no nice speaker icon)
2016-08-02 18:24:14 +10:00
Patrick Lessard
87a73f6f51
Patch to fix the Gun#2 not working in Mame, please refer to Bug id 6185 on Mametesters.
2016-08-02 00:18:36 -04:00
Vas Crabb
f04a3f1b9d
Fix Qt debugger
2016-08-01 20:56:38 +10:00
Vas Crabb
15e7be7ac8
Turn image init/validate into scoped enums to avoid accidental casts to/from integer and boolean types
...
The image error should also be turned into a scoped enum - the menus were assuming it was the same thing as an init result
2016-08-01 18:47:22 +10:00
Miodrag Milanovic
6f5e223853
for bool type use true and false (nw)
2016-07-31 20:02:56 +02:00
Vas Crabb
0ceae26bb4
patch up on OSX
2016-08-01 01:37:39 +10:00
Vas Crabb
a0ce6c3b37
fix after pass through the diff
2016-08-01 01:20:03 +10:00
Miodrag Milanovic
f127621e13
made constexprs lower case and used constexpr for returning input value as well for rest of defines in osdcomm.h (nw)
2016-07-31 16:47:26 +02:00
Miodrag Milanovic
d20fa27c1b
fix vs2015 build (nw)
2016-07-31 16:13:12 +02:00
Vas Crabb
6bf9f2fd9c
macros should be turned into constexpr or they can't be used in many situations they were previously use in
...
the silly _partialNN functions are necessary because MSVC doesn't support C++14 properly
2016-07-31 23:50:41 +10:00
Miodrag Milanovic
185f5059fb
algorithm-> utility where appropriate, fix imgtool (nw)
2016-07-31 15:37:37 +02:00
Miodrag Milanovic
2a87e99b21
fix osx compile (nw)
2016-07-31 15:24:28 +02:00
Miodrag Milanovic
9667c6a8cc
std::min and std:max instead of MIN and MAX, also some more macros converted to inline functions (nw)
2016-07-31 14:41:02 +02:00
Miodrag Milanovic
4887ce1844
Cleanups and version bump
2016-07-27 09:26:22 +02:00
Nathan Woods
23175a3091
Using decltype() and removing +1/-1 "dance"
2016-07-25 07:57:54 -04:00
Nathan Woods
4a9e9742fd
Fixed off by one issue and other cleanups requested by Vas
2016-07-25 07:49:26 -04:00
Nathan Woods
ab73291e47
Changed strconv.[cpp|h] functions to return their results as std::string and std::wstring
2016-07-24 22:55:00 -04:00