998 Commits

Author SHA1 Message Date
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
Eugene Sandulenko
75b062b89f Implement FR #1595534: "Touche: Aspect Ratio Correction"
svn-id: r24706
2006-11-13 13:53:14 +00:00
Kostas Nakos
cc42cb8309 Implement Fingolfin's modular backend timer, savefile and mixer managers
svn-id: r24691
2006-11-12 11:47:43 +00:00
Max Horn
c718463a24 Added Audio::Mixer::setReady method to work around bug #1588848
svn-id: r24583
2006-11-01 21:28:14 +00:00
Max Horn
f4d8920f2b SDL backend: got rid of setTimerCallback and clearSoundCallback
svn-id: r24446
2006-10-22 16:05:07 +00:00
Max Horn
07f7761479 Backend modularization: Create timer manager, savefile manager and audio mixer in the backends for increased flexibility
svn-id: r24443
2006-10-22 15:42:29 +00:00
Max Horn
df5be19409 Instantiate and hook up the plugin providers in the main() function of the corresponding backends (porters may have to update their ports if they were using the POSIX or Win32 module loading code implicitly); some cleanup
svn-id: r24153
2006-10-07 01:05:12 +00:00
Torbjörn Andersson
d7b786ea41 Implemented "iconify window" opcode. This, of course, needs support in the
backend to work, and so far it's only done in the SDL backend. See the new
kFeatureIconifyWindow flag. (This is patch #1568775.)

svn-id: r24060
2006-10-02 04:46:50 +00:00
Max Horn
ca7880df6c Added new method OSystem::getScreenChangeID(), which can be used by code to track screen changes even without getting all EVENT_SCREEN_CHANGED events
svn-id: r23661
2006-08-04 13:10:28 +00:00
Torbjörn Andersson
15f08bf268 Warn if copyRectToScreen() is called before _screen is created, since it's
almost certainly a programming error. (Used to be silently ignored.)

Warn if setPalette() is called before _screen is created, but allow it (for
now) since we don't actually set the palette until later. It could still be a
programming error, though.

Don't crash if updateScreen() is called with a "dirty" palette before _screen
is created.

svn-id: r23573
2006-07-23 06:50:49 +00:00
Torbjörn Andersson
6358547a43 More whitespace changes.
svn-id: r23496
2006-07-14 13:33:58 +00:00
Max Horn
492c65009c Started to move 'monolithic' parts of our ports to the new 'background/platform' directory (see also the 'Modular_Backends' page in our Wiki)
svn-id: r23293
2006-06-24 12:33:52 +00:00