aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula/rooms.cpp
AgeCommit message (Collapse)Author
2008-06-06Added the rest of the rooms to the room parserFilippos Karapetis
svn-id: r32570
2008-06-06Further unification of room code.Eugene Sandulenko
svn-id: r32567
2008-06-05Fixed regression: rooms 0, 56 and 60 are not called by the default room ↵Filippos Karapetis
parser (13 and 21 too, but there are no default actions associated with them) svn-id: r32562
2008-06-05Optimize a bit roomParse, though ideal would be a binary search, but I amEugene Sandulenko
too lazy for that. svn-id: r32561
2008-06-05Converted most of checkAction() to pseudorooms 200 and 201, puttingEugene Sandulenko
them into roomActions. svn-id: r32560
2008-06-05Merged all roomXXActions into single array. Thus simplified room parsers.Eugene Sandulenko
svn-id: r32559
2008-06-05Pendulum room is room #102Eugene Sandulenko
svn-id: r32558
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-04Fixed regression from commit #32536Filippos Karapetis
svn-id: r32538
2008-06-04Fixed the misuse of ARRAYSIZEFilippos Karapetis
svn-id: r32537
2008-06-04Rewrote some more room logic. Added a FIXME about the usage of ARRAYSIZE in ↵Filippos Karapetis
this case svn-id: r32536
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-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-03Rewrote some more room logicFilippos Karapetis
svn-id: r32518
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-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-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-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-31tabernero -> bartenderFilippos Karapetis
anexo -> joined LimitaVGA -> adjustToVGA velas -> candles VelocidadDeFundido -> fadeSpeed anda_parriba -> walkUp anda_pabajo -> walkDown svn-id: r32409
2008-05-30- Simplified font mapping (in print_abc and print_abc_opc)Filippos Karapetis
- Moved checkFlag to rooms.cpp - x_de_letra/y_de_letra -> letterX/letterY - Made itemLocations a const - Removed loads of now unneeded letter descriptions svn-id: r32407
2008-05-30- Renamed texts.cpp to staticdata.h and moved all game static data thereFilippos Karapetis
- Simplified room_0() - Some cleanup svn-id: r32404
2008-05-30Rewrote some more room logicFilippos Karapetis
svn-id: r32400
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-30Simplified calls to playSound()Filippos Karapetis
svn-id: r32395
2008-05-30Wrapped up talk_igor_front, talk_igor_door, talk_igor_seated and talk_igor_wigFilippos Karapetis
svn-id: r32392
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-30Fix compilationEugene Sandulenko
svn-id: r32386
2008-05-30Wrap up talk_taber2()Eugene Sandulenko
svn-id: r32384
2008-05-30Wrap up rest of talk() callsEugene Sandulenko
svn-id: r32383
2008-05-30diferencia -> differenceFilippos Karapetis
pos_pixel -> pixelPos hare_se_mueve -> characterMoved pixel_x/pixel_y -> pixelX/pixelY vez() -> getTime() menu_sin_volcar() -> showMenu() Removed unused function codifica() svn-id: r32380
2008-05-30anima -> animateFilippos Karapetis
leng -> dataSize, and removed it from the global variables (it's only used in animate()) svn-id: r32377
2008-05-30Changed color defines to more meaningful names in an enumFilippos Karapetis
svn-id: r32375
2008-05-30dir_dibujo -> drawSurfaceFilippos Karapetis
dir_hare_fondo -> backSurface dir_mesa -> tableSurface dir_hare_dch -> extraSurface (unsure about this one) dir_zona_pantalla -> screenSurface dir_hare_frente -> frontSurface dir_texto -> textSurface dir_pendulum -> pendulumSurface svn-id: r32374
2008-05-29Loads of Spanish translations with the help of timofonic (thanks!).Filippos Karapetis
Unified some variable styles svn-id: r32372
2008-05-27More simplifications to the talk functionsFilippos Karapetis
svn-id: r32326
2008-05-27longitud -> lengthFilippos Karapetis
respuesta -> answer objetos_que_tengo -> inventoryObjects boton -> button cuadrante -> quadrant distancia -> distance juego -> game frase -> phrase suena -> sound usado -> used responde -> response puesto -> position svn-id: r32321
2008-05-27objeto_que_lleva -> pickedObjectFilippos Karapetis
Removed the verb defines and replaced them with appropriate enums svn-id: r32320
2008-05-27Rewrote some more room logicFilippos Karapetis
svn-id: r32319
2008-05-27Every time strcmp is abused, a baby koala cries...Filippos Karapetis
Changed loads of strcmp's to integer comparisons. There might be two possible regressions (marked with a FIXME) in animation_2_1() and animation_9_6(), which need to be tested Also, fixed a silly regression I made in commit #32312 in getLine() svn-id: r32317
2008-05-27Changed roomParse to accept an array directly and rewrote some more room logicFilippos Karapetis
svn-id: r32315
2008-05-27comienza_sound -> playSoundFilippos Karapetis
fin_sound -> stopSound comienza_sound -> playSound n_puerta -> doorNum cierra_puerta -> closeDoor svn-id: r32314