Commit Graph
316 Commits
Author SHA1 Message Date
D G Turner 7432a33137 DRASCULA: Hookup up debug console correctly.
This now opens correctly on CTRL-d keystroke.
2013-12-06 22:55:03 +00:00
Eugene Sandulenko fe67837077 DRASCULA: More variables initialized. CID 1003403 2013-11-09 12:51:39 +02:00
Eugene Sandulenko 36ad6a69ca DRASCULA: More uninit variables. CID 1003403 2013-10-29 09:42:11 +02:00
Eugene Sandulenko 6ff57db90f DRASCULA: Initialize class variables. CID 1003403 2013-10-18 16:01:10 +03:00
Willem Jan Palenstijn ee9e6b94ae DRASCULA: Fix build 2013-10-17 13:40:26 +02:00
Eugene Sandulenko 955b585bd0 DRASCULA: Fix uninitalized class variables. CID 1003403 2013-10-17 13:51:30 +03:00
Eugene Sandulenko 66e6830395 DRASCULA: Fix potential buffer overrun. CID 1003309 2013-10-17 13:40:17 +03:00
Filippos Karapetis d531484350 DRASCULA: Some renaming. Also, get rid of some extraneous globals
This removes the superfluous talkHeight, talkWidth and timeDiff
variables. It also changes _loadedDifferentChapter to be a boolean
2013-08-19 03:08:58 +03:00
Filippos Karapetis 89bbc9c292 DRASCULA: Fix shadowing warnings (thanks LordHoto), and rename some variables 2013-01-06 21:54:40 +02:00
Filippos Karapetis c1b0c80cce DRASCULA: Merge some animation functions and document all animations 2013-01-04 19:31:25 +02:00
Filippos Karapetis 4adfdb17e3 DRASCULA: Add advanced savegame functionality
This cleans up the save/load code and resolves multiple issues with the
original save/load screen.
Save game timestamps and thumbnails are now implemented, together with
the ability to load a game from the launcher.
F7 is now mapped to the ScummVM load dialog, and F10 to the save dialog
(if the user has selected to use the ScummVM save screen).
2013-01-04 13:12:52 +02:00
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