Commit Graph

10286 Commits

Author SHA1 Message Date
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
Matthew Hoops
226f8860ca Fix an endian bug
svn-id: r40370
2009-05-07 12:24:42 +00:00
Travis Howell
391cf9d144 Correct incorrect byte in corrupt 72.out file, included with some PC versions of PN.
svn-id: r40369
2009-05-07 12:05:44 +00:00
Paul Gilbert
70472c79cd Commit of patch submitted by Jaime Abraham Corrales Gonzalez, with minor formatting changes
svn-id: r40368
2009-05-07 09:49:13 +00:00
Arnaud Boutonné
8803d4b3a6 Gob - Added atmosphere music to WinGob1, WinGob2 and WinGob3
svn-id: r40363
2009-05-06 17:18:38 +00:00
Arnaud Boutonné
fd1e6fad1e Gob - Modify Features of PC versions of Fascination to Adlib. (thank DrMcCoy for fixing my error in previous version)
svn-id: r40362
2009-05-06 15:37:41 +00:00
Paul Gilbert
25e844655e Sync with adlib.cpp rename
svn-id: r40358
2009-05-06 11:11:44 +00:00
Max Horn
8d2f80fd51 SCI: Added operator== and !=, as well as an isNull method to reg_t
svn-id: r40356
2009-05-06 11:07:04 +00:00
Max Horn
b7d1ca00d7 SCI: Added a comment (taken from a mail by Lars Skovlund) explaining SCI string frags. Also added a 'typedef reg_t *StringFrag' for future use
svn-id: r40355
2009-05-06 11:06:43 +00:00
Eugene Sandulenko
efa3d244fa Sync with adlib.cpp rename
svn-id: r40354
2009-05-06 11:01:58 +00:00
Eugene Sandulenko
a9d1e5efa9 Rename duplicate named files in order to make MSVC happier
svn-id: r40353
2009-05-06 11:00:24 +00:00
Travis Howell
4e6f862b7c Add more file sizes.
svn-id: r40348
2009-05-06 09:31:55 +00:00
Eugene Sandulenko
af4d23f762 Const correctness
svn-id: r40346
2009-05-06 09:12:24 +00:00
Sven Hesse
4da318bd11 Remove duplicate entry (sorry Strangerke, but this one was already in there, a few lines above) :P
svn-id: r40345
2009-05-06 08:24:53 +00:00
Arnaud Boutonné
e78ebed32d Gob - Add MD5 as provided by Luca in scummvm-devel for Woodruff ITA
svn-id: r40344
2009-05-06 07:56:23 +00:00
Walter van Niftrik
563c6d59d3 SCI: Modified the new adlib driver for the dosbox adlib emulator, and enabled the new player.
svn-id: r40343
2009-05-06 01:18:12 +00:00
Walter van Niftrik
bd82af01c2 SCI: Removed stereo support from the soon-to-be-removed old SCI adlib driver
in order to get it working with the new adlib emulator.

svn-id: r40336
2009-05-05 22:07:50 +00:00
Johannes Schickel
ad38e0def0 Update SCI code for the upcoming AdLib emulator changes:
- Switch old 'opl2' code to use less of the MAME specific API.
- Since 'interleave' parameter on "YM3812UpdateOne" will be dropped, work around that in SCI code by hand.

svn-id: r40332
2009-05-05 21:34:32 +00:00
Arnaud Boutonné
10c29205e6 Gob - Fix Fascination CD file size thanks to joostp
svn-id: r40331
2009-05-05 17:01:22 +00:00
Torbjörn Andersson
e9e9725946 Added detection entry for the German 16-colour version, which was included on
the "Classic Collection" CD I just bought.

