Commit Graph
47 Commits
Author SHA1 Message Date
Eugene Sandulenko fb7095f5a4 COMMON: Move all compression-related files to a separate directory 2022-12-01 11:53:02 +01:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Eugene Sandulenko a37e9a8f9a HDB: Replace NULL with nullptr 2020-04-28 09:42:27 +02:00
Eugene Sandulenko 16f1ff13bc HDB: Use Common::strlcpy() everywhere 2020-04-27 18:29:39 +02:00
D G Turner b940fb7588 HDB: Fix Major Memory Leak in File Manager Class 2019-09-13 21:50:55 +01:00
Strangerke d1b9e1db7a HDB: Initialize some more uninitialized variables. 2019-09-06 08:16:04 +02:00
Eugene Sandulenko cf3c1f0997 HDB: Added optional length parameter for querying from FindFirstData 2019-09-03 17:17:34 +02:00
Strangerke 2178770898 HDB: Change init functions to handle errors 2019-09-03 17:17:34 +02:00
Eugene Sandulenko e514a6c8c1 HDB: Better error messages 2019-09-03 17:17:32 +02:00
Eugene Sandulenko 1f02749874 HDB: Simplify openMPC() 2019-09-03 17:17:32 +02:00
Eugene Sandulenko d548d1dfb8 HDB: Simplify findFirstData() 2019-09-03 17:17:32 +02:00
Eugene Sandulenko f11c3afea9 HDB: Fix file len usage in compressed MSD files 2019-09-03 17:17:32 +02:00
Eugene Sandulenko 446afec1ca HDB: Reduce header dependency 2019-09-03 17:17:30 +02:00
Nipun Garg 1184c542cd JANITORIAL: Fix whitespace errors 2019-09-03 17:17:30 +02:00
Nipun Garg 3acb70c759 HDB: Wrap ReadStreams pointing to compressed...
...files
2019-09-03 17:17:30 +02:00
Eugene Sandulenko 74f3917db7 HDB: Made file manager case-insensitive.
Demo uses lowercase everywhere
2019-09-03 17:17:29 +02:00
Eugene Sandulenko 951943ecec HDB: Reduce header dependency 2019-09-03 17:17:28 +02:00
Eugene Sandulenko 99fc798b2e HDB: Reduce header dependency 2019-09-03 17:17:27 +02:00
Eugene Sandulenko 7b07d2f88c HDB: Hid some debug messages to deeper level 2019-09-03 17:17:24 +02:00
Nipun Garg a8d277be18 HDB: Fix delete command for _dir 2019-09-03 17:17:23 +02:00
Nipun Garg fd91bb7f59 HDB: Fix more memory leaks 2019-09-03 17:17:23 +02:00
Nipun Garg fa71ee9034 HDB: Fix memory leaks due to findFirstData() 2019-09-03 17:17:23 +02:00
Nipun Garg b90f0e143f HDB: Remove redundant FileMan function 2019-09-03 17:17:22 +02:00
Nipun Garg d706fbf22e HDB: Fix memory leaks 2019-09-03 17:17:22 +02:00
Eugene Sandulenko 3eab2731cd HDB: Implement loadMap() 2019-09-03 17:17:10 +02:00
Eugene Sandulenko 406185408f JANITORIAL: Remove trailing whitespaces 2019-09-03 17:17:01 +02:00
Eugene Sandulenko c0413509f1 HDB: Fix tile loading 2019-09-03 17:17:01 +02:00
Nipun Garg a1b1275764 HDB: Add and modify debug output 2019-09-03 17:16:57 +02:00
Nipun Garg 629ba37616 HDB: Add debug output to findFirstData() 2019-09-03 17:16:52 +02:00
Nipun Garg 32af03ab99 HDB: Fix parameter type in getCount 2019-09-03 17:16:44 +02:00
Nipun Garg f512307f70 HDB: Add findFiles to file-manager
It finds all MPC files of a common DataType that
consist of a substring.
2019-09-03 17:16:44 +02:00
Nipun Garg 19eefe2cea HDB: Fix variables according to Naming Conventions 2019-09-03 17:16:44 +02:00
Nipun Garg 846d799b19 HDB: Add getCount to FileMan
It counts the number of MPC entries that have
a specific substring in their filename
2019-09-03 17:16:44 +02:00
Nipun Garg bcd4de2c7e HDB: Change comments from /**/ to #if 0 ... #endif 2019-09-03 17:16:43 +02:00
Nipun Garg ba1081b87c HDB: Correct the include paths from X.h to hdb/X.h 2019-09-03 17:16:42 +02:00
Nipun Garg bc638cf251 HDB: Add LuaScript::initScript
It creates a new Lua environment whenever a new
Lua script is loaded
2019-09-03 17:16:42 +02:00
Nipun Garg eb7649228e HDB: Set the DisposeAfterUse flag in findFirstData 2019-09-03 17:16:42 +02:00
Nipun Garg 6986e5495a HDB: Refactor readStream() into findFirstData() 2019-09-03 17:16:42 +02:00
Nipun Garg 006bf635ae HDB: Add readStream() to create input stream
The input stream is designed keeping in mind the structure
of the MPC file in mind.
2019-09-03 17:16:42 +02:00
Nipun Garg fb00f5cb4e HDB: Fix Endian problem with the MPC data file 2019-09-03 17:16:42 +02:00
Nipun Garg baf6ed6a60 HDB: Add debug statment to openMPC() 2019-09-03 17:16:42 +02:00
Nipun Garg 406145362e HDB: Fix Endian bug with MPC Signature. LE->BE 2019-09-03 17:16:41 +02:00
Nipun Garg a4b4b351d8 HDB: Fix missing initial pointer for _mpcFile 2019-09-03 17:16:41 +02:00
Nipun Garg 1624c765a0 HDB: Setup system for drawing Title Screen 2019-09-03 17:16:41 +02:00
Nipun Garg 432ae5ad57 HDB: Add the find functions to the file-manager 2019-09-03 17:16:41 +02:00
Nipun Garg 6a764f4252 HDB: Fix Code Conventions and Formatting errors 2019-09-03 17:16:41 +02:00
Nipun Garg 99af2f6a30 HDB: Create FileMan as the filesystem for HDB
The exisitng code to read MPC files was moved into FileMan
2019-09-03 17:16:41 +02:00