Commit Graph
31 Commits
Author SHA1 Message Date
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
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 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 980dc4a456 WINTERMUTE: Replace all NULLs with nullptr. 2013-01-26 18:07:07 +01:00
Willem Jan Palenstijn edeedc3cc5 WINTERMUTE: Fix leak 2012-09-24 19:25:31 +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 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 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 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 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 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 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 3bcbd1881c WINTERMUTE: Avoid opening files when checking hasFile() 2012-07-22 22:27:07 +02:00
Einar Johan Trøan Sømåen a549977cff WINTERMUTE: Use FSNodes to parse relative paths used by the games. 2012-07-22 21:02:25 +02:00
Einar Johan Trøan Sømåen 742521c20d WINTERMUTE: Redo base_file_manager, to use FSLists for registering/opening packages.
This is helpfull for consistency between registering and lookup, and allows for explicit removal/adding
of sub_paths for the engine. But most importantly it keeps the loading consistent and non-duplicated
for detection.
2012-07-22 07:24:48 +02:00
Einar Johan Trøan Sømåen b5a07fef8e WINTERMUTE: Get rid of the C-prefix for class-definitions. 2012-07-21 21:01:47 +02:00
Einar Johan Trøan Sømåen 5683f07633 WINTERMUTE: Rename CamelCased filenames to prefixed_under_score-filenames
This is mostly a lead-up to namespacing the Ad/Base folders, and then
possibly removing the prefixes from the files, it also has the added
benefit of getting rid of the odd case-typos that makes for issues
on platforms that don't ignore case.
2012-07-21 19:15:33 +02:00