Filippos Karapetis
64def1b562
Big simplification and cleanup to the animation code
...
svn-id: r32387
2008-05-30 09:45:00 +00:00
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
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
Vicent Marti
8a83eafbf3
Misc fixes.
...
Constant naming fixes.
svn-id: r32342
2008-05-28 15:03:30 +00:00
Johannes Schickel
74c458153e
Cleanup.
...
svn-id: r32341
2008-05-28 14:37:29 +00:00
Vicent Marti
426c36992d
Bugfixes: Discarded function, switch fix.
...
svn-id: r32340
2008-05-28 14:30:51 +00:00
Vicent Marti
119b7126b9
InterfaceManager core implemented.
...
svn-id: r32339
2008-05-28 14:27:22 +00:00
Travis Howell
16b0905bb0
Remove debug left over.
...
svn-id: r32338
2008-05-28 13:02:33 +00:00