Johannes Schickel
092d36f392
SDL: Reduce code duplication a bit.
...
Now instead of initializing this in OSystem_SDL::initSDL (and in subclasses
overwriting this) we simply initialize it in OSystem_SDL::init.
2013-10-23 22:59:13 +02:00
Johannes Schickel
1a56b521b5
SDL: Always initialize video subsystem in initSDL.
2013-10-23 22:58:38 +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
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
CeRiAl
a97cd0077f
WINCE: Add workaround for memory management problem on Windows CE < 6.0
...
This fixes the "32MB memory limit per process" problem in Windows CE < 6.0
2011-10-18 13:10:20 +02:00
CeRiAl
822a2ef3dc
WINCE: Move initialization of TimerManager to overloaded init() method.
2011-07-20 02:14:34 +02:00
CeRiAl
f300c172f0
WINCE: Fix timer manager
2011-06-26 03:44:56 +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
CeRiAl
2ff4380c55
WINCE: Add support for language auto-detection in WinCE
2011-06-14 22:42:16 +02:00
CeRiAl
781132aabc
WINCE: Some cleanup (public vs. private scopes), fix freelook
2011-06-11 23:29:52 +02:00
Max Horn
c74c8a59d9
WINCE: Use OSystem's _fsFactory slot
2011-06-07 14:57:59 +02:00
Max Horn
1fafb97d01
WINCE: Remove dead code
2011-06-07 14:57:59 +02:00
Max Horn
4ebe2065b6
WINCE: Add FIXME for timer code (maintainer notified)
2011-06-07 14:57:58 +02:00
CeRiAl
6db6d69eed
WINCE: Enable building of plugins with normal configure/make
...
Enables building of plugin .dlls without a custom Makefile.
Also removes generation of scummvm.exe.map from configure script.
2011-05-18 06:04:23 +08:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +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
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