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
Paweł Kołodziejski
c129dffdfe
cleanup header
2012-02-10 08:20:59 +01:00
Pawel Kolodziejski
5fc7ac39ee
synced with scummvm
2012-02-10 07:51:41 +01: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
Pawel Kolodziejski
b15eee129d
sync with scummvm
2012-01-28 10:44:25 +01:00
Paweł Kołodziejski
8e250f3faa
rename paths
2012-01-27 13:43:37 +01:00
Paweł Kołodziejski
2900c8ad94
fix compilation warnings
2012-01-27 12:02:03 +01:00
Bastien Bouclet
dca3a6dc75
BACKENDS: Add a new OSystem call to lock the mouse in the game window.
2012-01-26 19:35:27 +01:00
Giulio Camuffo
158a19df31
TinyGL: Support for different color modes, first part.
2012-01-24 21:36:46 +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
1ed60ed385
COMMON: Update zlib interface from scummvm
2012-01-19 21:15:43 +01:00
Andrea Corna
c8826297a4
COMMON: Enhance zlib interface
2012-01-13 18:33:04 +01:00
Bastien Bouclet
b77469a4d3
Merge remote-tracking branch 'origin/master' into sprint
...
Conflicts:
backends/events/sdl/sdl-events.cpp
backends/events/sdl/sdl-events.h
video/bink_decoder.cpp
2012-01-07 08:43:26 +01:00
Pawe³ Ko³odziejski
a5479cfe83
sync with scummvm
2012-01-06 22:56:21 +01:00
Pawel Kolodziejski
4fa79cd323
rename -> ResidualVM
2012-01-06 11:37:57 +01:00
Bastien Bouclet
3cb58f1594
SDL: Adapt some Residual specific code to be merge-friendly with ScummVM
2012-01-04 22:02:16 +01:00
Bastien Bouclet
7a7b9188f3
Merge branch 'master' into sprint
2012-01-04 17:36:12 +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
Bastien Bouclet
ef0c2d4364
MYST3: Allow the game to run from a full install to folder hierarchy.
2011-12-25 21:49:55 +01:00
Matthew Hoops
7ac5bcd6f1
COMMON: QuickTime mdat atoms should be leaves
2011-12-15 12:59:42 -05:00
Giulio Camuffo
3c4999dbc6
COMMON: Include scummsys.h, to have uint.
2011-12-14 17:46:29 +01:00
Andrea Corna
a6ec4f70da
COMMON: Make more members of Archive constant.
2011-12-13 17:55:57 +01:00
Matthew Hoops
00279659b2
Merge remote branch 'upstream/master' into pegasus
...
Conflicts:
video/qt_decoder.cpp
2011-12-12 15:25:28 -05: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