Commit Graph
72 Commits
Author SHA1 Message Date
Walter Agazzi 5d58384af2 AGS: remove "supersampling" setting, as not entirely supported
This setting comes from the original mobile port of AGS, but it's not clear whether it was
useful. More importantly, there are issues with this:
1. It was never implemented in another hardware accelerated driver (Direct3D), being
exclusive to OpenGL.
2. It was never added to standard setup, so not very visible.
3. It's not clear whether it was working properly all this time. There were multiple changes to graphic renderers, and some of them may assume that rendering at "native resolution" is done at exactly, well, native resolution.
2024-10-30 18:07:42 +02:00
Walter Agazzi db73bb6b68 AGS: Moved "antialias" config option to "graphics" section
From upstream 32958c6cb5e247c54de6c9d581beae7b2b31675b
2024-10-30 18:07:42 +02:00
Walter Agazzi a05c63e4df AGS: Engine: fix cache config and read legacy values too
From upstream 9b2880e8b7c31891cad672fec9dc1124f9f3cc7c
2024-10-30 18:07:42 +02:00
Walter Agazzi 6c8b82523d AGS: Engine: let configure texture cache size
Partially from upsteam e84ca2191319fc20426c91bc5719e2503a4ccbf0
2024-10-30 18:07:42 +02:00
Walter Agazzi 7ba6cf903c AGS: Engine: Removed redundant code from engine init
From upstream f0268dbd9bc40521132bd8465af06581abe6a27
2024-10-30 18:07:42 +02:00
Filippos Karapetis 852006a975 AGS: Allow setting the game language from the command line
It is now possible to set the game language in AGS from the command
line, using the "--language" parameter. If a language is set from the
command line, it overrides the one set from the GUI.
Original implementation was done in PR #5151
2024-09-25 16:23:47 +03:00
Hubert Maier 821c7c081f JANITORIAL: Fix refering typo in config.cpp 2024-07-15 20:50:41 +03:00
Walter Agazzi 7e003f30e9 AGS: Engine: allow old-style resolution upscale for kGameResolution_Default
From upstream a7f3c775de0f1a82c34b5f3acd67418aec31bf17
2024-01-17 03:12:31 +01:00
Walter Agazzi 47b3cb7de7 AGS: Engine: rename legacysaves config options, bring to consistency
From upstream e8d043327f896ce4f10aee04d55a4029ce81d1eb
2023-09-16 13:32:58 +02:00
Walter Agazzi ae30f78761 AGS: Engine: support mismatching GUI numbers in legacy saves
From upstream 9d2fa2c26dda45fa53141a625c71ec63601cd9e2
2023-09-16 13:32:58 +02:00
Walter Agazzi fd47e099e6 AGS: Properly enable vsync following ScummVM setting
This allows scummvm to override the vsync setting, instead of
 just using the value set in the game acsetup config file
2023-09-02 17:55:18 +02:00
Walter Agazzi cca0be77a1 AGS: Engine: a config hint to assume data version when reading a legacy save
I did a terribly stupid mistake when was expanding the old save format in the
past (in pre-3.5.0 engines). Instead of checking for the save format,
I've been checking for the game's data format.

This causes following problem: if a game made in a particular range of versions
(something like 3.2.1 to 3.4.4) gets upgraded to a newer version (say 3.6.0),
then all the old saves made in a pre-3.5.0 game version will not load correctly,
as they are relying on the new compiled game data format.

Unfortunately there's no *proper* way to fix this, as the old save format
had been in use for years, nothing can be done about it.
Hence the workaround that I may think of is to provide a config hint,
that would tell the engine: whenever you load a legacy save format,
assume that it was written by a game of particular data version.

