Commit Graph

26009 Commits

Author SHA1 Message Date
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
Kari Salminen
b7deac38b3 Added check in modifyObjectParam's start (Verified with FW & OS PC versions' disassemblies). Also removed superfluous default-case, hopefully no compiler will complain about this :).
svn-id: r32371
2008-05-29 22:07:25 +00:00
Filippos Karapetis
5396cd5ded Cleanup
svn-id: r32370
2008-05-29 20:35:15 +00:00
Torbjörn Andersson
7833dd87a5 Rewrote dimPalette() so that the dimming is now a "filter" between the Screen
class and the backend, i.e. as far as the game engine is concerned the palette
remains unchanged. (This is similar how to the SCUMM engine handles the "noir"
mode in Sam & Max.)

This is one small step towards allowing the game to be paused anywhere.

svn-id: r32369
2008-05-29 20:32:27 +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
7ced1215d4 Fixed a crash that occurs when OS starts
svn-id: r32366
2008-05-29 17:58:56 +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
Benjamin Haisch
b9776d46b2 - Implemented opcodes: sfHomeText, sfDrawAnimPic
- Comments on unneeded opcodes
- Simplified getting/setting strings in Objects

svn-id: r32361
2008-05-29 12:57:11 +00:00
Kari Salminen
3f91c579fc Verified most parts of opcode 0x01 (o1_modifyObjectParam) against Future Wars's and Operation Stealth's disassembly (Only part of switch case 3 still left to do).
svn-id: r32360
2008-05-29 12:22:14 +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
Kari Salminen
5779261c16 Tiny comment update (Echec in French means failure).
svn-id: r32358
2008-05-29 10:15:39 +00:00
Christopher Page
203f62ad7c LURE: Fixed some memory leaks when returning to the launcher from the LURE engine
svn-id: r32357
2008-05-28 23:28:11 +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
Christopher Page
8297ead267 Merged revisions 32124,32126-32128,32131,32133,32135-32144,32146-32153,32155-32163,32165-32168,32170-32173,32175-32179,32181-32191,32193-32202,32204-32205,32209-32214,32216,32218,32220-32235,32237-32266,32269-32271,32273-32290,32292-32295,32297-32317,32319-32323,32325-32328,32330-32331,32334-32338,32343-32347 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk

svn-id: r32350
2008-05-28 20:30:20 +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
Christopher Page
3c0e72bb25 CINE: Initialize exitEngine to 0 in mainLoop() to allow replay after returning to the launcher
svn-id: r32333
2008-05-28 00:52:45 +00:00
Christopher Page
17b0144402 CINE: Fixed two memory leaks when shutting down the CINE engine
svn-id: r32332
2008-05-27 23:26:48 +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
Christopher Page
369f7b0d08 AGI: Modified AGI Engine to shutdown without using system->quit
svn-id: r32329
2008-05-27 20:15:36 +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