Commit graph

37 commits

Author SHA1 Message Date
Littleboy
b3d8e426c2 WII: Allow use of abort in OSystem_Wii class 2011-06-23 11:32:39 -04: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
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
Johannes Schickel
123f81f837 WII: Fix OSystem_Wii::setPalette after the ScummVM upstream merge in a024546.
I accidently removed two lines when doing the merge since I read the log
incorrectly. Thanks to dhewg for reporting this.
2011-02-16 00:52:52 +01:00
Johannes Schickel
a02454644a Merge branch 'master' into osystem-palette
Conflicts:
	backends/platform/wii/osystem_gfx.cpp
2011-02-15 23:42:50 +01:00
dhewg
50129178ef WII: Fix 16bit cursors on some HE games 2011-02-14 22:12:30 +01:00
dhewg
f850ad2ced WII: Adapt to [set|grab]Palette RGBA->RGB change. 2011-02-14 17:08:33 +01: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
Andre Heider
d1bb33fbac Round up the game texture dimensions if the requested size is incompatible to the hardware.
svn-id: r48751
2010-04-20 18:24:14 +00:00
Andre Heider
e6b835bce4 Fix lockScreen() for 16bit modes.
svn-id: r48728
2010-04-19 20:26:06 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Torbjörn Andersson
4818467908 Silenced some more cppcheck warnings. Some of these may seem silly, but the way
I figure it the changes are harmless at worst, and making them will make it
easier to find real errors in the (still quite long) list of warnings.

svn-id: r47443
2010-01-22 19:05:02 +00:00
Max Horn
8ba75fc522 Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other things)
svn-id: r44495
2009-09-30 16:16:53 +00:00
Andre Heider
d020800e57 reinit the console when changing the video mode.
svn-id: r44232
2009-09-21 20:45:21 +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
0b002beccd Support for SMB shares, cleaned up async FS functions.
svn-id: r43965
2009-09-05 17:53:55 +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
57e28df8cd Fixed thumbnail gfx glitches on savegames
svn-id: r43910
2009-09-02 16:08:01 +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
5f0e495a4a Removed unused var
svn-id: r43659
2009-08-22 17:20:55 +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
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
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Andre Heider
80e113093a increase the height of the overlay so the modern theme fits in 16:9
svn-id: r35502
2008-12-23 19:19:40 +00:00
Johannes Schickel
9b77e926db Fix for bug #2388270 "[Wii/GC] Unable to build SVN rev.35233".
svn-id: r35234
2008-12-04 11:59:30 +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
Eugene Sandulenko
5e666ef774 Patch #1971285: "Nintendo Wii port"
svn-id: r32547
2008-06-04 20:28:20 +00:00