89 Commits

Author SHA1 Message Date
Max Horn
7335d348ba Moved common/scaler* to graphics/
svn-id: r20797
2006-02-20 20:29:02 +00:00
Max Horn
cbb2ca005c Change CVS keywords to SVN keywords
svn-id: r20535
2006-02-11 12:47:47 +00:00
Eugene Sandulenko
ea42bad781 Update copyright notice
svn-id: r20088
2006-01-18 17:39:49 +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
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
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
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
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
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
9880288669 Fix bug #1166279 "BS1 & BS2: Launching game problems".
svn-id: r17187
2005-03-20 16:16:09 +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
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
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
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
989ae40402 Swallow ctrl-alt keyup events, too
svn-id: r16384
2004-12-30 14:48:21 +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
Gregory Montoir
cdec823d98 renamed a few things to match our coding guidelines
simplified OSystem_SDL destructor and move all the SDL uninitialization stuff to the quit() method
made saveScreenshot() returning false on fail

svn-id: r15967
2004-12-01 21:16:55 +00:00
Eugene Sandulenko
7877ccf628 Next step in transaction implementation. Now it postpones all calls.
NOTE: This breaks most ports, and they will not pass assertions. If you will
fix it (by moving violating OSystem calls to go() method), I'll be grateful.
If you don't bother to fix it, there is a workaround. Just comment out
beginGFXTransaction() and endGFXTransaction() in backends/sdl/graphics.cpp.
This will tunr it off and will use default transaction-less implementation.

svn-id: r15870
2004-11-23 21:30:38 +00:00
James Brown
2ae3166f2d Add new clearScreen OSystem call. Currently only implemented in SDL backend. This call is currently only used for clearing the launcher screen to remove garbage from the main screen before reentering.
svn-id: r15799
2004-11-13 04:33:33 +00:00
Max Horn
bb462f64e0 Renamed _scaler_proc -> _scalerProc; cleaned up _scalerType handling
svn-id: r15563
2004-10-15 22:28:12 +00:00
Max Horn
ce8c99bf62 Rename remaining OSystem methods to match our coding guidelines
svn-id: r15332
2004-09-28 20:19:37 +00:00
Max Horn
4bd05071e5 Got rid of OSystem::move_screen
svn-id: r14882
2004-09-04 01:31:04 +00:00
Torbjörn Andersson
70f8f689a1 Applied patch #957544 to make output sample rate configurable at runtime.
svn-id: r14225
2004-07-16 10:24:29 +00:00
Nicolas Bacca
4fdf5675b8 Make a few functions GFX functions virtual for CE backend
svn-id: r13817
2004-05-09 14:30:29 +00:00
Max Horn
88fdb5a627 Removed default value for keycolor in the OSystem implementations
svn-id: r13796
2004-05-06 09:20:21 +00:00
Eugene Sandulenko
b7e62e4b61 Extend setMouseCursor with additional keycolor parameter. Lets saga use 255
as white color. Made this function more safe by copying cursor data to
newly created buffer.

svn-id: r13777
2004-05-05 02:32:46 +00:00
Max Horn
39765b0d19 Remove explicit OSystem parameter from StackLock constructor; added OSystem::displayMessageOnOSD (not yet used; default implementation provided)
svn-id: r13413
2004-03-28 20:31:18 +00:00
Max Horn
14378cb56e Renamed more OSystem methods
svn-id: r13410
2004-03-28 16:30:50 +00:00
Max Horn
e8f7214acb Renamed OSystem::set_timer() to setTimerCallback(); more OSystem Doxygen changes
svn-id: r13289
2004-03-15 01:18:47 +00:00
Max Horn
e46ba2f29f Added OSystem::getDefaultGraphicsMode(); renamed OSystem::get_height() and get_width() to getHeight and getWidth(); augmented some doxygen comments in common/system.h
svn-id: r13284
2004-03-15 00:45:45 +00:00
Max Horn
d2ef3ad20c Added an OSD (On Screen Display) to the SDL backend
svn-id: r13248
2004-03-13 14:19:15 +00:00
Max Horn
3098149b52 removed obsolete membe
svn-id: r13104
2004-03-01 01:44:36 +00:00
Max Horn
e063d00418 got rid of _mouseOldState; some minor cleanup
svn-id: r13103
2004-03-01 01:41:22 +00:00
Max Horn
82fec69482 merged OSystem_SDL and OSystem_SDL_Common; split SDL backend into multiple source files
svn-id: r13092
2004-02-29 00:49:40 +00:00
Max Horn
c6752cccf5 renamed more OSystem methods to follow our naming scheme; renamed NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend
svn-id: r13087
2004-02-28 12:58:13 +00:00
Max Horn
2671ca515e fix a recursive lock bug related to update_screen() (shouldn't have caused problems on most systems, but still was a bug); rewrite the code which switches the scaler mode to be slightly more efficient
svn-id: r13070
2004-02-27 19:35:51 +00:00
Max Horn
5e163a51a4 fix fullscreen switch code 'properly' (sorry for missing this one, folks). Since we don't have the OpenGL variant anymore, we could now merge back the two parts of the SDL backend - and maybe split them into multiple files in a different way (events, graphics, audio, misc ?)
svn-id: r13045
2004-02-25 09:53:36 +00:00
Max Horn
d158280425 the OSystem changes we discussed on the ML (note: renaming of the existing OSystem API is not yet finished); porters will have to fix their ports to get them to compile again
svn-id: r13036
2004-02-24 22:39:42 +00:00
Nicolas Bacca
14126cde00 add_dirty_rect turned to virtual method for new CE backend
svn-id: r12460
2004-01-17 23:42:15 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
235047d526 made SDL backend use config manager
svn-id: r11028
2003-11-01 19:12:11 +00:00
Max Horn
16e4897531 cleanup
svn-id: r10612
2003-10-05 14:41:30 +00:00
Max Horn
4a84b356f8 revert the 'reverse Y axis' hack
svn-id: r10594
2003-10-04 23:49:04 +00:00
Max Horn
afd9119d37 small remark
svn-id: r10579
2003-10-04 00:12:30 +00:00
Jonathan Gray
eecdf67c63 disable joystick input by default either command line or config file need to be used to enable it now, ability to choose joystick number to use also added
svn-id: r10518
2003-10-01 10:47:19 +00:00