Commit Graph
1457 Commits
Author SHA1 Message Date
Cameron Cawley c4a0d2210f AGI: Replace use of MetaEngineDetection::parseAndCustomizeGuiOptions() 2023-08-28 22:59:50 +02:00
Cameron Cawley 841d088060 AGI: Use OSystem::setShakePos() for screen shaking 2023-08-08 17:34:47 +03:00
Torbjörn Andersson 086661d2d9 AGI: Fix regression in Winnie the Pooh graphics
The left side of each picture was cut off, and padded with white at the
right side instead. This regression was introduced somewhere between
1.7.0 and 1.8.0 as part of a "graphics rewrite + cleanup".
2023-07-17 15:27:45 +02:00
Eugene Sandulenko af5714fc3c AGI: Remove non-ASCII symbol from the detection table 2023-06-23 19:15:29 +02:00
Vladimir Serbinenko eb2c55fe04 COMMON: Move DOS font from AGI to common
It's useful for Chinese EOB2 as well
2023-04-29 13:37:45 +02:00
Walter Agazzi cc90baf6e8 AGI: Add detection entry for KQ3 AGI spanish fanmade 2023-04-15 18:53:09 +02:00
sluicebox c2783e166b AGI: Fix memory leak in WinAGI parser
Coverity issue 1446670
2023-04-13 13:15:51 -07:00
sluicebox 2baf89fa82 AGI: Fix OOB array access in MickeyEngine::drawRoom
Code tested the wrong maximum array size

Coverity issue 1004027
2023-04-13 13:15:51 -07:00
sluicebox 83f3c69e80 AGI: Fix OOB array access in MickeyEngine::inventory
Code tested for indexer -1 after accessing array

Coverity issue 1003549
2023-04-13 13:15:51 -07:00
Walter Agazzi 7d3d91685b AGI: Add detection entry for Police Quest 1 Spanish
TRAC feature request #14369
2023-04-07 10:56:55 +02:00
Walter Agazzi c0c96310d3 AGI: Add detection entry for Naturette 3 v1.0c
TRAC report #14304
2023-04-06 03:14:35 +02:00
Eugene Sandulenko cd7263f105 AGI: Allow selection of arbitrary rendermodes. Fixes bug #14332
This was originally a feature of ScummVM: to allow, say, Amiga style
cursors and menus in DOS version. Thus, it was forgotten about when
we added GUIOs.
2023-03-18 00:35:25 +01:00
Eugene Sandulenko 8c4ee259cb AGI: Fix I18N includes 2023-03-17 15:26:13 +01:00
Eugene Sandulenko edc170c63d AGI: Reduce header dependency 2023-02-23 14:39:10 +01:00
eientei 16d1582501 AGI: Add detection for a few more variants 2023-02-12 16:55:03 +02:00
Walter Agazzi 601e1c31e0 AGI: Add detection for Quest for the Toilet 2023-01-13 18:37:30 +01:00
Cameron Cawley 28d7b361ea COMMON: Move more file format code into common/formats 2022-12-11 22:33:23 +01:00
Eugene Sandulenko 30e4c84ce7 AGI: Fix memory management with _propData. CID 1446667 2022-11-20 19:07:28 +01:00
Cameron Cawley 2c306f7624 AGI: Move the engine options into the MetaEngine subclass 2022-11-16 23:58:54 +01:00
athrxx 744b55b42c AGI: make use of new gui options handling for render modes 2022-11-07 00:27:34 +02:00
Ray fde0ea0b1a AGI: Fixed game Titles to match box art title 2022-11-06 20:52:04 +02:00
Le Philousophe 3abe41aa1b AGI: Fix strncpy usage 2022-11-06 17:27:21 +01:00
Hubert Maier d7d969d251 AGI: Correct spelling mistake
lightening -> lightning
2022-10-27 15:56:06 +02:00
Le Philousophe a91558aefd AGI: Don't use unsafe sprintf and vsprintf 2022-10-23 22:46:19 +02:00
Le Philousophe c89f760066 AGI: Don't use unsafe strcat and strcpy 2022-10-23 22:46:19 +02:00
Daniel Abramowitz f47977db1d AGI: Format Logs
Use the text's stringPrintf function to format the log messages.
2022-10-17 07:26:46 +03:00
Daniel Abramowitz 65aba03517 AGI: Write log() Function to File
Now the log() function writes to a file, as
the AGI engine did.

It appears that ScummVM doesn't have any "append" functionality.
As a result, I made this implementation create a new file each time
a message is logged. Note that the file is only created if the
log() function is called. The file name includes the game name
and the current time, ensuring that logs won't be overwritten.

The format is: agi.<gameid>.<currentime>.log and will be logged to
the working directory.

Last week I first implemented the log() function. In that commit
I just had it log to the console. In this commit we start
writing to a file.
2022-10-16 21:52:21 +02:00
Daniel Abramowitz a03b25a61a AGI: Initial Implemention of AGI's log() Function
This log() function was previously unimplemented in ScummVM. Its
purpose is to write log messages and some metadata about the game state
to a file.

This functionality does not affect game play. Presumably Sierra used
this to beta test their games. They would log the words that their
testers used but the game did not understand. The testers would
then submit the log file back to Sierra. Sierra would add the missing
words or descriptions to their games before release.

This is the first diff of a couple which will incrementally add this
functionality. In this diff, we just collect the information we need to
generate a log message close to what AGI actually did.

