aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
2009-05-10Reverted commit #40413Filippos Karapetis
svn-id: r40415
2009-05-10OopsFilippos Karapetis
svn-id: r40413
2009-05-10Moved the code which retrieves the current room number in a separate ↵Filippos Karapetis
function and merged _sci1_alloc_system_colors inside _reset_graphics_input svn-id: r40412
2009-05-09SCI: AvoidPath: Got rid of a warning.Walter van Niftrik
svn-id: r40399
2009-05-09SCI: AvoidPath: No longer excludes edges on screen borders for pathfinding, asWalter van Niftrik
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-09SCI: AvoidPath: another workaround for ECO.Walter van Niftrik
svn-id: r40397
2009-05-08SCI: Set signature for GetMessage.Walter van Niftrik
svn-id: r40396
2009-05-08SCI: Fix return value of GetMessage.Walter van Niftrik
svn-id: r40394
2009-05-08SCI: GetMessage: lock resource.Walter van Niftrik
svn-id: r40390
2009-05-08SCI: AvoidPath: another workaround for ECOWalter van Niftrik
svn-id: r40384
2009-05-08SCI: AvoidPath: Fixed a regression caused by previous commit, and added aWalter van Niftrik
workaround for ECO room 300. svn-id: r40383
2009-05-08SCI: AvoidPath: added support for multiple contained-access polygons (ECO1).Walter van Niftrik
svn-id: r40378
2009-05-08SCI: Got rid of last traces of class SegInterfaceMax Horn
svn-id: r40377
2009-05-08SCI: Moved findCanonicAddress from SegInterface to MemObjectMax Horn
svn-id: r40376
2009-05-08SCI: Moved freeAtAddress from SegInterface to MemObjectMax Horn
svn-id: r40375
2009-05-08SCI: Renamed dstack_t -> DataStack; removed obsolete KF_OLD constantMax Horn
svn-id: r40374
2009-05-08SCI: Started to merge SegInterface into MemObjectMax Horn
svn-id: r40373
2009-05-08SCI: Added workaround for Common::Array<T>::resize() not zero-initing newly ↵Max Horn
allocated memory if T is a scaler type, pointer, POD type. At least on OS X svn-id: r40372
2009-05-07Fix an endian bugMatthew Hoops
svn-id: r40370
2009-05-06SCI: Added operator== and !=, as well as an isNull method to reg_tMax Horn
svn-id: r40356
2009-05-06SCI: Added a comment (taken from a mail by Lars Skovlund) explaining SCI ↵Max Horn
string frags. Also added a 'typedef reg_t *StringFrag' for future use svn-id: r40355
2009-05-05SCI: Fix my previous changes to internal_stringfrag_strcmp (side remark: ↵Max Horn
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-05SCI: Actually, it turns out the SystemString is more messed up than I ↵Max Horn
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-05SCI: Simplified internal_stringfrag_strcmp and internal_stringfrag_strncmpMax Horn
svn-id: r40323
2009-05-05SCI: Fixed out of bounds access in (still incomplete?) string frags codeMax Horn
svn-id: r40321
2009-05-04This should fix linking on PSP.Johannes Schickel
svn-id: r40310
2009-05-04SCI: Got rid of heapmgr.h; further improve the Table codeMax Horn
svn-id: r40308
2009-05-04SCI: Unified serializing code for Table subclasses, using template ↵Max Horn
specialization. This whole syncWithSerializer / DefaultSyncer / ArraySyncer code is experimental work in progress ;) svn-id: r40306
2009-05-04SCI: Fixed savestate loadingMax Horn
svn-id: r40305
2009-05-04SCI: Added doxygen comment to MemObject::MemObjectMax Horn
svn-id: r40303
2009-05-03SCI: Started adding methods to MemObject subclasses: constructors, ↵Max Horn
destructors, dereference() (and currently commented out refs to Common::Serializable svn-id: r40295
2009-05-03SCI: Completed transition from MemObject (a union of various structs) to ↵Max Horn
MemObjectNEW (a baseclass for these structs) svn-id: r40294
2009-05-03SCI: Changed SegManager to store the heap pointers in a Common::ArrrayMax Horn
svn-id: r40293
2009-05-03SCI: Made SegManager::heap_size unsignedMax Horn
svn-id: r40290
2009-05-03SCI: Continue transition from MemObject to MemObjectNEWMax Horn
svn-id: r40274
2009-05-03SCI: Got rid of the LIST_ALL_DEALLOCATABLE macroMax Horn
svn-id: r40273
2009-05-03SCI: Begun conversion of the MemObject union (used to implement poor man's ↵Max Horn
fake inheritance) into a base class of all the various union members svn-id: r40272
2009-05-03SCI: Renamed MemObject::type and ::segmgr_id to _type resp. _segmgrId, and ↵Max Horn
added accessor methods getType() and getSegMgrId() svn-id: r40271
2009-05-03SCI: Changed SegManager to subclass Common::SerializableMax Horn
svn-id: r40270
2009-05-03SCI: Changed various params of type MemObject* to the more specific type Script&Max Horn
svn-id: r40269
2009-05-03SCI: Added SegManager::getScript method and modified code to make use of it; ↵Max Horn
moved VERIFY from seg_manager.h to seg_manager.cpp svn-id: r40268
2009-05-03SCI: Doxygenified various commentsMax Horn
svn-id: r40266
2009-05-03SCI: Removed MEM_OBJ_RESERVED and related codeMax Horn
svn-id: r40265
2009-05-03SCI: Removed dead codeMax Horn
svn-id: r40264
2009-05-03SCI: Changed VM GC code to use Common::ArrayMax Horn
svn-id: r40263
2009-04-28SCI: Improved the Table template a bit by taking advantage of C++ featuresMax Horn
svn-id: r40190
2009-04-28SCI: Further restructured the SegManager heap tablesMax Horn
svn-id: r40184
2009-04-28SCI: Removed the evil macros in engine/heapmgr.h, by manually instantiating ↵Max Horn
them where used (this enables us to further modify the code later one) svn-id: r40183
2009-04-28SCI: Renamed execution_stack -> _executionStack and turned it into a ↵Max Horn
Common::Array svn-id: r40182
2009-04-27Fixed some silly warningsMax Horn
svn-id: r40165