Commit graph

43 commits

Author SHA1 Message Date
Johannes Schickel
3b73ceb17e WII: Make GPL headers consistent in themselves. 2014-02-18 02:39:40 +01:00
Eugene Sandulenko
f59512c47e RECORDER: Implement Events Recorder 2013-05-17 00:18:09 +03:00
dhewg
5636c1fee0 WII: Adapt to mouse cursor dontScale API change 2012-07-21 16:22:05 +02:00
Johannes Schickel
6792f4450b WII: Replace OverlayColor with uint16. 2012-06-20 17:14:51 +02: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
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
Max Horn
50896e6029 WII: 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
ff2ada1a05 WII: Use OSystem's 'slots' for timer/savefile manager 2011-06-07 14:57:57 +02:00
Max Horn
ce32745d9c BACKENDS: Replace OSystem::disableCursorPalette by setFeatureState calls 2011-06-04 11:55:56 +02:00
Max Horn
81ff18b0b7 WII: Fix various forbidden symbol clashes 2011-05-03 12:52:28 +02:00
Ori Avtalion
3f7d45770e WII: Fix compilation 2011-04-28 19:52:23 +03:00
Max Horn
42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Max Horn
ab039812e7 COMMON: OSystem now has a PaletteManager
svn-id: r55806
2011-02-07 17:52:38 +00:00
Jordi Vilalta Prat
0fc6a9bb45 WII: Add system language auto-detection.
svn-id: r54697
2010-12-01 12:23:37 +00:00
Andre Heider
2f3edeedc9 WII: Abuse pollEvent() to update the screen of skipped frames.
updateScreen() itself skips redraws when called too frequently. With
the right timing and number of consecutive calls this can result in
missing gfx updates, so lets abuse pollEvent() to check for overdue
redraws.

svn-id: r52456
2010-08-30 16:52:23 +00:00
Andre Heider
c58e2707ff WII: Update port for the current versions of the base libraries. Enable DVD access for the GameCube port.
svn-id: r52074
2010-08-14 00:56:12 +00:00
Max Horn
703f0ca29c SYSTEM: Unify OSystem::getSupportedFormats() signature
svn-id: r49838
2010-06-15 12:21:08 +00:00
Max Horn
42120ed626 Introduce a new struct TimeDate, replacing struct tm in client code. May lead to compilation issues in ports, which should be trivial to fix, though
svn-id: r44793
2009-10-08 19:41:38 +00:00
Andre Heider
ab6caf1df6 New "Input" tab for the options dialog to set pad sensitivity and acceleration.
svn-id: r44205
2009-09-20 12:53:32 +00:00
Andre Heider
3e24220a19 Moved the Wii gfx code to its own library. Added a onscreen console for stdout/err, toggable via pad keys.
svn-id: r44189
2009-09-18 18:56:16 +00:00
Andre Heider
9aa7546a34 Removed AA modes in favor of bilinear texture filtering, which gives much better results. Renamed a few types and enums to make it clear what they're for.
svn-id: r43919
2009-09-03 17:52:38 +00:00
Andre Heider
cf112f9a43 Added an options dialog for some Wii specific settings.
svn-id: r43892
2009-09-01 19:33:47 +00:00
Andre Heider
7d71fbeea2 Complete GFX rewrite with new features:
- Standard and Dual-strike (240p) video modes, both with or without AA
- Distinct textures for the overlay, game buffer and the cursor
- Support for HW paletted textures
- Less pixel buffer conversions
- Cursor scaling
- Support for kFeatureAspectRatioCorrection and kFeatureOverlaySupportsAlpha

svn-id: r43830
2009-08-30 17:01:03 +00:00
Andre Heider
5b2a1a7662 16bit support for the Wii port
svn-id: r43631
2009-08-22 08:49:23 +00:00
Andre Heider
d6f3e28c2d Fixed OSystem_Wii for the 16bit API changes
svn-id: r43605
2009-08-21 18:53:28 +00:00
Andre Heider
317de0f484 Fix some warnings in the Wii backend.
svn-id: r39570
2009-03-20 19:02:32 +00:00
Andre Heider
4b31a6cd63 moved the supported graphics modes to a static array.
svn-id: r38261
2009-02-15 15:43:39 +00:00
Andre Heider
b882723f20 moved the keyboard event thread to libwiikeyboard.
svn-id: r38258
2009-02-15 15:28:05 +00:00
Andre Heider
c228259fff added USB keyboard support
svn-id: r36337
2009-02-14 19:12:01 +00:00
Max Horn
c69ebfd798 Moved default implementations for various OSystem methods into a new class BaseBackend
svn-id: r36135
2009-01-30 03:35:47 +00:00
Jordi Vilalta Prat
2859b65ce2 Fix the compilation of the Wii port
svn-id: r36004
2009-01-22 22:29:14 +00:00
Andre Heider
57d118e930 Added ISO9660/Joliet DVD support
svn-id: r35930
2009-01-19 23:57:49 +00:00
Andre Heider
57e6cb4c8a Makefile cleanup with additional comments. Added DEBUG_WII_MEMSTATS for memory statistics and splitted existing DEBUG_* tunables.
svn-id: r35920
2009-01-19 15:11:18 +00:00
Max Horn
edf9f24926 Got rid of OSystem::colorToRGB and RGBToColor; added implementations for OSystem::getOverlayFormat to several ports (pending testing by the porters)
svn-id: r34912
2008-11-06 15:02:50 +00:00
Max Horn
f238a12b27 Got rid of OSystem::ARGBToColor and colorToARGB
svn-id: r34911
2008-11-06 14:27:13 +00:00
Andre Heider
15ca970498 video mode polishing:
* proper fullscreen video mode
* multiple graphic modes with different overscan values
* "fullscreen mode" stretches the picture on 16:9 displays
* fixed broken sword 1/2 gfx garbage
* support for setShakePos()

svn-id: r33787
2008-08-11 22:43:00 +00:00
Andre Heider
f098b2817f Updates to the recent OSystem API changes
svn-id: r33719
2008-08-09 18:37:18 +00:00
Andre Heider
95ca13246e adjustments to the recent mixer api changes
svn-id: r32924
2008-07-06 12:04:19 +00:00
Andre Heider
1217f0a42b added support for reset and power buttons
svn-id: r32593
2008-06-07 15:37:17 +00:00
Eugene Sandulenko
5e666ef774 Patch #1971285: "Nintendo Wii port"
svn-id: r32547
2008-06-04 20:28:20 +00:00