aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula/converse.cpp
AgeCommit message (Collapse)Author
2013-10-17DRASCULA: Fix buildWillem Jan Palenstijn
2013-10-17DRASCULA: Fix potential buffer overrun. CID 1003311Eugene Sandulenko
2013-08-19DRASCULA: Some renaming. Also, get rid of some extraneous globalsFilippos Karapetis
This removes the superfluous talkHeight, talkWidth and timeDiff variables. It also changes _loadedDifferentChapter to be a boolean
2013-01-04DRASCULA: Merge some animation functions and document all animationsFilippos Karapetis
2011-11-13DRASCULA: Allow faster quit when in the mid of a conversation.Johannes Schickel
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-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2010-09-21DRASCULA: Keep keyboard buffer flushed while waiting for conversationTorbjörn Andersson
Otherwise buffered-up key presses can cause dialog to be skipped once the player finally picks a conversation option. svn-id: r52850
2010-09-21DRASCULA: Fix bug #3069977 ("Grafic Glitches in text")Torbjörn Andersson
If response() loads an image into backSurface, we need to restore the conversation charset to it once we're done. This may very well fix a few other similar bugs, but I haven't verified that. svn-id: r52845
2010-06-15Drascula: Fix bug #2827166.Eugene Sandulenko
Bug #2827166: "DRASCULA: Repeating conversations". It looked like bug in original engine. svn-id: r49720
2010-06-15Drascula: Restore cursors before automated converse responsesEugene Sandulenko
svn-id: r49711
2010-06-15Drascula: Fix bug #2929931.Eugene Sandulenko
Bug #2929931: "DRASCULA: Graphic Glitches". Cursor graphics was not loaded at needed time. svn-id: r49707
2010-06-15Drascula: added more debug outputEugene Sandulenko
svn-id: r49706
2010-02-09Moved text parsing to a new class.Nicola Mettifogo
svn-id: r48013
2010-02-08Renamed ArjFile to ArchiveMan, and _arj to _archives.Nicola Mettifogo
svn-id: r48000
2010-02-08Let ArjFile return a SeekableReadStream instead of implementingNicola Mettifogo
the same interface itself. The caller is now responsible for deleting the returned streams. svn-id: r47994
2010-02-08Pass the input stream to text parser functions.Nicola Mettifogo
svn-id: r47992
2010-02-08The text parser functions can create their temporary buffers on the stack.Nicola Mettifogo
svn-id: r47991
2009-07-2678 bytes isn't enough for some of the longer conversation options. 128 mightTorbjörn Andersson
not be enough either, but at least it fixes bug #2827170 ("DRASCULA: Conversation error"). svn-id: r42801
2009-07-25Don't hog the CPU while waiting for the player to pick a conversation option.Torbjörn Andersson
svn-id: r42757
2009-07-25Added word-wrapping to Drascula's conversation options. Fixes bug #2826607.Torbjörn Andersson
svn-id: r42755
2009-05-12Replace verb numbers with constants in selectVerb() callEugene Sandulenko
svn-id: r40476
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-09-13Indentation.Torbjörn Andersson
svn-id: r34513
2008-09-12- Moved more animation data inside drascula.datFilippos Karapetis
- 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-11CleanupFilippos Karapetis
svn-id: r34494
2008-09-11- The game's cursor is now handled via ScummVM's cursor manager, instead of ↵Filippos Karapetis
the game itself (this means that there might be regressions where the cursor is visible when it shouldn't be) - Removed the textSurface pointer, which was used in the Spanish version. Non-Spanish versions of the game hold the font data in the tableSurface buffer (which contains picture 96). The font data for Spanish versions is in picture 974. Now both versions load their font data from the tableSurface buffer - hay_que_load -> loadedDifferentChapter - Merged withoutVerb() and selectVerb() This is a big change, it might lead to regressions! svn-id: r34488
2008-09-10Reduced game memory usage by about 400KB by only loading the current ↵Filippos Karapetis
language strings, not all strings svn-id: r34472
2008-09-09- Cleanup and simplificationFilippos Karapetis
- Moved several simple animations out of animation.cpp - Moved some animations with talk sequences inside drascula.dat - A new version of drascula.dat is needed (will be uploaded shortly) svn-id: r34464
2008-09-09Cleanup. Simplified converse()Filippos Karapetis
svn-id: r34460
2008-06-07Shuffled around more code. Now the files look more manageable.Eugene Sandulenko
svn-id: r32599