There are two notable differences which will be fixed in future diffs:
(See the comments in the code for more details.)
1. No message formatting.
2. We log to the console only.

For context, I'm currently writing an AGI game and would like to
collect this output from my friends and family, which is why I'm
implementing this functionality today.
2022-10-10 08:22:16 +03:00
DL ef332f38c1 AGI: French translation support 2022-09-19 00:46:07 +02:00
DL c9ef71a528 AGI: limit input to <= 0xFF in RU_RUS & HE_ISR translations
Prevents right-click and mouse scroll wheel from adding unwanted keypresses to the player input line when language is HE_ISR or RU_RUS.
2022-09-19 00:46:07 +02:00
Donovan Watteau 27f9a460b5 JANITORIAL: Fix "the the" and similar typos 2022-07-29 19:36:40 +03:00
Cameron Cawley f3b094e53f ENGINES: Change the MetaEngineDetection interface to match MetaEngine 2022-07-23 23:31:58 +02:00
D G Turner d3cfd7eef3 AGI: Remove Extra Backslash From French UI Case
This was causing a GCC compiler warning regarding the unhandled
escape case of \040 i.e. ASCII space in octal.
2022-06-07 22:12:54 +01:00
DL 84f3b1df18 AGI: Add French UI case 2022-06-06 18:39:55 +02:00
Filippos Karapetis 9dd5469873 AGI: Add files missing from commit 3be24c759b 2022-05-28 17:34:40 +03:00
Filippos Karapetis 3be24c759b AGI: Group preAGI games into a separate folder 2022-05-28 16:47:47 +03:00
Filippos Karapetis 622614eb20 AGI: Fix the Amiga Winnie the Pooh file structure and detection
The Amiga version of Winnie has files in subdirectories. The engine has
been adapted to respect the directory structure of this version
2022-05-28 15:30:45 +03:00
Athanasios Antoniou 5684a31703 AGI: Fix detection for Mickey's Space Adventure
This should address the remaining issues with ticket https://bugs.scummvm.org/ticket/13155
2022-05-28 00:50:49 +03:00
Torbjörn Andersson e06f3c9a5a GUI: Allow game option checkboxes to be disabled
Depending on other game option checkboxes. This is used to
enable/disable the semi-smooth scrolling checkboxes for FM Towns Loom,
since it's only used when smooth scrolling is enabled.
2022-04-21 11:07:17 +02:00
Zvika Haramaty e79f0a5c81 AGI: *.wag fallback - use description and version only if not empty strings 2022-04-17 14:22:12 +03:00
Zvika Haramaty 2a00a342bb AGI: set gameid according to *.wag file only if it's a known value 2022-04-17 14:13:52 +03:00
Zvika Haramaty 15dfca15ba AGI: fixed typo in fallbackWarning 2022-04-17 13:56:29 +03:00
eientei 957c7ecb5a AGI: Add more information to detection for Black Cauldron 2.10 3.5" 2022-04-15 12:25:08 +03:00
D G Turner 41eb2d4a87 AGI: Add Detection for "Good Man" Demo v4.0
This fanmade game is referenced in bug #13337.
2022-03-26 13:08:08 +00:00
D G Turner a9e639486d AGI: Add Detection for "Tex McPhilip 3 - A Destiny of Sin (v1.02)"
This fanmade game was completed and is referenced in bug #13336.
2022-03-26 12:21:30 +00:00
trembyle 74fc28fdc0 AGI: Add detection for later KQ4 IIgs version 2022-01-29 11:54:45 -05:00
trembyle 23348808e0 AGI: Add support for Mac Manhunter games
Macintosh versions of GR and MH1-2 use the same combined directory
filename convention as DOS, Atari ST and Apple IIgs (but not Amiga or
CoCo3). However, the filename convention for volumes uses the common
AGI v2 format, without a game id prefix.

Example:
DOS: GRDIR, GRVOL.x
Mac: GRDIR, VOL.x

To account for this, we'll use the following:
1. Rather than take the directory filename prefix from volume files,
   we now get this from the directory files themselves (which makes
   more sense anyway).
2. Later, when loading individual volumes, check for Mac platform and
   exclude the prefix from the path.

This improves the previous single game check for Mac Gold Rush, which
formed directory and volume paths for that game only. This check is
now obsolete and has been removed. The detection flag that was used to
invoke the workaround has also been removed.
2022-01-16 23:48:13 +02:00
trembyle 3c93b25b1c AGI: Add detection for Mac Manhunters
Add both Manhunters to detection tables. They don't start yet (because
the AGI V3 games store their directory files differently). I'll attempt
to fix this by adapting the method used for Mac Gold Rush.

Also add a new PC version of MH2 in order to resolve an md5 conflict
with the Mac version.
2022-01-05 16:00:51 -05:00
trembyle 31c8446caf AGI: Clean up fanmade detection entries
* Remove redundant language text
* Fix entries with duplicate md5 hashes
* UTF-8 titles since they're now supported
* Correct titles to match game & AGI Wiki
* New CoCo 3 ports of fanmade titles
* Fix alphabetical sorting

Gourd of the Beans is now listed as a Windows game. This was
released in 2015 and was always distributed with a modern interpreter,
specifically NAGI. It was never meant to be played in MS-DOS.
2022-01-03 20:38:01 -05:00
trembyle c81605dfa9 AGI: Fix build errors 2022-01-03 19:25:02 -05:00