Commit graph

418 commits

Author SHA1 Message Date
Alexander Tkachev
03217cd5c3 CLOUD: Add CurlJsonRequest
Now we can do REST API request by creating CurlJsonRequest and waiting
for it to call our callback. Passed pointer is Common::JSONValue.

This commit also does some minor variable renaming fixes.
2016-08-24 16:07:55 +06:00
Alexander Tkachev
b272bba751 CLOUD: Do minor fixes 2016-08-24 16:07:55 +06:00
Alexander Tkachev
fade746f37 CLOUD: Add USE_CLOUD feature
Adds USE_CLOUD in both configure and create_project.
2016-08-24 16:07:55 +06:00
Alexander Tkachev
ca2eeb2214 CLOUD: Add Cloud::Manager and Cloud::Storage
This commit introduces Common::CloudManager, which can be accessed from
OSystem.

The backend for this manager is Cloud::Manager (defined in
backends/cloud/manager.h). It should load all users storages from
configs and provide access to current Storage instance. For now it just
creates a new one.

Cloud::Storage (backends/cloud/storage.h) provides an API to interact
with cloud storage, for example, create new directory or sync files.
Right now it's not ready and has only two dummy methods: listDirectory()
and syncSaves().

There is Cloud::Dropbox::DropboxStorage backend
(backends/cloud/dropbox/dropboxstorage.h) for Cloud::Storage. Right now
it implements both listDirectory() and syncSaves() with starting timer
task and handling it by printing out some JSON examples.
2016-08-24 16:05:07 +06:00
Alexander Tkachev
7446ffd73b CLOUD: Integrate CloudThread into OSystem
Would be changed soon.
2016-08-24 16:05:07 +06:00
Bastien Bouclet
ad3ab61241 COMMON: Remove the EventRecorder dependency from OSystem
EventRecorder is in the gui lib which is not linked in the cxxtest suite.
2016-07-28 18:23:46 +02:00
Bastien Bouclet
31715787ca SYSTEM: Add a system method for retrieving the screen framebuffer 2016-02-06 08:53:41 +01:00
Dries Harnie
8fc79af213 SYSTEM: Add side textures as a System feature 2015-08-17 13:25:46 +02:00
Pawel Kolodziejski
c14d0ad8dc ALL: unify setupScreen() arguments type 2014-07-19 19:42:01 +02:00
Pawel Kolodziejski
8759900b6a ALL: synced with ScummVM 2014-04-05 18:18:42 +02:00
Johannes Schickel
854e22b38b COMMON: Make GPL headers consistent in themselves. 2014-02-18 02:39:33 +01:00
Pawel Kolodziejski
068ff94d20 ALL: synced with ScummVM 2013-07-07 15:29:33 +02:00
Dries Harnie
97a698a554 ANDROID: Add kVirtControls to OSystem_Android 2013-06-02 14:53:50 +02:00
Eugene Sandulenko
f59512c47e RECORDER: Implement Events Recorder 2013-05-17 00:18:09 +03:00
Pawel Kolodziejski
72664703cf ALL: sync with scummvm 2012-07-06 22:05:21 +02:00
Johannes Schickel
4fb9bceabc Merge pull request #246 from lordhoto/osystem-void-buffers
OSYSTEM: Use void buffers for screen/overlay/mouse buffers and proper pitch values for overlay code
2012-06-20 08:02:26 -07:00
Johannes Schickel
1b1b1d6615 Merge pull request #244 from clone2727/football2002-wday
COMMON: Add tm_wday to our TimeDate struct
2012-06-17 17:17:06 -07:00
Johannes Schickel
aec9b9e22a ALL: Let overlay related methods in OSystem take a void * and use a proper pitch values.
This is a first step to get rid of OverlayColor, which is a requirement for
proper 4Bpp overlay support.
2012-06-16 04:17:14 +02:00
Johannes Schickel
d27d951d0b BACKENDS: Make OSystem::setMouseCursor take a "const void *" buffer.
This is mainly for consistency with OSystem::copyRectToScreen.
2012-06-16 03:28:42 +02:00
Johannes Schickel
31880186e1 BACKENDS: Let copyRectToScreen take a "const void *" instead of "const byte *" 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-16 02:18:01 +02:00
Johannes Schickel
51466ecfbb COMMON: Remove traces of mouse cursor target scale from OSystem docs. 2012-06-13 05:09:02 +02:00
Johannes Schickel
09ea48978a COMMON: Remove traces of overlay scale from the OSystem documentation. 2012-06-13 05:06:58 +02:00
Johannes Schickel
d99eb1e614 COMMON: Remove last traces of 8bpp overlay support from OSystem docs. 2012-06-13 04:57:55 +02:00
Matthew Hoops
b2f5721e58 COMMON: Add tm_wday to our TimeDate struct
Did not adapt bada or ps2 backends as I'm not sure how they should be handled
2012-06-09 20:21:48 -04:00
Johannes Schickel
a401f0a19e ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" 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.
2012-06-03 02:02:57 +02:00
Pawel Kolodziejski
8e2ab87455 ALL: synced with scummvm 2012-03-25 11:41:48 +02:00
Tarek Soliman
6afac4e01e KEYMAPPER: Rename HardwareKey to HardwareInput 2012-02-27 13:00:56 -06:00
Pawel Kolodziejski
fad0b5b331 ALL: decrease diffs with scummvm 2012-02-22 23:26:36 +01:00
Paweł Kołodziejski
5d200347e6 COMMON, GRIM: fixed compilation after sync 2012-02-22 17:40:48 +01:00
Paweł Kołodziejski
7807764421 COMMON: fixed typo 2012-02-22 17:23:45 +01:00
Pawel Kolodziejski
bc71f3f583 synced with scummvm 2012-02-22 17:21:09 +01:00
Tarek Soliman
85c8c84804 KEYMAPPER: Add more warning signs 2012-02-15 17:22:41 -06:00
Tarek Soliman
cce5be67dc KEYMAPPER: Allow ports to define default Keymap Action bindings 2012-02-15 17:07:52 -06:00
Johannes Schickel
d811240a9d ALL: Enable Keymapper specific OSystem API only when the Keymapper is enabled. 2012-02-13 01:20:02 +01:00
Tarek Soliman
705761011d KEYMAPPER: Allow ports to define their own global keymap 2012-02-12 13:28:13 -06:00
Bastien Bouclet
dca3a6dc75 BACKENDS: Add a new OSystem call to lock the mouse in the game window. 2012-01-26 19:35:27 +01:00
Giulio Camuffo
158a19df31 TinyGL: Support for different color modes, first part. 2012-01-24 21:36:46 +01:00
Pawe³ Ko³odziejski
a5479cfe83 sync with scummvm 2012-01-06 22:56:21 +01:00
Johannes Schickel
bcd07d35bb OSYSTEM: Mention that our OSystem graphics API is not thread safe.
Based on f621f6a505 and the fact that our OpenGL
based backends do not (and sometimes cannot easily) implement it in a thread
safe manner.
2011-08-06 18:55:32 +02:00
Pawel Kolodziejski
8dd0f82574 sync with scummvm 2011-07-20 08:02:02 +02:00
Pawel Kolodziejski
5bf4f9316b sync with scummvm dated 03 july 2011 2011-07-20 06:58:19 +02:00
CeRiAl
f60d6f7a97 MACOSX/UPDATES: Streamline UpdateManager
Moved UpdateManager related code from backends/modular-backend.* to
common/system.*. Added switch --enable/disable-updates to be able
to disable updates support generally.
2011-07-19 21:35:37 +02:00
Littleboy
8e75d9c84b COMMON: Update documentation comment for TaskbarManager slot 2011-07-06 14:33:40 -04:00
Eugene Sandulenko
33ce6e60fd Merge pull request #26 from Littleboy/taskbar
Taskbar integration
2011-06-22 13:35:37 -07:00
Max Horn
f7c1e7d002 COMMON: Remove default implementation of OSystem::logMessage 2011-06-17 20:50:41 +02:00
Julien
599695bc4f COMMON: Change TaskbarManager to the new module slot interface 2011-06-16 14:27:06 -04:00
Littleboy
9614834548 BACKENDS/COMMON/GUI: Remove complete support for TaskbarManager when taskbar integration is not enabled 2011-06-16 14:23:28 -04:00
Littleboy
cd7822a29f BACKENDS: Add engine-level accessor for TaskbarManager 2011-06-16 10:35:24 -04:00
Pawel Kolodziejski
7329a5d164 ALL: sync with scummvm 2011-06-09 11:17:15 +02:00
Max Horn
28c5d298f5 COMMON: Fix OSystem docs 2011-06-08 14:39:30 +02:00