Eugene Sandulenko
8477c4beb2
Merge pull request #874 from tobiatesan/fix_getfilename_cr5
...
WINTERMUTE: Fix PathUtils and add workaround for mixed separators
2016-12-26 16:15:38 +01:00
Tobia Tesan
a14d3865ad
WINTERMUTE: Use PathUtil::normalizeFileName in correctSlashes
2016-12-26 15:09:34 +01:00
Ryper_Zsolt
257d7e8fe0
WINTERMUTE: Don't mix different path separators.
...
Fixes #7068
2016-12-26 15:09:16 +01:00
Tobia Tesan
891986fd2b
WINTERMUTE: Use C strings in absolute path workaround array
2016-03-06 11:36:49 +01:00
Tobia Tesan
5ad4eca257
WINTERMUTE: Use array to store known broken absolute paths
...
Avoids an if() block that is getting longer
2016-03-06 11:36:46 +01:00
Tobia Tesan
83f921fa80
WINTERMUTE: Add fallback for hardcoded absolute path in carolreed5
...
Carol Reed 5 (the full game, data.dcp hash
27b3efc018ade5ee8f4adf08b4e3c0dd) refers to the absolute path
"f:\dokument\spel 5\demo\data\scenes\credits\op_cred_00\op_cred_00.jpg"
Appears to fix bug #7067 .
2016-03-05 22:19:53 +01:00
Eugene Sandulenko
401518a3dc
WINTERMUTE: Proper place for pointer check
2015-11-27 22:57:23 +01:00
Torbjörn Andersson
b8caa07ddb
WINTERMUTE: Fix mismatched free/delete Valgrind warning
...
The memory stream class uses free() to free memory, so we have to
use malloc(), not new, to allocate it.
2015-11-04 21:19:42 +01:00
Johannes Schickel
257f9fd2ae
WINTERMUTE: Fix endian issues in findPackageSignature.
...
Thanks to somaen for looking over it too.
This also silences bug #6624 "SYMBIAN: WINTERMUTE: Warnings in base_package.cpp".
2014-06-08 18:28:13 +02:00
Johannes Schickel
fc5ef58fff
WINTERMUTE: Make GPL headers consistent in themselves.
2014-02-18 02:39:40 +01:00
Filippos Karapetis
db5ff22410
WINTERMUTE: Handle invalid file access in Carol Reed 6: Black Circle
2013-10-02 00:45:29 +03:00
Willem Jan Palenstijn
e0dd19a21c
WINTERMUTE: Fix broken uint32/ulong cast
2013-10-01 23:20:42 +02:00
Johannes Schickel
1ce54c217a
WINTERMUTE: Fix end of namespace comments.
2013-08-04 00:51:09 +02:00
Tobia Tesan
23d9d5b509
WINTERMUTE: Remove fixedPath snippet
...
fixedPath is apparently never used anywhere else in the class and this
loop can cause the next one to never get to run.
2013-07-13 12:40:01 +02:00
Einar Johan Trøan Sømåen
b6242d0ea5
WINTERMUTE: Use int32 instead of int in classes.
2013-04-18 17:45:50 +02:00
anotherguest
f9247f0bce
WINTERMUTE: Use template with MIN
2013-04-04 15:39:54 +02:00
Einar Johan Trøan Sømåen
511f833032
WINTERMUTE: Use case-insensitive path-lookup when opening DiskFiles.
2013-02-06 13:40:36 +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
Einar Johan Trøan Sømåen
53512b0841
WINTERMUTE: Const-ify member-functions that obviously should be const.
2012-12-03 10:42:58 +01:00
Johannes Schickel
89abab97e3
JANITORIAL: Remove trailing whitespaces.
...
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Willem Jan Palenstijn
edeedc3cc5
WINTERMUTE: Fix leak
2012-09-24 19:25:31 +02:00
Einar Johan Trøan Sømåen
f33884b020
WINTERMUTE: Remove a few more unused includes.
2012-09-11 03:40:56 +02: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
07c27b775c
WINTERMUTE: Cleanup the header-guards.
2012-08-31 20:00:32 +02:00
Einar Johan Trøan Sømåen
71981aaecf
WINTERMUTE: Simplify getNodeForRelativePath
2012-08-31 16:34:12 +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
4168b50fc3
WINTERMUTE: Remove BPkgFile, as wrapCompressedStream can handle that job now.
2012-08-13 02:19:41 +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
8ed71a99f6
WINTERMUTE: Constructor(args): SuperClass(args) -> Constructor(args) : SuperClass(args)
2012-07-27 19:37:14 +02:00
Einar Johan Trøan Sømåen
a190bb8fdc
WINTERMUTE: Add a stubbed fallback for the absolute path used in East Side Story
...
C:\\windows\\fonts\\framd.ttf
2012-07-27 16:07:50 +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
bb131aaa07
WINTERMUTE: Clean up some TODOs.
2012-07-27 00:05:15 +02:00
Einar Johan Trøan Sømåen
eb22e36d5e
WINTERMUTE: Disable SaveGame thumbs for now
2012-07-26 19:31:08 +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
46968e20f9
WINTERMUTE: Cleanup in BasePackage.
2012-07-25 18:38:13 +02:00
Einar Johan Trøan Sømåen
45c5eb5cab
WINTERMUTE: Privatize/Protect variables that don't need to be public.
2012-07-25 05:08:13 +02:00
Einar Johan Trøan Sømåen
b05b6210b7
WINTERMUTE: Forgot to add this change to last commit (SQUASHME)
2012-07-25 03:32:54 +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
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
c59965ad4f
WINTERMUTE: Make sure we don't skip path-components.
2012-07-24 18:49:01 +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
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
4f1b03eac1
WINTERMUTE: Remove Base as superclass for base_file_entry
2012-07-22 23:36:13 +02:00
Einar Johan Trøan Sømåen
a249b096c0
WINTERMUTE: Remove Base as superclass for base_package.
2012-07-22 23:26:18 +02:00