Commit Graph

1168 Commits

Author SHA1 Message Date
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