Johannes Schickel
04ab0e58b4
SDL: Take advantage of SdlGraphicsManager.
...
This gets rid of the hacks, where SdlEventSource added events with custom type
numbers to pass SDL_VIDEOEXPOSE and SDL_VIDEORESIZE to the graphics manager.
Furthermore it get rids of the uninituitive and hard to trace way of assigning
the proper mouse coordinates to mouse related events. Formerly it passed the
real screen coordinates through the even dispatching api to the graphics
manager (at least hopefully ;-) and let that handle creating a new event with
the proper coordinates. Now instead SdlEventSource handles the proper
coordinate setup itself.
Since this is a behavior change and I can not test all the SDL based small
devices ports this commit might break compilation for them and more serve it
might also break mouse position behavior. If any of that occurs I am sorry
about it.
2011-08-09 00:03:11 +02:00
Johannes Schickel
0630a88a04
SDL: Let SDL based graphics managers inherit from SdlGraphicsManager.
...
This also adapts port I can not test (not even the compilation). So if this
breaks anything I am sorry about it.
2011-08-09 00:03:11 +02:00
Eugene Sandulenko
baf65bc872
RECORDER: Added stub for delayMillis() processing
2011-08-06 11:31:12 +01:00
Oystein Eftevaag
7e7e606919
MACOSX: Turned update support off by default, simplified and cleaned the pull request
2011-08-02 21:00:57 -04:00
CeRiAl
828f1884b4
MACOSX: Add Sparkle support
2011-07-19 21:33:01 +02:00
Littleboy
da60ff3ded
JANITORIAL: Fix MSVC warnings
...
- Conversion from double to float
- Unary minus operator applied to unsigned type
- ARRAYSIZE redefinition
2011-07-19 14:12:07 -04:00
Matthew Hoops
5825ccc168
BACKENDS: Fix spelling of 'Mac OS X'
2011-07-13 09:47:03 -04:00
Matthew Hoops
554dda7008
BACKENDS: Fix compilation on case-sensitive Mac OS X
2011-07-13 09:43:16 -04:00
Matthew Hoops
708f7739eb
BACKENDS: Fix a typo
2011-07-13 09:30:15 -04:00
Matthew Hoops
7f58d62ba1
BACKENDS: Remove unneeded define check
2011-07-13 09:28:53 -04:00
Matthew Hoops
cde3a3d9a0
BACKENDS: Rename appMenu_osx.* to appmenu_osx.*
2011-07-13 09:26:50 -04:00
Matthew Hoops
19bb69c7ed
BACKENDS: Fix compilation on Mac OS X without translation support
2011-07-13 09:20:34 -04:00
Ismail Khatib
648d127cca
Merge pull request #51 from CeRiAl/macosx-appmenu-i18n
...
MACOSX: Add i18n support for Mac OSX application menu
2011-07-12 15:23:40 -07:00
CeRiAl
5a42f2901f
MACOSX: Fix application menu i18n compilation for Mac OSX 10.4+
2011-07-12 00:47:02 +02:00
dhewg
e3558e56d7
PS3: Fix comment
2011-07-07 15:23:14 +02:00
CeRiAl
b00586df82
MACOSX: Add i18n support for Mac OSX application menu
2011-07-07 01:07:06 +02:00
Travis Howell
eae06884b6
WIN32: Add option to disable the console window, keeping the current default of enabling the console window.
2011-06-30 11:17:58 +10:00
Littleboy
7983b1cce3
BACKENDS: Add special Win32 path to set SDL window icon
...
We bypass SDL_WM_SetIcon and setup the window icon using the embedded icon, with the default path as a fallback.
This allows us to use an antialised icon with alpha transparency (which the default included icon doesn't have) on Windows XP and later
2011-06-26 20:13:35 -04:00
Eugene Sandulenko
627372a67c
Merge pull request #40 from bgK/ps3
...
PS3 Port
2011-06-23 01:34:05 -07:00
Julien
7fa3a8bbff
BACKENDS: Add better error handling to OSystem_Win32::getDefaultConfigFileName()
2011-06-23 15:11:38 +08:00
Julien
8a5bda72cc
BACKENDS/GRAPHICS: Silence non zero-terminated terminated buffers warnings by initializing the buffers to 0
2011-06-23 15:11:37 +08:00
Eugene Sandulenko
33ce6e60fd
Merge pull request #26 from Littleboy/taskbar
...
Taskbar integration
2011-06-22 13:35:37 -07:00
Bastien Bouclet
6633a06519
PS3: Map joypad buttons to features. Enable the virtual keyboard.
2011-06-22 19:57:44 +02:00
Bastien Bouclet
8bd78b6325
PS3: Add a SDL 1.3 mixer, for use with the PS3 backend.
...
SDL 1.3 allows converting from the S16SYS sound format to F32MSB, which is required by the PS3.
2011-06-22 19:57:38 +02:00
Bastien Bouclet
11cfa0d357
PS3: Initial version of the PlayStation 3 backend
2011-06-22 19:51:02 +02:00
Bastien Bouclet
872d672c33
SDL: Allow building with current SDL 1.3hg
2011-06-22 19:44:46 +02:00
Johannes Schickel
2cc721760f
WIN32: Properly setup priority in Win32 resource archive code.
2011-06-20 17:00:36 +02:00
Max Horn
88913c0139
ALL: Remove trailing whitespaces
...
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]*$//'
2011-06-20 00:59:48 +02:00
Johannes Schickel
1c21232416
SDL: Rename SdlGraphicsManager to SurfaceSdlGraphicsManager to reflect its purpose.
...
Hopefully I catched all uses of the old name in our ports...
2011-06-19 20:10:21 +02:00
Johannes Schickel
2067bec18e
SDL: Remove left over traces from the time the SdlEventSource subclassed DefaultEventManager.
2011-06-19 19:35:27 +02:00
Max Horn
3599d07087
SDL: Make logMessage() implementation independent from parent class(es)
2011-06-17 20:50:38 +02:00
Littleboy
9614834548
BACKENDS/COMMON/GUI: Remove complete support for TaskbarManager when taskbar integration is not enabled
2011-06-16 14:23:28 -04:00
Littleboy
1e3603b937
BACKENDS: Add define for Unity-specific taskbar code
2011-06-16 14:23:18 -04:00
Littleboy
5649ddaf10
BACKENDS: Move Win32TaskbarManager init code to constructor
2011-06-16 14:23:14 -04:00
Littleboy
6c14d8a950
BACKENDS: Integrate glib main event loop
...
- Unity needs a glib event loop to dispatch events.
- Cleanup whitespace and indentation
2011-06-16 14:22:51 -04:00
Littleboy
984e1968bc
BACKENDS: Add WIP Unity support
2011-06-16 10:38:40 -04:00
Littleboy
c3d9c6afa5
BACKENDS: Add use flag for taskbar integration
2011-06-16 10:38:34 -04:00
Littleboy
c0ec09ac66
BACKENDS: Implement Win32 taskbar progress state and recent list
2011-06-16 10:30:06 -04:00
Littleboy
f67975a487
BACKENDS: Add win32 stubs for taskbar integration
2011-06-16 10:29:47 -04:00
Littleboy
71e457783e
BACKENDS: Add generic TaskbarManager class to handle taskbar integration
2011-06-16 10:26:51 -04:00
CeRiAl
2ff4380c55
WINCE: Add support for language auto-detection in WinCE
2011-06-14 22:42:16 +02:00
Max Horn
fce7f90a94
BACKENDS: Shuffle backends class hierarchy and module initialization
2011-06-08 14:29:22 +02:00
Max Horn
18e8e5c91e
SDL: Use #define FORBIDDEN_SYMBOL_ALLOW_ALL (backends can use any symbol)
2011-06-06 17:18:50 +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
Littleboy
b15a5c8e13
BACKENDS: Fix compilation on mingw64 (take 2)
2011-06-04 15:23:21 -04:00
Littleboy
5317837e69
BACKENDS: Cast ShellExecute return value to long instead of int
...
This should fix compilation on mingw64
2011-06-04 14:45:17 -04:00
Littleboy
3a90d7bf3e
BACKENDS: Fix compilation with mingw
2011-06-04 14:38:31 -04:00
Littleboy
1dec501ac7
BACKENDS: Implement Win32 version of OSystem::displayLogFile interface
2011-06-04 14:27:20 -04:00
Willem Jan Palenstijn
2d87394be9
POSIX: Add TODO/FIXME to displayLogFile
2011-06-04 16:39:39 +02:00