Christophe Branchereau
09be5f6e7a
OPENDINGUX: remove export CXXFLAGS="-funsigned-char"
...
The tolower() bug doesn't happen anymore
Signed-off-by: Christophe Branchereau <cbranchereau@gmail.com >
2023-01-17 12:57:53 +01:00
Vladimir Serbinenko
1bc4fe5279
SDL: Move RS90-specific code to opendingux directory
2023-01-17 13:48:50 +03:00
Vladimir Serbinenko
5bdabeed7e
SURFACESDL: Make getDefaultResolution overideable by custom backends
2023-01-17 13:48:50 +03:00
Vladimir Serbinenko
81fdd308cf
SURFACESDL: Extract initing of graphics surface into a separate method.
2023-01-17 13:48:50 +03:00
Vladimir Serbinenko
4a0d9c2665
SDL: Add missing init of _prevCursorNeedsRedraw
2023-01-17 13:48:20 +03:00
Vladimir Serbinenko
de6fa88217
OPENDINGUX: Separate miyoo from opendingux
2023-01-16 23:01:25 +03:00
Cameron Cawley
40f797fdef
SDL: Support VSync with OpenGL in SDL1 builds
2023-01-16 18:09:53 +01:00
Cameron Cawley
138a983d80
COMMON: Refactor VSync handling to match the other options
2023-01-16 18:09:53 +01:00
Christophe Branchereau
2724ce7753
OPENDINGUX: simplify build scripts
...
The rs90 and rg99 can use the exact same binary and opk including
the .desktop file
Signed-off-by: Christophe Branchereau <cbranchereau@gmail.com >
2023-01-16 10:31:14 +01:00
Christophe Branchereau
2994ab025d
OPENDINGUX: force 320x240 for the RG99
...
The device has a 320x480 screen and aspect of gui is wrong if we use
the full resolution
Signed-off-by: Christophe Branchereau <cbranchereau@gmail.com >
2023-01-16 10:31:14 +01:00
Eugene Sandulenko
625e1e4500
BACKENDS: DC: Fix compilation
2023-01-13 00:03:44 +01:00
Vladimir Serbinenko
d924671cec
OPENDINGUX: Miyoo (1st gen) support
2023-01-12 16:39:38 +03:00
Vladimir Serbinenko
4e4c652433
SDL: Properly restore gfx mode if several parameters have changed
...
Currently we have bunch of else-if and only one of them triggered. When
e.g. aspect ratio correction and resolution changes only aspect ratio is
covered by restoration. If this fails the code retries the same mode endlessly
2023-01-12 16:39:38 +03:00
Vladimir Serbinenko
74336c5411
SDL: Fix potential buffer overflow
...
This causes a segmentation error on Miyoo Mini but is not specific to it
2023-01-12 14:01:45 +01:00
Le Philousophe
4f626159a1
SDL: Delete mouse scaler to avoid memory leak
2023-01-12 08:44:38 +01:00
Vladimir Serbinenko
30d9976a1c
SDL: Use hardware palette on RS90 and scale 1
2023-01-12 10:27:20 +03:00
Vladimir Serbinenko
70b174bca5
SDL: Disable fullscreen on RS90
...
Fullscreen flag causes an error in SetVideoMode.
2023-01-12 10:27:20 +03:00
Vladimir Serbinenko
3f6691dc6d
RS90: Workaround for unusual SDL_PixelFormat
...
SDL_PixelFormat returns 0xff/0xff/0xff as pixel format for paletted HWSURFACE.
2023-01-12 10:27:20 +03:00
Vladimir Serbinenko
b91d873df6
SDL: Support auto-detection of GUI resolution.
2023-01-12 10:27:20 +03:00
Vladimir Serbinenko
47ab3fe4fc
SDL: Support double-buffering on SDL1.
2023-01-12 10:27:20 +03:00
Vladimir Serbinenko
462be38081
SDL: Support rendering to 8-bit graphics
2023-01-12 10:27:20 +03:00
Vladimir Serbinenko
c86975e7e7
OPENDINGUX: Switch to using modules
...
Those devices are low on memory. Modules allow not to load extra egines.
2023-01-12 10:27:20 +03:00
Vladimir Serbinenko
16cd6d7512
OPENDINGUX: Create combined opk for rs90 and rg99
2023-01-12 10:27:20 +03:00
Vladimir Serbinenko
96cbe69d1e
VKEYBD: Support RGB332 backing surface
...
This is efficient on rs90
2023-01-12 10:27:20 +03:00
Vladimir Serbinenko
3701325b0e
OPENDINGUX: Don't add posix files twice
...
They are already added by POSIX conditional as OpenDingux is POSIX compliant
(Linux-based). Adding it twice confuses some linkers.
2023-01-12 10:27:20 +03:00
Cameron Cawley
cf70814cbd
SURFACESDL: Initial support for 32-bit screen output
2023-01-11 12:57:53 +00:00
Eugene Sandulenko
40c93bde64
BACKENDS: NETWORKING: Slightly speed up downloads
2023-01-08 16:32:25 +01:00
Eugene Sandulenko
aa14d59447
BACKENDS: OPENGL: Switch shaders to SearchSet
2023-01-08 01:15:51 +01:00
Eugene Sandulenko
ef65534250
BACKENDS: SHADERS: Make possibility to load shaders from SearchMan
2023-01-08 01:15:44 +01:00
Cameron Cawley
d255fbe671
GUI: Ensure that all keymap widgets fit within the scroll container
2022-12-25 16:11:27 +01:00
Cameron Cawley
60ff6984ff
GUI: Move keymap descriptions to the left if there isn't enough room
2022-12-25 16:11:27 +01:00
Orgad Shaneh
f937755c6c
BACKENDS: Disable curl deprecation warnings
...
We still need to support older versions, so mute the warnings as long as
the old APIs can still be used.
2022-12-25 10:32:44 +02:00
Cameron Cawley
7f2d9fd0fd
GRAPHICS: Split conversion.cpp into multiple files
2022-12-22 23:45:14 +01:00
Cameron Cawley
8cd1f1413f
DS: Fix building from a clean source directory
2022-12-22 19:36:56 +00:00
Cameron Cawley
066979c96a
DS: Display the ScummVM logo on the top screen when the launcher is active
2022-12-22 18:21:04 +00:00
Cameron Cawley
435ced7c5c
DS: Separate the Background class from Graphics::Surface
2022-12-22 12:25:47 +00:00
Rudis Muiznieks
930028522e
ANDROID: Simplify Joystick axis scaling
...
The scaling of Joystick axis values has been moved to the Java event
handler.
2022-12-19 00:36:51 +00:00
Rudis Muiznieks
c33a65e32b
ANDROID: Map Joystick inputs to Joystick events
...
Previously joystick motion inputs were being translated to direct mouse
movement events. This changes those into Joystick AXIS events instead.
Also updates joystick button inputs into joystick button events instead
of mouse clicks and key presses.
2022-12-19 00:36:51 +00:00
Rudis Muiznieks
fb9416eacb
ANDROID: Map gamepad inputs to joystick events
...
Previously most buttons were being ignored and A and B were mapped to
mouse clicks. This maps A and B and several more buttons to Joypad
button presses instead.
2022-12-19 00:36:51 +00:00
Vladimir Serbinenko
2638e6b2a0
3DS: Make path to bannertool and makerom configurable.
...
This allows to set them without adding to path
2022-12-14 12:17:39 +01:00
Vladimir Serbinenko
e34c41eaaa
3DS: Add explicit path to picasso, bin2s and co
...
This avoid the need to add them to $PATH explicitly
2022-12-14 12:17:39 +01:00
Vladimir Serbinenko
bfd7f91d5c
COMMON: Fix 3DS compilation with newer toolchain that emits PREL31 relocs
2022-12-13 13:41:18 +01:00
Cameron Cawley
28d7b361ea
COMMON: Move more file format code into common/formats
2022-12-11 22:33:23 +01:00
Donovan Watteau
0eb9ca84de
BACKENDS: Make StdioStream use a 64-bit fseeko/ftello on more platforms
...
Note that using fseeko64() means that fopen64() should be used instead.
2022-12-11 21:48:33 +01:00
sluicebox
442792eb78
WIN32: Remove SHGetSpecialFolderPath warnings on Win95
2022-12-07 16:26:07 -08:00
Lars Sundström
f76cf2195e
IOS7: Make "touchpad mode" usable again
...
"Touchpad mode" is a mode where the mouse cursor is moved based on touch
movements rather on clicks. The problem was that when "touchpad mode"
was enabled it was very hard to click on items because the cursor moved
on every single click.
Make the action occur based on the current pointer position rather on
the touch location when in "touchpad mode".
Make the movement more intuitive when in "touchpad mode" by calculating
the delta of locations of touches and update the pointerPosition based
on that. That will give a feeling of using a real touchpad where the
location of where the touch occur doesn't matter for the cursor.
This will solve issue #13917
2022-12-05 22:02:13 +00:00
elasota
cc11b531e3
JANITORIAL: Clean up all non-engine Visual Studio warnings.
2022-12-04 00:08:48 +01:00
Donovan Watteau
af87992771
DS: Clean map.txt leftover from -Wl,-Map,map.txt
2022-12-02 13:46:09 +01:00
Eugene Sandulenko
fb7095f5a4
COMMON: Move all compression-related files to a separate directory
2022-12-01 11:53:02 +01:00
elasota
3496e82abc
BACKENDS: Add 1-pixel border to cursors to ensure linear interpolation of edge pixels doesn't get cut off half-way.
2022-11-29 00:48:00 +01:00