Commit graph

116 commits

Author SHA1 Message Date
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
bd82ebd080 WINCE: Run astyle over WinCE source files. 2011-03-09 03:02:46 +01:00
Johannes Schickel
438f2b2e1b WINCE: Cleanup WinCE event source a bit. 2011-03-09 02:49:22 +01:00
Max Horn
aa452d3aeb WINCE: Make scummvm compile and run again for WinCE platform (patch #3202337) 2011-03-08 12:53:41 +01:00
Max Horn
42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Max Horn
06df4459c7 WINCE: Remove obsolete openCD method
svn-id: r54543
2010-11-28 18:18:15 +00:00
Max Horn
1d818d940a WINCE: Fix main(), update config file handling, update module.mk
The WinCE backend will require many more changes to work again after the
changes made to SDL backend. This is just a tiny first step towards this
goal.

svn-id: r54525
2010-11-28 15:44:03 +00:00
Max Horn
086fe78af1 WINCE: Enable use of forbidden symbols, cleanup
I tried to untangle the header interdependencies a bit, but this
is still quite a mess.
This commit also fixes some warnings.

svn-id: r53978
2010-10-31 17:10:45 +00:00
Thierry Crozat
7296a2d8d0 I18N: Add translation for wince specific titles for key mapping dialog
Also backport fix from branch on translation of default title for key mapping
dialog. 

svn-id: r52959
2010-09-30 18:09:01 +00:00
Torbjörn Andersson
c91a07229a JANITORIAL: Removed most punctuation at end of warning() and error()
Our warning() and error() functions always add an exclamation mark
to the end of the message anyway.

svn-id: r52791
2010-09-18 10:55:16 +00:00
Jordi Vilalta Prat
063cef0c28 GUI: Add and improve some messages to translate
svn-id: r50324
2010-06-26 15:48:03 +00:00
David Turner
4ac81f3d18 Fix for Valgrind Uninitialised Error from SDL_Event in sdl backend and derived backends.
svn-id: r49902
2010-06-16 07:22:54 +00:00
Max Horn
767edc91fa OSYSTEM: Get rid of kFeatureAutoComputeDirtyRects
svn-id: r49388
2010-06-02 00:52:57 +00:00
Andre Heider
a3e428f6db Rename DISABLE_*SCALERS to USE_*SCALERS, and move the mk/cpp defines to configure.
svn-id: r48977
2010-05-09 11:00:17 +00:00
Max Horn
9b837d66d4 Replace Audio::MixerImpl::setOutputRate with a new 'sampleRate' param to the MixerImpl constructor
svn-id: r48238
2010-03-11 23:39:51 +00:00
Max Horn
c97ee14a65 Remove last traces of OSystem::getOutputSampleRate()
svn-id: r48229
2010-03-10 21:01:44 +00:00
Robin Watts
575ddc434c Add missing include that caused build failures with Normal1xAspect and
Normal2xAspect being undefined.

svn-id: r48206
2010-03-08 22:25:38 +00:00
Max Horn
2cdf8996f3 Rename PocketPCLandscapeAspect to Normal1xAspect and move it to
graphics/scaler/aspect.cpp

svn-id: r48192
2010-03-08 10:31:42 +00:00
Max Horn
0fc137cdf2 Rename PocketPCPortrait scaler to DownscaleHorizByThreeQuarters,
and move it to graphics/scaler.

svn-id: r48191
2010-03-08 10:31:09 +00:00
Max Horn
8aa4083bc9 Modify WinCE, LinuxMoto and GP2xWiz backends to use graphics/scaler/downscaler* code (untested as of now)
svn-id: r45975
2009-11-18 15:22:15 +00:00
Max Horn
49c443149f WINCE: Formatting fixes; added a FIXME to OSystem_WINCE3::checkOggHighSampleRate
svn-id: r45788
2009-11-09 23:11:00 +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
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
Kostas Nakos
6ffa6ecccf revert previous fix
svn-id: r44438
2009-09-28 07:25:28 +00:00
Kostas Nakos
a13ba4cee7 overload newer incarnation of setmousecursor
svn-id: r44437
2009-09-28 07:21:56 +00:00
Kostas Nakos
994b74a193 1) fix scaler selection for vga games on vga (or higher) devices. 2) fix a crash during startup
svn-id: r44435
2009-09-28 07:04:29 +00:00
Robin Watts
894635e91d Attempt to fix builds that use the ARM screen column clear code; add new
bitdepth argument that was missing in ARM builds previously.

Also fix a few warnings.

Also fix the WinCE build which fails in the SDL init call with a missing
bitdepth field.

Untested at this point (build certainly gets further than before). Committing
this seems reasonable, as it can't make it any worse :)

