Commit graph

26457 commits

Author SHA1 Message Date
iota97
80effb6b68 Let's wait 5 frames 2020-03-05 16:36:26 +01:00
iota97
b8ce079829 Fix wheel up/down and additional mouse button 2020-03-05 15:57:45 +01:00
iota97
b0307301e3 Better smoothing and added missing break on MOUSE_WHEEL 2020-03-03 17:17:58 +01:00
iota97
fc1b83fd93 Fixes 2020-02-04 09:54:01 +01:00
iota97
3248d58c4d Switch mode only if needed 2020-02-04 07:47:02 +01:00
iota97
4b28482479 SDL analog mouse input 2020-02-04 05:11:07 +01:00
Henrik Rydgård
81118454fd
Merge pull request #12596 from hrydgard/viewport-sw-transform-fixes
Viewport software transform changes.
2020-02-02 17:17:31 +01:00
Henrik Rydgård
ea819673dc
Merge pull request #12601 from iota97/touch-rapid-fire
Add rapid fire to touch control
2020-02-02 16:21:17 +01:00
Henrik Rydgård
b738c751e7 compat.ini: Workaround for timing problem in Hot Wheels, see #12604. 2020-02-02 15:29:04 +01:00
iota97
f42e6a984f Rapid fire touch control 2020-01-28 08:52:18 +01:00
Henrik Rydgård
a9302c49f0
Merge pull request #12599 from Florin9doi/android_gps_add_new_api
[Android][GPS] Add new listeners in addition to those present which are deprecated
2020-01-27 09:30:30 +01:00
Florin9doi
50d7d64eaa Add new listeners in addition to those present which are deprecated 2020-01-27 09:49:43 +02:00
Henrik Rydgård
cef83158fd
Merge pull request #12597 from unknownbrackets/cso-futureproof
Core: Future proof CSO support a bit
2020-01-26 22:18:22 +01:00
Unknown W. Brackets
931dff6125 Core: Future proof CSO support a bit.
For CSO versions >= 2, respect the header size field and uncompressed
frame size behavior.  This will allow more options for future files, like
adding a field for the CRC or otherwise.
2020-01-26 10:18:41 -08:00
Henrik Rydgård
41a6b97023 DX9: Simplify some expressions 2020-01-26 16:34:46 +01:00
Henrik Rydgård
118e927b86 GPU: Only GL uses a flipped buffer in non-buffered, reflect that in the SW transform code. 2020-01-26 15:54:51 +01:00
Henrik Rydgård
92a1395cd0 Apply viewport before SoftwareTransform so flipping can be checked 2020-01-26 15:30:20 +01:00
Henrik Rydgård
3aa575daef OpenGL: Call ApplyDrawState before SoftwareTransform 2020-01-26 15:29:45 +01:00
Henrik Rydgård
e4f9f3b120 DrawEngineDX9: Rename lookup table, cleanup 2020-01-26 15:28:54 +01:00
Henrik Rydgård
b931cbb544
Merge pull request #12595 from Florin9doi/gps_speed
Location: add HDOP; change speed to km/h; change altitude from geoid to sea level
2020-01-26 13:58:35 +01:00
Florin9doi
83277680da Location: add HDOP; change speed to km/h; change altitude from geoid to sea level
The speed is now close to the value obtained on original hardware but
the altitude on original hardawre is too imprecise to tell if we're good
2020-01-26 14:19:45 +02:00
Henrik Rydgård
8203c79e43
Merge pull request #12567 from iota97/snap2
Use snap grid on resize as well
2020-01-26 11:36:28 +01:00
Henrik Rydgård
9394f0f7e0
Merge pull request #12592 from Florin9doi/iosCam
Camera updates (iOS/Android)
2020-01-26 10:58:48 +01:00
Henrik Rydgård
7305ae51f2
Merge pull request #12589 from shenweip/winCam-fix
Don't shut down camera when exiting games.
2020-01-26 10:56:27 +01:00
Florin9doi
63196897e4 Do not stop camera if unnecessary 2020-01-26 10:04:12 +02:00
Florin9doi
2b57d2365f Android satellites info 2020-01-26 09:22:24 +02:00
Henrik Rydgård
3bd0b3fa74
Merge pull request #12593 from trofi/master
Common/Hashmaps.h: add missing <stdint> include
2020-01-25 22:20:24 +01:00
Sergei Trofimovich
66ff2d8a4a Common/Hashmaps.h: add missing <stdint> include
On gcc-10 the build fails as:

