Johannes Schickel
7600751525
DRASCULA: Allow faster quit when in the mid of a conversation.
...
This allows quitting ScummVM in only a minimal time when a converstion is
running instead of waiting for it to finish. It is still not instant but much
better.
2011-11-13 20:57:41 +01:00
Eugene Sandulenko
6d4189e2ed
DRASCULA: Fix warnings
2011-11-02 23:18:10 +00:00
D G Turner
889f5d119a
DRASCULA: Replace snprintf() usage with Common::String::format()
...
Safer and less portability issues.
2011-06-02 02:53:48 +01:00
Max Horn
4cbe4ede66
COMMON: Registers RandomSources in constructor with the event recorder
...
This also removes the dependency of engines on the event recorder header
and API, and will make it easier to RandomSources that are not properly
registered.
2011-05-17 12:17:26 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2
JANITORIAL: Reduce header dependencies in shared code
...
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
dhewg
a3616473aa
DRASACULA: Init volume levels on startup
2011-03-19 16:04:52 +01:00
Johannes Schickel
0e7dc36792
DRASCULA: Fix a style related warning for WinCE specific code.
2011-03-08 20:11:13 +01:00
Max Horn
42ab839dd6
AUDIO: Rename sound/ dir to audio/
...
svn-id: r55850
2011-02-09 01:09:01 +00:00
David Turner
96174d6842
DRASCULA: Fixed Code to allow Quit/RTL Function and avoid Memory Leakage.
...
A memory leakage was traced down to a failure to call the engine destructor.
This was due to the engine directly calling OSystem quit() i.e. _system->quit(), rather than
just allowing engine::run() to return.
Have removed this code and implemented the changes required to allow graceful Quit/RTL to occur.
svn-id: r55583
2011-01-28 08:07:50 +00:00
David Turner
590ce4762e
DRASCULA: Fix uninitialized reads of mouse position variables.
...
svn-id: r55578
2011-01-28 01:04:42 +00:00
David Turner
0760c92908
DRASCULA: Fix Memory Leak in drascula.dat Loading.
...
svn-id: r55566
2011-01-27 14:07:45 +00:00
David Turner
73a440cfe2
DRASCULA: Fix Memory Leaks in Rooms Table.
...
Minor whitespace fixes as well.
svn-id: r55560
2011-01-27 07:58:57 +00:00
Max Horn
059944e59c
COMMON: Push #include audiocd.h in system.h out to .cpp files
...
svn-id: r54148
2010-11-08 23:07:42 +00:00
Alejandro Marzini
609e08d5db
Merged from trunk, from Rev 49499 to HEAD
...
svn-id: r50840
2010-07-13 04:31:15 +00:00
Eugene Sandulenko
2e20a48f90
Drascula: improve responsivity during pauses and palette updates.
...
svn-id: r49722
2010-06-15 10:24:38 +00:00
Eugene Sandulenko
508256a71e
Drascula: Fix bug #2011470 .
...
Bug #2011470 : "DRASCULA: slowdown when you hold mouse buttons" fixed
by changing right mouse semantic. Now the items menu showed on
button up instead mouse down like earlier.
svn-id: r49721
2010-06-15 10:24:19 +00:00
Eugene Sandulenko
f53211fbad
Drascula: Move more cursor-related blits to cursorSurface.
...
svn-id: r49715
2010-06-15 10:22:19 +00:00
Eugene Sandulenko
1850d53793
Drascula: Plug memory leak
...
svn-id: r49714
2010-06-15 10:21:59 +00:00
Eugene Sandulenko
671ed4873f
Drascula: Fixed bug #2826608 .
...
Bug #2826608 : "DRASCULA: Cursor GFX error" fixed by introducing
separate buffer for cursors. This also fixes the root cause of
the problem.
svn-id: r49713
2010-06-15 10:21:42 +00:00
Eugene Sandulenko
2ccb5bb025
Drascula: Added debug console. Implemented a (buggy) room comand.
...
svn-id: r49703
2010-06-15 10:18:34 +00:00
Alejandro Marzini
e1ef3cd9fc
Renamed getAudioCD to getAudioCDManager.
...
svn-id: r49678
2010-06-15 04:13:12 +00:00
Alejandro Marzini
e991cd8c53
- Revised abstract AudioCDManager.
...
- Removed AudioCDManager Singleton, and changed code for using AudioCDManager in OSystem.
- Added initialization code for new AudioCDManager in BaseBackend and OSystem_SDL.
svn-id: r49548
2010-06-09 20:09:57 +00:00
Eugene Sandulenko
e39bf47717
Fix crash when there is no drascula.dat file
...
svn-id: r49193
2010-05-24 16:58:42 +00:00
Max Horn
b3e404109c
Move initGraphics and initCommonGFX from to new header.
...
These functions are only used internally be Engine subclasses, and
by moving them to a separate header we can reduce indirect header
dependencies.
svn-id: r48934
2010-05-04 11:58:12 +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
Nicola Mettifogo
3a1e7ccbae
Moved text parsing to a new class.
...
svn-id: r48013
2010-02-09 01:22:24 +00:00
Nicola Mettifogo
b658c61155
Let ArjFile return a SeekableReadStream instead of implementing
...
the same interface itself. The caller is now responsible for
deleting the returned streams.
svn-id: r47994
2010-02-08 16:14:04 +00:00
Nicola Mettifogo
1fe0facb24
Pass the input stream to text parser functions.
...
svn-id: r47992
2010-02-08 16:13:09 +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
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
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
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
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +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
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
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
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
2748701dbe
Assign _lang to the appropriate enum values
...
svn-id: r34572
2008-09-16 08:12:13 +00:00
Willem Jan Palenstijn
c8eeae8d4d
Big patch changing semantics of ReadStream::eos():
...
eos() now only returns true _after_ trying to read past the end of the stream.
This has a large potential for regressions. Please test!
svn-id: r34549
2008-09-14 22:28:53 +00:00
Torbjörn Andersson
b86a047164
Indentation.
...
svn-id: r34513
2008-09-13 15:23:23 +00:00
Filippos Karapetis
cbf561a0a0
- Moved more animation data inside drascula.dat
...
- Merged copyRect and copyRectClip
- Added enums for all the possible character directions and removed duplicate directions
- Extended the talk sequence commands a bit
- Removed unnecessary buffer faceBuffer and the unneeded casts between byte * and char * that were used
svn-id: r34503
2008-09-12 12:54:16 +00:00