svn-id: r43614
2009-08-21 22:29:28 +00:00
Kostas Nakos
6c54f89310 mouse up events need the same lovin' as mouse down events do. don't underestimate 'em. fixes bug #2833549
svn-id: r43102
2009-08-07 19:33:39 +00:00
Kostas Nakos
b395b1836a overload showMouse to kill mouse shadows in kyra
svn-id: r43088
2009-08-06 18:05:50 +00:00
Kostas Nakos
bcb0f07bce add bindings for cruise engine
svn-id: r43033
2009-08-04 12:02:07 +00:00
Kostas Nakos
acec9026a1 clean up and fix vga aspect scaler routines
svn-id: r43008
2009-08-02 19:50:24 +00:00
Kostas Nakos
5591bf368c rework mixer (re)init. fixes bug #2694722
svn-id: r43003
2009-08-02 17:34:57 +00:00
Robin Watts
816bd9a7ea Add ARM code version of Normal2x scaler.
Add ARM only aspect ratio correcting version of Normal2x scaler.

Make WinCE port use Normal2x by default if the screen is large enough.
Make WinCE port use aspect ratio correcting version if panel is hidden.

svn-id: r42843
2009-07-27 16:29:36 +00:00
Robin Watts
caae53a25a New ARM code blending Smartphone landscale scaler for WinCE port. Seems to work
in my mockup - I don't have a smartphone resolution device to test it.

svn-id: r42516
2009-07-15 20:51:31 +00:00
Kostas Nakos
b0b12b60ed oops, fix props
svn-id: r42421
2009-07-12 16:40:10 +00:00
Kostas Nakos
d6fb5bb922 Apply patch 2802544: WINCE: Implement OSystem::engineInit to remove hack
svn-id: r42419
2009-07-12 15:59:27 +00:00
Max Horn
bb28ed7b7a Changed OSystem::setWindowCaption to expect ISO LATIN 1 encoded input;
also intentionally broke WinCE and Symbian ports (in an obvious way that
can be undo by commenting out some text) -- hopefully this will get the
maintainers' attention during the next release cycle, unlike my emails

svn-id: r41932
2009-06-28 19:58:11 +00:00
Johannes Schickel
b3c6751b9b Strip trailing whitespaces in the whole code base.
svn-id: r40867
2009-05-24 15:17:42 +00:00
Filippos Karapetis
968aec7627 Synced WinCE SDL backend with the changes in commit #40226. Hopefully, this will fix bug #2790461 - "WINCE: Compilation broken"
svn-id: r40475
2009-05-12 08:27:06 +00:00
Kostas Nakos
f78d6b2fae add support for tinsel engine (off by default for the time being)
svn-id: r39061
2009-03-01 22:35:14 +00:00
Kostas Nakos
c7d7ce8888 better detection of aspect-scalable resolutions
svn-id: r39059
2009-03-01 22:13:48 +00:00
Kostas Nakos
1761e6bc99 modified patch in bug #2644574: fix build
svn-id: r39043
2009-03-01 17:45:57 +00:00
Kostas Nakos
798a795b5e proper fix for random crashes with vga devices
svn-id: r38726
2009-02-21 19:01:34 +00:00
Kostas Nakos
1bd700b51e fix random crashes on vga devices when using exotic scalers
svn-id: r38352
2009-02-16 07:27:04 +00:00
Kostas Nakos
493eb0c5a4 apply patch by Fingolfin to optimize scalers + more
svn-id: r36338
2009-02-14 19:42:18 +00:00
Kostas Nakos
7acb4f01ac update to newer overlay interface
svn-id: r36336
2009-02-14 18:59:46 +00:00
Max Horn
de8fa39b25 Fix for bug #2548995: AmigaOS4: Compiler error (and taking care of some potential errors in WinCE & GP2x, too)
svn-id: r36146
2009-01-30 14:26:34 +00:00
Max Horn
8f16458e9b Renamed FSNode::openForReading / openForWriting to createReadStream / createWriteStream, again to make ownership of the returned stream clear
svn-id: r36014
2009-01-23 03:41:36 +00:00
Max Horn
e4b013f616 Renamed OSystem::openConfigFileForReading & openConfigFileForWriting to createConfigReadStream & createConfigWriteStream, in order to make it clear that the *caller* is responsible for deleting the streams (i.e., 'owns' them)
svn-id: r36013
2009-01-23 03:30:40 +00:00
Kostas Nakos
5ac9de0938 had forgotten the case of a rect being partially off the top of the screen (and not the bottom at the same time). fixes bug #2470228
svn-id: r35733
2009-01-04 20:37:24 +00:00