```
[ 51%] Building CXX object CMakeFiles/Core.dir/GPU/Null/NullGpu.cpp.o
In file included from ../GPU/Common/DrawEngineCommon.h:24,
                 from ../GPU/Null/NullGpu.cpp:18:
../Common/Hashmaps.h:11:7: error: 'uint32_t' does not name a type; did you mean 'u_int32_t'?
   11 | const uint32_t hashmapSeed = 0x23B58532;
      |       ^~~~~~~~
      |       u_int32_t
```

This happens due to improved transitive include hygiene on
gcc-10 headers. The change includes <cstdint> to pull in
'uint32_t' typedef.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2020-01-25 17:59:53 +00:00
Florin9doi
c824fabd53 Update macOS system name 2020-01-25 16:54:45 +02:00
Florin9doi
5fbf2d7713 Add camera/location support for iOS
Add front camera support for Android
Allow to change the active camera in-game
2020-01-25 16:54:45 +02:00
Henrik Rydgård
1d6d66ac43
Merge pull request #12582 from Florin9doi/sdl_app_icon
SDL app icon
2020-01-24 15:27:10 +01:00
shenweip
3f585782f1 Don't shut down camera when exiting games,also re-enumerating devices if
received WM_DEVICECHANGE.
2020-01-24 16:05:28 +08:00
Henrik Rydgård
97c81ac5a2 Partial workaround for #12588. Cameras are now gone from settings though after playing one game... 2020-01-21 20:57:26 +01:00
Henrik Rydgård
81b42df7c2 D3D11: Fix mistake in UI vertex shader for non-textured geometry. Fixes #12587. 2020-01-20 22:54:28 +01:00
Henrik Rydgård
141ad162a2
Merge pull request #12583 from CarterLi/vulkan
macOS: Initial support for vulkan on macOS ( MoltenVK )
2020-01-20 09:44:10 +01:00
李通洲
a34d35d705
Add support for iOS ( completely untested ) 2020-01-20 14:43:08 +08:00
李通洲
7cd60549dd
Initial support for vulkan on macOS ( MoltenVK ) 2020-01-20 14:42:40 +08:00
Henrik Rydgård
dd1de41db7 Revert "Android EGL config: Always require 8888, stencil if version >= ICS"
This reverts commit 015c314fb1.

Helps #11922
2020-01-18 18:50:09 +01:00
Florin9doi
24a8077616 SDL app icon 2020-01-17 21:05:59 +02:00
Henrik Rydgård
7db5471d80
Merge pull request #12580 from Florin9doi/v4l2b
Add camera support for linux (V4L2)
2020-01-16 23:42:23 +01:00
Florin9doi
09e32223c2 Add camera support for linux (V4L2) 2020-01-16 23:25:34 +02:00
Henrik Rydgård
d79abaa9c5 Add DEFLATE and MD5 to HLE module blacklist. Replaces #12576, fixes #12570
And possibly #12571
2020-01-16 21:59:15 +01:00
Henrik Rydgård
41af4eb221
Merge pull request #12578 from iota97/grid-render
Attempt to render snap grid
2020-01-16 21:46:01 +01:00
iota97
1332e3c1cc Flush other UI element draw before changing to noTex 2020-01-16 06:16:46 +01:00
Henrik Rydgård
96e7281b20
Merge pull request #12572 from shenweip/Capture_Win
Add camera support for windows.
2020-01-15 20:03:10 +01:00
iota97
b69cdea29e Fix line rendering in texmode 2020-01-15 18:48:43 +01:00
Henrik Rydgård
f2bfaeb874 Add another game controller mapping. Fixes #10679 2020-01-14 22:31:37 +01:00
iota97
4395da7c7e Render grid 2020-01-14 19:18:27 +01:00
shenweip
9becb4b72b BuildFix2 2020-01-14 18:12:28 +08:00
shenweip
f39aa47e9b Oops 2020-01-14 17:30:15 +08:00