aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ps2/systemps2.h
AgeCommit message (Collapse)Author
2012-06-16BACKENDS: Make OSystem::setMouseCursor take a "const void *" buffer.Johannes Schickel
This is mainly for consistency with OSystem::copyRectToScreen.
2012-06-16BACKENDS: Let copyRectToScreen take a "const void *" instead of "const byte ↵Johannes Schickel
*" as buffer. This removes the need to convert the parameter to copyRectToScreen to "const byte *", which is commonly used in games, which use Graphics::Surface to store their graphics data.
2012-06-03ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" ↵Johannes Schickel
logic. All uses of the old target scale API actually wanted to disallow scaling of the mouse cursor. This commit adapts our API to this and thus simplifies backend implementations. Some backends, most notable the Wii and Android, did some implementation of the cursor target scale, which I didn't adapt yet. I added a TODO for the porters there.
2011-11-27PS2: Remove the unused method OSystem_PS2::grabRawScreen().Christoph Mallon
This was removed from OSystem in b51f2f3212ae8a5abbdce4d947ec2d1cad1a0b6f.
2011-06-08BACKENDS: Shuffle backends class hierarchy and module initializationMax Horn
2011-06-07PS2: Use OSystem's 'slots' for timer/savefile managerMax Horn
2011-06-06BACKENDS: Unify EventManager setupMax Horn
2011-06-06PS2: Add logMessage() implementationMax Horn
2011-06-06BACKENDS: Add OSystem::getDefaultConfigFileNameMax Horn
This is used to provide default implementations for createConfigWriteStream and createConfigReadStream, which can be used by most backends. Note that backends can still override createConfigRead/WriteStream; this could be useful if settings on some port are not stored in a regular file (think 'Windows registry', for a hypothetical example).
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-03PS2: Fix various forbidden symbol clashesMax Horn
2011-04-28BACKENDS: Fix compilation for various backendsOri Avtalion
Affects: * PS2 * GPH * ELF * MOTO * IPHONE * N64 * DINGUX * WINCE * PSP
2011-04-28JANITORIAL: Format forward declarations to follow conventionOri Avtalion
2011-02-07COMMON: OSystem now has a PaletteManagerMax Horn
svn-id: r55806
2010-06-01Remove dead code from PS2 and GP2x backendsMax Horn
svn-id: r49374
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2009-11-18PS2: Remove custom OSystem::fillScreen implementation as well as clearScreen()Max Horn
svn-id: r45973
2009-10-09PS2: Fix warningsMax Horn
svn-id: r44813
2009-10-08Introduce a new struct TimeDate, replacing struct tm in client code. May ↵Max Horn
lead to compilation issues in ports, which should be trivial to fix, though svn-id: r44793
2009-10-05Here we have:Max Lingua
- dropped gBitFormat - added extra param "const Graphics::PixelFormat *" to OSystem_PS2::initSize OSystem_PS2::setMouseCursor Note! To compile on SVN you will have (for now ;-) to create few few empty folders by hand, note very elegant but will keep you going until when we (ehm...) refine the PS2 Makefile. Here comes the brute force script I use inside backends/platform/ps2 mkdir -p backends/platform/ps2 mkdir -p base mkdir -p engines/scumm mkdir -p engines/scumm/he mkdir -p engines/scumm/imuse mkdir -p engines/scumm/imuse_digi mkdir -p engines/scumm/insane mkdir -p engines/scumm/smush mkdir -p engines/agi mkdir -p engines/agos mkdir -p engines/cine mkdir -p engines/cruise mkdir -p engines/drascula mkdir -p engines/gob mkdir -p engines/gob/demos mkdir -p engines/gob/save mkdir -p engines/gob/sound mkdir -p engines/igor mkdir -p engines/igor/parts mkdir -p engines/kyra mkdir -p engines/lure mkdir -p engines/made mkdir -p engines/parallaction mkdir -p engines/queen mkdir -p engines/saga mkdir -p engines/sky mkdir -p engines/sky/music mkdir -p engines/sword1 mkdir -p engines/sword2 mkdir -p engines/touche mkdir -p gui mkdir -p graphics mkdir -p graphics/fonts mkdir -p graphics/scaler mkdir -p graphics/video mkdir -p graphics/video/coktelvideo mkdir -p sound mkdir -p sound/mods mkdir -p sound/softsynth mkdir -p sound/softsynth/opl mkdir -p backends/events/default mkdir -p backends/fs mkdir -p backends/fs/amigaos4 mkdir -p backends/fs/ds mkdir -p backends/fs/palmos mkdir -p backends/fs/posix mkdir -p backends/fs/ps2 mkdir -p backends/fs/psp mkdir -p backends/fs/symbian mkdir -p backends/fs/windows mkdir -p backends/fs/wii mkdir -p backends/keymapper mkdir -p backends/midi mkdir -p backends/plugins/dc mkdir -p backends/plugins/posix mkdir -p backends/plugins/sdl mkdir -p backends/plugins/win32 mkdir -p backends/saves mkdir -p backends/saves/default mkdir -p backends/saves/posix mkdir -p backends/saves/psp mkdir -p backends/timer/default mkdir -p backends/vkeybd mkdir -p common I know, you don't need all those "-p" but it looks more consistent ;-) svn-id: r44683
2009-07-12ScummVM/PS2 bugs fixed by this commit:Max Lingua
- general file write corruption (eg. ScummVM.ini, etc.) - COMI specific save crash / corruption (added option in engines/scumm/saveload.cpp to disable thumbnails on PS2, as emergency fallback in case the fix should prove to be insufficient) - implemented _screenChange logic (fixes grabOverlay & COMI popup menu) - fixed higher pitch (chipmunk fx) - made NET IRXs optional to allow it to work on fat PS2 without net+hd - fixed cursor restore on RTL - added "." as R2 to skip single lines of dialog - added write cache svn-id: r42404
2009-06-28PS2: Don't overload fillScreen with a dummy, just use the inherited versionMax Horn
svn-id: r41933
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-03-06Implemented _overlayFormat in Gs2dScreenMax Lingua
Modified PS2FSNode openForReading -> createReadStream openForWriting -> createWriteStream Started Common::EventManager *OSystem::getEventManager() on backend side... svn-id: r39141
2009-03-04- 0.13.x friendly ;-)Max Lingua
- new GUI/themes - no more funky colors! - load/delete saved games - cleaned-up Makefile.PS2 : - dropped multiple extra paths - dropped deprecated deps (UCL, MPEG2) - all possible devices are supported to store, play and save games: - CD - HD - USB - MC - REMOTE ! (this could actually be anywhere on the internet as long as you run "ps2client listen" on the machine on the other side that hosts the games) - tested from : - ps2link - uLE - toxicOS - tested with: - bass - bs1 - mi1 - comi - indy4 - ft - ite - ihnm - elvira1 - dig - kyra - lure - simon2 - goblins1 Played all those games in 1 session using RTL. Very smooth, sub-second RTL experience. No crash! - new PAL/NTSC detection : we are now reading the flavor from PS2 ROM, it should work on all PS2 slim too - new PAL TV centering : no more missing chunk of games on top/bottom - we can now read the savefiles from Linux/SDL and other backends! if you add that you can read them from remote together with the games that you already have there, you can imagine the fun ;-) - we fully implement RTL with every games/engine - we nicely reboot / shutdown on quit - fully support for themes/savegames paths. Run from MC, play the games on remote and store your data on USB or HD. No limits! - universal write/read for every media (of course no write on CD/DVD!) - fully async / DMA read-write access to every media (even MC!) - optimized cache/read-ahead for every media - now COMI is fast and enjoyable from remote as it is from CD ;-) - non polluting MC storage, just 1 folder + 1 icon, so that you can copy all your settings / saved games to another MC in one go! svn-id: r39102
2009-01-30Removed default implementations of OSystem::getOverlayHeight() and ↵Max Horn
getOverlayWidth() svn-id: r36152
2009-01-30Moved default implementations for various OSystem methods into a new class ↵Max Horn
BaseBackend svn-id: r36135
2009-01-23Renamed OSystem::openConfigFileForReading & openConfigFileForWriting to ↵Max Horn
createConfigReadStream & createConfigWriteStream, in order to make it clear that the *caller* is responsible for deleting the streams (i.e., 'owns' them) svn-id: r36013
2008-11-06Got rid of OSystem::colorToRGB and RGBToColor; added implementations for ↵Max Horn
OSystem::getOverlayFormat to several ports (pending testing by the porters) svn-id: r34912
2008-10-16OSYSTEM: Pushed out some port specific code from common/system.cpp to the ↵Max Horn
respective ports svn-id: r34812
2008-07-17Committing PS2 changes on behalf of the other Max ;)Max Horn
svn-id: r33089
2008-03-03the ps2 changes from the 0.11.1 release, plus some bugfixes and cleanup.Robert Göffringmann
svn-id: r31034
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-06-30Adding some missing stuff to the PS2 port (it still will require quite some ↵Max Horn
work to get it working again) svn-id: r27799
2007-06-19Implemented the OSystem framebuffer API, as discussed on scummvm-devel. All ↵Max Horn
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-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-03-17Moved Event/EventType/keyboard enum from common/system.h (part of class ↵Max Horn
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
2006-07-06Moving remaining platform/backends code, as previously threatenedMax Horn
svn-id: r23380