428 Commits

Author SHA1 Message Date
Filippos Karapetis
659d2bb234 Fixed regression from commit #32536
svn-id: r32538
2008-06-04 16:39:56 +00:00
Filippos Karapetis
735463de44 Fixed the misuse of ARRAYSIZE
svn-id: r32537
2008-06-04 16:15:08 +00:00
Filippos Karapetis
bea79f2d31 Rewrote some more room logic. Added a FIXME about the usage of ARRAYSIZE in this case
svn-id: r32536
2008-06-04 14:42:27 +00:00
Filippos Karapetis
518d705c93 lleva_vb -> placeVB
c_mirar -> curExcuseLook
c_poder -> curExcuseAction
sentido -> trackCharacter
mirar_t -> lookExcuses
poder_t -> actionExcuses

svn-id: r32535
2008-06-04 10:48:18 +00:00
Filippos Karapetis
a8d8f23f69 Simplified some more calls to loadPic()
svn-id: r32534
2008-06-04 10:29:28 +00:00
Filippos Karapetis
052d6f6bff releaseGame() -> quitGame()
nivel_osc -> palLevel
Simplified calls to loadPic()

svn-id: r32533
2008-06-04 10:27:10 +00:00
Filippos Karapetis
7e2e283a0e Fixed regression from commit #32507
svn-id: r32532
2008-06-04 09:56:41 +00:00
Filippos Karapetis
08566b44b8 enterNewRoom -> enterRoom
Added debug output when entering/exiting rooms

svn-id: r32530
2008-06-04 09:08:37 +00:00
Filippos Karapetis
e7f8ef11a9 carga_escoba -> enterNewRoom
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-04 09:02:23 +00:00
Filippos Karapetis
c0621fcc4e Merged para_grabar() with saveGame()
sentido_igor -> trackIgor
sentido_bj -> trackBJ

svn-id: r32527
2008-06-04 08:06:04 +00:00
Filippos Karapetis
db0c37d054 Removed junk code from update_1_pre, update_4 and update_6_pre
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-04 07:58:34 +00:00
Filippos Karapetis
e3a8074a6d Rewrote some more room logic
svn-id: r32518
2008-06-03 18:17:56 +00:00
Filippos Karapetis
6673bf512e Reordered and grouped function definitions
svn-id: r32513
2008-06-03 09:23:56 +00:00
Filippos Karapetis
00e662391d x_talk_izq/x_talk_dch are used in more than 1 place
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-03 08:54:49 +00:00
Filippos Karapetis
220dd330c2 hare_x/hare_y -> curX/curY
ancho_hare -> curWidth
alto_hare -> curHeight
direccion_hare -> curDirection

Some slight cleanup

svn-id: r32508
2008-06-02 23:09:19 +00:00
Filippos Karapetis
5789bbc836 elige_en_barra -> selectVerbFromBar
comprueba -> verify1
x_barra -> verbBarX
conta_vez -> startTime
diff_vez -> timeDiff

Some cleanup

svn-id: r32507
2008-06-02 22:41:58 +00:00
Filippos Karapetis
6f09c5a928 rayo_x -> rayX
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-02 20:46:00 +00:00
Filippos Karapetis
b0c7714cfa Added an enum for Igor's possible states
svn-id: r32502
2008-06-02 20:32:36 +00:00
Torbjörn Andersson
3f745d6813 This should fix a regression in the recent talk_igor() cleanup. I don't
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-02 18:48:09 +00:00
Eugene Sandulenko
945b92501a Simplified detection table
svn-id: r32500
2008-06-02 18:38:50 +00:00
Eugene Sandulenko
72e3cee9d4 Add detection for original unpacked Spanish and Italian versions.
svn-id: r32499
2008-06-02 18:28:55 +00:00
Eugene Sandulenko
251467a013 - Now it is possible to choose English version from original CD. Thanks to
ADGF_KEEPMATCH
- Fix detection of French version

