Johannes Schickel
82ab3056fa
ENGINES: Implement per-game options caching in AdvancedDetector via GUIO flags.
2012-03-19 21:04:29 +01:00
Matthew Hoops
ee0a05c32e
COMMON: Add a dummy edit when a QuickTime file contains none
...
The edit just takes up the entire length of the track
2012-03-19 11:08:36 -04:00
Johannes Schickel
223794fb38
ALL: Make use of defined() for the preprocessor consistent.
...
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-17 22:02:44 +01:00
Johannes Schickel
2c0bd426fc
COMMON: Use defined() instead of defined in preprocessor macros.
...
Thanks to clone2727 for noticing this.
2012-03-17 21:23:42 +01:00
Christoph Mallon
a64b5e2a77
ALL: Use GCC_ATLEAST().
2012-03-17 20:09:49 +01:00
Christoph Mallon
757fa01a28
COMMON: Add GCC_ATLEAST(major, minor) to simplify testing for versions of GCC.
2012-03-17 20:09:45 +01:00
Filippos Karapetis
2b57ccfd5e
COMMON: Hopefully fix compilation
...
EVENT_CUSTOM_BACKEND_HARDWARE is only set when ENABLE_KEYMAPPER is set
2012-03-17 15:25:51 +02:00
Eugene Sandulenko
04d50f3703
COMMON: Use String class consistently
2012-03-17 12:55:51 +02:00
Eugene Sandulenko
34198fda35
Merge pull request #203 from fingolfin/guio-cleanup
...
COMMON: GuiOptions cleanup
2012-03-17 03:51:27 -07:00
Eugene Sandulenko
56252909f5
Merge pull request #202 from tsoliman/keymapper-nonkey-inputs
...
KEYMAPPER: Add Gesture Support
2012-03-17 03:46:46 -07:00
Christoph Mallon
e40ba4c135
JANITORIAL: Simply use *x instead of *x.get() on smart pointers.
2012-03-13 15:43:59 +01:00
Johannes Schickel
d7ba69ca27
COMMON: Mention that SafeSeekableSubReadStream is not threading safe.
2012-03-11 00:53:23 +01:00
Johannes Schickel
48efab4e5a
COMMON: Rename SafeSubReadStream to SafeSeekableSubReadStream.
...
It actually inherits from SeekableSubReadStream, so it should be named
accordingly.
2012-03-11 00:51:20 +01:00
Johannes Schickel
5f342562d1
COMMON: Fix formatting in substream.h.
2012-03-10 02:01:34 +01:00
Matthew Hoops
1e734ab48c
COMMON: Add an exists function to MacResManager
2012-03-08 08:02:06 -05:00
Tarek Soliman
c0a215282d
KEYMAPPER: Add delays for *UP events coming from non-keys
...
Delayed entries are in a queue where each entry stores how
many milliseconds should pass based on the last entry.
2012-03-02 20:48:50 -06:00
Tarek Soliman
d12f21b31d
KEYMAPPER: Map non-key custom input events
...
This also makes the keymapper be in charge of keymapping logic
2012-03-02 20:48:50 -06:00
Max Horn
c0d54bdd8d
COMMON: Move language GUIO code to language.h
2012-02-29 12:57:34 +01:00
Max Horn
92d219715f
COMMON: Replace OptionsDialog::renderType2GUIO by API in rendermode.h
2012-02-29 11:43:21 +01:00
Matthew Hoops
f17b1bf4f0
COMMON: Fix opening QuickTime files from MacBinary files
2012-02-27 18:31:20 -05:00
Tarek Soliman
533f80282b
KEYMAPPER: Rename EVENT_CUSTOM_BACKEND to EVENT_CUSTOM_BACKEND_ACTION
2012-02-27 13:04:59 -06:00
Tarek Soliman
6afac4e01e
KEYMAPPER: Rename HardwareKey to HardwareInput
2012-02-27 13:00:56 -06:00
Max Horn
367131ef0e
COMMON: Move Language and Platform functionality into separate files
2012-02-26 15:21:36 +01:00
Max Horn
215b41b244
COMMON: Move RenderMode and GUIOptions functionality into separate files
2012-02-26 15:19:31 +01:00
athrxx
3b574466fa
COMMON: distinguish between 256 colors and 16 colors PC-98 rendering modes
...
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-24 18:09:38 +01:00
Johannes Schickel
dac6ac66ad
COMMON: Add a size_type to HashMap.
2012-02-22 20:13:33 +01:00
Johannes Schickel
5eabc4a2f3
COMMON: Add a size_type to List.
2012-02-22 20:10:04 +01:00
Johannes Schickel
03959c18dc
COMMON: Slight formatting fixes in stack.h.
2012-02-22 20:08:40 +01:00
Johannes Schickel
7d8da24082
COMMON: Add a size_type to Stack and FixedStack.
2012-02-22 20:07:40 +01:00
Johannes Schickel
417cd7625c
COMMON: Slight formatting fixes in array.h.
2012-02-22 20:00:11 +01:00
Johannes Schickel
d6ac369303
COMMON: Add a size_type to Array and take advantage of it.
...
size_type is an unsigned integer type and is used for all indices etc.
2012-02-22 19:59:26 +01:00
Tarek Soliman
6b91c94a09
KEYMAPPER: Initialize Event::customType
2012-02-22 07:04:59 -06:00
athrxx
d9c05f7121
COMMON: add gui options for rendering modes
...
The purpose is the same as for the sound gui options: users shouldn't be offered modes that the engine doesn't support.
2012-02-21 21:48:35 +01:00
Willem Jan Palenstijn
9ffe3e11d9
Merge pull request #182 from fingolfin/forbid-ctype
...
ALL: Avoid using is* macros from ctype.h
2012-02-21 11:33:32 -08:00
Max Horn
02ebd55214
COMMON: Filter non-ASCII values in ctype.h-style isFOO functions
2012-02-20 16:20:32 +01:00
Max Horn
4f8665fc83
COMMON: Move isFoo functions to namespace Common, add doxygen comments
2012-02-20 16:18:27 +01:00
Tarek Soliman
3f6d549b0e
KEYMAPPER: Move F7 and F8 handling to DefaultEventMapper
2012-02-20 06:49:22 -06:00
Tarek Soliman
cfe91c8d44
KEYMAPPER: Move CTRL-F5 handling to DefaultEventMapper
2012-02-20 06:49:22 -06:00
Tarek Soliman
3c918bb378
KEYMAPPER: Move DefaultEventMapper implementation to its own cpp file
2012-02-20 06:49:22 -06:00
Tarek Soliman
a0ba4eb569
KEYMAPPER: Rewrite the EventMapper API
2012-02-20 06:49:22 -06:00
Tarek Soliman
c0b04fdcaa
KEYMAPPER: Having a mapper is no longer optional
2012-02-20 06:49:22 -06:00
Tarek Soliman
5c3e48fddf
KEYMAPPER: Create a DefaultEventMapper when Keymapper isn't enabled
...
This allows migration to unconditional mapping
2012-02-20 06:49:22 -06:00
Tarek Soliman
e7ade8ae05
KEYMAPPER: EventMapper must now eat all events
2012-02-20 06:49:21 -06:00
Tarek Soliman
f608b94a5d
COMMON: Fix value of EVENT_CUSTOM_BACKEND
...
I failed to see that the enum was not ordered
2012-02-18 22:23:06 -06:00
Max Horn
2017ba338a
COMMON: Fix typo
2012-02-16 11:12:39 +01:00
Tarek Soliman
85c8c84804
KEYMAPPER: Add more warning signs
2012-02-15 17:22:41 -06:00
Tarek Soliman
cce5be67dc
KEYMAPPER: Allow ports to define default Keymap Action bindings
2012-02-15 17:07:52 -06:00
Tarek Soliman
a4798602d7
JANITORIAL: Fix missing whitespace in pointer cast
...
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'
This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Tarek Soliman
921f602ab8
JANITORIAL: Fix whitespace in pointer template arg
2012-02-15 10:07:08 -06:00
Max Horn
658080deed
ALL: Avoid using is* macros from ctype.h
...
On some systems, passing signed chars to macros like isspace() etc. lead
to a runtime error. Hence, mark these macros as forbidden by default,
and introduce otherwise equivalent alternatives for them.
2012-02-15 16:51:37 +01:00