From upstream 0a2a0177dd8eaad817b39905bf0471663c431f96
2023-09-02 13:23:59 +02:00
Thierry Crozat e9eba6ad20 AGS: Fix regression with translation setting change not saved
When the setting is changed in game (for example in the Options
dialog in Kathy Rain) that change used to be saved in the ScummVM
config file, but this got lost during one of the synchronisation
with upstream code. This commit adds that code back.
2023-05-16 01:12:32 +01:00
marius david 9acaed1f89 AGS: auto-detect Linux games based on executable
ags64 (and also ags32) are the name of the engine executable on Linux.
These names seems to be exclusivelly used for that OS.
Fix a bug in Zniw Adventure (GOG, Linux) due to translation path being
different between Linux and Windows.
2023-03-20 00:17:20 +01:00
Thierry Crozat 6bae4af005 AGS: rename "multitasking" option to "background" and added cmd arg
From upstream cb83231c03764c74b8f8f09f8c876207a475f7b9
2022-10-10 00:16:16 +01:00
Thierry Crozat 3a4d94bf0b AGS: Updated Multitasking setting
* Added `[misc] multitasking=[0,1]` to config, acting as a *starting*
  setting, which may be changed by runtime call to `SetMultitaskingMode`;
* Ensure multitasking mode is overridden by connected external debugger
  (always on, if possible);
* Let multitasking mode work in "fullscreen desktop" gfx mode (still
  disabled in exclusive fullscreen);
* Now correctly reset multitasking mode if gfx mode changes.