svn-id: r32498
2008-06-02 18:21:03 +00:00
Filippos Karapetis
e6d2ed3ca8 Further cleanup of the talk code
svn-id: r32494
2008-06-02 10:58:45 +00:00
Eugene Sandulenko
cd6d528c42 Better implementation of packet games loading
svn-id: r32490
2008-06-02 06:51:59 +00:00
Eugene Sandulenko
aaf8b5810c Proper detection for packed German and French versions. Removed unneeded code.
svn-id: r32489
2008-06-02 05:56:53 +00:00
Eugene Sandulenko
4352bd1d88 Proper implementation for talk_banterder(82)
svn-id: r32488
2008-06-02 05:38:28 +00:00
Filippos Karapetis
7f36ae8d7c Removed some of the old talk functions
svn-id: r32487
2008-06-02 05:15:34 +00:00
Filippos Karapetis
24156516ab Simplified talk_blind()
svn-id: r32485
2008-06-02 05:00:11 +00:00
Filippos Karapetis
738a62ef6a loadAndDecompressPic -> loadPic
svn-id: r32484
2008-06-02 04:42:19 +00:00
Filippos Karapetis
cb5424810c Show the 3 pictures in carga_escoba after the initial file is loaded (so as not to attempt and reopen the ARJ file)
svn-id: r32483
2008-06-02 04:39:43 +00:00
Filippos Karapetis
704ad4a5fb Removed the now obsolete talk_dr_dch
Merged talk_bartender and talk_taber2
Merged talk_pen and talk_pen2

svn-id: r32481
2008-06-01 22:38:29 +00:00
Filippos Karapetis
ffc64511ca Add MD5's and packed file overrides for original packed files of the Multilingual English/German/French CD of Drascula
svn-id: r32478
2008-06-01 21:30:07 +00:00
Eugene Sandulenko
df35925557 Enable file fallback for drascula. Now old uncompressed games should work.
svn-id: r32477
2008-06-01 21:11:14 +00:00
Eugene Sandulenko
ba5cebfaf8 Now whole game could be run from original packed files.
svn-id: r32475
2008-06-01 20:58:05 +00:00
Eugene Sandulenko
49dd9376ad More ArjFile usage
svn-id: r32473
2008-06-01 19:07:57 +00:00
Eugene Sandulenko
e5be4847ac WIP for hooking unarj in order to play unmodified files from CD.
Will break your game unless you put packet.001 into game directory.
Not everything has been hooked and files fallback and detection is not
yet implemented

svn-id: r32461
2008-06-01 11:44:45 +00:00
Eugene Sandulenko
7a2d85c07c More endianness fixes
svn-id: r32445
2008-05-31 22:54:09 +00:00
Eugene Sandulenko
4b4ebbd45d Endianness fixes in FLI player
svn-id: r32444
2008-05-31 22:41:31 +00:00
Eugene Sandulenko
968fe6cbd7 Patch #1980689: "DRASCULA: ENGLISH GRAMMAR/SPELLING" thanks to sanguinehearts
svn-id: r32426
2008-05-31 17:44:57 +00:00
Filippos Karapetis
73b8f5ec00 x_igor/y_igor -> igorX/igorY
talk_dr_izq -> talk_drascula
Merged talk_drascula and talk_dr_dch

svn-id: r32425
2008-05-31 13:01:48 +00:00
Filippos Karapetis
8a8c67c9b7 Simplified calls to updateScreen()
svn-id: r32424
2008-05-31 12:40:02 +00:00
Filippos Karapetis
601b735346 Cleanup
svn-id: r32423
2008-05-31 10:24:45 +00:00
Eugene Sandulenko
7ce59d993b Remove trailing spaces
svn-id: r32422
2008-05-31 10:01:13 +00:00
Filippos Karapetis
9f95b76588 x_pantalla/y_pantalla -> screenX/screenY
y_de_signos -> signY
pos_texto -> textPos

svn-id: r32421
2008-05-31 09:55:11 +00:00
Eugene Sandulenko
e5934e38c5 Fix bug #1979579: "DRASCULA: typo in Spanish verbs"
svn-id: r32420
2008-05-31 09:49:09 +00:00
Filippos Karapetis
6ba824e66e Oops
svn-id: r32419
2008-05-31 09:45:47 +00:00
Filippos Karapetis
c80543cbb8 Cleanup
svn-id: r32418
2008-05-31 09:38:12 +00:00
Filippos Karapetis
bbfb4661ee updateData -> updateVisible
num_ejec -> currentChapter

svn-id: r32417
2008-05-31 09:16:26 +00:00
Eugene Sandulenko
8fd8c68a05 Eliminated more gotos
svn-id: r32416
2008-05-31 08:26:06 +00:00
Eugene Sandulenko
83880b85e9 Fix old regression
svn-id: r32415
2008-05-31 08:10:15 +00:00