Commit Graph
4365 Commits
Author SHA1 Message Date
rsn8887 044ea0b60e VITA: Use regular SDL2 graphics code, fixes crash with latest SDK 2021-04-11 19:56:34 -05:00
Cameron Cawley 24b59ecb4c Revert "OPENGL: Implement high DPI support on Android (#1895)"
This reverts commit 177d709909.
2021-04-12 00:54:12 +01:00
Cameron Cawley ef0048fa77 COMMON: Add standard actions for mouse button clicks 2021-04-06 11:15:42 +03:00
Orgad Shaneh be2b8e7ba5 MAKEFILE: Add dependencies for scummvm.rc (#2919)
When an engine is added or removed, it affects the embedded resources in
scummvm.rc, so config.mk is required.

+ Add some missing dependencies in win32.mk.
2021-04-06 10:27:48 +03:00
Cameron Cawley a1890ede9c BASE: Avoid calling PluginMan.getEngineFromMetaEngine where possible 2021-04-05 15:33:23 +01:00
Orgad Shaneh e7a9bf203f BACKENDS: Fix MinGW warnings on GetProcAddress usages
Example:
../scummvm/backends/platform/sdl/win32/win32_wrapper.cpp:39:52: warning: cast between incompatible function types from 'FARPROC' {aka 'long long int (*)()'} to 'VerSetConditionMaskFunction' {aka 'long long unsigned int (*)(long long unsigned int, long unsigned int, unsigned char)'} [-Wcast-function-type]
   39 |  VerSetConditionMaskFunction verSetConditionMask = (VerSetConditionMaskFunction)GetProcAddress(GetModuleHandle(TEXT("kernel32.dll")), "VerSetConditionMask");
      |                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-03-31 02:13:07 +03:00
Orgad Shaneh 3dac89a267 BACKENDS: Sprinkle some overrides 2021-03-31 02:04:47 +03:00
Eugene Sandulenko e844981cd0 BACKENDS: MACOS: Query number of MIDI devices at the start of ScummVM in a thread
The call to MIDIGetNumberOfDestinations() starts the MIDI server which takes
3-4l seconds even on the modern hardware. We are querying this in the GUI Options
which then lags on the first launch.

Thus, we are creating a separate thread and make this call at the start of
ScummVM, so by the time the user gets to the GUI, the server is already launched
and there is no lag.

Of course, that would mean that we will launch MIDI even for the games which are
not using it, so this is a tradeoff for the better UX.
2021-03-29 20:25:37 +02:00
antoniou e69e149bd0 ANDROID: Support multiple right click with one finger down
If the user keeps one finger down they can still generate new right click events

Previously in multitouch events, we supported only one right click event starting from one finger down.
The user subsequently had to restart the multitouch mode for another right click; hence lift all fingers
from the surface and start again.
New behavior allows user to generate a new right click while holding one finger down and putting down and lifting a second finger.
I think this is more intuitive and user friendly, although it might require some getting used to, if one was accustomed to the old behavior
2021-03-28 20:59:39 +03:00
Cameron Cawley cc328d9cfa ANDROID: Remove README.Android 2021-03-15 18:39:39 +02:00
Cameron Cawley 76b25ec1c3 GUI: Add a checkbox to allow overriding the global backend settings 2021-03-15 16:52:52 +02:00
Martin T. H. Sandsmark 9296b92d8f fix crash on exit 2021-03-15 16:48:40 +02:00
Martin T. H. Sandsmark f4f9957f85 scalerplugin: port to new plugin api 2021-03-15 16:48:40 +02:00
Eric Culp cbf9072e45 SDL: Fix leaks related to graphics modes
supportedGraphicsModes() now returns to OSystem_SDL a pointer to a deep copy of
surfacesdl's internal graphics mode array. Therefore each can free its
own copy without interfering with the other's.
2021-03-15 16:48:40 +02:00
Eric Culp 56d078e732 SDL: Fix assignment of variable
GCC seemed to allow the previous syntax but clang rejected it.
2021-03-15 16:48:40 +02:00
Eric Culp 3baf738de8 SDL: change gfx_mode legacy names in game domains 2021-03-15 16:48:40 +02:00
Eric Culp 2809ada459 SDL: legacy names for scalers corrected
Old names are recognized and they will be replaced in the new config
2021-03-15 16:48:40 +02:00
Cameron Cawley 26e2a9711f GPH/DINGUX: Remove downscaling support 2021-03-15 16:48:40 +02:00
Cameron Cawley a38103fb23 IOS7: Remove scaler code 2021-03-15 16:48:40 +02:00
Cameron Cawley dfe79052d2 SDL: Add implementation of OSystem::openUrl for SDL 2.0.14 2021-03-03 03:27:09 +02:00
sluicebox 93eeffc84d JANITORIAL: Update old bug tracker numbers 2021-03-03 02:15:05 +02:00
Fiodar 147635668b SYMBIAN: fix misspelled SYMBIAN_DYNAMIC_PLUGIN 2021-03-02 20:52:19 +00:00
Fiodar Stryzhniou bb27b5f9ec SYMBIAN: fix conflict declaration for TKey struct between Lua and SDK headers.
Add missed prototypes for math functions.
2021-03-02 20:52:19 +00:00
Fiodar Stryzhniou f7f599581b SYMBIAN: automatically build sources from main tree dirs: audio, base, common, etc except engines.
Enhance build logging - they differs by datetime now.
Build test exe which can coexist with release.
Correct parsing module.mk for DETECT_OBJS.
Appends to existed engines.mmh and macros.mmh, doesn't replace it.
2021-03-01 22:07:24 +00:00
Cameron Cawley 1d5f475c30 3DS: Rename the _3DS namespace 2021-02-15 02:58:15 +02:00
Thierry Crozat 5412533dec SDL: Fix trying to set unsupported pixel format when changing gfx mode
When switching between the SDL and OpenGL graphics managers, trying
to restore the state could fail as the two managers do not have the
same list of supported formats, so we may not be able to transfer
the pixel format from one to the other. This then resulted in an
assert.

This fixes bug #12079
2021-02-08 12:59:52 +00:00
Cameron Cawley c30c22dac8 TEST: Simplify the use of the Null backend 2021-02-08 03:07:34 +02:00
Cameron Cawley 4300571cf8 DOCS: First draft DS page
This replaces the old port-specific README file.
2021-02-04 01:59:14 +01:00
Cameron Cawley 2c1148791f DS: Replace the default assert function with sassert 2021-02-04 01:59:14 +01:00
Cameron Cawley 521303b2ef DS: Handle scaling and scrolling in the Background class 2021-02-04 01:59:14 +01:00
Cameron Cawley e3fabc803b DS: Only update the palette and cursor when updateScreen() is called 2021-02-04 01:59:14 +01:00
Cameron Cawley 7ddd7e4931 DS: Use the Background class for the game screen 2021-02-04 01:59:14 +01:00
Cameron Cawley b37843f10d DS: Fix setGraphicsMode signature 2021-02-04 01:59:14 +01:00
Cameron Cawley a642279e5d DS: Add a Background class for the overlay 2021-02-04 01:59:14 +01:00
Cameron Cawley 0c776013f7 DS: Add RGB colour support 2021-02-04 01:59:14 +01:00
Cameron Cawley 4ac5421c6d DS: Add a generic dmaBlit function and use it in updateScreen 2021-02-04 01:59:14 +01:00
Cameron Cawley f802c2e88a DS: Add support for RGB cursors 2021-02-04 01:59:14 +01:00
Cameron Cawley 626b6ac4e9 DS: Move graphics code into a separate file 2021-02-04 01:59:14 +01:00
Cameron Cawley 1c40d79732 DS: Begin modularizing the DS backend 2021-02-04 01:59:14 +01:00
Cameron Cawley 6fa77b3429 DS: Remove optimization of individual files for speed
Mixing ARM and THUMB code in dynamic plugins causes relocation issues.
2021-02-04 01:59:14 +01:00
Cameron Cawley a900337952 DS: Fix default search paths 2021-02-04 01:59:14 +01:00
Cameron Cawley 8b55134547 DS: Re-add audio support using MaxMod 2021-02-04 01:59:14 +01:00
Cameron Cawley fe05ae75cd DS: Support detecting the system language 2021-02-04 01:59:14 +01:00
Cameron Cawley 66472abf1a DS: Move timer code into OSystem_DS 2021-02-04 01:59:14 +01:00
Cameron Cawley 9ca7845590 DS: Replace the options dialog 2021-02-04 01:59:14 +01:00
Cameron Cawley 3c306f33ed DS: Simplify the directory structure 2021-02-04 01:59:14 +01:00
Cameron Cawley 266e21de10 DS: Clean up the sprite code 2021-02-04 01:59:14 +01:00
Cameron Cawley 37774cd578 DS: Allow the game screen and the overlay to be shown at the same time 2021-02-04 01:59:14 +01:00
Cameron Cawley 926ec07532 DS: Simplify the framebuffer code 2021-02-04 01:59:14 +01:00
Cameron Cawley 704deec031 DS: Improve text console support 2021-02-04 01:59:14 +01:00