Commit Graph
8933 Commits
Author SHA1 Message Date
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
Eric Culp 4bdd8860be SDL: remove statically initialized object 2021-03-15 16:48:40 +02:00
Eric Culp fa3f6321a2 SDL: remove unused variable 2021-03-15 16:48:40 +02:00
Eric Culp 277c9a3a6b SDL: add const to legacy names table 2021-03-15 16:48:40 +02:00
Eric Culp 9091be08ea SDL: fix formatting 2021-03-15 16:48:40 +02:00
Eric Culp a55f51d01a SDL: add table for old gfxmode strings 2021-03-15 16:48:40 +02:00
Eric Culp c65e0146dd SDL: remove unused table for cursor scaling 2021-03-15 16:48:40 +02:00
Eric Culp e6fac85afe SDL: scaler plugins use graphics modes 2021-03-15 16:48:40 +02:00
Eric Culp a434253f7f SDL: Generate graphics modes from plugins
This currently does not work since the modes are queried before
plugins are loaded.
2021-03-15 16:48:40 +02:00
Eric Culp 64f3e5191a SDL: add convertSDLPixelFormat 2021-03-15 16:48:40 +02:00
Eric Culp 0fe3419349 SDL: cache value of extraPixels() from scaler 2021-03-15 16:48:40 +02:00
Eric Culp aff49f3e2e SDL: mouse uses scaler plugins 2021-03-15 16:48:40 +02:00
Eric Culp d350e2c7a8 SDL: use maxExtraPixels from ScalerMan 2021-03-15 16:48:40 +02:00
Eric Culp f015c0f835 SDL: use correct x and y for scale function 2021-03-15 16:48:40 +02:00
Eric Culp 76d4a5425c SDL: pass correct PixelFormat to scaler initialize 2021-03-15 16:48:40 +02:00
Eric Culp 8c9cb22734 GRAPHICS/SDL/BASE: fix scaler declarations
mainly adding const and using uint instead of int
2021-03-15 16:48:40 +02:00
Eric Culp 9402e2b43f SDL: clarifies code 2021-03-15 16:48:40 +02:00
Eric Culp e69ec141aa BACKEND: fixes a bug related to AR correction 2021-03-15 16:48:40 +02:00
Eric Culp bdb12c8733 SDL: add support for additional scaler plugins
This enables scalers to be switched and uses api calls in a way
compatible with more scalers.
2021-03-15 16:48:40 +02:00
Eric Culp 739c75c869 BACKEND: fixes some errors from changing modes 2021-03-15 16:48:40 +02:00
Eric Culp 60c430d6e5 GRAPHICS: adds additinoal methods to scaler api 2021-03-15 16:48:40 +02:00
Eric Culp 318130a905 BACKENDS/GRAPHICS: Stops overlay from being scaled 2021-03-15 16:48:40 +02:00
Eric Culp 29466870e8 BACKENDS: Changes scaler code to use plugin.
Much of the existing scaler code still exists and interferes.
This will have bugs
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 c8dcb9105f SDL: Temporarily remove code for handling scaler hotkeys 2021-03-15 16:48:40 +02:00
Cameron Cawley a38103fb23 IOS7: Remove scaler code 2021-03-15 16:48:40 +02:00
sluicebox cbaae38721 EVENTS: Fix mouse position outside active area
Fixes regression introduced in 35b9cccbde
which ignored SdlGraphicsManager::notifyMousePosition() return value
2021-03-09 08:18:56 +01: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
BeWorld 4287f2ca9a MORPHOS: fix module.mk
fix mistake of file name
2021-02-26 19:13:44 +01:00
SupSuper 70dc08f46e JANITORIAL: Cleanup inconsistent includes 2021-02-22 10:54:07 +00:00
BeWorld 134df1e746 MORPHOS: Added CAMD MIDI driver support
Merge with AmigaOS4 camd.cpp
2021-02-21 15:44:44 +00:00
Martin Gerhardy 99d26579a0 BACKENDS: fixed mismatched new[] vs delete call in NullMixerManager
used in the EventRecorder
2021-02-20 22:37:19 +01:00
rsn8887 397ea454ba SWITCH: Fix wrong zoom on SDL to GL transition 2021-02-17 22:58:09 -06:00
rsn8887 af4878e884 KEYMAPPER: Fix exit on analog input 2021-02-16 18:04:37 -06:00
Cameron Cawley 1d5f475c30 3DS: Rename the _3DS namespace 2021-02-15 02:58:15 +02:00
Henrik "Henke37" Andersson d6ad9f19cf BACKENDS: Keymapper needs getOrCreateVal 2021-02-12 00:41:23 +01: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 2ea22a451c DS: Ensure that a mouse move event is sent before a mouse down event 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