Age | Commit message (Collapse) | Author |
|
Including cursorman.cpp rather than cursorman.h resulted in the CursorManager class being present in multiple .obj files, resulting in linking errors.
|
|
The bug in question is "SDL/OpenGL: Crash when switching renderer backend". To
fix it I added a stupid graphics state copying to the SDL backend, in case the
graphics manager is switched. The implementation of this is considered a pure
workaround, no one should ever do it like this in reality... I just want to
die when looking at this... Not sure why I actually committed it.
Anyway it at least makes the OpenGL backend testable for those who do not
want to fiddle with the config file directly.
|
|
This also adapts port I can not test (not even the compilation). So if this
breaks anything I am sorry about it.
|
|
|
|
PS3 Port
|
|
by initializing the buffers to 0
|
|
Taskbar integration
|
|
|
|
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
|
|
purpose.
Hopefully I catched all uses of the old name in our ports...
|
|
DefaultEventManager.
|
|
|
|
integration is not enabled
|
|
- Unity needs a glib event loop to dispatch events.
- Cleanup whitespace and indentation
|
|
|
|
|
|
|
|
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).
|
|
|
|
|
|
|
|
|
|
Right now, a few places in the frontend code still use printf and
consorts. We mark the affected files with a FIXME for now, and
add a dedicated exception for each. To be fixed!
Also tweak FORBIDDEN_SYMBOL_REPLACEMENT to hopefully really always
enforce a compiler error
|
|
Some backends may break as I only compiled SDL
|
|
|
|
|
|
Using SDL_INIT_VIDEO flag for WebOS because without it the application
won't start.
|
|
|
|
|
|
svn-id: r54581
|
|
svn-id: r54575
|
|
svn-id: r54574
|
|
svn-id: r54573
|
|
svn-id: r54554
|
|
svn-id: r54526
|
|
svn-id: r54524
|
|
svn-id: r54523
|
|
svn-id: r54518
|
|
This is done as discussed on -devel.
svn-id: r54516
|
|
svn-id: r54494
|
|
For now the log file will be either "%APPDATA%/ScummVM/Logs/scummvm.log" or
"%USERPROFILE%/Application Data/ScummVM/Logs/scummvm.log" to match the
location of the default ScummVM configuration file.
svn-id: r54490
|
|
As discussed on -devel this always logs to ~/.scummvm/logs/scummvm.log.
svn-id: r54489
|
|
I also adapted the SDL backend to implement the API.
svn-id: r54479
|
|
This commits a slightly modified patch from my patch tracker item #3104630
"OSYSTEM: Add logging API as proposed by Max on -devel".
I was not able to test compilation on Android and SamsungTV, since there is no
toolchain for those on buildbot (or I was too blind to find them).
svn-id: r54339
|
|
This commit contains the AudioCDManager changes from the gsoc2010-opengl
branch. The other changes in that branch are restricted to the backends
directory only (plus configure).
The Nintendo DS and Dreamcast ports still need to be ported over to
the new Audio CD system, but that should be fairly easy to do.
svn-id: r54147
|
|
A new header file common/forbidden.h is included by scummsys.h and it
re-#defines numerous symbols like fopen(), fread(), system(), etc. with
garbage, in order to provoke compile errors in any code using them.
If a .cpp file really *must* use any of these (e.g. because it is a
backend file), then these redefinitions can be disabled by #defining
FORBIDDEN_SYMBOL_ALLOW_ALL as the first thing in the .cpp file. Whenever
this is done, an explanatory comment should be added.
Note that this system cannot catch all "bad" usages (notably the Lua
code in the sword25 engine), as it can only work if scummsys.h is
included.
svn-id: r53961
|
|
svn-id: r53768
|
|
feature is currently commented out - waiting till discussion has ended
svn-id: r53767
|
|
SdlEventSource.
Derived backends are allowed to overwrite that member in case they need special
handling of SDL events.
svn-id: r53675
|
|
svn-id: r53436
|