aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
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-04COMMON: Fix spelling of lengthJoel Teichroeb
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-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.
2012-03-17ALL: Use GCC_ATLEAST().Christoph Mallon
2012-03-17COMMON: Add GCC_ATLEAST(major, minor) to simplify testing for versions of GCC.Christoph Mallon
2012-03-17COMMON: Hopefully fix compilationFilippos Karapetis
EVENT_CUSTOM_BACKEND_HARDWARE is only set when ENABLE_KEYMAPPER is set
2012-03-17COMMON: Use String class consistentlyEugene Sandulenko
2012-03-17Merge pull request #203 from fingolfin/guio-cleanupEugene Sandulenko
COMMON: GuiOptions cleanup
2012-03-17Merge pull request #202 from tsoliman/keymapper-nonkey-inputsEugene Sandulenko
KEYMAPPER: Add Gesture Support
2012-03-13JANITORIAL: Simply use *x instead of *x.get() on smart pointers.Christoph Mallon
2012-03-11COMMON: Mention that SafeSeekableSubReadStream is not threading safe.Johannes Schickel
2012-03-11COMMON: Rename SafeSubReadStream to SafeSeekableSubReadStream.Johannes Schickel
It actually inherits from SeekableSubReadStream, so it should be named accordingly.
2012-03-10COMMON: Fix formatting in substream.h.Johannes Schickel
2012-03-08COMMON: Add an exists function to MacResManagerMatthew Hoops
2012-03-02KEYMAPPER: Add delays for *UP events coming from non-keysTarek Soliman
Delayed entries are in a queue where each entry stores how many milliseconds should pass based on the last entry.
2012-03-02KEYMAPPER: Map non-key custom input eventsTarek Soliman
This also makes the keymapper be in charge of keymapping logic
2012-02-29COMMON: Move language GUIO code to language.hMax Horn
2012-02-29COMMON: Replace OptionsDialog::renderType2GUIO by API in rendermode.hMax Horn
2012-02-27COMMON: Fix opening QuickTime files from MacBinary filesMatthew Hoops
2012-02-27KEYMAPPER: Rename EVENT_CUSTOM_BACKEND to EVENT_CUSTOM_BACKEND_ACTIONTarek Soliman
2012-02-27KEYMAPPER: Rename HardwareKey to HardwareInputTarek Soliman
2012-02-26COMMON: Move Language and Platform functionality into separate filesMax Horn
2012-02-26COMMON: Move RenderMode and GUIOptions functionality into separate filesMax Horn
2012-02-24COMMON: distinguish between 256 colors and 16 colors PC-98 rendering modesathrxx
KYRA 1 PC-98 supports both modes in the same target. The desired mode can now be selected in the rendering options. We did have good support for the 16 colors mode of KYRA 1 already. This mode could not really be selected though (except by manually modifying the config file or the code).
2012-02-22COMMON: Add a size_type to HashMap.Johannes Schickel
2012-02-22COMMON: Add a size_type to List.Johannes Schickel
2012-02-22COMMON: Slight formatting fixes in stack.h.Johannes Schickel
2012-02-22COMMON: Add a size_type to Stack and FixedStack.Johannes Schickel
2012-02-22COMMON: Slight formatting fixes in array.h.Johannes Schickel
2012-02-22COMMON: Add a size_type to Array and take advantage of it.Johannes Schickel
size_type is an unsigned integer type and is used for all indices etc.
2012-02-22KEYMAPPER: Initialize Event::customTypeTarek Soliman