2759 Commits

Author SHA1 Message Date
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
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