Max Horn
42ab839dd6
AUDIO: Rename sound/ dir to audio/
...
svn-id: r55850
2011-02-09 01:09:01 +00:00
Max Horn
ab039812e7
COMMON: OSystem now has a PaletteManager
...
svn-id: r55806
2011-02-07 17:52:38 +00:00
Johannes Schickel
e1030e53a5
BACKENDS: Implement logging API proposed by Max on -devel.
...
This commits a slightly modified patch from my patch tracker item #3104630
"OSYSTEM: Add logging API as proposed by Max on -devel".
I was not able to test compilation on Android and SamsungTV, since there is no
toolchain for those on buildbot (or I was too blind to find them).
svn-id: r54339
2010-11-18 19:12:14 +00:00
Yotam Barnoy
a4537b84bd
PSP: made image viewer reset to the first image between engine loads
...
svn-id: r53460
2010-10-14 22:11:17 +00:00
Yotam Barnoy
7c22545899
PSP: added image viewer for viewing images during games
...
svn-id: r53455
2010-10-14 13:19:32 +00:00
Yotam Barnoy
65fe8d817c
PSP: moved RTC to singleton to allow usage by classes other than Osystem
...
svn-id: r50116
2010-06-21 15:13:36 +00:00
Yotam Barnoy
e7e8808aff
PSP: got rid of SDL
...
svn-id: r49903
2010-06-16 09:04:27 +00:00
Max Horn
703f0ca29c
SYSTEM: Unify OSystem::getSupportedFormats() signature
...
svn-id: r49838
2010-06-15 12:21:08 +00:00
Yotam Barnoy
f770156dcc
PSP: fixed missing frame issue with kyrandia and possibly other games by calling updateScreen() from pollEvent() once in a while
...
svn-id: r49541
2010-06-09 14:15:51 +00:00
Yotam Barnoy
356728dab7
PSP: found bug in fast getMillis() implementation. Fixed it by adding a fixed amount to the time counter.
...
svn-id: r49485
2010-06-07 13:47:27 +00:00
Yotam Barnoy
50847c02a6
PSP: moved timer thread to backends/timer/psp
...
svn-id: r49173
2010-05-24 03:05:17 +00:00
Yotam Barnoy
20c654f63b
PSP: replaced SDL's timer with much simpler and more efficient PspTimer class
...
svn-id: r49155
2010-05-23 11:48:21 +00:00
Yotam Barnoy
7a6a2a62ee
PSP: switched from SDL's audio to my own thread. Removed needless blocking while playing and made it generally more efficient. To deactivate, simply comment out USE_PSP_AUDIO
...
svn-id: r49149
2010-05-23 05:51:32 +00:00
Max Horn
87028c546f
PSP: Fix code formatting using astyle
...
svn-id: r48634
2010-04-12 07:28:54 +00:00
Yotam Barnoy
9a2eac7eee
PSP: refactoring/redesign of the backend
...
svn-id: r48632
2010-04-12 06:49:05 +00:00
Max Horn
c97ee14a65
Remove last traces of OSystem::getOutputSampleRate()
...
svn-id: r48229
2010-03-10 21:01:44 +00:00
Johannes Schickel
aed02365ec
Strip trailing spaces/tabs.
...
svn-id: r47541
2010-01-25 01:39:44 +00:00
Yotam Barnoy
832779497e
PSP: added keypad to d-pad. Allows control of AGI,SCI0, and Indy3
...
svn-id: r46810
2009-12-31 23:59:07 +00:00
Yotam Barnoy
b8b042d4bf
PSP: Replaced virtual keyboard and cleaned up makefiles in the process.
...
svn-id: r46120
2009-11-24 10:33:30 +00:00
Max Horn
42120ed626
Introduce a new struct TimeDate, replacing struct tm in client code. May lead to compilation issues in ports, which should be trivial to fix, though
...
svn-id: r44793
2009-10-08 19:41:38 +00:00
Joost Peters
978d9dfd10
some cleanup
...
svn-id: r43618
2009-08-21 22:44:49 +00:00
Joost Peters
9a3218e673
unify OSystem_PSP_GU and OSystem_PSP (which was hopelessly outdated and mostly useless)
...
svn-id: r43615
2009-08-21 22:30:35 +00:00
Joost Peters
7d350b215c
fix compilation after RGB API changes
...
svn-id: r43606
2009-08-21 19:11:02 +00:00
Joost Peters
bbac75bc1c
PSP: throttle the number of updateScreen() calls
...
svn-id: r43539
2009-08-19 16:23:44 +00:00
Joost Peters
a35056b555
Implement setCursorPalette(), correct hasFeature() <-> getFeatureState() mixup.
...
svn-id: r43519
2009-08-18 18:06:50 +00:00
Joost Peters
62bcb2e51b
Commit (slightly) modified version of patch #2831248 : Allow suspend/resume for PSP
...
svn-id: r43477
2009-08-17 12:57:37 +00:00
Max Horn
4e17f7251d
Fix PSP port
...
svn-id: r41934
2009-06-28 21:04:24 +00:00
Max Horn
bb28ed7b7a
Changed OSystem::setWindowCaption to expect ISO LATIN 1 encoded input;
...
also intentionally broke WinCE and Symbian ports (in an obvious way that
can be undo by commenting out some text) -- hopefully this will get the
maintainers' attention during the next release cycle, unlike my emails
svn-id: r41932
2009-06-28 19:58:11 +00:00
Joost Peters
1a5f531d23
Allow building of psp backend via configure (Part 1 - Still need to add the fixup + EBOOT packing steps).
...
Thanks dhewg and fingolfin for assistance. :)
svn-id: r39693
2009-03-25 21:58:16 +00:00
Joost Peters
22340b6c3d
Use 4444 overlay on PSP (instead of 1555).
...
svn-id: r38475
2009-02-18 13:28:52 +00:00
Max Horn
c69ebfd798
Moved default implementations for various OSystem methods into a new class BaseBackend
...
svn-id: r36135
2009-01-30 03:35:47 +00:00
Joost Peters
446c837bc7
fix compilation
...
svn-id: r36040
2009-01-24 19:33:18 +00:00
Max Horn
e4b013f616
Renamed OSystem::openConfigFileForReading & openConfigFileForWriting to createConfigReadStream & createConfigWriteStream, in order to make it clear that the *caller* is responsible for deleting the streams (i.e., 'owns' them)
...
svn-id: r36013
2009-01-23 03:30:40 +00:00
Max Horn
edf9f24926
Got rid of OSystem::colorToRGB and RGBToColor; added implementations for OSystem::getOverlayFormat to several ports (pending testing by the porters)
...
svn-id: r34912
2008-11-06 15:02:50 +00:00
Max Horn
f238a12b27
Got rid of OSystem::ARGBToColor and colorToARGB
...
svn-id: r34911
2008-11-06 14:27:13 +00:00
Joost Peters
13561a008e
implement OSystem::getOverlayFormat()
...
svn-id: r34890
2008-11-03 22:03:05 +00:00
Max Horn
36311eefb4
OSYSTEM: Pushed out some port specific code from common/system.cpp to the respective ports
...
svn-id: r34812
2008-10-16 17:18:15 +00:00
Joost Peters
926df065f4
changes for new Mixer API
...
svn-id: r32967
2008-07-08 17:20:26 +00:00
Max Horn
3b1a60c3b2
Removed obsolete ::clearSoundCallback() code
...
svn-id: r32826
2008-06-28 15:13:54 +00:00
Joost Peters
2c67073084
Implement OSystem_PSP::getFilesystemFactory() and OSystemPSP::getTimeAndDate()
...
svn-id: r31195
2008-03-19 11:07:27 +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
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
dc91dcde00
Adding some missing stuff to the PS2 port (it still will require quite some work to get it working again)
...
svn-id: r27799
2007-06-30 21:20:47 +00:00
Max Horn
129955ab55
Fix for bug #1740241 (PSP: revision 27553 doesn't build)
...
svn-id: r27559
2007-06-20 19:11:36 +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
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
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
Joost Peters
fb76c7d2e5
fix compilation / modularization update
...
svn-id: r25487
2007-02-11 11:24:37 +00:00
Joost Peters
2b0c4e9bf3
implement grabRawScreen()
...
svn-id: r23385
2006-07-07 10:38:56 +00:00