From upstream 9f091926e393f75c90c951f9597710bf17395332
2022-06-23 23:57:27 +01:00
Thierry Crozat 8b8a7fffbf AGS: Tidied code around GameSetup a tiny bit
From upstream 850ae917fe7477dd83cc905cdb48982ef107877c
2022-06-23 23:57:26 +01:00
Thierry Crozat 4e9e0fcf15 AGS: Fixed parsing of legacy "game_scale_win" from 3.5.* config
From upstream 0e592f18546d3d65e2cf7822a4f7063278beef06
2022-06-21 23:28:01 +01:00
Thierry Crozat d6d464f898 AGS: Fixed sprite cache limit was reset on sprite file open
From upstream 4f57730e2b3d41af4fd0300e8b092d31d448f544
2022-06-16 23:16:20 +01:00
Thierry Crozat 5d8c66c511 AGS: Implemented debug keys for saving/restoring a game
This may be useful in case the game does not provide any save system, or one is broken.
From upstream 86130ec92f6966cfa2d5565c749ba839acad8136
2022-06-16 23:16:20 +01:00
Thierry Crozat 703372b161 AGS: Fix regression with GUI translation option not working 2022-06-06 22:42:36 +01:00
Paul Gilbert d2547418c0 AGS: Added show_fps to config
From upstream 2d6e0fca6bd310822e4f82ed95eb2bb5c116ac65
2022-05-05 22:59:51 -07:00
Paul Gilbert d385968209 AGS: Tidy up mobile config once more and get rid of psp_* variables
From upstream 4ba8fbed2f16786e86f201f57fdaaa91cc887700
2022-05-05 22:41:10 -07:00
Paul Gilbert 23a2e8c709 AGS: More config parse helpers: reading boolean ints, min-max range
From upstream 9737cabb8e7562122f8c471793bd994685d72bfe
2022-04-27 20:38:38 -07:00
Paul Gilbert 7b0bfee7cc AGS: Renamed and moved INIread/write functions for proper org&style
From upstream 18398a7d695e81575218380e1bba28010c239fdc
2022-04-27 20:25:31 -07:00
Paul Gilbert a633e9d72f AGS: Fixing various type-cast warnings
From upstream 6c42c7331e96386721f28c92ec3cb4cd039e10cd
2022-04-25 20:06:19 -07:00
Paul Gilbert 14cffd13e7 AGS: Use String::NoIndex instead of -1 where necessary
From upstream 56275cb1f58f630082f3f51ab8e2c0ab5b021b16
2022-04-24 16:00:04 -07:00
Paul Gilbert 7fb5f6d21a AGS: Support option for software renderer's output driver
From upstream d45f77548675f06056143d6989929870338b34a1
2022-04-21 21:31:00 -07:00
Paul Gilbert 5060848b48 AGS: Support requesting particular audio driver
From upstream 076e675a3d031cd0a9d162f914e6d94c93a10d71
2022-04-21 21:20:58 -07:00
Paul Gilbert 29ea22c308 AGS: Add rotation support in config
From upstream d68e28eb1927c6c4391cddfe1e6294142181c365
2022-04-12 22:27:58 -07:00
Paul Gilbert 9c01b99b32 AGS: Add clear cache on room change from Android port to config
From upstream 7abbd673e910289511bcca3101abd03101599eb0
2022-04-12 22:27:56 -07:00
D G Turner 7797054318 AGS: Re-fix Signed vs. Unsigned Comparison GCC Compiler Warning
This is emitted when -Wsign-compare is passed.
2022-03-28 16:38:57 +01:00
Paul Gilbert d291f1cd1c AGS: Fixed gfxmode "desktop" interpretation for the windowed mode
From upstream e4cdd9010cf4e0fc6122942dd18a6a9a4560338a
2022-03-27 19:14:52 -07:00
D G Turner 713f51d209 AGS: Fix Signed vs. Unsigned Comparison GCC Compiler Warning
This is emitted when -Wsign-compare is passed.
2022-03-24 23:50:22 +00:00
Paul Gilbert 8befb47c05 AGS: Some corrections to reading legacy config
From upstream 183e1e2dff4d487eda5ef01ed54867fa5fec7927
2022-03-23 20:09:50 -07:00
Paul Gilbert 34c2d428b6 AGS: Simpler method of parsing window modes in user config
From upstream 4010bf5bb315498436199d356e2d2e882442316b
2022-03-23 20:09:50 -07:00
Paul Gilbert d7727eb964 AGS: Separate configs for fullscreen and windowed modes
From upstream 96a1868fcf5d5aa0c070feaebc912c969348db0f
2022-03-22 22:30:13 -07:00
Paul Gilbert 1ad9fe0a37 AGS: Deprecated "ScreenSizeDefinition" option as overcomplicating
From upstream 997170c80c6189b0f4d6940cc1817dabcd77fe30
2022-03-22 22:30:12 -07:00
Paul Gilbert 106622d44c AGS: Removed "scaling factor" from the FrameScaleDefinition struct
From upstream b2a4e98ecdd8cfd1d8e42ab32f6f337af60e5a68
2022-03-21 22:08:04 -07:00
Paul Gilbert 27dc8075fb AGS: Configurable user paths support $GAMENAME$ token
From upstream c61191084fbdc8d60d147dc4238dc43797716e2c
2022-03-17 21:49:27 -07:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Paul Gilbert d90cb0d203 AGS: Removed excessive headers containing random group of includes
From upstream 9e5149457a4638694fb1366b3fa59b08816f522c
2021-08-17 21:31:56 -07:00
Paul Gilbert 67634d9d7c AGS: Ignore any language setting from original cfg file 2021-06-25 20:16:44 -07:00
Thierry Crozat edaabb3d9d AGS: Fix regression with GUI translation option not working 2021-06-21 21:22:04 +01:00
Paul Gilbert 3a60a8db2f AGS: Convert other global strings to const char * 2021-06-13 21:09:17 -07:00
Paul Gilbert eb1e337edd AGS: Removed String's "const char*" conversion operator
From upstream 7c426674e7e53bffe9120f8ffc059b77fa03a606
2021-06-13 21:08:59 -07:00
Paul Gilbert e73df29f6c AGS: Engine fixes 2021-06-13 21:08:53 -07:00
Paul Gilbert b104d78888 AGS: Enabling disabled blocks, and making ScummVM needed changes 2021-06-13 21:08:50 -07:00
Paul Gilbert 701396361c AGS: Import of fresh codebase 2021-06-13 21:08:44 -07:00
Orgad Shaneh a05e54f00c JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00