Commit Graph
109 Commits
Author SHA1 Message Date
Cameron Cawley 0334411d63 BUILD: Package networking and virtual keyboard files on all platforms 2019-07-08 12:42:21 +03:00
Cameron Cawley b224b592c6 BACKENDS: Replace usage of stricmp/strcmpi/strcasecmp 2018-05-06 01:12:56 +02:00
Bastien Bouclet 6409e99089 N64: Remove the port-specific integer type definitions
They are identical to those detected by configure on buildbot
2018-04-07 12:44:47 +02:00
Colin Snover bda253b1ac BACKENDS: Constify PaletteManager::grabPalette implementations 2017-10-15 13:47:19 -05:00
Alexander Tkachev 7f913c831d DS, N64: Fix openForSaving()
Fails to build because OutSaveFile's name should've been qualified.
2016-08-31 12:38:40 +06:00
Alexander Tkachev 9d6ae2a33f DS, N64: Fix SaveFileManagers
Added updateSavefilesList() and openRawFile() stubs. It should build
fine now, I guess.
2016-08-31 12:33:57 +06:00
Alexander Tkachev 153f06b324 N64: Fix OutSaveFile error
OutSaveFile was just a typedef of WriteStream once, but now it's not.
These Out*Save classes are then wrapped with OutSaveFile, so it should
be OK to derive them from WriteStream instead of OutSaveFile.
2016-08-31 12:07:53 +06:00
Alexander Tkachev aee713141b CLOUD: Make OutSaveFile start saves sync
It had to become a proxy class in order to do that.
finalize() starts the saves sync.
2016-08-24 16:07:55 +06:00
Eugene Sandulenko a4d39b2385 N64: Added pos() method to another save class 2016-08-04 13:05:15 +02:00
Eugene Sandulenko d111b16adc N64: Fix warning 2016-08-04 12:49:44 +02:00
Eugene Sandulenko eedd1286ff N64: Fix build adter WriteStream::pos() addition 2016-08-04 12:48:52 +02:00
D G Turner 27d25f6b76 N64: Add "small" virtual keyboard pack to port packaging. 2014-06-25 19:57:20 +01:00
Johannes Schickel 0960c54618 N64: Make GPL headers consistent in themselves. 2014-02-18 02:39:36 +01:00
Johannes Schickel c28f3baa77 N64: Do not access Surface::pixels anymore. 2013-08-06 03:51:12 +02:00
Eugene Sandulenko f59512c47e RECORDER: Implement Events Recorder 2013-05-17 00:18:09 +03:00
D G Turner 21a8166922 N64: Remove remaining signed-unsigned compiler warning. 2012-11-23 18:37:07 +00:00
D G Turner 61cb8648a9 N64: Fix remaining warnings associated with mouse cursor drawing. 2012-11-19 17:26:28 +00:00
D G Turner d8a17a9d91 N64: Fix compiler warnings associated with cursor size variables. 2012-11-18 22:34:15 +00:00
Filippos Karapetis 659d0cfcc3 COMMON: Also adapt openForSaving() in the DC and N64 backends 2012-06-25 22:39:28 +03:00
Johannes Schickel 9701094fcd N64: Fix check for whole width updates in copyRectToOverlay. 2012-06-20 17:21:50 +02:00
Johannes Schickel 703be9f87c N64: Replace OverlayColor with uint16. 2012-06-20 17:21:05 +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 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
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
Tarek Soliman a4798602d7 JANITORIAL: Fix missing whitespace in pointer cast
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'

This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Alyssa Milburn 5647637ea2 COMMON: Move <new> include into scummsys.h.
The header contains forbidden symbols on some platforms, and the
simplest solution seems to be to include it here. This also includes
it from all the portdefs.h files, except the Symbian one. Probably
the FIXME and the #if can be removed once it's known to work.
2011-11-17 12:46:44 +01:00
Christoph Mallon 23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
Max Horn 88913c0139 ALL: Remove trailing whitespaces
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
  git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
Max Horn 263e23bd81 N64: Add logMessage() implementation 2011-06-17 20:50:37 +02:00
Max Horn fce7f90a94 BACKENDS: Shuffle backends class hierarchy and module initialization 2011-06-08 14:29:22 +02:00
Max Horn c701bdb708 N64: Use OSystem's _fsFactory slot 2011-06-07 14:57:59 +02:00
Max Horn 9e1ed9ee6a N64: Use OSystem's 'slots' for timer/savefile manager 2011-06-07 14:57:57 +02:00
Max Horn afb06b51cc BACKENDS: Unify AudioCD manager instantiation 2011-06-06 15:02:33 +02:00
Willem Jan Palenstijn 7586b90e26 N64: Fix build error (typo) 2011-06-04 17:49:01 +02:00
Max Horn ce32745d9c BACKENDS: Replace OSystem::disableCursorPalette by setFeatureState calls 2011-06-04 11:55:56 +02:00
Max Horn 91b889e2d3 COMMON: Rename kFeatureCursorHasPalette -> kFeatureCursorPalette 2011-06-04 11:55:56 +02:00
Max Horn 9c3e2e43bd COMMON: Move some code from scummsys.h to relevant portdefs.h files 2011-05-31 13:48:03 +02:00
Max Horn c5045f6a84 N64: Fix compilation 2011-05-24 00:22:36 +02:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Max Horn 6eba8e8292 N64: Fix code formatting 2011-05-09 16:23:21 +02:00
Max Horn db82d282ea N64: Remove (u)int64 typedefs from common/scummsys.h 2011-05-09 16:23:21 +02:00
Fabio Battaglia f16311291d N64: avoid bogus events if no controller plugged
If the user has only a N64 mouse plugged in and no controllers
this avoids fake clicks.
2011-05-04 16:48:52 +02:00
Johannes Schickel 71bdb86e02 Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".
For further discussion check here:
https://github.com/scummvm/scummvm/pull/16

Conflicts:
	graphics/png.cpp
2011-05-01 16:54:45 +02:00
Ori Avtalion 4d485fc741 BACKENDS: Fix compilation for various backends
Affects:
* PS2
* GPH
* ELF
* MOTO
* IPHONE
* N64
* DINGUX
* WINCE
* PSP
2011-04-28 23:24:06 +03:00
Johannes Schickel da734a4af0 ALL/GRAPHICS: Remove Surface::bytesPerPixel. 2011-04-17 21:27:34 +02:00
Johannes Schickel 877004dbdd BACKENDS: Adapt various backends code to set up Surface::format correctly.
Note that this change is not tested at all (not even compile wise!).
2011-04-17 21:14:19 +02:00
md5 a4c05b1632 Fixed compilation of the N64 port 2011-03-19 04:01:28 +02:00