Max Horn
fb11e79387
Replaced global revBitMask array with a macro
...
svn-id: r18104
2005-05-15 10:40:28 +00:00
Max Horn
e5bbfe8df9
Renamed costume scale tables; merged the old costume renderer's scale table with the small scale AKOS scale table (they were identical)
...
svn-id: r18103
2005-05-15 10:02:13 +00:00
Eugene Sandulenko
3588b96d4f
Added --disable-hq and --disable-scumm-7-8 options. Also improved
...
DISABLE_HE so more HE-specific code gets excluded.
svn-id: r18099
2005-05-14 22:56:41 +00:00
Robert Göffringmann
c4e258ed21
fixed time().
...
svn-id: r18083
2005-05-13 19:51:12 +00:00
Robert Göffringmann
d0fabce0ad
some ps2 changes...
...
svn-id: r18046
2005-05-11 07:31:44 +00:00
Max Horn
72f4c03b0b
Moved (In/Out)SaveFile(Manager) and Timer to namespace Common
...
svn-id: r18038
2005-05-10 23:17:38 +00:00
Eugene Sandulenko
169ff06f09
Proper #include directive.
...
svn-id: r18022
2005-05-10 02:30:19 +00:00
Eugene Sandulenko
df7e6104b6
Last bit of AmigaOS4 patch. Apparently this was missed by mistake.
...
svn-id: r18018
2005-05-10 00:58:08 +00:00
Max Horn
52bbc86797
Patch #1181544 (AmigaOS 4 changes)
...
svn-id: r18011
2005-05-09 21:21:21 +00:00
Max Horn
99b9c27f99
Why not fix the warning if you encounter it? :-)
...
svn-id: r17994
2005-05-09 08:47:09 +00:00
Max Horn
013e30eb38
Added two new methods to OSystem: grabPalette and grabRawScreen
...
svn-id: r17974
2005-05-08 21:39:05 +00:00
Max Horn
d04492a05a
Allocate all 16bit surfaces with the same bitformat as the HW surface (Fixes bug #1196374 )
...
svn-id: r17929
2005-05-06 10:07:33 +00:00
Max Horn
28e40b33a7
Add a comment regarding use of CoreAudio/AudioUnits v1 API
...
svn-id: r17916
2005-05-05 11:57:52 +00:00
Robert Göffringmann
4120ae9921
various PS2 system changes
...
svn-id: r17912
2005-05-05 03:06:32 +00:00
Marcus Comstedt
38c9a40c22
Dispense with the filename field of InVMSaves.
...
svn-id: r17911
2005-05-04 23:38:07 +00:00
Marcus Comstedt
fc25ef24b0
Cleanup of the cleanup code. :-)
...
svn-id: r17910
2005-05-04 23:34:26 +00:00
Marcus Comstedt
5b56b5ac01
Split VMSave into InVMSave and OutVMSave.
...
svn-id: r17909
2005-05-04 23:24:03 +00:00
Torbjörn Andersson
777618ddf9
Always check for _numDirtyRects overflow in addDirtyRect(). The 'mouseRect'
...
case didn't. This fixes bug #1193344 .
svn-id: r17888
2005-05-01 17:39:38 +00:00
Marcus Comstedt
925c69797d
Slightly more elegant LauncherDialog connector.
...
svn-id: r17844
2005-04-27 21:58:21 +00:00
Marcus Comstedt
f95e696034
Added eos() method.
...
svn-id: r17843
2005-04-27 21:57:13 +00:00
Torbjörn Andersson
6fb944befd
Call blitCursor() when changing scaler to give it the opportunity to switch
...
between blurry and non-blurry cursor scaling, even if the scale factor
remains unchanged.
svn-id: r17841
2005-04-27 14:47:19 +00:00
Max Horn
8fddaada1d
Simplified debuglevel handling:
...
- it's only honored in the global level of the config file
- all checks for it go through gDebugLevel now, which is made global
- the '-d' switch is handled in a slightly saner and consistent way
- removed 'debuglevel' from the config format documentation; we do
not want to encourage the avarage user to use it
svn-id: r17769
2005-04-23 13:52:27 +00:00
Max Horn
86752763c8
add a comment regarding an odd hack
...
svn-id: r17758
2005-04-22 21:30:07 +00:00
Max Horn
3f08f0bfb2
Fix bug 1184616 (GUI: Mouse drawn at wrong position in overlay mode)
...
svn-id: r17709
2005-04-20 09:32:22 +00:00
Max Horn
901e76ea83
Cleanup / comments
...
svn-id: r17708
2005-04-20 09:24:29 +00:00
Max Horn
25d56525c8
Replace OSystem::hasAlpha with a feature flag
...
svn-id: r17695
2005-04-19 20:35:48 +00:00
Max Horn
2cfb9322e2
Added new (optional) OSystem::initBackend() method; this (and its usage) fixes bugs #1160977 and #1184664
...
svn-id: r17694
2005-04-19 20:22:50 +00:00
Torbjörn Andersson
d85f6d1688
More whitespace.
...
svn-id: r17691
2005-04-19 12:43:54 +00:00
Torbjörn Andersson
35c675e2d2
Whitespace
...
svn-id: r17690
2005-04-19 12:22:50 +00:00
Max Horn
3ea96a13a0
If we don't want to use reverb, then at least disable it properly, not via a bad hack
...
svn-id: r17671
2005-04-18 18:02:07 +00:00
Torbjörn Andersson
ed2ed47701
Braces for clarity, even though it *is* well-defined which 'if' the 'else'
...
belongs to.
svn-id: r17670
2005-04-18 15:33:02 +00:00
Max Horn
839c8add38
Get rid of errno; add some (optional) error checking facilities to SaveFile classes (they are ugly, and to simple, but better than nothing)
...
svn-id: r17589
2005-04-13 18:36:55 +00:00
Max Horn
14adfd3cac
Typo
...
svn-id: r17547
2005-04-11 18:42:57 +00:00
Eugene Sandulenko
4c4af584a0
Enable 2x overlay in MM NES
...
svn-id: r17540
2005-04-11 12:57:41 +00:00
Nicolas Bacca
f4262a1bbb
Gobliiins tweaks
...
svn-id: r17528
2005-04-10 21:11:02 +00:00
Max Horn
e79c168d35
split SaveFileManager::openSavefile and class SaveFile into two, each, one for loading and one for saving
...
svn-id: r17517
2005-04-10 15:13:40 +00:00
Torbjörn Andersson
13dc149ded
Applied patch #1175374 ("FluidSynth MIDI driver"), with a few documentation
...
changes. There are a few things that could use a bit more work, and I've
only tested it on my Linux box. I have verified that ScummVM still compiles
when it's disabled, though, so it shouldn't break anything too badly.
svn-id: r17512
2005-04-10 14:33:44 +00:00
Max Horn
3aba4997f4
Moved the GFX_ constants to sdl-common.h, where they belong.
...
svn-id: r17479
2005-04-09 13:31:47 +00:00
Jonathan Gray
24c92d0091
Remove usage of vsprintf in favour of vsnprintf and make
...
more use of STRINGBUFLEN. Some ports may need a new stub for
this, discussed with Chrilith.
svn-id: r17463
2005-04-09 01:52:44 +00:00
Marcus Comstedt
e62d6773ef
Added mouse wheel support.
...
svn-id: r17360
2005-04-03 21:41:39 +00:00
Marcus Comstedt
4187ed3e11
Oops, cleared too large memory region...
...
svn-id: r17356
2005-04-03 20:45:26 +00:00
Marcus Comstedt
167badf727
Switch overlay mode to ARGB4444.
...
svn-id: r17355
2005-04-03 19:42:02 +00:00
Marcus Comstedt
8fe07f1f3e
Added new cursorTargetScale parameter to setMouseCursor().
...
svn-id: r17352
2005-04-03 18:02:27 +00:00
Marcus Comstedt
17aa2d6dfd
SaveFile stuff now resides in <common/savefile.h>.
...
svn-id: r17351
2005-04-03 18:00:13 +00:00
Marcus Comstedt
c734fc5b5c
Until there is a proper way of communicating pixel format, declare ugly global variable...
...
svn-id: r17334
2005-04-02 15:45:50 +00:00
Robert Göffringmann
65596240d7
ps2: clip coordinates in copyRectToScreen, necessary for The Dig
...
svn-id: r17318
2005-04-01 03:00:51 +00:00
Eugene Sandulenko
0fa38d12e1
Fix bug #1173422 "Slight mouse cursor regression"
...
svn-id: r17309
2005-03-31 14:36:42 +00:00
Robert Göffringmann
861cdd9db2
fixed headers. -_-
...
svn-id: r17306
2005-03-31 07:50:33 +00:00
Robert Göffringmann
bd81feb996
Playstation2 Port: initial import
...
svn-id: r17305
2005-03-31 05:35:04 +00:00
Nicolas Bacca
20f8403742
Update for 0.7.1
...
svn-id: r17250
2005-03-26 14:35:39 +00:00
Nicolas Bacca
06ed39e031
Add Insane Cheat action
...
svn-id: r17243
2005-03-26 13:29:04 +00:00
Nicolas Bacca
5a7c9f7d74
Tweak WinCE timer re-entry workaround to play Insane sequences
...
svn-id: r17242
2005-03-26 13:24:53 +00:00
Nicolas Bacca
61aab60064
Should fix key mapping issues
...
svn-id: r17238
2005-03-26 09:04:33 +00:00
Eugene Sandulenko
9880288669
Fix bug #1166279 "BS1 & BS2: Launching game problems".
...
svn-id: r17187
2005-03-20 16:16:09 +00:00
Torbjörn Andersson
4c3d302e19
If a game is scaled with the 2x or 3x scaler, use the same scaler on the
...
cursor as well. It looks strange if the game is blocky and the cursor is
smooth.
svn-id: r17173
2005-03-17 09:49:22 +00:00
Nicolas Bacca
d99d4d09f2
Weird ... but fixes the second (and hopefully last) crash
...
svn-id: r17168
2005-03-16 22:58:42 +00:00
Nicolas Bacca
a7d2552cfd
Fix head first crash. Virtual functions + one parameter added == fun :p
...
svn-id: r17167
2005-03-16 22:27:11 +00:00
Paweł Kołodziejski
009cc66a24
fixed compilation for for overlay SDL latest changes, and formating code.
...
Wince SDL port is currently broken, it crash at NULL _screen pointer while locking SDL surface inside OSystem_SDL::clearScreen() func
svn-id: r17152
2005-03-15 09:43:38 +00:00
Max Horn
4daf4c47b8
Fix method names to comply to our coding standards
...
svn-id: r17134
2005-03-14 08:24:39 +00:00
Max Horn
6f7315d950
Add some paranoia checks
...
svn-id: r17101
2005-03-12 16:32:32 +00:00
Chris Apers
fc12034396
Better and faster macros
...
svn-id: r17072
2005-03-11 10:19:14 +00:00
Eugene Sandulenko
cc2c2dd931
Fix bug #1160454 "ALL: Failed assertion when using 1x scaler"
...
svn-id: r17066
2005-03-10 15:59:31 +00:00
Torbjörn Andersson
0641b05f0c
Initialize some overlay-related variables, just to be safe.
...
svn-id: r17065
2005-03-10 15:43:08 +00:00
Eugene Sandulenko
7bb53f3bf1
Patch #1013937 "OSystem layer with bigger resolution". Now you will always
...
get at least 640x400 window. And finally we have means of implementing
nice looking GUI.
Also updated all backends. If your backend has ability to run with 640x400 or
640x480 resolution then read patch tracker item to find out details. Other
port maintainers shouldn't worry, as this patch doesn't affect them, they
still get their 320x200.
svn-id: r17055
2005-03-09 23:07:32 +00:00
Eugene Sandulenko
b72df416a6
WIP of GP32 port. Now it is more correct port and compiles with current
...
CVS. Though it has some issues unresolved, one of them is that it crashes
right after splash screen without showing anything. Work in progress :)
svn-id: r17054
2005-03-09 22:21:57 +00:00
Paweł Kołodziejski
6746d89df5
ops
...
svn-id: r16918
2005-02-25 20:16:25 +00:00
Paweł Kołodziejski
531ca37040
fixed compilation
...
svn-id: r16916
2005-02-25 20:12:25 +00:00
Eugene Sandulenko
0835583948
Implementation of GFX transactions. May cause some regressions in case I
...
missed some unusual mode switching. This implementation let us avoid two nasty
hacks in scumm.cpp.
*Now* we could return to OSystem layers.
patch.
svn-id: r16855
2005-02-22 01:29:27 +00:00
Torbjörn Andersson
b1039bb59e
Fixed warning, hopefully without breaking anything. (GCC doesn't like
...
casting from "const char *" to "char *".)
svn-id: r16826
2005-02-20 15:33:14 +00:00
Eugene Sandulenko
f420dd3b78
Implement OSystem method disableCursorPalette(bool disable) as mentioned
...
in patch #1013937 (OSystem layer with bigger resolution).
svn-id: r16820
2005-02-20 02:04:45 +00:00
Paweł Kołodziejski
3184c2de34
compatibility for emsvc
...
svn-id: r16815
2005-02-19 16:04:03 +00:00
Paweł Kołodziejski
e2753574ac
compatibility fixes for wince
...
svn-id: r16814
2005-02-19 16:00:22 +00:00
Eugene Sandulenko
ae6f40ebb6
Make cursor code more bulletproof
...
svn-id: r16809
2005-02-19 00:24:48 +00:00
Eugene Sandulenko
78ee0bfdaf
Mouse part of big patch #1013937 (OSystem layer with bigger resolution)
...
svn-id: r16800
2005-02-17 23:01:00 +00:00
Joost Peters
a13e8a98ff
spelling
...
svn-id: r16762
2005-02-09 12:17:34 +00:00
Torbjörn Andersson
d6be4f03a7
Added getNodeForPath() so I can compile ScummVM with MinGW again. Since I
...
don't know where it's used, I'm not sure if it works correctly.
svn-id: r16752
2005-02-07 14:25:04 +00:00
Max Horn
a1b058897d
Remove the OSX-restriction on FilesystemNode::getNodeForPath() for now (I don't like it, but until a proper solution is in place, it seems to be the best thing to do)
...
svn-id: r16743
2005-02-06 18:37:23 +00:00
Nicolas Bacca
bf55edd72a
Update to latest branch fixes
...
svn-id: r16683
2005-01-28 23:45:53 +00:00
Nicolas Bacca
c62d82450b
Add isalnum for HPC compiler
...
svn-id: r16678
2005-01-28 20:49:41 +00:00
Paweł Kołodziejski
dd2f9da1a8
fix compilation
...
svn-id: r16651
2005-01-27 21:34:21 +00:00
Max Horn
f1026ce3eb
Partial fix for bug #1100125
...
svn-id: r16544
2005-01-11 20:40:10 +00:00
Torbjörn Andersson
4dda4eb31b
On Fingolfin's suggestion I put back the inclusion of util.h into Rect, for
...
MIN() and MAX(). I then removed util.h from a bunch of files which I don't
think need it any more. (Please let me know if I got too blood-thirsty!)
This reverts some of the changes I made this morning.
svn-id: r16541
2005-01-11 13:25:02 +00:00
Max Horn
5c48717dd2
Remove some more header dependencies
...
svn-id: r16530
2005-01-10 22:35:43 +00:00
Max Horn
0423866e0a
Ensure these headers match the rest of ScummVM
...
svn-id: r16505
2005-01-09 16:07:53 +00:00
Marcus Comstedt
f74fce354f
Access timer.
...
svn-id: r16481
2005-01-07 21:56:10 +00:00
Max Horn
c6e0d31e76
Added a font manager (work in progress)
...
svn-id: r16460
2005-01-06 21:15:52 +00:00
Nicolas Bacca
434d59a5d6
Fix uninitialized variable, fixes Hide Toolbar random failures - thanks iKi
...
svn-id: r16429
2005-01-04 23:00:03 +00:00
Nicolas Bacca
7b268f7d47
Fix yet another copy&paste mistake from 0.6.1b
...
svn-id: r16428
2005-01-04 22:55:37 +00:00
Max Horn
47280d9433
Updated copyright
...
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
92a43e14a0
silly me, shouldn't test a variable which wasn't even set <sigh>
...
svn-id: r16385
2004-12-30 14:53:17 +00:00
Max Horn
989ae40402
Swallow ctrl-alt keyup events, too
...
svn-id: r16384
2004-12-30 14:48:21 +00:00
Max Horn
246f14bb40
set key modifiers for keyup events, too; use SDL_GetModState to determine mod flags, so that the modifier flags get set if e.g. the shift key is pressed alone
...
svn-id: r16381
2004-12-30 14:11:00 +00:00
Max Horn
e9f1ff4d08
Reduce potential loss of precision if SysTicksPerSecond does not divide 1000
...
svn-id: r16342
2004-12-27 17:30:08 +00:00
Max Horn
fec3df2096
Moved the softsynth midi drivers into a sound/softsynth; amongst other things, this fixes bug #1083058
...
svn-id: r16316
2004-12-25 18:34:44 +00:00
Nicolas Bacca
b4e9a4b92f
Add Zone key support for Smartphones. Last commit for today
...
svn-id: r16266
2004-12-23 01:15:27 +00:00
Nicolas Bacca
f3c60df7ad
Update CE specific FAQ
...
svn-id: r16248
2004-12-21 23:59:51 +00:00
Nicolas Bacca
22aac69fe5
Cleanup mouseclick emulation (and make the new about dialog happy)
...
svn-id: r16222
2004-12-21 00:31:58 +00:00
Nicolas Bacca
38c1b61759
Fix assert
...
svn-id: r16216
2004-12-20 23:52:51 +00:00
Nicolas Bacca
347815cdae
Re-add Smartphone support (sorry for the year lag :p)
...
svn-id: r16215
2004-12-20 23:52:16 +00:00
Chris Apers
b33e42f704
Ooops
...
svn-id: r16189
2004-12-20 19:22:59 +00:00