Commit Graph

47631 Commits

Author SHA1 Message Date
Johannes Schickel
dedc74abfa SDL: Add a new base class for graphics managers utilizing SDL. 2011-08-09 00:03:10 +02:00
Johannes Schickel
222064cdb6 BACKENDS: Add PaletteManager interface as comments to GraphicsManager.
This should be a little more comfortable about finding out what's needed to
implement a new graphics manager.
2011-08-09 00:03:10 +02:00
Ori Avtalion
c3cfdd36a5 AGOS: Fix struct/class mismatch 2011-08-09 00:52:33 +03:00
Ori Avtalion
077a2f8fb0 JANITORIAL: Remove trailing whitespace 2011-08-08 22:09:48 +03:00
Eugene Sandulenko
1d50a31830 RECORDER: Give name to recoder priority. Added middle button storing. 2011-08-08 20:01:09 +01:00
Eugene Sandulenko
a4029a8e94 RECORDER: Restore event recorder functionality.
It was badly broken after refactoring into EventObserver.

Fitst, deinit() method was never called which lead to bad record
files. Then, the concept of counting pollEvent() calls was ignored.

Introduced dispatchPoll() method of EventObserver which is implemented
in EventRecorder. It counts calls so is able to inject events at
more proper time.

Additionally now event times are recorded.
2011-08-08 20:01:07 +01:00
Eugene Sandulenko
4144fef5a7 RECORDER: Add some debug output 2011-08-08 20:01:05 +01:00
Eugene Sandulenko
53ea7bfe34 CONFIGURE: Add more verbosity for slow shell environments like mingw 2011-08-08 20:01:03 +01:00
Johannes Schickel
6a7c87b4a4 CONFIGURE: Add x86_64 to the CPU architecture list.
This prevents it from shown as "unknown (x86_64)", even though it is an
officially supported platform.
2011-08-08 20:37:42 +02:00
Max Horn
d6e0afc002 CONFIGURE: Unify cpu arch detection 2011-08-08 20:33:42 +02:00
Max Horn
529919e20b SCI: Remove dead code 2011-08-08 20:33:42 +02:00
Max Horn
321c0ce027 TINSEL: Code formatting 2011-08-08 20:33:33 +02:00
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