Torbjörn Andersson
65585f6433
Silenced some harmless cppcheck warnings about unreachable code after a return.
...
In this case, it was always a break after a return in a switch case. There are
similar cases which cppcheck didn't detect, and a couple of cases where we have
a break after a continue in a switch case (where the continue refers to an
outer loop), but I didn't touch those. Not yet, at least.
svn-id: r48218
2010-03-10 06:39:23 +00:00
Max Horn
fc50408ce3
DRASCULA: Simplify playFLI and its subroutines
...
svn-id: r48217
2010-03-09 23:36:18 +00:00
Max Horn
c6f752ce30
DRASCULA: Simplified some code, cleanup
...
svn-id: r48216
2010-03-09 23:35:56 +00:00
Max Horn
da81c58af1
DRASCULA: Some cleanup; turn some global C++ objects into members of DrasculaEngine
...
svn-id: r48215
2010-03-09 23:35:30 +00:00
Torbjörn Andersson
d9c4ee9376
Initialise 'releaseAdd' to avoid a Valgrind warning in Write20() when the
...
emulator is initialised.
svn-id: r48214
2010-03-09 05:03:38 +00:00
Robin Watts
99e032e954
Fix missing definition of gBitFormat.
...
svn-id: r48213
2010-03-09 01:20:23 +00:00
Johannes Schickel
3eab993d03
Only use CXX_UPDATE_DEP_FLAG for .S file rule, in case it is defined. (Thus matching the .cpp etc. file rules).
...
svn-id: r48210
2010-03-09 00:45:24 +00:00
Robin Watts
b84beeb602
Add missing MKDIR command. This was upsetting the WinCE build.
...
I can't see how this should upset any other build, and every other rule
seems to have this (or a variant of this) anyway, so...
svn-id: r48209
2010-03-09 00:43:31 +00:00
Johannes Schickel
6dacac2187
Conistenlty use USE_NASM instead of using HAVE_NASM in config.mk (this matches all the external library use too).
...
svn-id: r48208
2010-03-08 23:56:59 +00:00
Max Horn
bc2b90f43b
Workaround for bug #1878514 : COMI: Glitch when turning pages in recipe book
...
svn-id: r48207
2010-03-08 23:36:59 +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
Robin Watts
9bf5bbf9bf
Move gBitFormat definition so it works in both sizes of an ifdef.
...
svn-id: r48205
2010-03-08 22:14:57 +00:00
Max Horn
3366a19c37
Fix bug #2872076 (MIXER: Division by 0 in rate conversion if w/o soundcd)
...
svn-id: r48203
2010-03-08 21:54:32 +00:00
Max Horn
38bf3d0d3c
SCI: Make EngineState parameter to INV_SEL explicit
...
svn-id: r48202
2010-03-08 21:54:07 +00:00
Lars Persson
688288ec7d
Re-enable the arm asm costume drawer
...
svn-id: r48201
2010-03-08 21:33:23 +00:00
Max Horn
5e8743d0d6
SCI: Made some stuff static
...
svn-id: r48199
2010-03-08 20:12:17 +00:00
Max Horn
c554c8541e
WINCE: Rewrote SmartphoneLandscape scaler C version to match what the ARM assembler version does (untested)
...
svn-id: r48198
2010-03-08 20:11:44 +00:00
Johannes Schickel
56bd4a6e18
Use a template for hq2x and hq3x instead of using #include and defines.
...
svn-id: r48197
2010-03-08 19:16:50 +00:00
Johannes Schickel
807f0223d7
Fix compilation.
...
svn-id: r48196
2010-03-08 19:07:31 +00:00
Max Horn
e90f074177
Add new aspect ratio scaler variant, based on the Normal2xAspect ARM code
...
svn-id: r48195
2010-03-08 10:32:45 +00:00
Max Horn
706769a3dc
Rewrite Normal1xAspect (untested, may be broken)
...
svn-id: r48194
2010-03-08 10:32:28 +00:00
Max Horn
569273040e
Remove redundant code
...
svn-id: r48193
2010-03-08 10:32:05 +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
deec3408a1
Move some var declarations into '#ifdef USE_NASM'
...
svn-id: r48190
2010-03-08 10:30:39 +00:00
Max Horn
a558e60fec
SCALERS: Get rid of MAKE_WRAPPER; make RGBtoYUV internal
...
svn-id: r48189
2010-03-08 10:30:23 +00:00
Max Horn
78b6bed8db
Code formatting
...
svn-id: r48188
2010-03-08 10:29:52 +00:00
Max Horn
d239d5c2f8
SCALERS: Change 'bitformat' template params to 'colormasks';
...
get rid of some #defines
svn-id: r48187
2010-03-08 10:29:35 +00:00
Max Horn
28c6c600d4
Move some aspect ratio related stuff to graphics/scaler/aspect.h
...
svn-id: r48186
2010-03-08 10:29:00 +00:00
Max Horn
9fb27a26f8
Remove unnecessary #includes
...
svn-id: r48185
2010-03-08 10:28:14 +00:00
Max Horn
f24cc1c8be
Tweak makeVOCDiskStream
...
* now takes a SeekableReadStream *pointer* like (almost) all other
audiostream factories
* fix potential memory leak in it
* rename takeOwnershipOfStream to disposeAfterUse for consistency
svn-id: r48184
2010-03-08 10:27:42 +00:00
Johannes Schickel
50116130ef
Show an error message in case multiple OPL outputs are created instead of using an assert.
...
The new DBOPL emulator we are using should support multiple instances though. We *might*
consider allowing as many instances as the user wants. Of course since the original
games only had one OPL chip available, that should not be required. Also just in case
we might allow real hardware as playback device that would be out of the question again
too.
svn-id: r48183
2010-03-08 00:54:05 +00:00
Johannes Schickel
b8901a4741
Add a slight comment when the DBOPL sources where synched with DOSBox.
...
svn-id: r48182
2010-03-08 00:34:53 +00:00
Johannes Schickel
e941780d39
Use memset instead of a custom loop for zeroing the sample buffer.
...
svn-id: r48181
2010-03-08 00:34:29 +00:00
Johannes Schickel
f67f7d36f1
Cleanup.
...
svn-id: r48180
2010-03-08 00:34:01 +00:00
Johannes Schickel
f7b1faedc2
Switch to the other DOSBox OPL emulator as suggested by the DOSBox developers.
...
svn-id: r48179
2010-03-08 00:33:36 +00:00
Eugene Sandulenko
4dafbcd924
And this is 1.2.0svn now
...
svn-id: r48178
2010-03-07 23:07:32 +00:00
Travis Howell
0e41ec67d1
Exclude font data tables for The Feeble Files, when AGOS2 games are disabled.
...
svn-id: r48174
2010-03-07 11:46:03 +00:00
Travis Howell
e7765c983a
Add font data for Polish Windows 4CD version of The Feeble Files.
...
svn-id: r48173
2010-03-07 09:22:19 +00:00
Paul Gilbert
7f57001e17
Split up the scene.cpp file into separate files for M4 and MADS specific scene code and support classes. Also have started adding code for textual display and proper current action display
...
svn-id: r48172
2010-03-07 05:06:58 +00:00
Arnaud Boutonné
a5a8b6c19f
- Reorder detection (floppy, CD, demos).
...
- Move Gob3CD _doSubtitles initialization to updateConfig().
svn-id: r48171
2010-03-06 22:40:55 +00:00
Fabio Battaglia
5f6e0c3e94
N64: Use mips timer to partially simulate an RTC for the n64 port
...
svn-id: r48170
2010-03-06 13:49:20 +00:00
Fabio Battaglia
4f74853f93
N64: Reduce N64 mouse sensibility a bit
...
svn-id: r48169
2010-03-06 12:59:19 +00:00
Arnaud Boutonné
cb71fd7240
Playtoons - Add MD5s specified by scoriae in the forums
...
svn-id: r48168
2010-03-06 09:46:42 +00:00
Arnaud Boutonné
e011df1f68
Gob3CD - Move subtitle check to initialization
...
svn-id: r48167
2010-03-06 09:37:03 +00:00
Arnaud Boutonné
e869b5c7e6
Gob3 CD - some texts are skipped in the CD version because they are considered as subtitles. Even if this behavior is also found in the original, it's incorrect. This fixes those texts (see newspaper after death level).
...
svn-id: r48166
2010-03-06 00:35:27 +00:00
Fabio Battaglia
5cf998eab3
SCI: Add detection entry for Space Quest 5 french found in Space Quest Collector's edition
...
svn-id: r48165
2010-03-05 23:35:28 +00:00
Arnaud Boutonné
724e9a0ceb
Add detection for Playtoons 3 EN, based on Hkz MD5s
...
svn-id: r48164
2010-03-05 15:52:51 +00:00
Max Horn
902dc6929a
Patch #2963270 : MM: V0 Verb Give Fix
...
svn-id: r48163
2010-03-05 00:58:29 +00:00
Johannes Schickel
ef70f6996b
Fix another mismatching new[] call (note that this needs to be replaced by malloc, since else MemoryReadStream will try to use free on an new[] allocated block.)
...
svn-id: r48162
2010-03-04 17:46:18 +00:00