Commit Graph

10238 Commits

Author SHA1 Message Date
Johannes Schickel
7604301c30 Support target names of any length.
svn-id: r40438
2009-05-10 21:27:57 +00:00
Willem Jan Palenstijn
2a485abd6d Make static buffer larger.
This fixes crashes with AGI target names like goldrush-amiga.

svn-id: r40437
2009-05-10 21:20:33 +00:00
Florian Kagerer
e1cc5c309a KYRA: fixed typo
svn-id: r40436
2009-05-10 20:47:58 +00:00
Willem Jan Palenstijn
81cfd774ad clean up AGI fillAudio
svn-id: r40435
2009-05-10 20:42:46 +00:00
Max Horn
98fb95589c SCI: Changed EngineState::pics to a Common::Array
svn-id: r40434
2009-05-10 20:13:43 +00:00
Max Horn
14aa9d70ac SCI: Replaced Cplain odeBlock array in class Script by a Common::Array<CodeBlock>
svn-id: r40433
2009-05-10 20:13:12 +00:00
Max Horn
38c48b4f6e SCI: Fixed palette regression from rev 40388
svn-id: r40432
2009-05-10 19:18:19 +00:00
Max Horn
019f87fd1b SCI: Changed object list in Script instances to use Common:::Array
svn-id: r40431
2009-05-10 19:17:51 +00:00
Johannes Schickel
3a392ed05b Oops typo.
svn-id: r40428
2009-05-10 17:49:21 +00:00
Johannes Schickel
978758190e Cleanup.
svn-id: r40426
2009-05-10 17:26:46 +00:00
Johannes Schickel
02aa7dfdfd Fix accidental assignment in if condition.
svn-id: r40425
2009-05-10 17:22:08 +00:00
Filippos Karapetis
7cd07d9581 Cleanup
svn-id: r40423
2009-05-10 14:57:27 +00:00
Filippos Karapetis
d34d5f56b6 Cleanup
svn-id: r40422
2009-05-10 14:04:56 +00:00
Filippos Karapetis
53f24f3e43 Applied patch by waltervn to remove the length parameter from getText() and fixed a silly bug in getLength()
svn-id: r40421
2009-05-10 13:47:38 +00:00
Florian Kagerer
dd84aaf648 LOL: - added some spell casting (spark, heal, swarm)
- fixed several bugs (not the one in the fighting system though)
- added several opcodes. there shouldn't be any real show stoppers in the draracle cave now.
- simplified wsa code (which required 4 lines of code for displaying a frame)
- added support for wsa animations that don't have a last frame (apparently kyra 2 and 3 don't have this type of wsa file)

svn-id: r40420
2009-05-10 13:40:28 +00:00
Filippos Karapetis
3592801a57 Objectified and cleaned up the MessageState class
svn-id: r40419
2009-05-10 13:15:14 +00:00
Eugene Sandulenko
3b92b0f583 Add detection for newly discovered AGI demo
svn-id: r40417
2009-05-10 11:43:17 +00:00
Filippos Karapetis
3e9ca1a638 Reverted commit #40413
svn-id: r40415
2009-05-10 11:08:50 +00:00
Filippos Karapetis
05d6edda4f Oops
svn-id: r40413
2009-05-10 10:59:08 +00:00
Filippos Karapetis
acd5a87922 Moved the code which retrieves the current room number in a separate function and merged _sci1_alloc_system_colors inside _reset_graphics_input
svn-id: r40412
2009-05-10 10:27:45 +00:00
Filippos Karapetis
ceee278def Disabled some unused code
svn-id: r40411
2009-05-10 09:53:39 +00:00
Travis Howell
af3bf8a575 Fix regression that caused F1 to trigger the original load/save menu in COMI.
svn-id: r40410
2009-05-10 09:51:05 +00:00
Travis Howell
75b5bd418a Update comment.
svn-id: r40409
2009-05-10 07:21:35 +00:00
Travis Howell
6b6aca3fa3 Change the work around for sq3.san, so it doesn't alter global smush frame rate (Which is a regression).
svn-id: r40408
2009-05-10 06:54:45 +00:00
Travis Howell
4f0811b129 Correct and move initial SMUSH frame rate value, for the demo version of The Dig.
svn-id: r40407
2009-05-10 06:46:24 +00:00
Travis Howell
f5094553f7 Set the initial SMUSH frame rate, since variable doesn't change and isn't saved.
svn-id: r40406
2009-05-10 06:24:58 +00:00
Walter van Niftrik
34bdd010c3 SCI: AvoidPath: Got rid of a warning.
svn-id: r40399
2009-05-09 09:52:46 +00:00
Walter van Niftrik
90cef59d3b SCI: AvoidPath: No longer excludes edges on screen borders for pathfinding, as
only the earlier games seem to do this. We may need to add a SCI version check
here if this change breaks anything in earlier games.

