Johannes Schickel
b95bbb2ace
CMS: Do proper clipping of the sound data on generation.
...
This fixes some overflows/underflows which resulted in crackling.
2011-08-10 00:00:12 +02:00
Johannes Schickel
74560278b2
SCUMM: Change CMS sfx methods to use its own register set.
...
This is now like in the original and helps comparing register writes against
DOSBox's behavior.
2011-08-10 00:00:12 +02:00
Johannes Schickel
37a34e6da2
SCUMM: Do not pack structs in CMS code.
2011-08-10 00:00:06 +02:00
Johannes Schickel
00d25a77a9
RECORDER: Defer mutex deletion to destructor.
...
Since we now call deinit after a game has been run, otherwise RTL would be
broken. See bug report #3388982 "valgrind errors when doing multiple RTL".
2011-08-09 15:04:26 +02:00
Johannes Schickel
a72ab2f448
BACKENDS: Fix compilation.
2011-08-09 14:56:38 +02:00
Fabio Battaglia
3fe81198ff
DINGUX: hopefully fix the cursor palette problem
...
The port wasn't keeping track of the CursorPalette feature
correctly. This should fix it for good.
2011-08-09 14:06:31 +02:00
Fabio Battaglia
521dfaa980
DINGUX: fix compilation
2011-08-09 11:19:18 +02:00
Eugene Sandulenko
83eb8e7ab6
RECORDER: Implement time compensation for playback
2011-08-09 08:37:00 +01:00
Travis Howell
05c0c8e98b
SCUMM: Backyard Soccer 2004 uses a different INI setting to disable printing.
2011-08-09 11:46:50 +10:00
Matthew Hoops
dbceb0a77d
SCUMM: Add some HE72 differences to mouse click handling
...
Backyard Soccer at least requires this to have input during gameplay.
2011-08-08 21:15:28 -04:00
Johannes Schickel
06b95b3543
OPENGL: Add include guard to gltexture.h
2011-08-09 02:14:12 +02:00
Filippos Karapetis
ef695cb7dd
OPENGL: Added a temporary hack to fix compilation under Windows, after the latest changes to the SDL interface layer
2011-08-09 02:24:59 +03:00
Johannes Schickel
fd61a83bb5
SDL: Slight clean up in the surface based graphics manager.
2011-08-09 00:04:19 +02:00
Johannes Schickel
04ab0e58b4
SDL: Take advantage of SdlGraphicsManager.
...
This gets rid of the hacks, where SdlEventSource added events with custom type
numbers to pass SDL_VIDEOEXPOSE and SDL_VIDEORESIZE to the graphics manager.
Furthermore it get rids of the uninituitive and hard to trace way of assigning
the proper mouse coordinates to mouse related events. Formerly it passed the
real screen coordinates through the even dispatching api to the graphics
manager (at least hopefully ;-) and let that handle creating a new event with
the proper coordinates. Now instead SdlEventSource handles the proper
coordinate setup itself.
Since this is a behavior change and I can not test all the SDL based small
devices ports this commit might break compilation for them and more serve it
might also break mouse position behavior. If any of that occurs I am sorry
about it.
2011-08-09 00:03:11 +02:00
Johannes Schickel
0630a88a04
SDL: Let SDL based graphics managers inherit from SdlGraphicsManager.
...
This also adapts port I can not test (not even the compilation). So if this
breaks anything I am sorry about it.
2011-08-09 00:03:11 +02:00
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