aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula/animation.cpp
AgeCommit message (Collapse)Author
2009-05-12Replace verb numbers with constants in selectVerb() callEugene Sandulenko
svn-id: r40476
2009-01-05Got rid of updateAnim2()Filippos Karapetis
svn-id: r35747
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-09-16Fixed some glitches in the last part of Von Braun's storyFilippos Karapetis
svn-id: r34575
2008-09-16Cleaned up and fixed the cutscene with Von Braun's story. Fixes bugs ↵Filippos Karapetis
#2111804 - "DRASCULA: Cut scene bugs" and #2059648 - "DRASCULA: VonBraun's song" svn-id: r34574
2008-09-15Fixed the phrase told by the protagonist when he talks to the blind man the ↵Filippos Karapetis
second time svn-id: r34559
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- Merged openDoor() and closeDoor()Filippos Karapetis
- Cleaned up updateDoor() - Bugfixes to exitRoom() and gotoObject() - Moved cursor-related functions to interface.cpp - alapuertakeva -> roomExits svn-id: r34493
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-10Merged all the methods to assign and set default palettesFilippos Karapetis
svn-id: r34479
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-08-27Document some animationsFilippos Karapetis
svn-id: r34190
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-08-25Fix for bug #2062024 - "DRASCULA: Error talking with blind man"Filippos Karapetis
svn-id: r34154
2008-06-25Added patch from bug report #2001189 - "DRASCULA: Wrong intro music in ↵Filippos Karapetis
Spanish version" svn-id: r32783
2008-06-17Possible fix for bug #1979086 - "DRASCULA: Wrong language detection(?) and ↵Filippos Karapetis
crash" svn-id: r32728
2008-06-10drawSurface1 -> bgSurfaceFilippos Karapetis
svn-id: r32644
2008-06-08CleanupFilippos Karapetis
svn-id: r32609
2008-06-07Shuffled around more code. Now the files look more manageable.Eugene Sandulenko
svn-id: r32599
2008-06-07CleanupFilippos Karapetis
estanteria -> bookcase svn-id: r32591
2008-06-07Simplified talk_hackerFilippos Karapetis
svn-id: r32588
2008-06-06Slighly modified patch #1985341: "DRASCULA: Hopefully my last batch of ↵Eugene Sandulenko
english updates" svn-id: r32585
2008-06-06Partially reverted r32580. That surface is used by Spanish version.Eugene Sandulenko
svn-id: r32581
2008-06-06Removed the useless textSurface bufferFilippos Karapetis
frame_x -> frameX candleX, candleY, pianistX and drunkX are used in more than one place svn-id: r32580
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-05Added enums for all items up to chapter 3 and some of chapter 4Filippos Karapetis
svn-id: r32556
2008-06-05- Rewrote the way room updaters, preupdaters and room parsers are called and ↵Filippos Karapetis
added debug output when they're called - Simplified calls to converse() - Removed the useless para_codificar buffers - Renamed checkFlag -> checkAction svn-id: r32554
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-04Fixed the animation where the window is broken by the spear outside the churchFilippos Karapetis
svn-id: r32542
2008-06-04Removed decompressPic() and fixed the animation of Von Braun and his glass cageFilippos Karapetis
svn-id: r32541
2008-06-04lleva_vb -> placeVBFilippos Karapetis
c_mirar -> curExcuseLook c_poder -> curExcuseAction sentido -> trackCharacter mirar_t -> lookExcuses poder_t -> actionExcuses svn-id: r32535
2008-06-04Simplified some more calls to loadPic()Filippos Karapetis
svn-id: r32534
2008-06-04releaseGame() -> quitGame()Filippos Karapetis
nivel_osc -> palLevel Simplified calls to loadPic() svn-id: r32533
2008-06-04enterNewRoom -> enterRoomFilippos Karapetis
Added debug output when entering/exiting rooms svn-id: r32530
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-04Merged para_grabar() with saveGame()Filippos Karapetis
sentido_igor -> trackIgor sentido_bj -> trackBJ svn-id: r32527
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-02Added an enum for Igor's possible statesFilippos Karapetis
svn-id: r32502
2008-06-02Further cleanup of the talk codeFilippos Karapetis
svn-id: r32494
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