854 Commits

Author SHA1 Message Date
Eugene Sandulenko
a9d1e5efa9 Rename duplicate named files in order to make MSVC happier
svn-id: r40353
2009-05-06 11:00:24 +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
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
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
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
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
Max Horn
2a89c7d1d4 SCI: Removed MEM_OBJ_RESERVED and related code
svn-id: r40265
2009-05-03 09:18:56 +00:00
Max Horn
240be613f9 SCI: Removed dead code
svn-id: r40264
2009-05-03 09:18:25 +00:00
Max Horn
5ef0e38fdd SCI: Changed VM GC code to use Common::Array
svn-id: r40263
2009-05-03 09:17:55 +00:00
Jordi Vilalta Prat
f0cfb657cf - Moved the extra information (like executable version, VERSION file contents or floppy label versions) into comments with a common format, in anticipation of engine versions being removed to use feature flags
- Added information about the games I own

svn-id: r40244
2009-05-02 15:35:57 +00:00
Travis Howell
f09f243bf2 Add English DOS demo of Leisure Suit Larry 2.
svn-id: r40243
2009-05-02 13:49:39 +00:00
Travis Howell
7f1a054cdb Add English DOS demo of Conquests of Camelot.
svn-id: r40242
2009-05-02 13:34:45 +00:00
Travis Howell
7740f5d322 Add English DOS demo of Space Quest 3.
svn-id: r40241
2009-05-02 13:14:10 +00:00
Max Horn
ed914d6740 SCI: Improved the Table template a bit by taking advantage of C++ features
svn-id: r40190
2009-04-28 22:56:44 +00:00
Max Horn
6ca348c9d0 SCI: Further restructured the SegManager heap tables
svn-id: r40184
2009-04-28 16:00:59 +00:00
Max Horn
36fcc55c06 SCI: Removed the evil macros in engine/heapmgr.h, by manually instantiating them where used (this enables us to further modify the code later one)
svn-id: r40183
2009-04-28 15:59:40 +00:00
Max Horn
294bd0dc07 SCI: Renamed execution_stack -> _executionStack and turned it into a Common::Array
svn-id: r40182
2009-04-28 15:58:19 +00:00
Max Horn
e6a7b8ef34 SCI: Renamed text_fragment_t -> TextFragment and changed TextHandle to store the text fragments and pixmaps in Common::Arrays
svn-id: r40178
2009-04-28 12:32:59 +00:00
Max Horn
f177c7142c Fixed some silly warnings
svn-id: r40165
2009-04-27 14:40:14 +00:00
Max Horn
6322478508 SCI: renamed gfx_text_handle_t -> TextHandle; changed some string code to use Common::String
svn-id: r40162
2009-04-27 14:21:39 +00:00
Max Horn
b5e9d79e15 SCI: Turned classtable into a Common::Array<Class>
svn-id: r40161
2009-04-27 12:31:27 +00:00
Max Horn
5881abb213 SCI: Removed unused vars; doxygenified some comments; cleanup
svn-id: r40159
2009-04-27 12:29:51 +00:00
Max Horn
356288ce8d SCI: Rewrote dirty rect code to use Common::List
svn-id: r40156
2009-04-27 11:12:25 +00:00
Max Horn
b73301748a SCI: Renamed gfx_state_t -> GfxState
svn-id: r40155
2009-04-27 11:12:08 +00:00
Filippos Karapetis
5eb4bdce66 Added all the different cases of kDoAudio as enums
svn-id: r40150
2009-04-26 02:00:36 +00:00
Walter van Niftrik
dfd0245273 SCI: DoSync should work now, but the lip-syncing mechanism also needs DoAudio
(currently stubbed), so it hasn't been tested yet.
so it hasn't been tested yet.

svn-id: r40147
2009-04-25 23:31:03 +00:00
Filippos Karapetis
f1893d8f25 WIP (still non-working) code for speech sync in CD talkie games (like e.g. KQ5 CD and SQ4 CD), taken from Greg's SCI implementation.
svn-id: r40142
2009-04-25 08:50:42 +00:00
Walter van Niftrik
204174180d SCI: Initialize pixmap to transparency before decoding cel RLE data. This
fixes some of the views in KQ6.

svn-id: r40132
2009-04-24 23:05:08 +00:00