aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula/talk.cpp
AgeCommit message (Collapse)Author
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
2008-05-31x_igor/y_igor -> igorX/igorYFilippos Karapetis
talk_dr_izq -> talk_drascula Merged talk_drascula and talk_dr_dch svn-id: r32425
2008-05-31Simplified calls to updateScreen()Filippos Karapetis
svn-id: r32424
2008-05-31Remove trailing spacesEugene Sandulenko
svn-id: r32422
2008-05-31updateData -> updateVisibleFilippos Karapetis
num_ejec -> currentChapter svn-id: r32417
2008-05-31Eliminated more gotosEugene Sandulenko
svn-id: r32416
2008-05-31Fix old regressionEugene Sandulenko
svn-id: r32415
2008-05-31Replace evil gotos with proper do-while loops.Eugene Sandulenko
svn-id: r32414
2008-05-31tabernero -> bartenderFilippos Karapetis
anexo -> joined LimitaVGA -> adjustToVGA velas -> candles VelocidadDeFundido -> fadeSpeed anda_parriba -> walkUp anda_pabajo -> walkDown svn-id: r32409
2008-05-30CleanupFilippos Karapetis
svn-id: r32406
2008-05-30LookForFree -> soundIsActiveFilippos Karapetis
soundIsActive returns a boolean value now svn-id: r32402
2008-05-30CleanupFilippos Karapetis
svn-id: r32401
2008-05-30- Merged loadPic and decompressPicFilippos Karapetis
- talk_pianista -> talk_pianist - Wrapped up talk_pianist, talk_wolf, talk_htel and talk_mus - Did some cleanup in room logic svn-id: r32398
2008-05-30Wrapped up talk_drunkFilippos Karapetis
Some cleanup dir_escritura -> targetSurface targetScreen -> targetSurface plt (in decompressPic) -> colorCount funcion -> function svn-id: r32394
2008-05-30Wrapped up talk_igor_front, talk_igor_door, talk_igor_seated and talk_igor_wigFilippos Karapetis
svn-id: r32392
2008-05-30More simplification of talk code. Moved talk_dr_grande() from animation.cpp ↵Filippos Karapetis
to talk.cpp svn-id: r32390
2008-05-30talk_igor_frente -> talk_igor_frontFilippos Karapetis
svn-id: r32389
2008-05-30talk_igorpuerta -> talk_igor_doorFilippos Karapetis
talk_igor_peluca -> talk_igor_wig and replaced some unneeded if statements with atoi svn-id: r32388
2008-05-30Wrap up talk_taber2()Eugene Sandulenko
svn-id: r32385
2008-05-30cara -> faceFilippos Karapetis
componente -> component palFondo -> bgPalette Capitalization svn-id: r32381