aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
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
2009-04-27SCI: Turned classtable into a Common::Array<Class>Max Horn
svn-id: r40161
2009-04-27SCI: Removed unused vars; doxygenified some comments; cleanupMax Horn
svn-id: r40159
2009-04-27SCI: Renamed gfx_state_t -> GfxStateMax Horn
svn-id: r40155
2009-04-26Added all the different cases of kDoAudio as enumsFilippos Karapetis
svn-id: r40150
2009-04-25SCI: DoSync should work now, but the lip-syncing mechanism also needs DoAudioWalter van Niftrik
(currently stubbed), so it hasn't been tested yet. so it hasn't been tested yet. svn-id: r40147
2009-04-25WIP (still non-working) code for speech sync in CD talkie games (like e.g. ↵Filippos Karapetis
KQ5 CD and SQ4 CD), taken from Greg's SCI implementation. svn-id: r40142
2009-04-24Long messages in Eco Quest 1 are now shown correctlyFilippos Karapetis
svn-id: r40127
2009-04-24Merged kSetCursor and kSetCursorNew, and changed KQ5 CD to use the newer ↵Filippos Karapetis
kSetCursor version svn-id: r40120
2009-04-24SCI: Fix sci_max_allowed_unknown_kernel_functions[], it was missing an entry.Walter van Niftrik
svn-id: r40118
2009-04-24SCI: Fix signature of kPalette().Walter van Niftrik
svn-id: r40117
2009-04-24SCI: Turned GfxWidget::draw function pointer into virtual methodMax Horn
svn-id: r40115
2009-04-24SCI: Turned GfxWidget::tag function pointer into virtual methodMax Horn
svn-id: r40114
2009-04-24SCI: Turned GfxWidget::print function pointer into virtual methodMax Horn
svn-id: r40113
2009-04-24SCI: Fixed mouse cursor hotspots in ECO1.Walter van Niftrik
svn-id: r40110
2009-04-24SCI: Changed GfxWidget::set_visual function pointer to virtual method setVisualMax Horn
svn-id: r40108
2009-04-24SCI: Got rid of GFXW() macro; turned GfxWidget::widfree into destructorsMax Horn
svn-id: r40107
2009-04-24SCI: font_nr -> _fontMax Horn
svn-id: r40106
2009-04-24SCI: Rewrote the port_refs code (fixing at least three serious bugs in it. ↵Max Horn
Wow, crappy) svn-id: r40105
2009-04-24SCI: Renamed gfxw_widget_t and subtypes to GfxWidget etc.Max Horn
svn-id: r40104