44 Commits

Author SHA1 Message Date
Le Philousophe
40dcce567b BACKENDS: DC: Start considering game paths as Path class 2023-12-24 13:19:25 +01:00
Eugene Sandulenko
625e1e4500
BACKENDS: DC: Fix compilation 2023-01-13 00:03:44 +01:00
Le Philousophe
29f5d51972 DC: Don't use unsafe sprintf and vsprintf 2022-10-23 22:46:19 +02:00
Le Philousophe
6f5ac54828 DC: Don't use unsafe strcat and strcpy 2022-10-23 22:46:19 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh
b11c5ace90 BACKENDS: JANITORIAL: Remove 'virtual' when override is specified 2021-11-14 14:31:41 +02:00
Marcus Comstedt
52cf32cccc DC: Break out some common code into a shared file
Also, add some C++11 constructs for good measure.  :-)
2021-11-03 19:10:25 +01:00
Marcus Comstedt
c68fb8561d DC: Preserve appDomain when reloading config on disc swap
This is needed to prevent essential settings like
always_run_fallback_detection_extern from being removed.
2021-09-20 23:28:58 +02:00
SupSuper
c9d67e48a9 BACKENDS: Use FSNode::getName in string operations 2021-08-23 21:22:27 +01:00
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Bastien Bouclet
780db83e13 DC: Update for the engineId changes 2019-11-03 11:43:00 +01:00
Marcus Comstedt
0d6c83212a DC: Allow plugins to be grouped into subdirectories
By letting the user select which group of plugins to load, an out of
memory condition can be avoided while still allowing all plugins to be
stored on the same disc.
2018-07-17 13:06:02 +02:00
Bastien Bouclet
106416c857 DC: Fix the build after the detection result rework 2018-05-28 18:55:47 +02:00
Bastien Bouclet
90b78c5446 ENGINES: Merge GameDescriptor and DetectedGame 2018-05-10 09:04:23 +02:00
Cameron Cawley
b224b592c6 BACKENDS: Replace usage of stricmp/strcmpi/strcasecmp 2018-05-06 01:12:56 +02:00
Johannes Schickel
b4e5531352 DC: Make GPL headers consistent in themselves. 2014-02-18 02:39:33 +01:00
Johannes Schickel
7c58e9a6d5 DC: Use const version of ConfigManager::getGameDomains.
This should fix compilation for the DC port.
2013-08-13 00:26:58 +02:00
Marcus Comstedt
5b2e90504c DC: Directory handling fixes
* Include directory nodes in FSList sent to detectGames
  - This is required for correct detection of toon.
* Don't add / at the end of directories found in getChildren
  - It looks like that behaviour was removed from posix-fs a long
    time ago, and now there's apparently code depending on directories
    _not_ having a / at the end of their name...
* Treat games detected in subdirs as duplicates
  - This is a workaround for a detection bug in toon; it will incorrectly
    detect the game in the MISC subdirectory as well.
* Don't avoid directories called "install" in the game selector
  - I don't know if the original reason for ignoring "install" is still
    valid, but the code for doing do so was broken anyway.
2011-07-17 20:59:07 +02:00
Max Horn
b3b523fddf DC: Fix compilation 2011-05-23 21:20:59 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Max Horn
d67e450f7a DC: Fix various forbidden symbol clashes 2011-05-03 11:56:10 +02:00
Jordi Vilalta Prat
8388e0dfea JANITORAL: Clean trailing whitespaces.
svn-id: r53160
2010-10-12 02:18:11 +00:00
Marcus Comstedt
630127bc07 DC: Let scummvm.ini override autodetect of games
If a game CD has a scummvm.ini file with at least one game domain in
it, the normal autodetection is now bypassed and a menu of only the
games in the .ini file is presented instead.  The descriptions of the
games are taken from the .ini file, but icons are still scanned for
in the old fashion.

Note that previously ScummVM would read global options from the
scummvm.ini file on the boot disc (if present), but now global options
are instead taken from the scummvm.ini on the game disc (in case of
a disc swap).

svn-id: r51480
2010-07-29 20:37:56 +00:00
Max Horn
f54e82e488 Fix more cppcheck warnings/errors; some code formatting; and fixes to our tools
svn-id: r44539
2009-10-02 14:42:24 +00:00
Marcus Comstedt
95f02dd86f Detected games with different language or platform are now
no longer treated as duplicates, even if they have the same
target and directory.  Also, pass these parameters to the
ConfMan, so that the correct version of the game is started.

svn-id: r41504
2009-06-13 23:42:39 +00:00
Marcus Comstedt
e3ca4afb59 Fixed some warnings.
svn-id: r39590
2009-03-21 15:47:45 +00:00
Max Horn
c7fde102e3 Renamed FilesystemNode -> FSNode
svn-id: r34716
2008-10-02 16:58:59 +00:00
Marcus Comstedt
a1072368de game.h is now in engines, not base.
svn-id: r34620
2008-09-20 16:38:50 +00:00
Max Horn
531bcf847c Moved FilesystemNode / FSList to namespace Common; also got rid of some 'typedef Common::String String;' name aliases
svn-id: r34302
2008-09-03 11:22:51 +00:00
Marcus Comstedt
4b09d08292 Updated to use new EngineMan.detectGames() API.
svn-id: r32838
2008-06-29 12:10:38 +00:00
Jordi Vilalta Prat
2c9968fe80 - Added an engine plugin manager and moved engine specific functionality into it
- base/plugins.* reorganization

svn-id: r32045
2008-05-12 00:26:29 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +00:00
Marcus Comstedt
01ae76adea KEYCODE_ENTER should be KEYCODE_RETURN, actually...
svn-id: r28972
2007-09-19 19:43:03 +00:00
Marcus Comstedt
2ef85c9bf6 displayName() -> getDisplayName()
path() -> getPath()
listDir() -> getChildren()

svn-id: r28971
2007-09-19 19:42:10 +00:00
Nicola Mettifogo
258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00
Max Horn
3abc11611e Code formatting fixes
svn-id: r28945
2007-09-18 20:16:33 +00:00
Max Horn
0b1ce0774a Use keycodes instead of the (bad) ascii code for function keys in the DC backend
svn-id: r27695
2007-06-24 18:49:48 +00:00
Max Horn
2b23374468 Converted lots of code to use Common::ASCII_* and COMMON::KEYCODE_* constants. This also revealed the evil mixing of keycodes and ascii we do in many places :-/
svn-id: r27616
2007-06-22 20:04:44 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Max Horn
4dd50ee6f4 Fixed yet another DC compile error
svn-id: r26309
2007-03-27 19:26:39 +00:00
Max Horn
ed54ea9155 Moved Event/EventType/keyboard enum from common/system.h (part of class OSystem) to common/events.h (part of namespace Common). Porters may have to make minor changes to their backends to get them to compile again
svn-id: r26180
2007-03-17 19:02:05 +00:00
Marcus Comstedt
42593cb977 DetectedGameList -> GameList.
svn-id: r25235
2007-01-27 22:59:31 +00:00
Eugene Sandulenko
e93787490b #include <base/engine.h> -> #include <engines/engine.h (Though I don't like
those angle brackets)

svn-id: r24178
2006-10-07 21:05:31 +00:00
Marcus Comstedt
25f68b08ab Moved backends/dc into new platform directory.
svn-id: r23357
2006-06-30 20:21:42 +00:00