47619 Commits

Author SHA1 Message Date
Johannes Schickel
fdb2f735dc SCUMM: Remove unneeded check for CMS in readSoundResource.
CMS support is only available in games using readSoundResourceSmallHeader.
2011-08-08 20:15:24 +02:00
Travis Howell
99d5087918 SCUMM: Set default Benchmark speed in Moonbase Commander, based on the original Moonbase.ini. 2011-08-08 14:46:12 +10:00
Travis Howell
c87ff89b4a SCUMM: Update stub in arrayOps for Moonbase Commander. 2011-08-08 13:50:47 +10:00
Travis Howell
905e9bc3ed SCUMM: Add sprite code difference in Moonbase Commander. 2011-08-08 11:41:06 +10:00
Travis Howell
45dc303159 SCUMM: Fix endian issue in captureWizPolygon. 2011-08-08 09:48:31 +10:00
Bastien Bouclet
2345228643 MOHAWK: Add specific cursor handling for Myst demo 2011-08-07 16:54:20 +02:00
Bastien Bouclet
216d3c5cef MOHAWK: Leaving from the slides should go to the information screens in Myst Demo. 2011-08-07 16:54:20 +02:00
Bastien Bouclet
b15ad58f11 MOHAWK: Disable zip mode in Myst demo 2011-08-07 16:54:19 +02:00
Johannes Schickel
acffd12d07 SCUMM: Further clean up of the CMS code. 2011-08-07 16:49:25 +02:00
Johannes Schickel
26b6fd5930 SCUMM: Clean up CMS code some more. 2011-08-07 16:15:46 +02:00
Johannes Schickel
88354bed23 SCUMM: Mark some overwritten methods as virtual. 2011-08-07 15:58:27 +02:00
Johannes Schickel
6bd9cd33d9 SCUMM: Cleanup CMS code a bit. 2011-08-07 15:56:49 +02:00
Johannes Schickel
28004ac8d9 GRAPHICS: Slight formatting fix. 2011-08-07 15:30:37 +02:00
Christoph Mallon
e35b4f20c1 GRAPHICS: Simplify the interface of Graphics::loadThumbnail().
Now it returns the Surface, so the caller does not need to create one and pass it.
2011-08-07 15:19:09 +02:00
Christoph Mallon
b4b6ce0954 ALL: Use Graphics::skipThumbnail() where appropriate. 2011-08-07 15:19:09 +02:00
Christoph Mallon
d1688d22d4 AUDIO: Simplify iterating backwards over an array. 2011-08-07 15:19:08 +02:00
Christoph Mallon
3ee307e6b3 KYRA: Simplify initializing a buffer with a string. 2011-08-07 15:19:08 +02:00
Christoph Mallon
ab80b20a30 COMMON: Replace x + ARRAYSIZE(x) by the simpler ARRAYEND(x). 2011-08-07 15:19:08 +02:00
Christoph Mallon
e3e0a317e7 AUDIO: Simplify complicated loop condition.
- The loop is exited with break; when stream gets assigned, so stream == NULL is always true.
- When iterating using the length of an array a terminator element is unnecessary.
2011-08-07 15:19:08 +02:00
Christoph Mallon
a5a8833c05 COMMON: Add DisposablePtr<T>, which replaces many repeated implementations of a dispose flag. 2011-08-07 15:19:08 +02:00
Christoph Mallon
2f23ff72c1 COMMON: Remove implicit conversion from ScopedPtr<T> to T*. 2011-08-07 15:19:08 +02:00
Christoph Mallon
c21f87836e PSP: Pass the stream as reference to PngLoader. 2011-08-07 15:19:08 +02:00
Christoph Mallon
a5675c3dbe TEENAGENT: Pass streams as references. 2011-08-07 15:19:08 +02:00
Christoph Mallon
0e6751372a SCI: Simplify allocation of ResourceManager. 2011-08-07 15:19:08 +02:00
Christoph Mallon
f3afb32ee6 SCI: Remove unnecessary cast. 2011-08-07 15:19:08 +02:00
Christoph Mallon
5f4d83c38d AGOS: Correct off-by-one error in range check for setting the debug level. 2011-08-07 15:19:07 +02:00
Christoph Mallon
0a458019b3 AGOS: Replace if-cascade by switch. 2011-08-07 15:19:07 +02:00
Christoph Mallon
715c07930d CRUISE: Replace casts and offset calculations for memory debugger by a simple struct. 2011-08-07 15:19:07 +02:00
Christoph Mallon
08ad90edf6 TSAGE: Reduce scope of variable. 2011-08-07 15:19:07 +02:00
Christoph Mallon
c6d5d74835 COMMON: Make constants actually const. 2011-08-07 15:19:07 +02:00
Christoph Mallon
97a6ee2e64 AUDIO: #define OV_EXCLUDE_STATIC_CALLBACKS to not get unnecessary static data, which causes warnings. 2011-08-07 15:19:07 +02:00
Christoph Mallon
c876e87efc COMMON: Correct error message.
The message displays bytes, but capacity is the count of objects, so multiply by their size.
2011-08-07 15:19:07 +02:00
Christoph Mallon
79729d03e0 COMMON: Use correct format specifier. 2011-08-07 15:19:07 +02:00
Christoph Mallon
84220d2ca0 COMMON: Remove superfluous Common:: qualifiers. 2011-08-07 15:19:07 +02:00
Christoph Mallon
b3997f0562 COMMON: Use ScopedPtr<> to simplify resource management. 2011-08-07 15:19:07 +02:00
Christoph Mallon
17044f0784 COMMON: Simplify initialization of z_stream struct. 2011-08-07 15:19:06 +02:00
Paul Gilbert
680ef79726 TSAGE: Implemented title screen of Blue Force 2011-08-07 23:14:09 +10:00
Filippos Karapetis
e95bc9d7b0 SWORD25: Make sure that id is always initialized in playSoundEx() 2011-08-07 16:05:54 +03:00
Filippos Karapetis
5974fcd0c1 TINSEL: Use SAVEGAME_ID when getting savegame info, if a VM is instantiated 2011-08-07 15:10:17 +03:00
Christoph Mallon
23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
Christoph Mallon
bf580e6e6b JANITORIAL: Add missing NL at EOF. 2011-08-07 13:53:33 +02:00
Filippos Karapetis
2c9fdf0df7 TINSEL: Fixed deleting saved games from the launcher (bug #3387551) 2011-08-07 14:21:28 +03:00
Paul Gilbert
622f8a166c TSAGE: Changed game Id from 'ring' to 'ringworld'
This should help avoid name conflicts in the future with the Ring engine
2011-08-07 11:07:02 +10:00
Littleboy
e978a6afb7 ENGINES: Use the new taskbar error notification methods in the engines defaultErrorHandler() 2011-08-06 15:27:43 -04:00
Littleboy
f702cb5695 BACKENDS: Implement notifyError() and clearError() for Win32TaskbarManager 2011-08-06 15:26:49 -04:00
Littleboy
539bf5317f COMMON: Add notifyError() and clearError() to the TaskbarManager, used to notify the user that an error happened through the taskbar icon 2011-08-06 15:25:32 -04:00
Johannes Schickel
bcd07d35bb OSYSTEM: Mention that our OSystem graphics API is not thread safe.
Based on f621f6a5059ec619ae9ea1045548e62a27e99ab4 and the fact that our OpenGL
based backends do not (and sometimes cannot easily) implement it in a thread
safe manner.
2011-08-06 18:55:32 +02:00
Alyssa Milburn
df3bc62a3a COMMON: Change param type of processDelayMillis to fix build. 2011-08-06 18:14:28 +02:00
Alyssa Milburn
72160f53aa TSAGE: Remove incorrect endian-specific read in audio code. 2011-08-06 17:57:34 +02:00
D G Turner
ad936e9f8c COMMON: Corrected Previous Commit.
Common::String class is in common/str.h, not string.h...
2011-08-06 15:52:36 +01:00