Nicola Mettifogo
0b06fb2a88
The text parser functions can create their temporary buffers on the stack.
...
svn-id: r47991
2010-02-08 16:12:45 +00:00
Nicola Mettifogo
c453f214e6
Close the FLI file only from the routine that opened it.
...
svn-id: r47990
2010-02-08 16:12:22 +00:00
Johannes Schickel
a505d32eff
Replace use of Audio::makeRawMemoryStream by Audio::makeRawStream.
...
svn-id: r47716
2010-01-30 15:26:54 +00:00
Max Horn
1565f14bc1
Moved audio stream implementations (for MP3, FLAC, etc.) to new dir sound/decoders/
...
svn-id: r47579
2010-01-26 22:48:45 +00:00
Johannes Schickel
aed02365ec
Strip trailing spaces/tabs.
...
svn-id: r47541
2010-01-25 01:39:44 +00:00
Max Horn
4b996e7de7
Reorder params to Audio::makeRawMemoryStream
...
svn-id: r47492
2010-01-23 23:55:35 +00:00
Max Horn
dc5e08e623
Move raw audio flags from sound/mixer.h to sound/raw.h
...
svn-id: r47395
2010-01-19 22:30:33 +00:00
Max Horn
5ee6c79b5d
Convert more engines from Mixer::playRaw to Mixer::playInputStream
...
svn-id: r47377
2010-01-19 11:22:14 +00:00
Max Horn
557bb394de
Get rid of Mixer::FLAG_AUTOFREE.
...
Also fix several recently introduced new/delete vs. malloc/free mismatches.
svn-id: r47369
2010-01-19 00:56:29 +00:00
Marcus Comstedt
40f9506163
The default keycolor for mouse pointers used to be 255.
...
This makes sense as a default for CLUT8 modes, but not really
for anything else. As part of the gsoc2009-16bit merge, the
default was changed to "all ones", with extra code in the SDL
backend to truncate this to the depth of the mode. However,
"all ones" (white) still isn't a very useful default for RGB modes.
So rather than jumping through hoops to provide a bad default,
it's better to remove the default altogether. Engines which relied
on the old default of 255 have been updated to specify it explicitly.
svn-id: r47118
2010-01-07 15:07:36 +00:00
Johannes Schickel
c439937d46
Consistency change: Use uniform copyright strings in getOriginalCopyright.
...
svn-id: r46543
2009-12-25 03:31:19 +00:00
Max Horn
df651bf20f
Added Doxygen comments for the various engine namespaces (currently mostly without details; help filling these out is welcome)
...
svn-id: r46128
2009-11-24 22:10:14 +00:00
Johannes Schickel
56181a475c
Change "=" to ":=" in some module.mk files for consistency.
...
svn-id: r45364
2009-10-24 21:55:53 +00:00
Johannes Schickel
b33b90ecd0
Made AGOS, DRASCULA, GOB, GROOVIE, MADE, SCUMM and TINSEL properly stop CD audio playback on engine quit. (This only problem affected playback from CD, not from ripped audio files)
...
svn-id: r43512
2009-08-18 15:31:26 +00:00
Filippos Karapetis
4af0cfbdbd
Cleanup
...
svn-id: r43056
2009-08-04 21:56:59 +00:00
Filippos Karapetis
d14f0ccfb5
Removed the superfluous VGA buffer, replacing it with direct writes to the video buffer
...
svn-id: r43048
2009-08-04 17:22:18 +00:00
Torbjörn Andersson
f11435bb6d
78 bytes isn't enough for some of the longer conversation options. 128 might
...
not be enough either, but at least it fixes bug #2827170 ("DRASCULA:
Conversation error").
svn-id: r42801
2009-07-26 10:10:08 +00:00
Torbjörn Andersson
7d238d8779
Make sure that "buf" is properly terminated. Actually, we could probably get
...
rid of "buf" completely, and replace it with face = syncChar[p] - '0', assuming
that syncChar only contains digits. But for now, let's make a minimal change.
This might fix bug #2826611 ("DRASCULA: Crash when smashing church window").
svn-id: r42776
2009-07-25 17:48:51 +00:00
Torbjörn Andersson
0e2c8b9be5
Don't hog the CPU while waiting for the player to pick a conversation option.
...
svn-id: r42757
2009-07-25 13:17:31 +00:00
Torbjörn Andersson
2e13d89233
Added word-wrapping to Drascula's conversation options. Fixes bug #2826607 .
...
svn-id: r42755
2009-07-25 13:07:50 +00:00
Johannes Schickel
7e71865e91
Move the event recorder to its own class (EventRecoder inside common/EventRecorder.[h/cpp]).
...
svn-id: r42751
2009-07-25 12:59:46 +00:00
Eugene Sandulenko
1bd6f6c99f
Added game GUI options to advancedDetector and updated all engines
...
svn-id: r41272
2009-06-06 17:56:41 +00:00
Max Horn
65b5d31814
COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses)
...
svn-id: r40725
2009-05-19 11:42:14 +00:00
Eugene Sandulenko
d116a94e2b
Normalized types for several variables. Formatting
...
svn-id: r40521
2009-05-13 11:59:49 +00:00
Eugene Sandulenko
17a68490be
Replace verb numbers with constants in selectVerb() call
...
svn-id: r40476
2009-05-12 10:02:18 +00:00
Jordi Vilalta Prat
047f116515
Renamed MetaEngine::getCopyright() to getOriginalCopyright() to better match the meaning of the returned string, as discussed some time ago in scummvm-devel
...
svn-id: r39132
2009-03-05 12:04:58 +00:00
Max Horn
dd98126423
Engines: Fused several init&go methods into a single run method
...
svn-id: r39003
2009-03-01 04:42:46 +00:00
Max Horn
3fcbda829a
Merged Engine::go() and ::init() into a new run() method (currently implemented by calling the existing init&go methods; to be cleaned up by engine authors
...
svn-id: r39002
2009-03-01 04:30:55 +00:00
Johannes Schickel
5417f6bacb
- Replace OSystem::clearScreen with OSystem::fillScreen as discussed on -devel.
...
- Update BaseBackend and DC port to properly implement OSystem::fillScreen (now only PalmOS has to be updated).
- Update all client code which relied on OSystem::clearScreen so far.
svn-id: r38304
2009-02-15 21:20:21 +00:00
Willem Jan Palenstijn
3f39213335
ignore any keypresses in the volume control dialog
...
svn-id: r38183
2009-02-14 22:46:54 +00:00
Max Horn
28cf213605
Moved AdvancedDetector from common/ to engines/
...
svn-id: r36132
2009-01-29 22:13:01 +00:00
Max Horn
ac59693be2
A ton of code formatting fixes; also fixed warnings about single line loops like 'while(cond);' by inserting newlines
...
svn-id: r36127
2009-01-29 05:26:12 +00:00
Filippos Karapetis
ad3ee36805
Got rid of updateAnim2()
...
svn-id: r35747
2009-01-05 20:17:33 +00:00
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Torbjörn Andersson
87db0af8a0
Removed unused variable.
...
svn-id: r35223
2008-12-03 19:20:59 +00:00
Filippos Karapetis
157e051280
Applied wjpalenstijn's patch to fix bug #2111826 - "DRASCULA: Inserting save game names lags"
...
svn-id: r35221
2008-12-03 17:35:37 +00:00
Filippos Karapetis
b471aab57d
Make sure that savegame names are 0-terminated
...
svn-id: r35220
2008-12-03 16:44:46 +00:00
Filippos Karapetis
29f59d07f4
Simplify line reading with the simpler readLine(), instead of readLine_NEW
...
svn-id: r35216
2008-12-03 11:47:57 +00:00
Filippos Karapetis
e7050a0c65
readLine_OLD -> readLine_NEW
...
svn-id: r35213
2008-12-03 08:59:12 +00:00
Johannes Schickel
2ef8a32a01
Fixed various g++ warnings ("format not a string literal and no format arguments").
...
svn-id: r35096
2008-11-16 20:20:31 +00:00
Johannes Schickel
5a0556f09c
Committed my patch #2123680 "SDL: Backend transaction / rollback support".
...
svn-id: r35062
2008-11-14 22:08:10 +00:00
Max Horn
40136f2590
Switched various Engine APIs to use Common::Error
...
svn-id: r34916
2008-11-06 17:05:54 +00:00
Eugene Sandulenko
c7dd0bc853
Use better "silence" without clicks when speech is disabled.
...
svn-id: r34676
2008-09-28 22:19:11 +00:00
Eugene Sandulenko
294b953843
- Renamed withVoices to _subtitlesDisabled as it reflect the true meaning.
...
- Allowed to disable subtitles from options dialogs including RTL.
svn-id: r34675
2008-09-28 22:07:16 +00:00
Eugene Sandulenko
a2ddc7ffa2
Fix bug #2043489 : DRASCULA: Cannot disable speech
...
svn-id: r34674
2008-09-28 21:53:14 +00:00
Max Horn
bf76057ec4
Removed tons of unused 'length' variables, to silence compiler warnings
...
svn-id: r34585
2008-09-16 20:12:25 +00:00
Filippos Karapetis
6a4d96649e
- Moved some includes away from drascula.h
...
- Moved grr() to talk.cpp
- Removed the unnecessary parameter length from isTalkFinished()
svn-id: r34577
2008-09-16 11:49:40 +00:00
Filippos Karapetis
3bffca569f
Fixed some glitches in the last part of Von Braun's story
...
svn-id: r34575
2008-09-16 10:53:57 +00:00
Filippos Karapetis
d95e0059a2
Cleaned up and fixed the cutscene with Von Braun's story. Fixes bugs #2111804 - "DRASCULA: Cut scene bugs" and #2059648 - "DRASCULA: VonBraun's song"
...
svn-id: r34574
2008-09-16 10:44:07 +00:00
Filippos Karapetis
c36c58ca40
Removed the confirmation speech when a game is saved - it's "99.als" instead of "s99.als", but the main problem is that it's not translated in the English version and it's in Spanish (plus it's creepy and annoying...)
...
svn-id: r34573
2008-09-16 08:24:42 +00:00