Filippos Karapetis
64211f3370
- Renamed texts.cpp to staticdata.h and moved all game static data there
...
- Simplified room_0()
- Some cleanup
svn-id: r32404
2008-05-30 20:42:31 +00:00
Max Horn
4158ff64ed
Fix warnings
...
svn-id: r32403
2008-05-30 16:39:49 +00:00
Filippos Karapetis
d0174453ed
LookForFree -> soundIsActive
...
soundIsActive returns a boolean value now
svn-id: r32402
2008-05-30 15:15:49 +00:00
Filippos Karapetis
08eeb40ab4
Cleanup
...
svn-id: r32401
2008-05-30 14:58:38 +00:00
Filippos Karapetis
0e92f8ffa9
Rewrote some more room logic
...
svn-id: r32400
2008-05-30 14:58:09 +00:00
Filippos Karapetis
1da231a34e
- x_alakeva/y_alakeva -> destX/destY
...
- confirma_salir -> confirmExit
- Used CLIP instead of if's
svn-id: r32399
2008-05-30 14:44:08 +00:00
Filippos Karapetis
4837ff8b9b
- Merged loadPic and decompressPic
...
- talk_pianista -> talk_pianist
- Wrapped up talk_pianist, talk_wolf, talk_htel and talk_mus
- Did some cleanup in room logic
svn-id: r32398
2008-05-30 14:25:03 +00:00
Travis Howell
dcbbd33dc8
Detect the full version of Blue's Reading Time Activities, based on old forum post.
...
svn-id: r32397
2008-05-30 13:10:52 +00:00
Kari Salminen
b6b1b864be
Checked that opcodes 0x71-0x73 really do nothing else but read the parameters in PC versions of Future Wars and Operation Stealth. Maybe they're used in the Amiga versions?
...
svn-id: r32396
2008-05-30 11:12:14 +00:00
Filippos Karapetis
d2c337401e
Simplified calls to playSound()
...
svn-id: r32395
2008-05-30 11:04:40 +00:00
Filippos Karapetis
c153aaeea9
Wrapped up talk_drunk
...
Some cleanup
dir_escritura -> targetSurface
targetScreen -> targetSurface
plt (in decompressPic) -> colorCount
funcion -> function
svn-id: r32394
2008-05-30 10:55:43 +00:00
Kari Salminen
94d1e7effb
Implemented opcodes 0x04 (o1_mulObjectParam) and 0x05 (o1_divObjectParam).
...
svn-id: r32393
2008-05-30 10:43:21 +00:00
Filippos Karapetis
db0af96fa0
Wrapped up talk_igor_front, talk_igor_door, talk_igor_seated and talk_igor_wig
...
svn-id: r32392
2008-05-30 10:31:47 +00:00
Filippos Karapetis
d0b396f062
Moved SSN frame definitions into their own enum and removed unused definitions for the escape and F1-F10 keys
...
svn-id: r32391
2008-05-30 10:21:29 +00:00
Filippos Karapetis
d261c93049
More simplification of talk code. Moved talk_dr_grande() from animation.cpp to talk.cpp
...
svn-id: r32390
2008-05-30 10:14:27 +00:00
Filippos Karapetis
ea276dd177
talk_igor_frente -> talk_igor_front
...
svn-id: r32389
2008-05-30 10:04:39 +00:00
Filippos Karapetis
792286874a
talk_igorpuerta -> talk_igor_door
...
talk_igor_peluca -> talk_igor_wig
and replaced some unneeded if statements with atoi
svn-id: r32388
2008-05-30 10:02:56 +00:00
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
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