Commit Graph
56 Commits
Author SHA1 Message Date
Willem Jan Palenstijn dba38332d1 WINTERMUTE: Actually use new BasePersistenceManager constructor 2016-03-06 12:26:57 +01:00
Tobia Tesan f29229c0a6 WINTERMUTE: Return Common::String in getGameTargetName() 2016-03-05 20:41:19 +01:00
jammm 6ca8d22fb1 WINTERMUTE: Fixed parentFolder name check when testing for "language"/"languages", Fix bug #6655 (Dead City - hotspot text issue)
Fixed Wintermute incorretly parsing folder names with trailing \

(Windows-only issue)
It seems that calling getParent returns trailing '\' which is absent on POSIX based file systems but not on Windows. This causes Wintermute to load outline_red2.font from russian.dcp, which is not desired. This is fixed by calling it->getName() directly, which returns the folder name (without the trailing '\').
2015-02-22 02:54:45 +05:30
Pawel Kolodziejski 78258151ea WME: added few more games. added ability to detect from exe files. 2014-07-22 21:22:45 +02:00
Johannes Schickel fc5ef58fff WINTERMUTE: Make GPL headers consistent in themselves. 2014-02-18 02:39:40 +01:00
Johannes Schickel e180612ff5 WINTERMUTE: Skip Latvian language package if not selected. 2013-12-05 16:27:57 +01:00
Johannes Schickel ba7bbe6b89 WINTERMUTE: Fix typo in Polish language filename in Reversion1. 2013-12-05 16:26:44 +01:00
Johannes Schickel 67ce244567 WINTERMUTE: Use const_iterator in BaseFileManager::registerPackages. 2013-11-23 21:01:39 +01:00
Johannes Schickel 7409f3eb54 WINTERMUTE: Slight interator usage cleanup. 2013-11-23 21:00:39 +01:00
Johannes Schickel 5166fce2eb WINTERMUTE: Remove another unused variable. 2013-11-23 21:00:39 +01:00
Johannes Schickel 9a78ac265d WINTERMUTE: Make BaseFileManager::registerPackages case agnostic.
The old version did only work as expected when all the filenames were all
lowercase. This seems to be the case for most (or even all?) WME games.
However, we are better safe than sorry and make the code case agnostic.
2013-11-23 21:00:33 +01:00
Johannes Schickel 29fae3914e WINTERMUTE: Remove unused variables. 2013-11-23 20:45:13 +01:00
Einar Johan Trøan Sømåen ff574579bb WINTERMUTE: Add quite a bit of hackery to allow Reversion 1.3 to select languages properly.
Reversion 1.3 seems to have one language file in it’s main-folder, and
a full set in languages/ (not language/ like a few other games), the names
of the language-files are also different from what we’ve seen earlier.
2013-11-18 12:00:34 +01:00
Johannes Schickel 1ce54c217a WINTERMUTE: Fix end of namespace comments. 2013-08-04 00:51:09 +02:00
Einar Johan Trøan Sømåen e296ac1d47 WINTERMUTE: Let engine know both gameid and language of target as well as targetname. 2013-07-31 04:26:28 +02:00
Tobia Tesan 4105805505 WINTERMUTE: Fix for unnecessary "WARNING: getChildren() failed for path:"
FSNode::getChildren() was called assuming that it returns 0 iff success.
Actually, it's the other way around.
2013-06-06 23:33:50 +02:00
Einar Johan Trøan Sømåen d7531327d1 WINTERMUTE: Check results while traversing file-system. 2013-04-17 16:54:27 +02:00
Einar Johan Trøan Sømåen 8430c491f0 WINTERMUTE: Replace strcpy by strlcpy in BaseFileManager 2013-04-17 15:35:09 +02:00
Einar Johan Trøan Sømåen dedde93d1e WINTERMUTE: Avoid REQUIRING wintermute.zip during detection. 2013-03-24 17:41:10 +01:00
Einar Johan Trøan Sømåen 9eff1e514f WINTERMUTE: Move Resources out of binary and into wintermute.zip 2013-01-28 09:20:14 +01:00
Einar Johan Trøan Sømåen 980dc4a456 WINTERMUTE: Replace all NULLs with nullptr. 2013-01-26 18:07:07 +01:00
Willem Jan Palenstijn b4090ead4d WINTERMUTE: Convert CRLF to LF 2012-09-04 22:17:23 +02:00
Einar Johan Trøan Sømåen 158a206086 WINTERMUTE: Use ++it instead of it++ 2012-08-31 20:00:41 +02:00
Einar Johan Trøan Sømåen 101ad689c5 WINTERMUTE: Add language-filtering for Czech, Italian, Polish and Russian.
No detection-support is added for those languages at this point though.
2012-08-13 04:37:07 +02:00
Einar Johan Trøan Sømåen fed19cb66a WINTERMUTE: WinterMute -> Wintermute 2012-08-13 03:42:30 +02:00
Einar Johan Trøan Sømåen 9a5f363972 WINTERMUTE: Make missing-file warnings a debugC
The sound-system attempts to open files in various formats, some of which may not exist, no reason for these to fill the console with output.
2012-08-11 02:34:06 +02:00
Einar Johan Trøan Sømåen 2e7d21fc52 WINTERMUTE: Replace BaseRegistry with ConfMan 2012-07-29 17:53:44 +02:00
Einar Johan Trøan Sømåen 482a5fb467 WINTERMUTE: Make the BaseEngine-singleton use Common::Singleton as super-class 2012-07-29 03:41:07 +02:00
Einar Johan Trøan Sømåen 9b5cf8f1ba WINTERMUTE: Introduce a Singleton-class for holding registry/filemanager. 2012-07-29 02:34:44 +02:00
Einar Johan Trøan Sømåen e841bf16d6 WINTERMUTE: Fix a few warnings pointed out by fuzzie. 2012-07-28 23:10:33 +02:00
Einar Johan Trøan Sømåen f6ac34ab9a WINTERMUTE: Get rid of almost all LLVM GCC 4.2 warnings. 2012-07-27 18:13:42 +02:00
Einar Johan Trøan Sømåen 996e79b3d5 WINTERMUTE: Fix SaveGame-thumb loading/saving. 2012-07-27 16:04:37 +02:00
Einar Johan Trøan Sømåen b3b86c440c WINTERMUTE: Clear out a few warning()s 2012-07-27 15:55:06 +02:00
Einar Johan Trøan Sømåen 91edc76b3e WINTERMUTE: Avoid crashing when a file doesn't exist in a DCP. 2012-07-26 19:24:04 +02:00
Einar Johan Trøan Sømåen ef11f9d0c5 WINTERMUTE: Run Astyle with add-braces to break one-line statements into easier-to-read-code. 2012-07-26 15:59:26 +02:00
Einar Johan Trøan Sømåen 38507fa989 WINTERMUTE: AStyle-formatting. 2012-07-26 04:12:58 +02:00
Einar Johan Trøan Sømåen fa96c9ea18 WINTERMUTE: "delete []" -> "delete[]" 2012-07-25 21:05:03 +02:00
Einar Johan Trøan Sømåen 28759d7aa3 WINTERMUTE: Move SaveGame-file-saving handling over to BasePersistenceManager 2012-07-25 03:34:38 +02:00
Einar Johan Trøan Sømåen ab8d13ee58 WINTERMUTE: Change the DCP-file access to work as an Common::Archive. 2012-07-25 03:21:22 +02:00
Einar Johan Trøan Sømåen 7521d0f265 WINTERMUTE: Cleanup in BaseFileManager 2012-07-25 00:31:12 +02:00
Einar Johan Trøan Sømåen 8be1e095fd WINTERMUTE: Avoid starting up the engine to perform detection. 2012-07-25 00:08:39 +02:00
Einar Johan Trøan Sømåen ec7362d13e WINTERMUTE: Clean up and comment base_disk_file. 2012-07-24 18:30:22 +02:00
Einar Johan Trøan Sømåen 579810d296 WINTERMUTE: Use hasSuffix instead of contains to verify file-extensions. 2012-07-24 18:14:38 +02:00
Einar Johan Trøan Sømåen 88fe4e3106 WINTERMUTE: Handle the "language/" subdirectory separately for choice of language.
Since we don't have the same launcher the games have, we'll have to avoid including ALL
the datafiles, as the localization-dcps are usually intended to work alone. For now, it's hardcoded
to only load english.
2012-07-23 04:40:31 +02:00
Einar Johan Trøan Sømåen aedb0aea50 WINTERMUTE: Remove dcgf.h from almost all includes. 2012-07-23 03:22:49 +02:00
Einar Johan Trøan Sømåen 448911930d WINTERMUTE: Remove unused code from platform_osystem.h 2012-07-23 03:10:41 +02:00
Einar Johan Trøan Sømåen 927eb9a9e8 WINTERMUTE: Some more BaseFileManager-cleanup 2012-07-23 02:05:37 +02:00
Einar Johan Trøan Sømåen 61e011ada9 WINTERMUTE: Reenable direct package-loading for now 2012-07-23 00:40:38 +02:00
Einar Johan Trøan Sømåen 8b6e4fc752 WINTERMUTE: Privatize/remove unused/internal functions in BaseFileManager 2012-07-23 00:14:34 +02:00
Einar Johan Trøan Sømåen 4f1b03eac1 WINTERMUTE: Remove Base as superclass for base_file_entry 2012-07-22 23:36:13 +02:00