svn-id: r40330
2009-05-05 16:58:54 +00:00
Travis Howell
bb4b2a5060 Fix input glitch regression again, by closer matching original PN code.
svn-id: r40329
2009-05-05 13:40:16 +00:00
Travis Howell
f4cb6a0b0a Fix input glitch regression, when examing items in PN.
svn-id: r40328
2009-05-05 12:47:37 +00:00
Max Horn
dc29c404a7 SCI: Work around an 'Array used after being disposed' bug that occurs when a GfxVisual gets disposed
svn-id: r40327
2009-05-05 12:33:11 +00:00
Max Horn
c36694764d SCI: Fix my previous changes to internal_stringfrag_strcmp (side remark: Another bonus when using git resp. git-svn, and not SVN: you can commit stuff and test it some time before going public, thus avoid stupid screw ups like this one ;)
svn-id: r40325
2009-05-05 12:28:12 +00:00
Max Horn
7e51eb6478 SCI: Actually, it turns out the SystemString is more messed up than I thought: In some places it allocates a memory block of max_size bytes; sometimes max_size+1 bytes; and sometimes max_size*sizeof(reg_t) bytes. And sometimes strings frags are accessed as plain C strings (e.g. when saved), sometimes as a string encode as a series of reg_t values. Ouch :/
svn-id: r40324
2009-05-05 12:23:05 +00:00
Max Horn
2980940788 SCI: Simplified internal_stringfrag_strcmp and internal_stringfrag_strncmp
svn-id: r40323
2009-05-05 12:20:28 +00:00
Max Horn
36f58b6378 SCI: Fixed out of bounds access in (still incomplete?) string frags code
svn-id: r40321
2009-05-05 12:00:51 +00:00
Walter van Niftrik
274d890f5b SCI: Support for 0x4e control changes in new adlib driver, and some cleanup.
svn-id: r40312
2009-05-05 01:51:39 +00:00
Joost Peters
e1208f7b2b Fix compilation without --enable-pn
svn-id: r40311
2009-05-04 19:54:53 +00:00
Johannes Schickel
e63b778541 This should fix linking on PSP.
svn-id: r40310
2009-05-04 16:52:13 +00:00
Max Horn
f2da4bc447 SCI: Got rid of heapmgr.h; further improve the Table code
svn-id: r40308
2009-05-04 15:23:33 +00:00
Max Horn
27b74756d8 TINSEL: Added FIXME comment about a valgrind warning (calling strcpy on overlapping strings is unsafe)
svn-id: r40307
2009-05-04 15:05:25 +00:00
Max Horn
6e6a8f8d6c SCI: Unified serializing code for Table subclasses, using template specialization. This whole syncWithSerializer / DefaultSyncer / ArraySyncer code is experimental work in progress ;)
svn-id: r40306
2009-05-04 15:05:11 +00:00
Max Horn
88317c1944 SCI: Fixed savestate loading
svn-id: r40305
2009-05-04 15:04:55 +00:00
Max Horn
3cf4d1d71a SCI: Added doxygen comment to MemObject::MemObject
svn-id: r40303
2009-05-04 15:04:26 +00:00
Travis Howell
5450bf6630 Fix input been displayed during ending sequence in PN.
svn-id: r40300
2009-05-04 12:55:04 +00:00
Travis Howell
42bb8b95be Fix the car chase scene in PN.
svn-id: r40299
2009-05-04 09:17:31 +00:00
Travis Howell
3fc6c92172 All versions of PN share the same saved game format.
svn-id: r40298
2009-05-04 09:16:00 +00:00
Travis Howell
511483adc9 Always reset VGA memory pointer, when load zone in PN, since only a single zone is used.
svn-id: r40297
2009-05-04 09:13:34 +00:00
Travis Howell
1ce07f5e88 Add code different for PN in vc32_saveScreen(), to fix crashes.
svn-id: r40296
2009-05-04 02:05:28 +00:00
Max Horn
a41069d69b SCI: Started adding methods to MemObject subclasses: constructors, destructors, dereference() (and currently commented out refs to Common::Serializable
svn-id: r40295
2009-05-03 22:47:04 +00:00
Max Horn
d960c1e2a5 SCI: Completed transition from MemObject (a union of various structs) to MemObjectNEW (a baseclass for these structs)
svn-id: r40294
2009-05-03 22:46:38 +00:00
Max Horn
82f2672008 SCI: Changed SegManager to store the heap pointers in a Common::Arrray
svn-id: r40293
2009-05-03 22:46:11 +00:00
Max Horn
f108a31ad7 SCI: Made SegManager::heap_size unsigned
svn-id: r40290
2009-05-03 22:45:13 +00:00
Walter van Niftrik
c7a5a17acf SCI: adlib support (work-in-progress) for the new music player.
svn-id: r40287
2009-05-03 21:11:09 +00:00
Max Horn
5e955ea045 SCI: Continue transition from MemObject to MemObjectNEW
svn-id: r40274
2009-05-03 11:07:07 +00:00
Max Horn
418a2a422e SCI: Got rid of the LIST_ALL_DEALLOCATABLE macro
svn-id: r40273
2009-05-03 11:04:37 +00:00
Max Horn
79b0711cfd SCI: Begun conversion of the MemObject union (used to implement poor man's fake inheritance) into a base class of all the various union members
svn-id: r40272
2009-05-03 09:30:59 +00:00
Max Horn
50c8821072 SCI: Renamed MemObject::type and ::segmgr_id to _type resp. _segmgrId, and added accessor methods getType() and getSegMgrId()
svn-id: r40271
2009-05-03 09:30:33 +00:00
Max Horn
ba57b21d09 SCI: Changed SegManager to subclass Common::Serializable
svn-id: r40270
2009-05-03 09:25:15 +00:00
Max Horn
d695c24b9b SCI: Changed various params of type MemObject* to the more specific type Script&
svn-id: r40269
2009-05-03 09:21:08 +00:00
Max Horn
58ee0314ae SCI: Added SegManager::getScript method and modified code to make use of it; moved VERIFY from seg_manager.h to seg_manager.cpp
svn-id: r40268
2009-05-03 09:20:21 +00:00
Max Horn
cac28ebdbb SCI: Doxygenified various comments
svn-id: r40266
2009-05-03 09:19:21 +00:00