Thierry Crozat
6624df6529
GLK: Exclude *.data files for Z-code fallback detection
...
This is too generic, and like the .dat and ,zip extensions it
causes too many false positive detections.
2023-01-16 23:54:35 +00:00
angstsmurf
b87fd75ed0
GLK: SCOTT: UNP64: Update license
...
Parts of the code of Unp64 comes from Exomizer, a tool which uses
as modified Zlib license which is not compatible with GPL. The author of
Exomizer, Magnus Lind, has given permission to distribute this code under
unmodified Zlib license, so I have updated that here.
(The author of Unp64, iAN CooG, has agreed to let us distribute his code
under a GPL license. Or any license we want, to be precise.)
2023-01-13 23:58:04 +01:00
Eugene Sandulenko
b07baf493b
ALL: Make sure we always allow to override random seed
2023-01-02 16:12:44 +01:00
Walter Agazzi
1483a30125
GLK: ZCODE: Add detection for recent games
...
Trac 13916-13984
2022-12-29 23:27:18 +01:00
elasota
e280186a8c
ALL: VS warning cleanup
2022-12-25 16:31:57 +01:00
angstsmurf
8f3c504200
GLK: Convert text colors in glk_stylehint_set()
...
Text colors need to be converted from the Glk 0x00RRGGBB format to the
internal format used by ScummVM. Nothing seems to use this currently,
though.
2022-12-21 15:07:56 +01:00
angstsmurf
4e2658bb53
GLK: Return Glk colors from glk_style_measure
...
We need to convert color values back to Glk format before returning them
from glk_style_measure(). We do this by encoding the value as a string
and then to a long with strtol().
This fixes bug 13622 and the same problem (cyan background) in Magnetic
and Level9.
2022-12-21 15:07:56 +01:00
Walter Agazzi
d62ad5f32c
GLK: GLULX: Add detection for recent games
...
TRAC #12805
2022-12-20 15:56:00 +01:00
angstsmurf
e27d1ae160
GLK: SCOTT: Fix out-of-bounds write
...
If nv or nn (number of verbs or number of nouns) is equal to or larger than the number
of words + 2, this loop will try to write out of bounds and assert. This happens for
example in the C64 version of The Golden Baton.
To fix this, it is really enough to change the >= operator to >, but I took the opportunity
to simplify the code a bit as well.
2022-12-16 12:43:56 +02:00
D G Turner
8bc926886c
GLK: SCOTT: Fix Misleading Indentation GCC Compiler Warning
2022-12-14 09:31:41 +00:00
angstsmurf
387dd08f5d
GLK: SCOTT: Fix leak in disk_image.cpp
...
The method diCreateFromData() is set up as if it is going to copy the
data supplied by the caller to the _image member, allocating memory for
it, but then just assigns the data to it instead, leaking the allocated
memory.
This also means that if the data supplied is not a valid disk image, it
will delete the original data in the default case.
We fix this by just removing the allocation and the deletion. An
alternative would have been to actually copy the data instead.
2022-12-13 20:03:58 -08:00
Eugene Sandulenko
fb7095f5a4
COMMON: Move all compression-related files to a separate directory
2022-12-01 11:53:02 +01:00
Filippos Karapetis
541a8704d6
GLK: Implement GlkMetaEngineDetection::getMD5Bytes()
2022-11-30 23:29:37 +02:00
Cameron Cawley
6506e59064
ENGINES: Add getMD5Bytes to the base MetaEngineDetection class
2022-11-30 23:29:37 +02:00
Donovan Watteau
4d2fe18ad8
GLK: Fix MSVC C4309 enum sign warning
2022-11-29 01:37:55 +01:00
Donovan Watteau
5d23261964
GLK: Use MSVC_PRINTF when GCC_PRINTF is used
2022-11-29 01:37:16 +01:00
Eugene Sandulenko
733064565e
GLK: SCOTT: Fix mismatched new[]/delete. CID 1488026, 1488033
2022-11-20 19:07:28 +01:00
Cameron Cawley
2d6ac650b3
GLK: Move the engine options into the MetaEngine subclass
2022-11-16 23:58:54 +01:00
Hubert Maier
c788ea8e2d
JANITORIAL: GLK/TADS2: Correct Spelling Mistake
...
miniscule -> minuscule
2022-11-15 22:52:43 +02:00
Hubert Maier
884c106c9a
JANITORIAL: GLK/AGT: Correct Spelling Mistakes
...
neccessary -> necessary
succesfull -> successfull
2022-11-15 22:52:43 +02:00
Hubert Maier
0bde50d7ee
JANITORIAL: GLK/ADRIFT: Correct Spelling Mistake
...
pronounciation -> pronunciation
2022-11-15 22:52:43 +02:00
Le Philousophe
49d53bb58e
GLK: Fix strncpy usage
2022-11-06 17:27:21 +01:00
Hubert Maier
c187b2ff58
GLK: Correct spelling mistakes
...
apparantly -> apparently
2022-11-01 17:09:25 +02:00
Le Philousophe
1f2c78adfe
ALL: Make sure str.h is included when using String
...
Fix all cases working because str.h is included in util.h
2022-10-30 18:37:16 +01:00
Hubert Maier
1ebe6af4d0
GLK: Correct spelling mistake
...
neccessary -> necessary
2022-10-27 15:56:11 +02:00
Hubert Maier
4368247870
GLK: Correct spelling mistake
...
neccessary -> necessary
2022-10-27 15:56:11 +02:00
Hubert Maier
5a320c4b68
GLK: Correct spelling mistake
...
relevent -> relevant
2022-10-27 15:56:11 +02:00
Hubert Maier
3ea6d54fca
GLK: Correct spelling mistake
...
neccessary -> necessary
2022-10-27 15:56:11 +02:00
Hubert Maier
5faaa3c986
GLK: Correct spelling mistake
...
neccessary -> necessary
2022-10-27 15:56:10 +02:00
Hubert Maier
1b97af8938
GLK: Correct spelling mistake
...
refered -> referred
2022-10-27 15:56:10 +02:00
Hubert Maier
c384b1df05
GLK: Correct spelling mistake
...
begining -> beginning
2022-10-27 15:56:10 +02:00
Hubert Maier
12e1b339b1
GLK: Correct spelling mistake
...
neccessary -> necessary
2022-10-27 15:56:10 +02:00
Hubert Maier
30c77c0166
GLK: Correct spelling mistake
...
existance -> existence
2022-10-27 15:56:10 +02:00
Hubert Maier
a31497e714
GLK: Correct spelling mistake
...
refered -> referred
2022-10-27 15:56:10 +02:00
Walter Agazzi
c9d35d9f5a
GLK: HUGO: Add missing version numbers
2022-10-26 11:49:42 +02:00
Walter Agazzi
ca717aeca4
GLK: QUEST: Pass extra field when appending to gamelist
...
Required for DT_ENTRY1 macro to work properly
2022-10-24 20:52:38 +02:00
Walter Agazzi
b6611d8fb6
GLK: MAGNETIC: Pass extra field when appending to gamelist
...
Required for DT_ENTRY1 macro to work properly
2022-10-24 20:52:03 +02:00
Walter Agazzi
8dbb9489ef
GLK: JACL: Pass extra field when appending to gamelist
...
Required for DT_ENTRY1 macro to work properly
2022-10-24 20:50:55 +02:00
Walter Agazzi
3ed2dd44ef
GLK: HUGO: Pass extra field when appending to gamelist
...
Required for DT_ENTRY1 macro to work properly
2022-10-24 20:48:49 +02:00
Walter Agazzi
b49c6b7fe6
GLK: ALAN2: Pass extra field when appending to gamelist
...
Required for DT_ENTRY1 macro to work properly
2022-10-24 20:29:12 +02:00
Walter Agazzi
77c982f661
GLK: HUGO: Add detection for a couple new versions
2022-10-24 20:09:52 +02:00
Le Philousophe
6d3a10c631
GLK: Don't use unsafe sprintf and vsprintf
2022-10-23 22:46:19 +02:00
Le Philousophe
93cdbbbf39
GLK: Don't use unsafe strcat and strcpy
2022-10-23 22:46:19 +02:00
Walter Agazzi
3b59508f6d
GLK: SCOTT: Add detection for TI-99 Homebrew games collection
2022-10-21 20:02:56 +02:00
Walter Agazzi
be3abd3c26
GLK: SCOTT: Add detection for Ghost King
2022-10-21 20:02:56 +02:00
Walter Agazzi
2d33e5d318
GLK: SCOTT: Ignore common extensions to prevent mass add flooding
...
Avoid picking any .d64 (Commodore disc) or .t64 (Commodore tape)
as a possible Scott game, to prevent conflicts with the detection of
Maniac Mansion / Zak C64 and possibile flooding in mass-add.
2022-10-20 18:56:42 -07:00
Walter Agazzi
611dea205c
GLK: SCOTT: Add missing fallback detection entry
2022-10-20 18:56:42 -07:00
Walter Agazzi
b4674950a5
GLK: GLULX: Add detection for various recent games
...
Reported in TRAc #12805
2022-10-15 12:08:29 +02:00
Walter Agazzi
10a93eaa2d
GLK: ADRIFT: Add detection for alternate version of Wax Worx
2022-10-08 16:38:56 +02:00
Eugene Sandulenko
74cd80a92c
GLK: SCOTT: Fix copy/paste reeor. CID 1488039
2022-10-08 01:38:33 +02:00