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
Johannes Schickel
d127843859
COMMON: Enable backend specific custom events only when the Keymapper is enabled.
...
Otherwise there is no way of generating these events, thus it's better to make
people really aware of this.
I furthermore added some nots that its part of a WIP API, thus it should only
be used after checking up.
2012-02-13 01:23:07 +01:00
Johannes Schickel
d811240a9d
ALL: Enable Keymapper specific OSystem API only when the Keymapper is enabled.
2012-02-13 01:20:02 +01:00
Tarek Soliman
883f9ae073
COMMON: Add custom backend event
2012-02-12 13:28:13 -06:00
Tarek Soliman
705761011d
KEYMAPPER: Allow ports to define their own global keymap
2012-02-12 13:28:13 -06:00
Tarek Soliman
edc5249772
JANITORIAL: Fix template definition whitespace
2012-02-10 21:17:27 -06:00
Tarek Soliman
718e106a31
COMMON: Fix comment typo
2012-02-02 18:10:08 -06:00
Johannes Schickel
db98fdab2b
COMMON: Return 0 instead of false in FSNode::createReadStream.
...
This should "fix" some g++ warnings.
2012-01-29 16:31:52 +01:00
Johannes Schickel
f63df3bf7b
GRAPHICS/GUI: Implement charset mapping for TTF fonts.
...
The charsets used by the translations now need to have a "$(name).cp" file,
which contains an charset index => unicode mapping. Otherwise
create_translations will fail.
2012-01-29 16:26:20 +01:00
dhewg
77c9be7998
COMMON: Fix compilation with mingw-w64
...
setjmp and longjmp are being used in system headers.
Allow these symbols globally instead of hacking the appropriate
defines in every file including windows.h.
2012-01-23 18:22:50 +01:00
Andrea Corna
c8826297a4
COMMON: Enhance zlib interface
2012-01-13 18:33:04 +01:00
Johannes Schickel
b3f265696f
COMMON: Slight formatting fix.
2011-12-30 17:52:40 +01:00
Filippos Karapetis
a473934abd
COMMON: Perform some keymapper-related changes to the KeyState struct
...
The == operator in KeyState should not be checking for sticky modifier
keys. This allows the keymapper's defined actions to function correctly
in desktop platforms, when sticky modifier keys such as caps lock and
num lock are turned on. Also, added some sanity checks to hasFlags()
and enums for sticky and non-sticky keys
2011-12-30 13:59:55 +02:00
Matthew Hoops
7ac5bcd6f1
COMMON: QuickTime mdat atoms should be leaves
2011-12-15 12:59:42 -05:00
Andrea Corna
a6ec4f70da
COMMON: Make more members of Archive constant.
2011-12-13 17:55:57 +01:00
Matthew Hoops
b367772b5f
VIDEO: Add support for QuickTime video track edit lists
2011-12-12 12:28:48 -05:00
Johannes Schickel
8ff9e0cbff
GUI: Fix GUIO flags again.
...
The GUIO flags use an escape sequence for octal numbers. Starting with
18e84f9c11
GUIO_MIDICMS used "\008" which
resulted in the CMS flag adding a zero into the flags and thus terminating the
GUIO flag string.
2011-12-04 15:54:32 +01:00
athrxx
18e84f9c11
GUI: fix GUIO_NOSPEECH/GUIO_NOSFX settings
2011-12-04 15:05:00 +01:00
Filippos Karapetis
c65146cde1
COMMON: Added Croatian language (for a localized version of BS2.5)
2011-11-18 17:52:26 +02:00
Eugene Sandulenko
5420ad7619
Merge pull request #114 from tsoliman/keymapper2
...
KEYMAPPER: Keymapper improvements 2
2011-11-17 14:22:48 -08:00