Commit Graph

4189 Commits

Author SHA1 Message Date
Alexander Tkachov
3606a75db1 NETWORKING: Move getPreparedContents() to Common::JSON
Made the method that prepares the JSON received via network static and moved to Common::JSON, so it could be used not only in CurlJsonRequest.
2023-04-08 16:20:11 +02:00
Antoniou Athanasios
fd5a5a2156 KEYMAPPER: Add HAT AXIS (DPAD as movement) to hw input
Also add it in JoystickAxis enum of common/events

Many gamepads have HATs instead of DPAD buttons, ie. they send movement events instead of button presses for the DPAD directions
2023-04-04 22:16:24 +03:00
Eugene Sandulenko
47a1a1b86c
COMMON: Make punycode warnings more useable 2023-04-01 18:29:41 +02:00
antoniou79
093f7d1cd6 KEYMAPPER: Add DPAD_CENTER as hardware input source
And define an event for it as a JoystickButton

Some controllers produce this key press with their DPAD, typically to select and interact with options.
See: https://developer.android.com/develop/ui/views/touch-and-input/game-controllers/controller-input
Fire TV remote controller is such a contoller.
see: https://developer.amazon.com/docs/fire-tv/remote-input.html
2023-03-30 01:12:52 +02:00
Eugene Sandulenko
b2e6c74eff
I18N: Added more explanations to the render modes 2023-03-26 17:42:20 +02:00
Eugene Sandulenko
8e2f765223
OSYSTEM: Expose getDefaultLogFileName() via OSystem 2023-03-25 14:48:56 +01:00
Thierry Crozat
4885225174 COMMON: Move autorun detection code to OSystem::updateStartSettings() 2023-03-24 21:11:50 +01:00
Thierry Crozat
c8ce35075a COMMON: Add updateStartSettings() method to OSystem
This lets backend customize the start settings. For example
they can auto-start a game under some circumstances.
2023-03-24 21:11:50 +01:00
antoniou79
d6b2f6850a ANDROID: Revert "ANDROID: Support FireTV remote"
This reverts commit 16f626401e

