Commit Graph

25830 Commits

Author SHA1 Message Date
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
Kari Salminen
5779261c16 Tiny comment update (Echec in French means failure).
svn-id: r32358
2008-05-29 10:15:39 +00:00
Filippos Karapetis
b844e4bd5a Implemented visual effects 11 and 13 (inverse of 10 and 12)
svn-id: r32356
2008-05-28 23:17:10 +00:00
Sven Hesse
ab6c82a850 Silenced a signed/unsigned comparison warning
svn-id: r32355
2008-05-28 22:42:15 +00:00
Benjamin Haisch
4afd19ad0f Fixed premature stopping of sounds/voices.
svn-id: r32354
2008-05-28 22:15:10 +00:00
Filippos Karapetis
8757db728a Updated the MSVC project files of the gob engine for commit #32352
svn-id: r32353
2008-05-28 21:27:52 +00:00
Sven Hesse
8da68b2964 Script variables are now always stored in the game version's native endianess.
This should make Woodruff playable on big-endian systems.

svn-id: r32352
2008-05-28 21:15:11 +00:00
Filippos Karapetis
c9fd5fef76 Added a note about the MSVC quirk with the spaces around ENABLE_##ID
svn-id: r32351
2008-05-28 20:31:01 +00:00
Benjamin Haisch
885fa54f28 Split Object/GameDatabase into engine version specific classes
svn-id: r32349
2008-05-28 20:16:22 +00:00
Benjamin Haisch
df0e072a1b Fixed a crash in LGOP2 when attempting to get a sprite item from an empty array.
svn-id: r32348
2008-05-28 20:12:01 +00:00
Filippos Karapetis
057af1000f Removed an MSVC specific hack, after discussing with jvprat. It seems that MSVC was trying to add the parenthesis after ENABLE_##ID to the check...
svn-id: r32347
2008-05-28 19:45:04 +00:00
Filippos Karapetis
649f439fb6 Reverted commit #32344, apparently those defines are needed for the SCUMM engine for older versions of MSVC
svn-id: r32346
2008-05-28 19:30:43 +00:00
Filippos Karapetis
e9c4122419 Added ENABLE directives for all ScummVM engines
svn-id: r32345
2008-05-28 19:16:03 +00:00
Filippos Karapetis
29a4c3201b Remove the ENABLE_SCUMM_7_8 and ENABLE_HE directives from the SCUMM engine MSVC project file. They'll be placed in the global ScummVM project
svn-id: r32344
2008-05-28 19:10:44 +00:00
Willem Jan Palenstijn
90bf3de2d6 Decrement _nele when erasing an element from hashmap, and add a test-case for this bug.
svn-id: r32343
2008-05-28 18:32:05 +00:00
Travis Howell
16b0905bb0 Remove debug left over.
svn-id: r32338
2008-05-28 13:02:33 +00:00
Travis Howell
edc731e04f The hard coded string translations for The Dig only apply to subtitles, and not speech.
svn-id: r32337
2008-05-28 13:00:41 +00:00
Kari Salminen
51e4e487b1 Implemented opcode 0x9A (o2_wasZoneChecked).
svn-id: r32336
2008-05-28 13:00:27 +00:00
Kari Salminen
f0195a01f6 Fix Operation Stealth's opcode 0x82's parameter list (Verified with DOS version's disassembly).
svn-id: r32335
2008-05-28 12:05:40 +00:00
Travis Howell
292bc04389 Update the hard coded string translations in The Dig.
svn-id: r32334
2008-05-28 02:55:42 +00:00
Johannes Schickel
6358878a43 Fixed choppy sound on my Vista box. (after talking with Fingolfin about it)
svn-id: r32331
2008-05-27 21:18:21 +00:00
Johannes Schickel
691306f0b7 Fixed KyraEngine_v1::snd_stopVoice and KyraEngine_v1::snd_voiceIsPlaying implementations.
svn-id: r32330
2008-05-27 21:04:27 +00:00
Kari Salminen
c0f1b7fe66 Added a few more comments about Operation Stealth's opcodes (Redundancies, Future Wars's opcodes' end point).
svn-id: r32328
2008-05-27 19:36:39 +00:00
Kari Salminen
17fd16a38e Went through Operation Stealth's opcode list and added TODOs for naming all unknown functions properly and some notes about opcode redundancies.
svn-id: r32327
2008-05-27 19:25:04 +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
Johannes Schickel
9d13d90d4f - Cleanup code for FlacInputStream::getTotalPlayTime
- Reset input stream position in MP3InputStream after calculating total play time

svn-id: r32323
2008-05-27 13:28:47 +00:00
Johannes Schickel
e82295daa3 Implemented getTotalPlayTime for MP3InputStream.
svn-id: r32322
2008-05-27 13:15:51 +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
Max Horn
77f2e18dcf Reduce audio buffer size, as indicated on scummvm-devel
svn-id: r32316
2008-05-27 08:01:06 +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
Jordi Vilalta Prat
4306e1e0eb Made some methods virtual to allow File subclasses
svn-id: r32311
2008-05-27 02:39:51 +00:00
Sven Hesse
a6649af56e Fixed an endian-related issue, making Woodruff controlable on big-endian machines.
It still breaks when switching screens and object videos are mispositioned, though.

svn-id: r32310
2008-05-27 00:03:29 +00:00
Sven Hesse
a0a8e0e690 Fixed Italian Woodruff's MD5
svn-id: r32309
2008-05-26 23:03:17 +00:00
Sven Hesse
59df762f0a More split screen fixes.
I never get tired out those... ;)

svn-id: r32308
2008-05-26 22:02:20 +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
Sven Hesse
9eed36cc4f Use memmove when source and destination sprite areas overlap in drawSprite()
svn-id: r32305
2008-05-26 21:07:49 +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