Vladimir
e4c9ae7a54
COMMON: fixed resize
2011-06-15 17:30:43 +02:00
Vladimir
e3178397ce
COMMON: added assign(T*, T*)
2011-06-15 17:29:52 +02:00
Thierry Crozat
38c9988938
COMMON: Fix crash in TranslationManager when reading long strings
...
It was writing data beyond the end of a buffer. This change makes
sure this does not happen. It only changes reading of the messages
since the language codes, charset names and contexts are always
much smaller than the buffer.
2011-06-14 23:15:50 +01:00
Max Horn
7ab553d72a
COMMON: Do not try to read from res forks of non-existant files
2011-06-10 22:30:03 +02:00
Max Horn
28c5d298f5
COMMON: Fix OSystem docs
2011-06-08 14:39:30 +02:00
Max Horn
fce7f90a94
BACKENDS: Shuffle backends class hierarchy and module initialization
2011-06-08 14:29:22 +02:00
Max Horn
0b7f475e35
BACKENDS: Add OSystem::resetGraphicsScale() default implementation
2011-06-08 12:10:49 +02:00
Alyssa Milburn
bdd5256e15
COMMON: Add headers needed for delete calls.
2011-06-08 11:44:08 +02:00
Max Horn
997f0a1900
BACKENDS: All backends use _savefileManager now, adapt OSystem accordingly
2011-06-07 14:57:58 +02:00
Max Horn
f13e671759
BACKENDS: All backends use _timerManager now, adapt OSystem accordingly
2011-06-07 14:57:58 +02:00
Max Horn
04afdf7c7d
BACKENDS: Move more 'manager slots' from ModularBackend to OSystem
2011-06-07 14:57:56 +02:00
Thierry Crozat
a605c7fd69
OSYSTEM: displayMessageOnOSD() now accepts non-ASCII strings
...
It should now accept strings encoded using the current
TranslationManaged charset (e.g. translated text).
2011-06-06 23:20:10 +01:00
Max Horn
c1b68a7fd7
COMMON: Clarify & correct OSystem::displayLogFile() docs
2011-06-06 17:56:36 +02:00
Max Horn
0403cfc060
COMMON: Attempt to make 'forbidden symbol' error more helpful
2011-06-06 17:10:03 +02:00
Max Horn
0a2fb9a465
COMMON: Make more symbols forbidden
2011-06-06 17:05:35 +02:00
Max Horn
c81e94b252
BACKENDS: Unify EventManager setup
2011-06-06 16:13:57 +02:00
Max Horn
0e20bc0086
COMMON: Remove PS2 / NDS hacks in system.cpp
2011-06-06 15:39:05 +02:00
Max Horn
c847522422
BACKENDS: Add OSystem::getDefaultConfigFileName
...
This is used to provide default implementations for createConfigWriteStream
and createConfigReadStream, which can be used by most backends.
Note that backends can still override createConfigRead/WriteStream;
this could be useful if settings on some port are not stored in a
regular file (think 'Windows registry', for a hypothetical example).
2011-06-06 15:30:21 +02:00
Max Horn
afb06b51cc
BACKENDS: Unify AudioCD manager instantiation
2011-06-06 15:02:33 +02:00
Alyssa Milburn
6842227ac2
COMMON: Add kInfo LogMessageType.
2011-06-06 12:26:01 +02:00
Max Horn
a6e5b97e9f
COMMON: Remove vfprintf call from XML parser
2011-06-06 11:19:09 +02:00
Max Horn
ce32745d9c
BACKENDS: Replace OSystem::disableCursorPalette by setFeatureState calls
2011-06-04 11:55:56 +02:00
Max Horn
6575cd195b
COMMON: Clarify OSystem feature flags docs a bit
2011-06-04 11:55:56 +02:00
Max Horn
91b889e2d3
COMMON: Rename kFeatureCursorHasPalette -> kFeatureCursorPalette
2011-06-04 11:55:56 +02:00
Max Horn
0a0258edcf
COMMON: Let Common::normalizePath normalize '..' in paths
...
There are some unit tests to verify that this works correctly.
There is a small chance that this causes regressions in weird setups.
2011-06-03 17:33:07 +02:00
Max Horn
3cc2e5b927
COMMON: Access mac res fork via FSNode instead of StdioStream
...
This fixes linker problems with the unit tests on Mac OS X. it is also
"more proper" to use the high-level FSNode API. StdioStream is a
(relatively) low-level wrapper intended for use inside of backends only.
2011-06-03 17:30:30 +02:00
Max Horn
279a5b4f32
BACKENDS: Add OSystem::displayLogFile interface + OSX implementation
2011-06-03 13:36:04 +02:00
Matthew Hoops
547fd1bdca
COMMON: Cleanup QuickTime variable and struct naming
2011-06-03 00:58:29 -04:00
Matthew Hoops
2e06681698
COMMON: Begin objectifying QuickTimeParser::SampleDesc further
...
This is preparation for multiple video and audio tracks
2011-06-02 23:44:40 -04:00
Johannes Schickel
d2a8e8023e
COMMON: Implement two simple workaround wrappers for _vsnprintf and _snprintf for MSVC.
...
This should assure vsnprintf and snprintf will now also always null
terminate the result even for MSVC.
Currently the functions are placed in scummsys.h, but that causes us
to include two standard C library headers there (for MSVC at least).
This is not particulary nice, so we should think of a better solution
here.
2011-06-01 22:18:28 +02:00
Johannes Schickel
007a33515f
COMMON: Add note about us defining vsnprintf as _vsnprintf for older MSVC versions.
2011-06-01 17:31:33 +02:00
Johannes Schickel
2f8e9b954e
COMMON: Add comment about MSVC's _snprintf.
...
This includes a FIXME, since _snprintf behaves differently to snprintf.
Not only in the return value (which is a minor difference, since we usually
do not use it), but also since it does not always include a terminating null.
2011-06-01 17:28:59 +02:00
clone2727
49a8f7675f
Merge pull request #20 from scott-t/t7g-ios
...
T7G iOS support
2011-06-01 07:04:05 -07:00
Max Horn
a4d105c902
COMMON: Move SDL endian check a bit down
2011-06-01 10:43:02 +02:00
Matthew Hoops
aa49b38c5a
Merge remote branch 'upstream/master' into t7g-ios
...
Conflicts:
engines/groovie/script.cpp
2011-05-31 14:16:29 -04:00
Max Horn
c86a6c466f
COMMON: Include SDL_endian.h instead of SDL_byteorder.h
2011-05-31 18:08:25 +02:00
Max Horn
811b257014
COMMON: Simplify OverlayColor definition
...
This typedef still should be moved somewhere else. Maybe a header file
of its own?
2011-05-31 14:22:19 +02:00
Max Horn
e06ca6560f
COMMON: Move scumm_str(n)icmp declaration to str.h
2011-05-31 14:19:25 +02:00
Max Horn
1c198cec1b
COMMON: Move some weird WinCE/MSVC snprintf-#define around
2011-05-31 14:06:47 +02:00
Max Horn
8654e846e4
COMMON: Shorten endianess / mem align guessing logic in scummsys.h
2011-05-31 14:05:37 +02:00
Max Horn
2d6be5d077
COMMON: Move more stuff from scummsys.h to portdefs.h
2011-05-31 13:56:28 +02:00
Max Horn
9c3e2e43bd
COMMON: Move some code from scummsys.h to relevant portdefs.h files
2011-05-31 13:48:03 +02:00
Johannes Schickel
263adb5cfc
COMMON: Limit pragma warning use in algorithm.h to MSVC.
...
Since we only want to disable a MSVC specific warning with it and other
compilers might have different warnings numbers it is safer to only target
MSVC here.
2011-05-29 21:12:42 +02:00
Matthew Hoops
9539017ee3
ALL: initialise -> initialize
2011-05-25 11:17:11 -04:00
Matthew Hoops
eea482fa43
ALL: behaviour -> behavior
2011-05-25 10:50:46 -04:00
Max Horn
39076ef972
BUILD: Rename UNIX #define to POSIX
2011-05-25 13:23:03 +02:00
Littleboy
89e954c653
COMMON: Silence MSVC warning for Common::gcd calls with an unsigned type
2011-05-24 00:56:48 -04:00
Max Horn
c82f117488
COMMON: Add putc(har) and getc(har) to forbidden symbols
...
Sorry, buildbot...
2011-05-24 00:19:32 +02:00
Max Horn
20cad6e8b6
COMMON: Modify Base::processSettings, get rid of Common::kArgumentNotProcessed
...
Instead of defining a hacked up Common::Error code, split the return
value of processSettings into two parts: An error code, and a value
which indicates whether the specified command was completely handled
by processSettings or not.
2011-05-23 19:39:25 +02:00
Max Horn
6f6051a9e1
COMMON: Mark more symbols as forbidden
2011-05-23 19:12:26 +02:00