Difference between revisions of "User:Seldon/PS2 Backend"

From ScummVM :: Wiki
Jump to navigation Jump to search
m
 
(add ps2 current implementation description)
 
Line 9: Line 9:
|-  height=18 style='height:13.5pt'
|-  height=18 style='height:13.5pt'
|  height=18 style='color:maroon;height:13.5pt' | private method
|  height=18 style='color:maroon;height:13.5pt' | private method
|}
{|  x:str border=0 cellpadding=0 cellspacing=0 width=888  height=18 style='height:13.5pt'
|  height=18 width=444 style='font-weight:bold;height:13.5pt;width:333pt' | OSystem
|  width=444 style='font-weight:bold;border-left:none;width:333pt' | OSystem_PS2 : public OSystem
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual Audio::Mixer *getMixer
|  style='color:green;border-left:none' | bool hddPresent
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual bool getFeatureState
|  style='color:green;border-left:none' | bool usbMassPresent
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual bool hasFeature
|  style='color:green;border-left:none' | virtual Audio::Mixer *getMixer
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual bool openCD
|  style='color:green;border-left:none' | virtual bool openCD
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual bool pollCD
|  style='color:green;border-left:none' | virtual bool pollCD
|-  height=18 style='height:13.5pt'
|  height=18 style='color:blue;height:13.5pt' | virtual bool pollEvent
|  style='color:green;border-left:none' | virtual bool pollEvent
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual bool setGraphicsMode
|  style='color:green;border-left:none' | virtual bool setGraphicsMode
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | bool setGraphicsMode
|  style='color:green;border-left:none' | virtual bool setSoundCallback
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual bool showMouse
|  style='color:green;border-left:none' | virtual bool showMouse
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual Common::EventManager *getEventManager
|  style='color:green;border-left:none' | virtual Common::SaveFileManager *getSavefileManager
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual Common::SaveFileManager *getSavefileManager
|  style='color:green;border-left:none' | virtual Common::TimerManager *getTimerManager
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual Common::TimerManager *getTimerManager
|  style='color:green;border-left:none' | virtual const GraphicsMode *getSupportedGraphicsModes
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual const GraphicsMode *getSupportedGraphicsModes
|  style='color:green;border-left:none' | virtual Graphics::Surface *lockScreen
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual Graphics::Surface *lockScreen
|  style='color:green;border-left:none' | virtual int<span style='mso-spacerun:yes'></span>getOutputSampleRate
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual int getDefaultGraphicsMode
|  style='color:green;border-left:none' | virtual int getDefaultGraphicsMode
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual int getGraphicsMode
|  style='color:green;border-left:none' | virtual int getGraphicsMode
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual int getOutputSampleRate
|  style='color:green;border-left:none' | virtual int16 getHeight
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual int getScreenChangeID
|  style='color:green;border-left:none' | virtual int16 getWidth
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual int overlayToScreenX
|  style='color:green;border-left:none' | virtual MutexRef createMutex
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual int overlayToScreenY
|  style='color:green;border-left:none' | virtual OverlayColor RGBToColor
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual int screenToOverlayX
|  style='color:green;border-left:none' | virtual uint32 getMillis
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual int screenToOverlayY
|  style='color:green;border-left:none' | virtual void clearOverlay
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual int16 getHeight
|  style='color:green;border-left:none' | virtual void clearSoundCallback
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual int16 getOverlayHeight
|  style='color:green;border-left:none' | virtual void colorToRGB
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual int16 getOverlayWidth
|  style='color:green;border-left:none' | virtual void copyRectToOverlay
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual int16 getWidth
|  style='color:green;border-left:none' | virtual void copyRectToScreen
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual MutexRef createMutex
|  style='color:green;border-left:none' | virtual void delayMillis
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual OverlayColor ARGBToColor
|  style='color:green;border-left:none' | virtual void deleteMutex
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual OverlayColor RGBToColor
|  style='color:green;border-left:none' | virtual void grabOverlay
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual uint32 getMillis
|  style='color:green;border-left:none' | virtual void grabPalette
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void beginGFXTransaction
|  style='color:green;border-left:none' | virtual void hideOverlay
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void clearFocusRectangle
|  style='color:green;border-left:none' | virtual void initBackend
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void clearOverlay
|  style='color:green;border-left:none' | virtual void initSize
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void clearScreen
|  style='color:green;border-left:none' | virtual void lockMutex
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void colorToARGB
|  style='color:green;border-left:none' | virtual void playCD
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void colorToRGB
|  style='color:green;border-left:none' | virtual void quit
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void copyRectToOverlay
|  style='color:green;border-left:none' | virtual void setMouseCursor
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void copyRectToScreen
|  style='color:green;border-left:none' | virtual void setPalette
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void delayMillis
|  style='color:green;border-left:none' | virtual void setShakePos
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void deleteMutex
|  style='color:green;border-left:none' | virtual void setTimerCallback
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void disableCursorPalette
|  style='color:green;border-left:none' | virtual void showOverlay
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void displayMessageOnOSD
|  style='color:green;border-left:none' | virtual void stopCD
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void endGFXTransaction
|  style='color:green;border-left:none' | virtual void unlockMutex
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void grabOverlay
|  style='color:green;border-left:none' | virtual void unlockScreen
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void grabPalette
|  style='color:green;border-left:none' | virtual void updateCD
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void hideOverlay
|  style='color:green;border-left:none' | virtual void updateScreen
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void initBackend
|  style='color:green;border-left:none' | virtual void warpMouse
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void initSize
|  style='color:green;border-left:none' | void makeConfigPath
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void lockMutex
|  style='color:green;border-left:none' | void msgPrintf
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void playCD
|  style='color:green;border-left:none' | void powerOffCallback
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void quit
|  style='color:green;border-left:none' | void setUsbMassConnected
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void setCursorPalette
|  style='color:green;border-left:none' | void soundThread
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void setFeatureState
|  style='color:green;border-left:none' | void timerThread
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void setFocusRectangle
|  style='color:green;border-left:none' | &nbsp;
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void setMouseCursor
|  style='color:green;border-left:none' | &nbsp;
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void setPalette
|  style='color:green;border-left:none' | &nbsp;
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void setShakePos
|  style='color:green;border-left:none' | &nbsp;
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void setWindowCaption
|  style='color:green;border-left:none' | &nbsp;
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void showOverlay
|  style='color:green;border-left:none' | &nbsp;
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void stopCD
|  style='color:green;border-left:none' | &nbsp;
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void unlockMutex
|  style='color:green;border-left:none' | &nbsp;
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void unlockScreen
|  style='color:green;border-left:none' | &nbsp;
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void updateCD
|  style='color:green;border-left:none' | &nbsp;
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void updateScreen
|  style='color:green;border-left:none' | &nbsp;
|-  height=18 style='height:13.5pt'
|  height=18 style='color:green'height:13.5pt' | virtual void warpMouse
|  style='color:green;border-left:none' | &nbsp;
|}
|}