It was accidentally pushed, while not being ready yet.
2023-03-22 22:19:58 +02:00
Antoniou Athanasios
16f626401e ANDROID: Support FireTV remote 2023-03-22 21:46:48 +02:00
Eugene Sandulenko
a542d6cad7
COMMON: Comment out unused variable 2023-03-17 16:58:44 +01:00
elasota
f8e85e9e4b COMMON: Add ability to disable valueless line warning in INI files. 2023-03-16 15:04:02 +01:00
Donovan Watteau
18ab6803d6 JANITORIAL: Fix various "an" typos in comments 2023-03-16 14:47:28 +01:00
Vladimir Serbinenko
f513d6eee9 COMMON: Support patching clickteam installer and version used by PRCA 2023-03-13 20:17:33 +01:00
Vladimir Serbinenko
6476e55aab COMMON: Allow memcaching archive to bypass caching part and return a stream
It's useful for patchers if they can easily create a stream in some cases but
not others.
2023-03-13 20:17:33 +01:00
Vladimir Serbinenko
c33ce058f8 COMMON: Add createReadStreamForMemberNext for the ease of using patcher archives 2023-03-13 20:17:33 +01:00
Vladimir Serbinenko
5b3fe1d916 COMMON: Error-out on an invalid clickteam compressed block 2023-03-13 20:17:33 +01:00
Thierry Crozat
c5ba3bf24e COMMON: Update documentation of OSystem::setShakePos 2023-03-06 19:50:38 +00:00
medobob1
a4b97f6d49 COMMON: Fixed typo in sprintf_s comment 2023-03-05 15:55:23 +00:00
athrxx
7c98d26170 GUI: fix rendermode setting
(add missing lines for CPC, ZX and C64 rendering)
2023-03-05 14:57:08 +01:00
Miro Kropacek
a359ee1316 COMMON: Fix build when zlib not present 2023-03-04 23:38:42 +01:00
Eugene Sandulenko
b5042c8513
COMMON: Do not crash on attempt to punyencode empty strings 2023-03-03 23:22:34 +01:00
Eugene Sandulenko
514f11654c
COMMON: Split assert() for more finetuned crash reporting 2023-03-03 23:19:20 +01:00
=
bb12e41290 COMMON: Fix array size of 'name' argument in ProDOSFile constructor 2023-03-01 16:41:16 -05:00
Vladimir Serbinenko
01a71b4927 COMMON: Support cp936 2023-02-28 02:29:51 +01:00
hax0kartik
cc1e8600e2 COMMON: Add replace() methods for U32String 2023-02-27 22:01:13 +01:00
Attaullah Ansari
83cda889c1 COMMON: Issue warning instead of error dialogs for bad configuration file, return a bool value indicating success or failure of loading. 2023-02-23 18:12:27 +01:00
Eugene Sandulenko
302e46bfd3
COMMON: Added comment to the developers 2023-02-23 14:46:51 +01:00
Eugene Sandulenko
49d9ad2300
COMMON: Added missing rendermode GUIOs 2023-02-23 14:45:06 +01:00
Eugene Sandulenko
c138d170a5
COMMON: Check GUIO constants for duplicates 2023-02-23 13:52:20 +01:00
Eugene Sandulenko
c7d0594834
COMMON: Renumerated GIOs and added clarification comments 2023-02-23 13:37:00 +01:00
elasota
6af0bd2a95 COMMON: Correct cursor mask comments. 2023-02-19 23:51:09 +01:00
elasota
76d84718e2 GRAPHICS: Corrected semantics for MacOS cursors 2023-02-19 23:51:09 +01:00
elasota
3db67a33ac GRAPHICS: Add support for pixels with masks and inverted pixels 2023-02-19 23:51:09 +01:00
Michael Hayman
8d2bd83365 JANITORIAL: Remove excess debug statements and inconsistent indentation in prodos.cpp/h 2023-02-15 17:02:41 -05:00
Michael Hayman
a845f0bb61 COMMON: Move ProDos disk parser from Immortal engine to Common 2023-02-15 17:02:41 -05:00
Filippos Karapetis
fc20af02d9 COMMON: Improve CRC16 error messages in Stuffit 2023-02-12 16:56:44 +02:00
Vladimir Serbinenko
2d3514d13f COMMON: Check CRC16 in Stuffit 2023-02-12 16:56:44 +02:00
Eugene Sandulenko
4d244d431f
COMMON: Added helper method for dumping Common::Archive contents 2023-02-10 23:51:13 +01:00
Eugene Sandulenko
1039667a08
JANIRORIAL: Reduce header dependency 2023-02-10 23:51:13 +01:00
Eugene Sandulenko
b7b5ece6b5
COMMON: Added possibility to query archive from SearchSet 2023-02-10 01:19:34 +01:00
Matthew Duggan
cd09481f6e COMMON: Add ability to handle unknown xml keys 2023-02-08 00:30:08 +01:00
Cameron Cawley
6903fb4be1 COMMON: Simplify API for getHumanReadableBytes() 2023-02-05 23:08:21 +01:00
Matthew Duggan
894a24dd63 JANITORIAL: Clarify comments about screenFormat 2023-02-05 08:02:12 +09:00
Eugene Sandulenko
59ca2de0f2
COMMON: Better handling for malformed NE Windows executables 2023-01-27 19:56:50 +01:00
Cameron Cawley
138a983d80 COMMON: Refactor VSync handling to match the other options 2023-01-16 18:09:53 +01:00
Vladimir Serbinenko
600f33bccf COMMON: Allow unzip to flatten tree structure
It's easier to some games to ignore directories
2023-01-15 19:22:34 +01:00
Vladimir Serbinenko
30717496ce COMMON: Allow unarj to flatten tree structure
It's easier to some games to ignore directories
2023-01-15 19:22:34 +01:00
Eugene Sandulenko
c3b2d0267d
JANITORIAL: Clarify comments 2023-01-14 14:42:18 +01:00
elasota
3a07524b73 COMMON: Add initial config file option.
This allows an initial/default configuration file to be specified via the command line.  This allows a default settings file to be bundled and loaded even if it's installed to a read-only location, such as Program Files on Windows, and allows the written config file to be deleted without losing the custom defaults.
2023-01-11 14:46:39 +01:00