aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
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-25Merge remote branch 'upstream/master' into pegasusMatthew Hoops
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-05-04Merge remote branch 'upstream/master' into pegasusMatthew Hoops
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 remote branch 'upstream/master' into pegasusMatthew Hoops
Conflicts: base/plugins.cpp configure
2012-04-19Merge pull request #226 from digitall/sincosFilippos Karapetis
Replace large static Sin and Cos tables with dynamically generated ones.
2012-04-17COMMON: Update DCT & RDFT to avoid dynamic allocation of Sine/Cos Tables.D G Turner
2012-04-17COMMON: Refactoring of FFT class to remove repeated fft<x>() functions.D G Turner
The repeated functions expanded from the original DECL_FFT macros are now replaced by a recursive fft() function.
2012-04-16COMMON: Refactoring of FFT class, removing Cosine Table Reallocations.D G Turner
The cosine tables are now allocated once on object construction. Also, only the tables necessary (less than or equal to _bits) are created.
2012-04-16COMMON: Minor refactoring of FFT class, removing DECL_FFT macro.D G Turner
This makes it easier to look at reworking the Cosine Table usage to prevent repeated reallocation on calc() calls.
2012-04-14COMMON: Replaced static Sine and Cosine tables with dynamic generated.D G Turner
This removes the large static tables from the binary (which saves 500K to 1Mb of binary size) and replaced them with a class which generates the required tables as needed in RAM. This has been tested with QDM2 and shows no obvious performance degredation and Memprof shows no significant rise in RAM usage.
2012-04-13COMMON: Minor reduction of sine/cosine table size (8 bytes...).D G Turner
2012-04-13COMMON: Fixes for compiling without USE_BINK enabled.D G Turner
The math utility classes in Common are now used by more than just Bink Video i.e. Huffman is used by SVQ1, RDFT by QDM2 etc. so need to remove conditional inclusion of objects in the Common Library. This was done as these functions are very large wrt. binary size. This is mainly due to the sine, cosine and log tables which should be reconsidered as to whether these are needed or can be replaced by standard sin()/cos() calls.
2012-04-09COMMON: Add a KBD_META key state flagMatthew Hoops
2012-04-07COMMON: Hopefully fix AppleDouble files with directoriesMatthew Hoops
2012-04-04COMMON: Fix spelling of lengthJoel Teichroeb
2012-04-02Merge remote branch 'upstream/master' into pegasusMatthew Hoops
2012-03-30AUDIO: Fix QDM2 extra data parsingMatthew Hoops
2012-03-30COMMON: Clean up the QuickTime class a bitMatthew Hoops
2012-03-30COMMON: Read in QuickTime extra data for SVQ3Matthew Hoops
2012-03-25GUI: Change the undithering checkbox to be an engine-specific optionFilippos Karapetis