Latest revision as of 20:41, 5 July 2007

Current implementation

Legend:

public method
protected method
private method


OSystem OSystem_PS2 : public OSystem
virtual Audio::Mixer *getMixer bool hddPresent
virtual bool getFeatureState bool usbMassPresent
virtual bool hasFeature virtual Audio::Mixer *getMixer
virtual bool openCD virtual bool openCD
virtual bool pollCD virtual bool pollCD
virtual bool pollEvent virtual bool pollEvent
virtual bool setGraphicsMode virtual bool setGraphicsMode
bool setGraphicsMode virtual bool setSoundCallback
virtual bool showMouse virtual bool showMouse
virtual Common::EventManager *getEventManager virtual Common::SaveFileManager *getSavefileManager
virtual Common::SaveFileManager *getSavefileManager virtual Common::TimerManager *getTimerManager
virtual Common::TimerManager *getTimerManager virtual const GraphicsMode *getSupportedGraphicsModes
virtual const GraphicsMode *getSupportedGraphicsModes virtual Graphics::Surface *lockScreen
virtual Graphics::Surface *lockScreen virtual intgetOutputSampleRate
virtual int getDefaultGraphicsMode virtual int getDefaultGraphicsMode
virtual int getGraphicsMode virtual int getGraphicsMode
virtual int getOutputSampleRate virtual int16 getHeight
virtual int getScreenChangeID virtual int16 getWidth
virtual int overlayToScreenX virtual MutexRef createMutex
virtual int overlayToScreenY virtual OverlayColor RGBToColor
virtual int screenToOverlayX virtual uint32 getMillis
virtual int screenToOverlayY virtual void clearOverlay
virtual int16 getHeight virtual void clearSoundCallback
virtual int16 getOverlayHeight virtual void colorToRGB
virtual int16 getOverlayWidth virtual void copyRectToOverlay
virtual int16 getWidth virtual void copyRectToScreen
virtual MutexRef createMutex virtual void delayMillis
virtual OverlayColor ARGBToColor virtual void deleteMutex
virtual OverlayColor RGBToColor virtual void grabOverlay
virtual uint32 getMillis virtual void grabPalette
virtual void beginGFXTransaction virtual void hideOverlay
virtual void clearFocusRectangle virtual void initBackend
virtual void clearOverlay virtual void initSize
virtual void clearScreen virtual void lockMutex
virtual void colorToARGB virtual void playCD
virtual void colorToRGB virtual void quit
virtual void copyRectToOverlay virtual void setMouseCursor
virtual void copyRectToScreen virtual void setPalette
virtual void delayMillis virtual void setShakePos
virtual void deleteMutex virtual void setTimerCallback
virtual void disableCursorPalette virtual void showOverlay
virtual void displayMessageOnOSD virtual void stopCD
virtual void endGFXTransaction virtual void unlockMutex
virtual void grabOverlay virtual void unlockScreen
virtual void grabPalette virtual void updateCD
virtual void hideOverlay virtual void updateScreen
virtual void initBackend virtual void warpMouse
virtual void initSize void makeConfigPath
virtual void lockMutex void msgPrintf
virtual void playCD void powerOffCallback
virtual void quit void setUsbMassConnected
virtual void setCursorPalette void soundThread
virtual void setFeatureState void timerThread
virtual void setFocusRectangle  
virtual void setMouseCursor  
virtual void setPalette  
virtual void setShakePos  
virtual void setWindowCaption  
virtual void showOverlay  
virtual void stopCD  
virtual void unlockMutex  
virtual void unlockScreen  
virtual void updateCD  
virtual void updateScreen  
virtual void warpMouse