Commit Graph

207 Commits

Author SHA1 Message Date
Eugene Sandulenko
4eed36f88c Fix compilation
svn-id: r32386
2008-05-30 09:28:52 +00:00
Eugene Sandulenko
0516f550c3 Wrap up talk_taber2()
svn-id: r32385
2008-05-30 08:56:07 +00:00
Eugene Sandulenko
9b7e8fb704 Wrap up talk_taber2()
svn-id: r32384
2008-05-30 08:55:47 +00:00
Eugene Sandulenko
8c9205babd Wrap up rest of talk() calls
svn-id: r32383
2008-05-30 08:48:01 +00:00
Eugene Sandulenko
4ae97b90cb Remove obsolete comment
svn-id: r32382
2008-05-30 08:30:40 +00:00
Filippos Karapetis
54a28afe0c cara -> face
componente -> component
palFondo -> bgPalette
Capitalization

svn-id: r32381
2008-05-30 08:28:54 +00:00
Filippos Karapetis
6397af21dc diferencia -> difference
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-30 08:14:01 +00:00
Filippos Karapetis
8d16e9330a Untangling spaghetti code: removed several goto statements
svn-id: r32379
2008-05-30 08:00:42 +00:00
Filippos Karapetis
1ca29c1796 Some cleanup, translated an error message
svn-id: r32378
2008-05-30 07:26:55 +00:00
Filippos Karapetis
4cc64e2b63 anima -> animate
leng -> dataSize, and removed it from the global variables (it's only used in animate())

svn-id: r32377
2008-05-30 07:24:32 +00:00
Filippos Karapetis
54e631a903 rompo -> doBreak
Removed unused variable rompo2

svn-id: r32376
2008-05-30 07:19:09 +00:00
Filippos Karapetis
eb28418d4b Changed color defines to more meaningful names in an enum
svn-id: r32375
2008-05-30 07:16:17 +00:00
Filippos Karapetis
8aa1b04043 dir_dibujo -> drawSurface
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-30 07:09:36 +00:00
Eugene Sandulenko
3c827020a6 Fix regression introduced by last cleanup
svn-id: r32373
2008-05-30 05:35:47 +00:00
Filippos Karapetis
92bf1817cb Loads of Spanish translations with the help of timofonic (thanks!).
Unified some variable styles

svn-id: r32372
2008-05-29 22:34:03 +00:00
Filippos Karapetis
5396cd5ded Cleanup
svn-id: r32370
2008-05-29 20:35:15 +00:00
Filippos Karapetis
3a43916e20 ancho -> width
alto -> height
nuevo_ancho -> newWidth
nuevo_alto -> newHeight
suma_x -> totalX
suma_y -> totalY
Removed unneeded variables diferencia_x/diferencia_y

svn-id: r32368
2008-05-29 18:18:38 +00:00
Filippos Karapetis
8363f1294a More talk related simplifications
svn-id: r32367
2008-05-29 18:09:12 +00:00
Filippos Karapetis
13c8e6d94b Numbers are mapped in a different order in the game's fonts
svn-id: r32365
2008-05-29 16:53:28 +00:00
Filippos Karapetis
eb964d2844 Fixed regression
svn-id: r32364
2008-05-29 16:41:49 +00:00
Filippos Karapetis
c2c21ffffb MirarRaton -> updateEvents
espera_soltar -> updateEvents
Some cleanup

svn-id: r32363
2008-05-29 14:14:31 +00:00
Filippos Karapetis
beafc62b0d puertas_cerradas -> updateDoor
saca_objeto -> removeObject

svn-id: r32362
2008-05-29 14:04:47 +00:00
Filippos Karapetis
7a22a63244 Simplified calls to talk_igor_dch, talk_dr_izq and talk_dr_dch
Removed loads of font definitions and simplified some of the internal font mapping

svn-id: r32359
2008-05-29 12:17:40 +00:00
Filippos Karapetis
bf8dfb67e1 More simplifications to the talk functions
svn-id: r32326
2008-05-27 16:13:41 +00:00
Filippos Karapetis
2675cd38a6 Fixed the two animation FIXMEs
svn-id: r32325
2008-05-27 16:02:07 +00:00
Filippos Karapetis
4512958d74 longitud -> length
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-27 12:22:34 +00:00
Filippos Karapetis
de88eb33b5 objeto_que_lleva -> pickedObject
Removed the verb defines and replaced them with appropriate enums

svn-id: r32320
2008-05-27 12:02:26 +00:00
Filippos Karapetis
7263ec4763 Rewrote some more room logic
svn-id: r32319
2008-05-27 11:49:36 +00:00
Filippos Karapetis
7068ec9b71 Every time strcmp is abused, a baby koala cries...
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-27 09:03:22 +00:00
Filippos Karapetis
afd44c95d9 Changed roomParse to accept an array directly and rewrote some more room logic
svn-id: r32315
2008-05-27 07:45:13 +00:00
Filippos Karapetis
b1217da63f comienza_sound -> playSound
fin_sound -> stopSound
comienza_sound -> playSound
n_puerta -> doorNum
cierra_puerta -> closeDoor

svn-id: r32314
2008-05-27 07:17:15 +00:00
Filippos Karapetis
314ecc5d7d Cleanup of the X_OBJ and Y_OBJ defines
svn-id: r32313
2008-05-27 07:04:56 +00:00
Filippos Karapetis
8e290114d2 palJuego -> gamePalette
x_raton -> mouseX
y_raton -> mouseY

Some slight cleanup

svn-id: r32312
2008-05-27 06:35:00 +00:00
Kari Salminen
a43d1e6be0 Changed floating point immediates to single precision (Silences MSVC warning C4305: '+=' : truncation from 'double' to 'float').
svn-id: r32307
2008-05-26 22:01:29 +00:00
Eugene Sandulenko
32eee43bbc Implement built-in screensaver
svn-id: r32306
2008-05-26 21:48:59 +00:00
Eugene Sandulenko
c13fda76d6 Fix leftover 8bit character
svn-id: r32304
2008-05-26 20:19:56 +00:00
Eugene Sandulenko
e45ea7b933 Fix delays against original
svn-id: r32303
2008-05-26 20:18:27 +00:00
Filippos Karapetis
f2e5283fcf Simplified all calls to talk_vb and talk_vbpuerta, together with some more calls to talk()
svn-id: r32302
2008-05-26 20:14:25 +00:00
Filippos Karapetis
7fe39a1470 Cleanup
svn-id: r32301
2008-05-26 19:50:05 +00:00
Filippos Karapetis
f68c1fd00b Cleanup
svn-id: r32300
2008-05-26 19:36:38 +00:00
Filippos Karapetis
9af5cca4e2 Removed a lot of duplicate code, fixed a mistake I made in sprintf
svn-id: r32299
2008-05-26 19:15:36 +00:00
Filippos Karapetis
3469c4821a More simplification to the talk() calls, fixed a shadowing warning
svn-id: r32298
2008-05-26 18:52:25 +00:00
Jordi Vilalta Prat
c6e29f4e4d Disable Drascula's and MADE's dummy fallbackDetect.
svn-id: r32297
2008-05-26 18:18:38 +00:00
Filippos Karapetis
e0051aa140 Started rewriting room logic
svn-id: r32294
2008-05-26 17:50:26 +00:00
Filippos Karapetis
d37be94275 Cleanup
svn-id: r32293
2008-05-26 17:49:32 +00:00
Filippos Karapetis
3506624393 Slight cleanup
svn-id: r32290
2008-05-26 14:08:53 +00:00
Eugene Sandulenko
0147dd10dc - Move more texts to strings
- Add support for international versions
- More differences for Spanish version
- Fix font position for Spanish version
- Added accented characters rendering
- Bring save names to ScummVM scheme. Original saves aren't read anymore
- Made mouse more responsive at save/load screen
- Couple fixes for game texts

svn-id: r32256
2008-05-24 21:23:06 +00:00
Paweł Kołodziejski
85abe0be12 more translations
svn-id: r32034
2008-05-11 20:05:09 +00:00
Paweł Kołodziejski
583e2573ab Negro -> Black
Destino -> dest
Origen -> src
Alto -> height
Ancho -> width
Buffer -> buffer
contador -> counter
dicho -> said
musica_antes -> previousMusic
musica_room -> roomMusic
cerca -> near
lejos -> far
paso -> step
espuerta -> isDoor

svn-id: r32017
2008-05-11 12:47:26 +00:00
Paweł Kołodziejski
7da27cf28c asigna_rgb -> setRGB
ActualizaPaleta -> updatePalette
elige_objeto -> chooseObject
datos_actuales -> currentData
nombre_obj -> objName
nombre_icono -> iconName
agarra_objeto -> pickObject
abre_puerta -> openDoor
con_voces -> with_voices
carga_pcx -> loadPCX
graba_partida -> saveGame
sin_verbo -> withoutVerb
actualiza_datos -> updateData

svn-id: r32014
2008-05-11 11:20:40 +00:00