aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
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
2012-03-25Merge pull request #211 from lordhoto/game-gui-options-v2Eugene Sandulenko
GUI: Game gui options
2012-03-22COMMON: Make Rect::center() more readableMatthew Hoops
Thanks to Fingolfin for the suggestion
2012-03-20Merge remote branch 'upstream/master' into pegasusMatthew Hoops
2012-03-20COMMON: Make Rect::center() work properly with odd dimensionsMatthew Hoops
2012-03-20COMMON: Add a READ_UINT24 macroMatthew Hoops
Complements READ_UINT16 and READ_UINT32
2012-03-19KYRA: Add per-game GUI option support.Johannes Schickel
2012-03-19ENGINES: Implement per-game options caching in AdvancedDetector via GUIO flags.Johannes Schickel
2012-03-19COMMON: Add a dummy edit when a QuickTime file contains noneMatthew Hoops
The edit just takes up the entire length of the track
2012-03-17ALL: Make use of defined() for the preprocessor consistent.Johannes Schickel
This does not change the use of defined for some NDS source files, since they seem to be (based on?) third party code.
2012-03-17COMMON: Use defined() instead of defined in preprocessor macros.Johannes Schickel
Thanks to clone2727 for noticing this.