25 #include "common/scummsys.h" 26 #include "graphics/surface.h" 27 #include "graphics/paletteman.h" 28 #include "audio/mixer_intern.h" 29 #include "backends/base-backend.h" 30 #include "backends/fs/psp/psp-fs-factory.h" 32 #include "backends/platform/psp/display_client.h" 33 #include "backends/platform/psp/default_display_client.h" 34 #include "backends/platform/psp/cursor.h" 35 #include "backends/platform/psp/pspkeyboard.h" 36 #include "backends/platform/psp/image_viewer.h" 37 #include "backends/platform/psp/display_manager.h" 38 #include "backends/platform/psp/input.h" 39 #include "backends/platform/psp/audio.h" 40 #include "backends/platform/psp/thread.h" 47 uint32 _pendingUpdateCounter;
60 OSystem_PSP() : _mixer(0), _pendingUpdate(
false), _pendingUpdateCounter(0) {}
91 void setPalette(
const byte *colors, uint start, uint num);
92 void grabPalette(byte *colors, uint start, uint num)
const;
97 void copyRectToScreen(
const void *buf,
int pitch,
int x,
int y,
int w,
int h);
101 void setShakePos(
int shakeXOffset,
int shakeYOffset);
124 uint32
getMillis(
bool skipRecord =
false);
131 static void mixCallback(
void *sys, byte *samples,
int len);
132 void setupMixer(
void);
Graphics::PixelFormat getOverlayFormat() const
Definition: osys_psp.h:112
bool pollEvent(Common::Event &event)
void showOverlay(bool inGUI)
virtual void engineDone()
void getTimeAndDate(TimeDate &td, bool skipRecord=false) const
Definition: fs-factory.h:31
void grabOverlay(Graphics::Surface &surface)
int getGraphicsMode() const
FilesystemFactory * getFilesystemFactory()
Definition: osys_psp.h:136
void initSize(uint width, uint height, const Graphics::PixelFormat *format)
void setCursorPalette(const byte *colors, uint start, uint num)
Feature
Definition: system.h:403
void delayMillis(uint msecs)
int getDefaultGraphicsMode() const
void setPalette(const byte *colors, uint start, uint num)
void logMessage(LogMessageType::Type type, const char *message)
Definition: atari-screen.h:60
bool showMouse(bool visible)
void setShakePos(int shakeXOffset, int shakeYOffset)
void setFeatureState(Feature f, bool enable)
Definition: mixer_intern.h:58
void copyRectToOverlay(const void *buf, int pitch, int x, int y, int w, int h)
Definition: display_manager.h:103
void grabPalette(byte *colors, uint start, uint num) const
Audio::Mixer * getMixer()
Definition: osys_psp.h:133
Definition: atari-cursor.h:38
bool getFeatureState(Feature f)
PaletteManager * getPaletteManager()
Definition: osys_psp.h:88
Common::MutexInternal * createMutex(void)
void warpMouse(int x, int y)
Definition: image_viewer.h:29
Definition: base-backend.h:44
bool setGraphicsMode(int mode, uint flags)
Definition: pspkeyboard.h:37
Definition: default_display_client.h:65
const GraphicsMode * getSupportedGraphicsModes() const
Graphics::Surface * lockScreen()
bool hasFeature(Feature f)
bool isOverlayVisible() const
virtual Common::Path getDefaultConfigFileName()
uint32 getMillis(bool skipRecord=false)
void copyRectToScreen(const void *buf, int pitch, int x, int y, int w, int h)
Definition: paletteman.h:47
Definition: osys_psp.h:42
void setMouseCursor(const void *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor, bool dontScale, const Graphics::PixelFormat *format, const byte *mask)