svn-id: r40398
2009-05-09 01:23:52 +00:00
Walter van Niftrik
a70531f814 SCI: AvoidPath: another workaround for ECO.
svn-id: r40397
2009-05-09 00:32:05 +00:00
Walter van Niftrik
be7acea217 SCI: Set signature for GetMessage.
svn-id: r40396
2009-05-08 23:10:25 +00:00
Arnaud Boutonné
589d1dbd59 Add detection for Adibù 2 Ambiente et pour Adibù prima elementare : Imparo a leggere e a contare
svn-id: r40395
2009-05-08 22:52:47 +00:00
Walter van Niftrik
4f4bef88b1 SCI: Fix return value of GetMessage.
svn-id: r40394
2009-05-08 22:44:26 +00:00
Arnaud Boutonné
b0b25acf96 Added detection string for 'Adi Anglais primaire 7-11 ans' (PAK)
svn-id: r40393
2009-05-08 21:25:56 +00:00
Torbjörn Andersson
0821784514 "??)" is the trigraph for "]". That isn't what we want.
svn-id: r40392
2009-05-08 21:15:43 +00:00
Arnaud Boutonné
138dabe065 Added detection string for 'Adibou présente la Magie' (STK2.1), 'Adi Français Maths CM2' (PAK) and 'Adi Français Maths CE2' (PAK)
svn-id: r40391
2009-05-08 21:07:34 +00:00
Walter van Niftrik
f4bcd1680f SCI: GetMessage: lock resource.
svn-id: r40390
2009-05-08 16:21:51 +00:00
Max Horn
e933c02fd2 SCI: Folded line.h and crossblit.h into gfx_support.cpp
svn-id: r40389
2009-05-08 16:03:55 +00:00
Max Horn
0ebd41ac59 SCI: cleanup
svn-id: r40388
2009-05-08 16:03:14 +00:00
Max Horn
de114d3d52 SCI: Got rid of code for endian adjusting pixmaps
svn-id: r40387
2009-05-08 16:02:22 +00:00
Max Horn
527463dea2 SCI: turn the various gfx filters from #define hacks into template funcs
svn-id: r40386
2009-05-08 16:01:25 +00:00
Max Horn
e34c6316c6 SCI: Replaced gfx_driver_t::set_palette and install_palette by directly invoking their OSystem counterparts
svn-id: r40385
2009-05-08 16:00:39 +00:00
Walter van Niftrik
418d80c8a8 SCI: AvoidPath: another workaround for ECO
svn-id: r40384
2009-05-08 14:29:20 +00:00
Walter van Niftrik
afa254721d SCI: AvoidPath: Fixed a regression caused by previous commit, and added a
workaround for ECO room 300.

svn-id: r40383
2009-05-08 12:39:37 +00:00
Walter van Niftrik
8346af68ec SCI: AvoidPath: added support for multiple contained-access polygons (ECO1).
svn-id: r40378
2009-05-08 11:08:53 +00:00
Max Horn
574dee8e1f SCI: Got rid of last traces of class SegInterface
svn-id: r40377
2009-05-08 09:54:24 +00:00
Max Horn
0223b7e490 SCI: Moved findCanonicAddress from SegInterface to MemObject
svn-id: r40376
2009-05-08 09:54:06 +00:00
Max Horn
8d4a4271bb SCI: Moved freeAtAddress from SegInterface to MemObject
svn-id: r40375
2009-05-08 09:53:49 +00:00
Max Horn
b49dd22173 SCI: Renamed dstack_t -> DataStack; removed obsolete KF_OLD constant
svn-id: r40374
2009-05-08 09:53:31 +00:00
Max Horn
d8738b9090 SCI: Started to merge SegInterface into MemObject
svn-id: r40373
2009-05-08 09:53:10 +00:00
Max Horn
76a48947de SCI: Added workaround for Common::Array<T>::resize() not zero-initing newly allocated memory if T is a scaler type, pointer, POD type. At least on OS X
svn-id: r40372
2009-05-08 09:52:51 +00:00