Eugene Sandulenko
b725a206c0
Add possibility to disable SDL parachute on run-time. Option
...
--disable-sdl-parachute should be completely undocumented and not mentioned
to end-users. Wrong usage may lead to system lock-up especially when used
with fullscreen mode.
SDL Parachute is used to prevent system instability and do a graceful exit
if something bad happens. It catches most of signals sent to thr process.
Side effect of that that quite often when SDL application dies, core dump
isn't made on *nix systems. This feature adds possibility to disable it.
svn-id: r19146
2005-10-18 03:52:21 +00:00
Eugene Sandulenko
b36677af71
Update FSF address. Eek. Actually that took place on May 1, 2005
...
svn-id: r19142
2005-10-18 01:30:26 +00:00
Nicolas Bacca
6471cf82d1
Temporarily virtualize mouse drawing functions for the WinCE port. Hope that line endings are correct since I have to use TortoiseCVS for this update :)
...
svn-id: r19115
2005-10-16 22:32:46 +00:00
Eugene Sandulenko
aa33153569
Normalize use of DISABLE_SCALERS. Now it really disables all scalers
...
except essential Normal1x. Also thumbnails get compiled unconditionally
so we get them on all platforms, even those which never display them.
Sorted out mess brought to sdl backend by epoc maintainer. He misused
__SYMBIAN32__ where DISABLE_SCALERS is more appropriate.
svn-id: r18850
2005-09-20 18:16:09 +00:00
Eugene Sandulenko
76bd872c48
Apply bug/patch #1258912 "GUI: SDL mouse dirty rects too big"
...
svn-id: r18689
2005-08-15 01:23:41 +00:00
Eugene Sandulenko
6b4484472b
Remove trailing whitespaces.
...
svn-id: r18604
2005-07-30 21:11:48 +00:00
Max Horn
71bc3a3ba6
Move scaler key handling to a separate method (this helps to fix a GCC 4.0 warning, makes pollEvent() cleaner); fixed some code formatting issues
...
svn-id: r18534
2005-07-11 10:54:53 +00:00
Eugene Sandulenko
aa13ccd6c3
Commited patch to fix bug #1210836 : "ALL: Failed assertion in AdvMame scaler".
...
Thanks cyx for actual fixing.
svn-id: r18520
2005-07-09 06:44:00 +00:00
Lars Persson
caf6151bba
Last modifications for Actions to WinCE.
...
svn-id: r18500
2005-07-05 20:51:54 +00:00
Lars Persson
d4716a1fb5
* Start of generic key configuration support for ScummVM
...
* Moved KeyConfigDialog, key from WinCE to gui
* Updated wince code to inherit and use new GUI::Keys and launch new dialog
* New definition SMALL_SCREEN_DEVICE when keysdialog should be inittialized from options.cpp
* Added new function to SDL\Events that handles key remapping. LINUPY & QTOPIA remapping moved to that function. SymbianOs.cpp overrides this function to enable key remapping to events
* Compiled VC6++ project. This with warnings and errors, but NOT in the changed code. (SAGA,KYRA)
* Compiled using WCE tools 3 for X86 target and running Scummvm in emulator to test
* Compiled with UIQ target. The rest Symbian platforms might require further configuration to operate properly
* Actor.h in Saga now compiles for default VC6 setting.
* Aspect.cpp does not compile in VC6/WCE due to template problems with the kFastAndNiceAspectMode setting.
* Changed order of creation of gamedetector and mainsystem in Main.cpp
* If anything does not compile, or is totally out of order, please revert changes.
svn-id: r18498
2005-07-05 20:22:56 +00:00
Lars Persson
0047a768f2
This is the SDL changes needed by the Symbian build to work properly.
...
Also there is a bugfix for using the joystick handling for SDL. (See events.cpp history)
svn-id: r18428
2005-06-21 20:39:09 +00:00
Torbjörn Andersson
4b5ff5ba1f
Be less prone to crash on really, really stupid output sample rates.
...
Added warning message if SDL_OpenAudio() fails. Might help diagnosing bug
reports like #1206314 .
svn-id: r18361
2005-06-07 14:43:12 +00:00
Torbjörn Andersson
9ffe00b78d
Added braces for clarity.
...
svn-id: r18295
2005-05-29 18:07:46 +00:00
Eugene Sandulenko
3588b96d4f
Added --disable-hq and --disable-scumm-7-8 options. Also improved
...
DISABLE_HE so more HE-specific code gets excluded.
svn-id: r18099
2005-05-14 22:56:41 +00:00
Max Horn
013e30eb38
Added two new methods to OSystem: grabPalette and grabRawScreen
...
svn-id: r17974
2005-05-08 21:39:05 +00:00
Max Horn
d04492a05a
Allocate all 16bit surfaces with the same bitformat as the HW surface (Fixes bug #1196374 )
...
svn-id: r17929
2005-05-06 10:07:33 +00:00
Torbjörn Andersson
777618ddf9
Always check for _numDirtyRects overflow in addDirtyRect(). The 'mouseRect'
...
case didn't. This fixes bug #1193344 .
svn-id: r17888
2005-05-01 17:39:38 +00:00
Torbjörn Andersson
6fb944befd
Call blitCursor() when changing scaler to give it the opportunity to switch
...
between blurry and non-blurry cursor scaling, even if the scale factor
remains unchanged.
svn-id: r17841
2005-04-27 14:47:19 +00:00
Max Horn
3f08f0bfb2
Fix bug 1184616 (GUI: Mouse drawn at wrong position in overlay mode)
...
svn-id: r17709
2005-04-20 09:32:22 +00:00
Max Horn
901e76ea83
Cleanup / comments
...
svn-id: r17708
2005-04-20 09:24:29 +00:00
Max Horn
2cfb9322e2
Added new (optional) OSystem::initBackend() method; this (and its usage) fixes bugs #1160977 and #1184664
...
svn-id: r17694
2005-04-19 20:22:50 +00:00
Torbjörn Andersson
d85f6d1688
More whitespace.
...
svn-id: r17691
2005-04-19 12:43:54 +00:00
Torbjörn Andersson
35c675e2d2
Whitespace
...
svn-id: r17690
2005-04-19 12:22:50 +00:00
Torbjörn Andersson
ed2ed47701
Braces for clarity, even though it *is* well-defined which 'if' the 'else'
...
belongs to.
svn-id: r17670
2005-04-18 15:33:02 +00:00
Eugene Sandulenko
4c4af584a0
Enable 2x overlay in MM NES
...
svn-id: r17540
2005-04-11 12:57:41 +00:00
Max Horn
3aba4997f4
Moved the GFX_ constants to sdl-common.h, where they belong.
...
svn-id: r17479
2005-04-09 13:31:47 +00:00
Eugene Sandulenko
0fa38d12e1
Fix bug #1173422 "Slight mouse cursor regression"
...
svn-id: r17309
2005-03-31 14:36:42 +00:00
Eugene Sandulenko
9880288669
Fix bug #1166279 "BS1 & BS2: Launching game problems".
...
svn-id: r17187
2005-03-20 16:16:09 +00:00
Torbjörn Andersson
4c3d302e19
If a game is scaled with the 2x or 3x scaler, use the same scaler on the
...
cursor as well. It looks strange if the game is blocky and the cursor is
smooth.
svn-id: r17173
2005-03-17 09:49:22 +00:00
Max Horn
4daf4c47b8
Fix method names to comply to our coding standards
...
svn-id: r17134
2005-03-14 08:24:39 +00:00
Max Horn
6f7315d950
Add some paranoia checks
...
svn-id: r17101
2005-03-12 16:32:32 +00:00
Eugene Sandulenko
cc2c2dd931
Fix bug #1160454 "ALL: Failed assertion when using 1x scaler"
...
svn-id: r17066
2005-03-10 15:59:31 +00:00
Torbjörn Andersson
0641b05f0c
Initialize some overlay-related variables, just to be safe.
...
svn-id: r17065
2005-03-10 15:43:08 +00:00
Eugene Sandulenko
7bb53f3bf1
Patch #1013937 "OSystem layer with bigger resolution". Now you will always
...
get at least 640x400 window. And finally we have means of implementing
nice looking GUI.
Also updated all backends. If your backend has ability to run with 640x400 or
640x480 resolution then read patch tracker item to find out details. Other
port maintainers shouldn't worry, as this patch doesn't affect them, they
still get their 320x200.
svn-id: r17055
2005-03-09 23:07:32 +00:00
Eugene Sandulenko
0835583948
Implementation of GFX transactions. May cause some regressions in case I
...
missed some unusual mode switching. This implementation let us avoid two nasty
hacks in scumm.cpp.
*Now* we could return to OSystem layers.
patch.
svn-id: r16855
2005-02-22 01:29:27 +00:00
Eugene Sandulenko
f420dd3b78
Implement OSystem method disableCursorPalette(bool disable) as mentioned
...
in patch #1013937 (OSystem layer with bigger resolution).
svn-id: r16820
2005-02-20 02:04:45 +00:00
Paweł Kołodziejski
3184c2de34
compatibility for emsvc
...
svn-id: r16815
2005-02-19 16:04:03 +00:00
Eugene Sandulenko
ae6f40ebb6
Make cursor code more bulletproof
...
svn-id: r16809
2005-02-19 00:24:48 +00:00
Eugene Sandulenko
78ee0bfdaf
Mouse part of big patch #1013937 (OSystem layer with bigger resolution)
...
svn-id: r16800
2005-02-17 23:01:00 +00:00
Max Horn
c6e0d31e76
Added a font manager (work in progress)
...
svn-id: r16460
2005-01-06 21:15:52 +00:00
Max Horn
47280d9433
Updated copyright
...
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
92a43e14a0
silly me, shouldn't test a variable which wasn't even set <sigh>
...
svn-id: r16385
2004-12-30 14:53:17 +00:00
Max Horn
989ae40402
Swallow ctrl-alt keyup events, too
...
svn-id: r16384
2004-12-30 14:48:21 +00:00
Max Horn
246f14bb40
set key modifiers for keyup events, too; use SDL_GetModState to determine mod flags, so that the modifier flags get set if e.g. the shift key is pressed alone
...
svn-id: r16381
2004-12-30 14:11:00 +00:00
Max Horn
4b632e66ae
Disable mouse emulation code
...
svn-id: r16120
2004-12-18 16:38:44 +00:00
Nicolas Bacca
0852a6e218
CE backend needs to overload a few functions - list them with an appropriate comment and hope they'll last more than a few months this time :p
...
svn-id: r16030
2004-12-11 15:17:47 +00:00
Max Horn
954e16abbf
Fix for bug #1074931 (GUI: Starting games in fullscreen doesn't work), avoid one unneccessary redraw
...
svn-id: r15997
2004-12-06 21:12:52 +00:00
Max Horn
f09293b22c
Clean up OSystem::Event
...
svn-id: r15990
2004-12-05 17:42:20 +00:00
Max Horn
095549125b
getFeatureState should only be allowed when we are *not* in a GFX transaction (and not vice versa)
...
svn-id: r15982
2004-12-04 14:47:22 +00:00
Gregory Montoir
0f2117cbd0
don't assert if no mouse buffer hasn't been setup
...
svn-id: r15980
2004-12-03 23:23:06 +00:00