aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-08-09OPENGL: Added a temporary hack to fix compilation under Windows, after the ↵Filippos Karapetis
latest changes to the SDL interface layer
2011-08-09SDL: Slight clean up in the surface based graphics manager.Johannes Schickel
2011-08-09SDL: Take advantage of SdlGraphicsManager.Johannes Schickel
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-09SDL: Let SDL based graphics managers inherit from SdlGraphicsManager.Johannes Schickel
This also adapts port I can not test (not even the compilation). So if this breaks anything I am sorry about it.
2011-08-09SDL: Add a new base class for graphics managers utilizing SDL.Johannes Schickel
2011-08-09BACKENDS: Add PaletteManager interface as comments to GraphicsManager.Johannes Schickel
This should be a little more comfortable about finding out what's needed to implement a new graphics manager.
2011-08-09AGOS: Fix struct/class mismatchOri Avtalion
2011-08-08JANITORIAL: Remove trailing whitespaceOri Avtalion
2011-08-08RECORDER: Give name to recoder priority. Added middle button storing.Eugene Sandulenko
2011-08-08RECORDER: Restore event recorder functionality.Eugene Sandulenko
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-08RECORDER: Add some debug outputEugene Sandulenko
2011-08-08CONFIGURE: Add more verbosity for slow shell environments like mingwEugene Sandulenko
2011-08-08CONFIGURE: Add x86_64 to the CPU architecture list.Johannes Schickel
This prevents it from shown as "unknown (x86_64)", even though it is an officially supported platform.
2011-08-08CONFIGURE: Unify cpu arch detectionMax Horn
2011-08-08SCI: Remove dead codeMax Horn
2011-08-08TINSEL: Code formattingMax Horn
2011-08-08SCUMM: Remove unneeded check for CMS in readSoundResource.Johannes Schickel
CMS support is only available in games using readSoundResourceSmallHeader.
2011-08-08SCUMM: Set default Benchmark speed in Moonbase Commander, based on the ↵Travis Howell
original Moonbase.ini.
2011-08-08SCUMM: Update stub in arrayOps for Moonbase Commander.Travis Howell
2011-08-08SCUMM: Add sprite code difference in Moonbase Commander.Travis Howell
2011-08-08SCUMM: Fix endian issue in captureWizPolygon.Travis Howell
2011-08-07MOHAWK: Add specific cursor handling for Myst demoBastien Bouclet
2011-08-07MOHAWK: Leaving from the slides should go to the information screens in Myst ↵Bastien Bouclet
Demo.
2011-08-07MOHAWK: Disable zip mode in Myst demoBastien Bouclet
2011-08-07SCUMM: Further clean up of the CMS code.Johannes Schickel
2011-08-07SCUMM: Clean up CMS code some more.Johannes Schickel
2011-08-07SCUMM: Mark some overwritten methods as virtual.Johannes Schickel
2011-08-07SCUMM: Cleanup CMS code a bit.Johannes Schickel
2011-08-07GRAPHICS: Slight formatting fix.Johannes Schickel
2011-08-07GRAPHICS: Simplify the interface of Graphics::loadThumbnail().Christoph Mallon
Now it returns the Surface, so the caller does not need to create one and pass it.
2011-08-07ALL: Use Graphics::skipThumbnail() where appropriate.Christoph Mallon
2011-08-07AUDIO: Simplify iterating backwards over an array.Christoph Mallon
2011-08-07KYRA: Simplify initializing a buffer with a string.Christoph Mallon
2011-08-07COMMON: Replace x + ARRAYSIZE(x) by the simpler ARRAYEND(x).Christoph Mallon
2011-08-07AUDIO: Simplify complicated loop condition.Christoph Mallon
- 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-07COMMON: Add DisposablePtr<T>, which replaces many repeated implementations ↵Christoph Mallon
of a dispose flag.
2011-08-07COMMON: Remove implicit conversion from ScopedPtr<T> to T*.Christoph Mallon
2011-08-07PSP: Pass the stream as reference to PngLoader.Christoph Mallon
2011-08-07TEENAGENT: Pass streams as references.Christoph Mallon
2011-08-07SCI: Simplify allocation of ResourceManager.Christoph Mallon
2011-08-07SCI: Remove unnecessary cast.Christoph Mallon
2011-08-07AGOS: Correct off-by-one error in range check for setting the debug level.Christoph Mallon
2011-08-07AGOS: Replace if-cascade by switch.Christoph Mallon
2011-08-07CRUISE: Replace casts and offset calculations for memory debugger by a ↵Christoph Mallon
simple struct.
2011-08-07TSAGE: Reduce scope of variable.Christoph Mallon
2011-08-07COMMON: Make constants actually const.Christoph Mallon
2011-08-07AUDIO: #define OV_EXCLUDE_STATIC_CALLBACKS to not get unnecessary static ↵Christoph Mallon
data, which causes warnings.
2011-08-07COMMON: Correct error message.Christoph Mallon
The message displays bytes, but capacity is the count of objects, so multiply by their size.
2011-08-07COMMON: Use correct format specifier.Christoph Mallon
2011-08-07COMMON: Remove superfluous Common:: qualifiers.Christoph Mallon