Matthew Hoops
1f6894ab25
COMMON: Cleanup the MacResManager a bit
2013-07-11 23:45:19 -04:00
Matthew Hoops
2f9b1b67b0
ALL: Mark off some things as used by Pegasus
2012-08-31 22:26:02 -04:00
Matthew Hoops
5dfa4333d1
COMMON: Hopefully fix AppleDouble files with directories
2012-04-07 21:19:11 -04:00
Matthew Hoops
1e734ab48c
COMMON: Add an exists function to MacResManager
2012-03-08 08:02:06 -05:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Matthew Hoops
44ad7d45ba
COMMON: Remove convertCrsrCursor()
...
Graphics::MacCursor is its replacement
2011-05-05 19:48:57 -04:00
Ori Avtalion
9414d7a6e2
JANITORIAL: Reduce header dependencies in shared code
...
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Matthew Hoops
6582b77f1c
SCUMM: Use the new WinCursor code in SCUMM HE
...
Also, updated the MacResManager cursor code to reflect the SCUMM resource extractor code changes
2011-03-06 19:57:18 -05:00
Matthew Hoops
2be57434a1
COMMON: Only take the md5 of the resource fork data section
...
Since various apps can modify the type/creator of the files, we can't rely on the header of the resource fork to take the md5. I've therefore also recalculated all of the detector entries (all 5 of them) that use the Mac resource fork code.
svn-id: r55764
2011-02-04 15:27:56 +00:00
Matthew Hoops
75b232c67d
COMMON: Update documentation of the MacResManager
...
svn-id: r55403
2011-01-22 02:31:30 +00:00
Max Horn
f9d311d1ef
COMMON: Add const qualifiers and remove Common:: prefix in MacResManager code
...
svn-id: r54122
2010-11-07 17:17:21 +00:00
Max Horn
4d3a07b494
COMMON: Rename and tweak MD5 functions
...
* names now comply to our naming conventions
* the function computeStreamMD5AsString which computes the MD5
as a hex string now returns it as a Common::String
* add doxygen comments
svn-id: r54121
2010-11-07 17:16:59 +00:00
Matthew Hoops
7835ce5cb8
COMMON: Extend getting a Mac resource fork resource with a name
...
Resource names can be the same across types (ie. 'PICT' "Foo" and 'snd ' "Foo"), so this ensures that the right type is chosen in those cases.
svn-id: r52756
2010-09-17 03:55:41 +00:00
Matthew Hoops
d882661aec
COMMON: Cleanup MacResManager::convertCrsrCursor a bit
...
It's now a static function since it doesn't require any local variables and is really separate from the resource fork code. Also, actually assigning the keycolor (which was just being ignored).
svn-id: r52075
2010-08-14 04:03:36 +00:00
Jordi Vilalta Prat
474b804e33
Make the MacResManager opening more robust to failed tries and plug its memory leaks
...
svn-id: r49116
2010-05-20 13:46:18 +00:00
Eugene Sandulenko
15986b81c2
Added getBaseFileName() method and enhanced open() with trying macbinary format in plain files
...
svn-id: r49074
2010-05-18 10:39:08 +00:00
Matthew Hoops
8b1cb63de3
Pass by reference instead of value to getResource(String)
...
svn-id: r49008
2010-05-11 19:13:24 +00:00
Matthew Hoops
59476e44b9
Add support for getting a resource from the resource fork by name.
...
svn-id: r49004
2010-05-11 15:38:21 +00:00
Matthew Hoops
b9813063ad
Add support to the MacResManager and AdvancedDetector to take the md5 of a resource fork. This introduces a new flag, ADGF_MACRESFORK, which when set will take the md5 and size from the resource fork instead of the data fork.
...
svn-id: r48997
2010-05-10 18:23:54 +00:00
Eugene Sandulenko
57f2425b28
Patch #2901515 : HE: Resource Forks on Mac OS X
...
svn-id: r48984
2010-05-09 18:27:56 +00:00
Eugene Sandulenko
80ee1de8e4
Move Mac Binary resource loader to common class. Plug tons of memory leaks along the way.
...
svn-id: r47258
2010-01-11 20:41:07 +00:00