Commit Graph
3029 Commits
Author SHA1 Message Date
Matthew Hoops faee277978 COMMON: Add a DisposeAfterUse flag to QuickTimeParser 2011-04-08 17:04:29 -04:00
Matthew Hoops 50d2519552 COMMON: Add iOS platform type 2011-04-07 10:52:58 -04:00
Matthew Hoops db71efd94f VIDEO: Split the QuickTime parser from the QuickTime VideoDecoder 2011-04-07 00:21:48 -04:00
Max Horn c4ae3b90db COMMON: Fix (harmless) int <-> uint mismatch 2011-04-04 09:53:26 +02:00
dhewg b065007c8f COMMON: Unbreak EventRecorder a little 2011-03-29 22:13:31 +02:00
dhewg d83a83ef50 JANITORIAL: Remove/comment unused vars
Found by GCC 4.6's -Wunused-but-set-variable
2011-03-29 21:57:56 +02:00
Littleboy 5a1874e3d9 COMMON: Add SaveFileManager::copySavefile() and update SaveFileManager::renameSavefile() to use it 2011-03-24 18:51:58 -04:00
Max Horn 4172414e35 COMMON: Remove TODO from struct Event
I moved this TODO to the Wiki TODO page and extended it there. Yet
while I originally wrote it, I now think that we are probably best off
keeping things as they are.
2011-03-23 15:25:46 +01:00
md5 23aabc950a COMMON: Removed custom PI define (M_PI should be used instead) 2011-03-19 02:39:38 +02:00
md5 3924fc0bad COMMON: Enable math constants under Visual Studio 2011-03-19 01:56:10 +02:00
Matthew Hoops e815102659 Merge branch 'pe_exe' of https://github.com/clone2727/scummvm into clone2727-pe_exe 2011-03-07 17:07:59 -05:00
Matthew Hoops bc3638834b COMMON: Add TODO to make compressed NE EXE handling transparent 2011-03-07 13:18:33 -05:00
Matthew Hoops c7d7e50155 COMMON: Add a sanity assert 2011-03-07 13:14:10 -05:00
Matthew Hoops d2f8103a3b COMMON: Fix WinResourceID::getID() 2011-03-07 13:12:43 -05:00
Matthew Hoops 826197cf76 COMMON: Make the operator=(String) function be a const reference instead 2011-03-07 13:11:28 -05: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 c66233f83e GRAPHICS: Split the NE cursor code from the NEResources class
Now the code lies in Graphics and all cursors are not cached upon opening an exe. The engine is now in charge of caching which cursors it wants.
2011-03-04 23:17:57 -05:00
dhewg b84b56b248 COMMON: Remove newlines from debug()
They were interfering with my precious debug spew :P
2011-03-02 23:18:34 +01:00
Matthew Hoops e053373dd3 COMMON: Add a key color field to NECursor 2011-02-22 20:11:50 -05:00
Matthew Hoops a2a0b13de2 COMMON: Begin to merge some NE/PE code
The ID classes are now common to both. The files have been renamed to better illustrate their purpose.
2011-02-22 20:03:18 -05:00
Matthew Hoops 3995610ce3 COMMON: Add a convenience function to ignore the language field 2011-02-22 12:33:41 -05:00
Matthew Hoops d5c494a239 COMMON: Add default Windows PE types 2011-02-22 02:02:00 -05:00
Matthew Hoops 91287b2e18 COMMON: Add basic PE EXE parser
Much thanks to fuzzie for her assistance
2011-02-22 01:47:11 -05:00
D G Turner a925286361 COMMON: Correct NE Resource Loader for Osystem RGBA->RGB Palette Change. 2011-02-20 06:12:21 +00:00
Johannes Schickel 39861271d6 COMMON: Make MacResManager::convertCrsrCursor to return a RGB palette. 2011-02-14 17:08:33 +01:00
Ori Avtalion 3354204f53 JANITORIAL: Remove extraneous parentheses
svn-id: r55890
2011-02-12 10:36:35 +00:00
Johannes Schickel 9f6dc040ff CONFIGURE: Add basic support for ICC.
svn-id: r55862
2011-02-10 01:05:48 +00:00
Max Horn 97bfd60e61 COMMON: Reduce overflow risk in Common::Rational += and -= operators
svn-id: r55839
2011-02-09 00:12:02 +00:00
Max Horn 2184326dbc COMMON: Add comment that explains strange <= checks in gcd()
svn-id: r55838
2011-02-09 00:11:39 +00:00
Max Horn ab039812e7 COMMON: OSystem now has a PaletteManager
svn-id: r55806
2011-02-07 17:52:38 +00: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
Johannes Schickel 867c0d9645 COMMON: Add an erase method which takes an iterator to HashMap.
Currently there is no iterator returned from this method, to have some
similarity to associative containers of the STL.

