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
Littleboy
3931de4235
BACKENDS: Fix running on pre-Windows 2000 operating systems
...
The Windows taskbar manager uses VerSetConditionMask and VerifyVersionInfo to check for Windows 7 or later
before enabling the taskbar integration features. Those functions did not appear until Windows 2000, so we
have to check for them at runtime.
2011-06-26 16:02:33 -04:00
CeRiAl
f300c172f0
WINCE: Fix timer manager
2011-06-26 03:44:56 +02:00
athrxx
b60d864e6b
TASKBAR: initialize _taskBar with NULL in constructor
2011-06-25 16:59:35 +02:00
CeRiAl
eb8db120b2
WINCE: Hide toolbar when returning to game list
2011-06-25 01:06:41 +02:00
Littleboy
b3d8e426c2
WII: Allow use of abort in OSystem_Wii class
2011-06-23 11:32:39 -04:00
Littleboy
eecd61e33d
ANDROID: Allow use of abort() in JNI class
2011-06-23 11:31:54 -04:00
Littleboy
712af61f76
BACKENDS: Silence warnings when compiling Win32TaskbarManager with mingw and add CLSID_ShellLink definition
2011-06-23 08:52:54 -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
Julien
c52cc84912
AUDIO/BACKENDS/GRAPHICS: Add error checks after allocating memory with malloc
2011-06-23 15:11:36 +08:00
Littleboy
2b01778e58
BACKENDS: Fix compilation with Unity
...
- Replace UNIX by POSIX
- Move unity include to cpp file
- Add exception for unistd.h and time.h headers
2011-06-22 20:52:59 -04:00
Littleboy
d9ede873d5
BACKENDS: Add missing enumeration value and GUID for compilation under older versions of mingw64
2011-06-22 20:22:26 -04:00
Eugene Sandulenko
33ce6e60fd
Merge pull request #26 from Littleboy/taskbar
...
Taskbar integration
2011-06-22 13:35:37 -07:00
Bastien Bouclet
f262d8932f
PS3: Keep updating the screen while the XMB is open to prevent it from freezing
2011-06-22 19:57:44 +02: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
80b336f796
SDL: Replace some SdlGraphicsManager uses with SurfaceSdlGraphicsManager.
2011-06-19 20:20:13 +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
Johannes Schickel
f9f16ee358
OPENGLSDL: Add FIXME about desktop resolution retrieving.
2011-06-19 19:12:34 +02:00
Johannes Schickel
e0eb86826e
OPENGL: Clarify OSD rect color in a comment.
2011-06-19 19:03:10 +02:00
Johannes Schickel
34f8b489d2
SDL: Formatting fixes.
2011-06-19 18:49:02 +02:00
Johannes Schickel
f28e134247
OPENGL: Formatting fixes.
2011-06-19 18:48:30 +02:00
Johannes Schickel
735604c2fd
OPENGLSDL: Use String::format instead of sprintf.
2011-06-19 18:31:34 +02:00
Johannes Schickel
d316099f35
OPENGLSDL: Formatting fixes.
2011-06-19 18:27:18 +02:00
Alyssa Milburn
0d025153e0
ANDROID: Fix kFeatureCursorPalette.
2011-06-18 10:30:21 +02:00
Max Horn
3599d07087
SDL: Make logMessage() implementation independent from parent class(es)
2011-06-17 20:50:38 +02:00
Max Horn
7607a077fe
NULL: Add logMessage() implementation
2011-06-17 20:50:38 +02:00
Max Horn
263e23bd81
N64: Add logMessage() implementation
2011-06-17 20:50:37 +02:00
Max Horn
c06ddf2e57
IPHONE: Add logMessage() implementation
2011-06-17 20:50:37 +02:00
Max Horn
50896e6029
WII: Add logMessage() implementation
2011-06-17 20:50:37 +02:00
Max Horn
4aa66fa5aa
PSP: Make logMessage() implementation independent from parent class(es)
2011-06-17 20:50:30 +02:00
Alyssa Milburn
a8049f708b
BACKENDS: Mono output devices are OK on Symbian.
2011-06-17 19:47:32 +02:00
Julien
154c584d44
BACKENDS: Enhance Win32TaskbarManager::getIconPath()
...
We now look for an iconsPath configuration variable with the path to the icons folder.
In addition, we look if there is an "icons" subfolder (useful when using extrapath to store icons)
2011-06-16 16:09:20 -04:00
Julien
149a8f8f11
BACKENDS: Fix compilation of Win32TaskbarManager with mingw
2011-06-16 14:27:22 -04:00
Julien
599695bc4f
COMMON: Change TaskbarManager to the new module slot interface
2011-06-16 14:27:06 -04:00
Julien
5dff6c2c08
BACKENDS: Allow use of excluded functions needed by Win32TaskbarManager
2011-06-16 14:23:30 -04: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
f843b3f280
BACKENDS: Fix Win32TaskbarManager compilation with Mingw
...
It was missing an include for scummsys.h and so couldn't find the defines
2011-06-16 14:23:23 -04:00
Littleboy
1e3603b937
BACKENDS: Add define for Unity-specific taskbar code
2011-06-16 14:23:18 -04:00
Littleboy
fdada1dbff
BACKENDS: Remove UnityTaskbarManager::setOverlayIcon()
...
Unity is not going to provide a way to set a custom overlay icon
(the emblem API is being replaced by a simple urgent state)
2011-06-16 14:23:15 -04:00
Littleboy
5649ddaf10
BACKENDS: Move Win32TaskbarManager init code to constructor
2011-06-16 14:23:14 -04:00
Littleboy
e1dc9cdc0b
BACKENDS: Add support for count status to TaskbarManager
...
- Show the number of found games when using the massadd dialog
2011-06-16 14:23:12 -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
a523ade332
BACKENDS: Add stubs for unity taskbar class
2011-06-16 10:37:37 -04:00
Littleboy
2348eeed4c
BACKENDS: Add taskbar integration compat header for MingW
2011-06-16 10:36:39 -04:00
Littleboy
cd7822a29f
BACKENDS: Add engine-level accessor for TaskbarManager
2011-06-16 10:35:24 -04:00
Littleboy
0fd56852b6
BACKENDS: Add support for custom game icon (recent items list and icon overlay)
2011-06-16 10:30:31 -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
D G Turner
de96474672
BACKENDS: Fix Compilation.
2011-06-14 00:48:59 +01:00
D G Turner
8c485fe2da
BACKENDS: Improve SDL Mixer Output Format Checks and Reporting.
...
This commit corrects a number of minor issues and adds warnings
for when the desired output parameters given to SDL_OpenAudio()
don't match the obtained.
2011-06-14 00:15:50 +01:00
Thierry Crozat
06bbb57ad7
I18N: Make many more GUI MessageDialog strings translatable
2011-06-13 22:19:18 +01:00
CeRiAl
781132aabc
WINCE: Some cleanup (public vs. private scopes), fix freelook
2011-06-11 23:29:52 +02:00
David-John Willis
1c1786b16f
OPENPANDORA: Use the SDL plugin provider not the main POSIX one.
2011-06-11 17:08:54 +01:00
David-John Willis
4fcd65d885
OPENPANDORA: Start to cleanup the backend and move controls into remapkey.
...
* Work in progress.
2011-06-11 17:07:21 +01:00
David-John Willis
7878c1ec49
GP2X: Remove remnants of the old GP2X backend.
...
The GP2X is now folded into the GPH backend (as the GP2X device).
2011-06-11 17:07:08 +01:00
David-John Willis
f759ff1704
BACKENDS: Remove stale GP2X code references.
2011-06-11 17:07:08 +01:00
David-John Willis
64b8587507
GPH: Cleanup and some WIP refactoring.
2011-06-11 17:07:08 +01:00
David-John Willis
181ea053f4
GPH: Make helper script produce a non-plugin build for the GP2X.
...
* Plugins are acting up on the old GP2X so disable for now until I get a chance to work on them some more.
2011-06-11 17:00:17 +01:00
David-John Willis
045ee136b5
GPH: Update launch script for the GP2X build to match other GPH devices.
2011-06-11 17:00:17 +01:00
Max Horn
fce7f90a94
BACKENDS: Shuffle backends class hierarchy and module initialization
2011-06-08 14:29:22 +02:00
Max Horn
d670b4bb56
BACKENDS: Fix BaseBackend::initBackend() (ouch)
2011-06-08 14:22:00 +02:00
Max Horn
9f40bdcd2c
DS: Prevent OSystem destructor from deleting _savefileManager
2011-06-08 14:14:54 +02:00
Max Horn
83f8f33c40
BACKENDS: cleanup
2011-06-08 12:13:10 +02:00
Max Horn
0b7f475e35
BACKENDS: Add OSystem::resetGraphicsScale() default implementation
2011-06-08 12:10:49 +02:00
Max Horn
c701bdb708
N64: Use OSystem's _fsFactory slot
2011-06-07 14:57:59 +02:00
Max Horn
0a0c6ac07d
IPHONE: Use OSystem's _fsFactory slot
2011-06-07 14:57:59 +02:00
Max Horn
c74c8a59d9
WINCE: Use OSystem's _fsFactory slot
2011-06-07 14:57:59 +02:00
Max Horn
1fafb97d01
WINCE: Remove dead code
2011-06-07 14:57:59 +02:00
Max Horn
98db614cd8
DS: Use OSystem::_savefileManager slot
2011-06-07 14:57:58 +02:00
Max Horn
4ebe2065b6
WINCE: Add FIXME for timer code (maintainer notified)
2011-06-07 14:57:58 +02:00
Max Horn
ff2ada1a05
WII: Use OSystem's 'slots' for timer/savefile manager
2011-06-07 14:57:57 +02:00
Max Horn
0b859e026d
PSP: Use OSystem's 'slots' for timer/savefile manager
2011-06-07 14:57:57 +02:00
Max Horn
8ac63a37a8
PS2: Use OSystem's 'slots' for timer/savefile manager
2011-06-07 14:57:57 +02:00
Max Horn
9e1ed9ee6a
N64: Use OSystem's 'slots' for timer/savefile manager
2011-06-07 14:57:57 +02:00
Max Horn
14f0a0c682
IPHONE: Use OSystem's 'slots' for timer/savefile manager
2011-06-07 14:57:57 +02:00
Max Horn
886c4e5417
DS: Use OSystem's 'slot' for timer manager
2011-06-07 14:57:56 +02:00
Max Horn
896e7e23b4
ANDROID: Use OSystem's 'slots' for timer/savefile manager & fsfactory
2011-06-07 14:57:56 +02:00
Max Horn
c30018ef37
DC: Use OSystem's 'slots' for timer/savefile manager & fsFactory
2011-06-07 14:57:56 +02:00
Max Horn
04afdf7c7d
BACKENDS: Move more 'manager slots' from ModularBackend to OSystem
2011-06-07 14:57:56 +02:00
Max Horn
b7be24b835
OPENPANDORA: Remove some dead code
2011-06-07 14:57:55 +02:00
Sven Hesse
7ea4583d2f
IPHONE: Fix a typo, fix compilation (hopefully)
2011-06-07 01:43:48 +02:00
Thierry Crozat
014145f240
I18N: Make some OSD messages translatable
2011-06-06 23:20:11 +01: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
Thierry Crozat
592cca5402
GRAPHICS: Get rid of kSODFont (ScummFont)
...
OSD is now using the kGUIFont instead. The main advantage is that
the kGUIFont can be used for translated text while only ASCII
characters were present in ScummFont.
2011-06-06 23:20:08 +01:00
Max Horn
72080d8972
DC: Allow use of all symbols
2011-06-06 23:04:32 +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
96aed4d057
PS2: Add missing semicolon
2011-06-06 17:01:11 +02:00
Max Horn
8d77d8cf1c
DS: Remove dead code
2011-06-06 16:55:18 +02:00