aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula/talk.cpp
AgeCommit message (Collapse)Author
2015-03-01DRASCULA: comment "talk.cpp"norbertbajko
Explain #5903 DRASCULA-IT bug fix
2015-03-01DRASCULA: comment "talk.cpp"norbertbajko
Explain #5903 DRASCULA-IT bug fix
2015-03-01DRASCULA: fix crash/graphic glitch at castle towersNorbert Bajkó
Fix bug #5903 DRASCULA-IT: Crash/graphic glitch at castle towers
2014-02-18DRASCULA: Make GPL headers consistent in themselves.Johannes Schickel
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
2011-11-25DRASCULA: Add fix for crash/OOB memory accesses in bug #3440895D G Turner
This bug is "DRASCULA-IT: Crash/graphic glitch at castle towers". The crash was due to width and height values being passed to copyBackground() being invalid due to out of bounds read from the factor_red array. This adds debugging statements and fixes the crash by clipping accesses to the maximum index of factor_red. This doesn't however fix the observed GFX glitch, but stops it being a segfault.
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
2010-06-15Drascula: Fix bug #2827169.Eugene Sandulenko
Bug #2827169: "DRASCULA: gfx glitch in pendulum room" fixed by rearranging draw sequence. svn-id: r49719
2010-06-15Drascula: add even more responsivenessEugene Sandulenko
svn-id: r49718
2010-06-15Drascula: Add responsiveness while talking.Eugene Sandulenko
svn-id: r49716
2010-03-09DRASCULA: Some cleanup; turn some global C++ objects into members of ↵Max Horn
DrasculaEngine svn-id: r48215
2009-07-25Make sure that "buf" is properly terminated. Actually, we could probably getTorbjörn Andersson
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-01-29A ton of code formatting fixes; also fixed warnings about single line loops ↵Max Horn
like 'while(cond);' by inserting newlines svn-id: r36127
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-09-28- Renamed withVoices to _subtitlesDisabled as it reflect the true meaning.Eugene Sandulenko
- Allowed to disable subtitles from options dialogs including RTL. svn-id: r34675
2008-09-16Removed tons of unused 'length' variables, to silence compiler warningsMax Horn
svn-id: r34585
2008-09-16- Moved some includes away from drascula.hFilippos Karapetis
- Moved grr() to talk.cpp - Removed the unnecessary parameter length from isTalkFinished() svn-id: r34577
2008-09-15Show the blind man's dialog text at a bit better placeFilippos Karapetis
svn-id: r34561
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-10Reduced game memory usage by about 400KB by only loading the current ↵Filippos Karapetis
language strings, not all strings svn-id: r34472
2008-08-26talk_dr_grande -> talk_drascula_bigFilippos Karapetis
talk_baul -> talk_trunk svn-id: r34182
2008-08-26Simplified several calls to copyBackground()Filippos Karapetis
svn-id: r34181
2008-08-26Merged talk_vonBraun and talk_vonBraunpuertaFilippos Karapetis
svn-id: r34180
2008-07-01Fixed unitialized variablesMax Horn
svn-id: r32865
2008-06-10drawSurface1 -> bgSurfaceFilippos Karapetis
svn-id: r32644
2008-06-08CleanupFilippos Karapetis
svn-id: r32609
2008-06-07CleanupFilippos Karapetis
estanteria -> bookcase svn-id: r32591
2008-06-07Fixed regression from last commitFilippos Karapetis
svn-id: r32590
2008-06-07Used enums for igor talker typesFilippos Karapetis
Merged a lot of code of talk_pianist, talk_drunk, talk_werewolf and talk_mus svn-id: r32589
2008-06-07Simplified talk_hackerFilippos Karapetis
svn-id: r32588
2008-06-06- Cleaned up the code that makes the in-game screensaver pop upFilippos Karapetis
- Grouped all the frame_* variables - Removed the unused mouseY_ant variable Renamed: x_dr/y_dr -> drasculaX/drasculaY x_bj/y_bj -> bjX/bjY vb -> VonBraun wolf -> werewolf pos_cabina -> cabinPos dir_lectura -> pal plt -> colorCount palNegra -> blackPalette cont_sv -> framesWithoutAction svn-id: r32577
2008-06-06CleanupFilippos Karapetis
svn-id: r32574
2008-06-05- Removed the unused hay_sb variable (originally, it was meant to check if ↵Filippos Karapetis
the sound is active or not) - mesa -> volumeControls - Cleanup of volumeControls() - fliplay -> playFLI, and removed openSSN() and EndSSN() - Some translations: button_izq -> leftMouseButton button_dch -> rightMouseButton animation_rayo -> animation_ray hueso -> bone vuela -> fly svn-id: r32552
2008-06-04Fix memory overwriteEugene Sandulenko
svn-id: r32543
2008-06-04Fixed the animation where the window is broken by the spear outside the churchFilippos Karapetis
svn-id: r32542
2008-06-04releaseGame() -> quitGame()Filippos Karapetis
nivel_osc -> palLevel Simplified calls to loadPic() svn-id: r32533
2008-06-04carga_escoba -> enterNewRoomFilippos Karapetis
talk_sinc -> talk_sync n_ejec2 -> savedChapter Removed updatePalette() Simplified enterNewRoom() Merged para_cargar() and loadGame() Slight cleanup to withoutVerb() Removed set_dac and set_dacSSN svn-id: r32528
2008-06-04Removed junk code from update_1_pre, update_4 and update_6_preFilippos Karapetis
pon_hare -> moveCharacters hare_oscuro -> setDarkPalette hare_claro -> setBrightPalette funde_hare -> setPaletteBase conta_blind_vez -> savedTime paleta_hare -> assignDefaultPalette paleta_hare_claro -> assignBrightPalette paleta_hare_oscuro -> assignDarkPalette distance_x/distance_y -> distanceX/distanceY palHare -> defaultPalette palHareClaro -> brightPalette palHareOscuro -> darkPalette pos_murci -> batPos murci_x/murci_y -> batX/batY blind_x/blind_y -> blindX/blindY svn-id: r32526
2008-06-03x_talk_izq/x_talk_dch are used in more than 1 placeFilippos Karapetis
sentido_dr -> trackDrascula sentido_hare -> trackProtagonist sentido_final -> trackFinal lleva_al_hare -> gotoObject pon_vb/sentido_vb -> moveVB/trackVB hay_seleccion -> selectionMade suelo -> floor obj_salir -> objIsExit sitio_x/sitio_y -> roomX/roomY fundido -> fade cuanto -> duration (in pause()) pos_hare -> curPos nom_fich -> fileName sitiobj_x/sitiobj_y -> roomObjX/roomObjY sentidobj -> trackObj cirio -> candle pianista -> pianist suma_1_pixel -> talkOffset sincronia -> syncChar svn-id: r32512
2008-06-02hare_x/hare_y -> curX/curYFilippos Karapetis
ancho_hare -> curWidth alto_hare -> curHeight direccion_hare -> curDirection Some slight cleanup svn-id: r32508
2008-06-02rayo_x -> rayXFilippos Karapetis
PASO_HARE_X/PASO_HARE_Y -> STEP_X/STEP_Y PIES_HARE -> FEET_HEIGHT ALTO_TALK_HARE -> TALK_HEIGHT ANCHO_TALK_HARE -> TALK_WIDTH salgo -> roomExit num_cara -> faceBuffer pantalla -> curScreen svn-id: r32503
2008-06-02This should fix a regression in the recent talk_igor() cleanup. I don'tTorbjörn Andersson
actually have the game, though, so I can't actually verify that there is a regression, nor that this fixes it. svn-id: r32501
2008-06-02Further cleanup of the talk codeFilippos Karapetis
svn-id: r32494
2008-06-02Proper implementation for talk_banterder(82)Eugene Sandulenko
svn-id: r32488
2008-06-02Removed some of the old talk functionsFilippos Karapetis
svn-id: r32487
2008-06-02Simplified talk_blind()Filippos Karapetis
svn-id: r32485
2008-06-02loadAndDecompressPic -> loadPicFilippos Karapetis
svn-id: r32484
2008-06-01Removed the now obsolete talk_dr_dchFilippos Karapetis
Merged talk_bartender and talk_taber2 Merged talk_pen and talk_pen2 svn-id: r32481
2008-06-01Now whole game could be run from original packed files.Eugene Sandulenko
svn-id: r32475