I also "added" one unit test for this method, which is basically just
a copy of the HashMap::erase(const Key &) test with the required adaptions.

svn-id: r55661
2011-01-30 17:28:35 +00:00
David Turner f7e1ed3762 COMMON: Fixed memory leakage in unarj readHeader().
This manifested in Drascula.

svn-id: r55582
2011-01-28 02:56:07 +00:00
Filippos Karapetis b0321af343 COMMON: Added some very simple operators to the Point class (+, -, += and -=), taken from the BS25 Vertex class
svn-id: r55476
2011-01-23 19:00:35 +00:00
Matthew Hoops 75b232c67d COMMON: Update documentation of the MacResManager
svn-id: r55403
2011-01-22 02:31:30 +00:00
Matthew Hoops fc8f135a61 COMMON: Document which engines use DCL
svn-id: r55380
2011-01-21 14:28:43 +00:00
Matthew Hoops 476eeb69e6 COMMON: Move SCI's DCL decompression code to common
svn-id: r55367
2011-01-21 01:55:44 +00:00
Johannes Schickel 4ad14abef3 COMMON: Some style fixes in config-manager.cpp.
svn-id: r55315
2011-01-18 21:13:47 +00:00
Johannes Schickel da6fdff421 COMMON: Some slight formatting fixes in config-manager.cpp.
svn-id: r55228
2011-01-13 16:38:14 +00:00
Yotam Barnoy 42c8cacde6 CONFIGMANAGER: small changes to support old config files with no 'gameId' keys. As discussed on -devel.
svn-id: r55222
2011-01-13 11:30:37 +00:00
Jordi Vilalta Prat dd47d644d3 COMMON: Fix a few space formatting issues.
svn-id: r55200
2011-01-11 03:03:40 +00:00
Alyssa Milburn 319fdf40b2 COMMON: Fix comment about getButtonState.
svn-id: r55087
2011-01-01 22:36:33 +00:00
Yotam Barnoy 77a6dc7046 CONFIG-MGR: added ability to add other non-game domains
The way we determine if a domain is a game domain or not when loading from the config file is by checking for a 'gameId' key. This required changing the method of loading somewhat. MiscDomains (ie. non-game domains) are saved to the config file before game domains but after the main domains.

This change shouldn't mess anything up but it could probably use a look-through just in case.

svn-id: r55060
2010-12-29 15:16:31 +00:00
Johannes Schickel 6308dd77d6 OSYSTEM: Clarify grabPalette documentation after talking with Max about it.
svn-id: r54978
2010-12-20 17:28:17 +00:00
Alyssa Milburn bcea996361 COMMON: Handle C++-style comments in config files
svn-id: r54868
2010-12-11 19:53:11 +00:00
Johannes Schickel e361b84d3b BACKENDS: Fix OSD implementation in ModularBackend.
svn-id: r54828
2010-12-08 01:35:34 +00:00
Matthew Hoops 70ab5a21da COMMON: Fix AppleDouble support in the MacResManager (thanks, fuzzie)
svn-id: r54775
2010-12-05 00:51:04 +00:00
Jordi Vilalta Prat d5a4f554af ALL: Fix a few typos
svn-id: r54716
2010-12-01 20:03:05 +00:00
Jordi Vilalta Prat a17c07bcaa I18N: Improve the fallback language auto-detection.
- Broaden the range of language tags that could be accepted as fallback in
  auto-detection. For example, for a system with locale 'pt_PT', all of
  these would be accepted as valid fallbacks: 'pt_PT_*', 'pt', 'pt_*'
- Make language codes matching case-insensitive as specified in RFC 4647.
- Add support language code blocks longer than 2 characters.

svn-id: r54715
2010-12-01 20:00:40 +00:00
Jordi Vilalta Prat 8393bc5b5f I18N: Don't build TranslationManager when translation is disabled.
svn-id: r54684
2010-11-30 18:50:19 +00:00