aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2012-08-28Merge remote-tracking branch 'origin/master' into tonyAlyssa Milburn
Conflicts: common/coroutines.cpp common/coroutines.h devtools/create_project/msbuild.cpp devtools/create_project/visualstudio.cpp
2012-08-26Merge pull request #268 from clone2727/video-rewriteMatthew Hoops
VideoDecoder upgrade & partial rewrite
2012-08-26COMMON: Add MKTAG16 for 16-bit multi-character constantsMatthew Hoops
2012-08-25COMMON: Fix waiting for multiple coroutine events.Alyssa Milburn
This fixes the bWaitAll case of waitForMultipleObjects, and also the resetting of events later in the function.
2012-08-15COMMON: Remove fprintf/stderr usage from xmlparser.Alyssa Milburn
2012-07-27VIDEO: Adapt QuickTimeDecoder to the AdvancedVideoDecoder APIMatthew Hoops
2012-07-18COMMON: Add an optional argument to wrapCompressedReadStream, to simplify ↵Einar Johan Trøan Sømåen
using streams that can't tell their size()
2012-07-01Merge pull request #239 from bluegr/skipsavecompressionFilippos Karapetis
COMMON: Allow the savefile manager to create uncompressed saves
2012-07-01COMMON: Expand a bit the KeyState documentationThierry Crozat
This follows a bug that was found in the Lure engine where keycode was used in a place where it should have used ascii.
2012-06-25COMMON: Simplify the documentation in openForSaving()Filippos Karapetis
The new more concise description is courtesy of wjp.
2012-06-21COMMON: Add a detailed explanation on when to create uncompressed savesFilippos Karapetis
2012-06-21COMMON: Add documentation regarding the new parameter in openForSaving()Filippos Karapetis
2012-06-21COMMON: Allow the savefile manager to create uncompressed savesFilippos Karapetis
These are useful in cases where the files can be used in the original interpreters (such as the exported characters from QFG), in order to avoid confusion in cases where the users are unaware that these saves are compressed and are trying to load them in the original interpreters.
2012-06-20Merge pull request #246 from lordhoto/osystem-void-buffersJohannes Schickel
OSYSTEM: Use void buffers for screen/overlay/mouse buffers and proper pitch values for overlay code
2012-06-17Merge pull request #244 from clone2727/football2002-wdayJohannes Schickel
COMMON: Add tm_wday to our TimeDate struct
2012-06-17COMMON: Change pulseEvent to better reflect how it works in WindowsPaul Gilbert
2012-06-16ALL: Let overlay related methods in OSystem take a void * and use a proper ↵Johannes Schickel
pitch values. This is a first step to get rid of OverlayColor, which is a requirement for proper 4Bpp overlay support.
2012-06-16BACKENDS: Make OSystem::setMouseCursor take a "const void *" buffer.Johannes Schickel
This is mainly for consistency with OSystem::copyRectToScreen.
2012-06-16BACKENDS: Let copyRectToScreen take a "const void *" instead of "const byte ↵Johannes Schickel
*" as buffer. This removes the need to convert the parameter to copyRectToScreen to "const byte *", which is commonly used in games, which use Graphics::Surface to store their graphics data.
2012-06-13COMMON: Remove traces of mouse cursor target scale from OSystem docs.Johannes Schickel
2012-06-13COMMON: Remove traces of overlay scale from the OSystem documentation.Johannes Schickel
2012-06-13COMMON: Remove last traces of 8bpp overlay support from OSystem docs.Johannes Schickel
2012-06-09COMMON: Add tm_wday to our TimeDate structMatthew Hoops
Did not adapt bada or ps2 backends as I'm not sure how they should be handled
2012-06-09COMMON: Changed pulseEvent to allow calling processes to finish executing firstPaul Gilbert
2012-06-08Merge pull request #243 from lordhoto/cursor-no-scaleEugene Sandulenko
ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" logic.
2012-06-07COMMON: Make CoroutineScheduler's constructor and destructor private.Johannes Schickel
CoroutineSchedule is a singleton, thus it should not be possible to create a custom instance of it.
2012-06-07COMMON: Slightly adapt coroutine code to better match our guidelines.Johannes Schickel
I used astyle here, which automatically removes the use of tabs in comments.
2012-06-07COMMON: Move coroutine documentation to the header file.Johannes Schickel
2012-06-04COMMON: Merge of pull request #240, coroutine code cleanupPaul Gilbert
2012-06-03ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" ↵Johannes Schickel
logic. All uses of the old target scale API actually wanted to disallow scaling of the mouse cursor. This commit adapts our API to this and thus simplifies backend implementations. Some backends, most notable the Wii and Android, did some implementation of the cursor target scale, which I didn't adapt yet. I added a TODO for the porters there.
2012-05-31ALL: Correct spelling of "Mac OS X" in various placesMax Horn
2012-05-31COMMON: Fix comment typo in coroutine commentsPaul Gilbert
2012-05-29COMMON: Copied coroutine doxygen method descriptions to the header filePaul Gilbert
2012-05-29COMMON: Fixed CORO_ADDR parameter names in Doxygen commentsPaul Gilbert
2012-05-28COMMON: Move InstallShield code to commonMatthew Hoops
The code also now works for both data compressed with sync bytes and without
2012-05-25COMMON: Cleaned up coroutine commentsPaul Gilbert
2012-05-25COMMON: Fix method error messagesPaul Gilbert
2012-05-25COMMON: Fix comparison operation on coroutine wait methodsPaul Gilbert
2012-05-21COMMON: Skip junk found at the end of QuickTime filesMatthew Hoops
Can occur in files and is ignored by QuickTime
2012-05-20COMMON: Fix comparison operation on coroutine wait methodsPaul Gilbert
2012-05-17COMMON: Converted Coro context structure definitions to instead use classes.Paul Gilbert
This fixes a known problem with class variables declared in a method's context definition were not having their destructors called.
2012-05-17COMMON: Fix compilation of coroutines code when COROUTINE_DEBUG is definedPaul Gilbert
2012-05-17COMMON: Improved waiting processes to store what PIDs they're waiting forPaul Gilbert
This is then used in PulseEvent to only execute processes that are specifically waiting on the given PID, rather than all waiting events.
2012-05-17COMMON: Moved the Tinsel Coroutine code into it's own Common classPaul Gilbert
2012-05-13COMMON: Converted Coro context structure definitions to instead use classes.Paul Gilbert
This fixes a problem with member variables declared in a method's context definition that are object instances were not having their destructors called.
2012-05-13COMMON: Fix compilation of coroutines code when COROUTINE_DEBUG is definedPaul Gilbert
2012-05-13COMMON: Improved waiting processes to store what PIDs they're waiting forPaul Gilbert
This is then used in PulseEvent to only execute processes that are specifically waiting on the given PID, rather than all waiting events.
2012-05-11COMMON: Merged the Tinsel & Tony Coroutine schedulers into CommonPaul Gilbert
2012-04-30COMMON: Use the file cache in ZipArchive::listMembers for performance.Johannes Schickel
This avoids a new iteration through the .zip file for every listMember call. Instead it uses the "_hash" HashMap, which already contains all the filenames and is filled on initializing the ZipArchive by unzOpen.
2012-04-19Merge pull request #226 from digitall/sincosFilippos Karapetis
Replace large static Sin and Cos tables with dynamically generated ones.