Commit Graph
611 Commits
Author SHA1 Message Date
Stephen Kennedy 2645ca48ad * Moved VK code into backends/vkeybd
* Moved Keymapper code into backends/keymapper

svn-id: r33681
2008-08-07 16:38:39 +00:00
Stephen Kennedy 57b13141af Keymapper WIP:
* Implemented stack-based active map in Keymapper
* Started proper testing by adding code to OSystem_SDL to set up simple HardwareKeySet and Keymap

svn-id: r33660
2008-08-06 14:21:05 +00:00
Travis Howell 7318533189 Fix win32 compile.
svn-id: r33626
2008-08-05 00:21:46 +00:00
Max Horn 4900a3e96e Remove some code which was rendered obsolete by md5's commit r33610
svn-id: r33617
2008-08-04 17:46:22 +00:00
Filippos Karapetis 2efe13026d Fixing compilation under MSVC
svn-id: r33610
2008-08-04 15:01:41 +00:00
Max Horn b54a1227d9 OSYSTEM: Pushed some SDL/Symbian specific code to the respective backends; made openConfigFileForReading/openConfigFileForWriting return 0 if they failed to open a file
svn-id: r33585
2008-08-03 17:05:01 +00:00
Max Horn 4a9104515c SDL: Properly init vars related to mixer double buffering
svn-id: r33385
2008-07-29 00:02:06 +00:00
Paul Gilbert cb366384f7 In OSystem_SDL::closeMixer moved the call to SDL_CloseAudio to before the deletion of the _mixer variable in to fix an assert that was being generated in OSystem_SDL::mixCallback
svn-id: r33095
2008-07-18 09:36:49 +00:00
Max Horn 943b4c2036 Implemented audio double buffering (for now OSX only)
svn-id: r33075
2008-07-15 17:13:06 +00:00
Max Horn c45d632f3b Patch ##1956946 (Audio::Mixer internal API revision) with some tweaks
svn-id: r32828
2008-06-28 15:28:29 +00:00
Johannes Schickel 5c8a93b486 Update comment.
svn-id: r32752
2008-06-22 12:39:40 +00:00
Johannes Schickel 73da6ab51e - Removed -Wconversion from compiler options for g++ 4.3, it's behavior has fundamently changed in g++ 4.3
- Added -Wno-empty-body and -Wno-parentheses as compiler flags for g++ 4.3 for *now* (we should think of removing -Wparentheses though)
- Fixed some warnings for g++ 4.3 (only for the engines I'm using)

svn-id: r32540
2008-06-04 17:20:25 +00:00
Johannes Schickel 6358878a43 Fixed choppy sound on my Vista box. (after talking with Fingolfin about it)
svn-id: r32331
2008-05-27 21:18:21 +00:00
Max Horn 77f2e18dcf Reduce audio buffer size, as indicated on scummvm-devel
svn-id: r32316
2008-05-27 08:01:06 +00:00
Lars Persson acc5d79d7c Remove Symbian FS creation from common SDL code
svn-id: r31364
2008-04-02 21:19:17 +00:00
Max Horn b0c6a12c81 Modified Patch #1925352: Memory leak fixes
svn-id: r31244
2008-03-26 19:29:33 +00:00
Max Horn 6b3b7a5dc2 Implemented OSystem_SDL::getTimeAndDate (identical to OSystem::getTimeAndDate, which will eventually be REMOVED -- all porters should copy this change, if they haven't already)
svn-id: r31112
2008-03-12 18:36:51 +00:00
Max Horn 3afe9c0b9e Added OSystem_SDL::getFilesystemFactory()
svn-id: r31107
2008-03-11 17:24:34 +00:00
Jordi Vilalta Prat d6c34bdc4b Fixed the spaces before tabs.
svn-id: r30667
2008-01-28 00:14:17 +00:00
Jordi Vilalta Prat 66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +00:00
Max Horn c4c481fecf Removed backends/intern.h
svn-id: r30611
2008-01-22 14:16:02 +00:00
Torbjörn Andersson 32e2f9e8f3 Fixed warning when DISABLE_SCALERS is defined.
svn-id: r30074
2007-12-29 14:11:12 +00:00
Paul Gilbert 806ac51e45 Added events for the middle mouse button - EVENT_MBUTTONDOWN and EVENT_MBUTTONUP
svn-id: r30068
2007-12-29 09:48:49 +00:00
Max Horn 9b0dc6f757 Do not use SDL_WM_ToggleFullScreen, it's buggy on too many systems. Should fix bug #1705410.
svn-id: r30006
2007-12-26 23:00:18 +00:00
Nicola Mettifogo e74af15a7f Workaround for bug #1763018. Since Amiga key doesn't work as a modifier with SDL, we're allowing Amiga users to quit with Ctrl-z or Alt-x. This also fixes bug #1762886.
svn-id: r29826
2007-12-11 20:21:44 +00:00
Lars Persson 40a74b3b08 Symbian build system does not cope with include file with the same name, specific sub include path will fix this depency.
svn-id: r29625
2007-11-24 11:41:54 +00:00
Lars Persson c6905d56a9 Don't include windows.h for Symbian emulator builds
svn-id: r29119
2007-09-28 20:41:22 +00:00
Eugene Sandulenko 77eea722af Modified patch #1738058: "Action recorder".
svn-id: r28968
2007-09-19 13:55:05 +00:00
Nicola Mettifogo 258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00
Max Horn 4cc9d17c34 Adding various FIXME comments to bogus (non-self-explanatory) existing FIXME comments; and some other related cleanup
svn-id: r28890
2007-09-11 09:20:39 +00:00
Torbjörn Andersson c915fb8807 Fixed compilation.
svn-id: r28532
2007-08-11 19:34:46 +00:00
Filippos Karapetis 156fa8e84f windows.h needs to be included before sdl.h, to avoid redefinition of ARRAYSIZE
svn-id: r28522
2007-08-11 11:31:31 +00:00
Max Horn 9402981517 SDL backend cleanup (minor)
svn-id: r28520
2007-08-11 08:44:43 +00:00
Max Horn 45aea284d1 whitespaces
svn-id: r27787
2007-06-30 12:39:12 +00:00
Max Horn f97cbb8294 Update GUI::Key constructs
svn-id: r27643
2007-06-23 00:05:32 +00:00
Max Horn 2b23374468 Converted lots of code to use Common::ASCII_* and COMMON::KEYCODE_* constants. This also revealed the evil mixing of keycodes and ascii we do in many places :-/
svn-id: r27616
2007-06-22 20:04:44 +00:00
Matthew Hoops 2496c5b554 fix compile (thanks salty-horse!)
svn-id: r27614
2007-06-22 18:57:07 +00:00
Max Horn 55f93678b8 Heavily modified/reduced version of patch #1741454 (EVENTS: ASCII enum)
svn-id: r27612
2007-06-22 17:51:51 +00:00
Max Horn bd9ba26109 Modified version of patch #1740493 (EVENTS: Event Key Codes)
svn-id: r27592
2007-06-21 18:35:15 +00:00
Max Horn b51f2f3212 Implemented the OSystem framebuffer API, as discussed on scummvm-devel. All changes are just fine, and won't cause any compile problems or regressions, despite the fact that I can't test most of the non-SDL backend changes, at an improbability level of two to the power of two hundred and seventy-six thousand to one against - possibly much higher. Anything you still can't cope with is therefore your own problem. Please relax.
svn-id: r27548
2007-06-19 22:39:59 +00:00
Max Horn f80799cd5b Fix for bug #1690813: BASS: Crash when changing scalers during intro
svn-id: r27435
2007-06-15 21:21:42 +00:00
Max Horn 218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Max Horn 00b9bc7b36 Removing lots of superfluous semicola (see mail by David Weinehall on scummvm-devel)
svn-id: r26594
2007-04-25 19:31:23 +00:00
Torbjörn Andersson 6a9eb08ac7 Fixed indentation.
svn-id: r26308
2007-03-27 14:28:48 +00:00
Max Horn ed54ea9155 Moved Event/EventType/keyboard enum from common/system.h (part of class OSystem) to common/events.h (part of namespace Common). Porters may have to make minor changes to their backends to get them to compile again
svn-id: r26180
2007-03-17 19:02:05 +00:00
Robert Göffringmann 4a11e7299a fixed MSVC compiler warning because winnt.h defines its own ARRAYSIZE #define
svn-id: r26171
2007-03-17 15:45:05 +00:00
Nicola Mettifogo 1e985051a9 reduced dependency from windows-specific header files
svn-id: r26034
2007-03-09 00:13:07 +00:00
Max Horn 2232047695 The restriction on 'small' mouse cursors has been lifted quite some time ago; PalmOS and WinCE port should be extended accordingly (in particular, the PalmOS port would silently overwrite its memory when big cursors are used)
svn-id: r25431
2007-02-08 22:54:09 +00:00
Max Horn af8cba43ac Removed build.rules (hasn't been used by our build system for ages now)
svn-id: r25430
2007-02-08 22:27:47 +00:00
Max Horn 352ed7299f Patch #1605290: Change quit shortcut for Amiga to match style guide
svn-id: r24803
2006-12-03 15:42:41 +00:00