aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/object.cpp
AgeCommit message (Collapse)Author
2012-09-07CINE: A little bit enforcement of our formatting guidelines.Johannes Schickel
Powered by astyle & manual fixup afterwards.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-01-09CINE: Added fix for Operation Stealth Loss of Inventory after Scene 6 ↵David Turner
Labyrinth Maze. It is now possible to open the office safe and get the envelope, though the engine now asserts with a palette issue in the next scene as the Russians board the Jetskis. svn-id: r55194
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-08-09CINE: eliminate global variablesEugene Sandulenko
svn-id: r51937
2010-04-21CINE: Change Doxygen commands to match our CFCMax Horn
svn-id: r48764
2010-01-03Fixed a bunch of cppcheck warnings. Mostly about checking if a pointer is nullTorbjörn Andersson
before freeing it, which isn't necessary. svn-id: r46941
2009-09-20Changed some type names to match our coding guidelines.Johannes Schickel
svn-id: r44224
2008-08-09Converted objectTable from a plain array to a Common::Array. Should help to ↵Kari Salminen
catch out of bounds access errors that may cause memory corruption. svn-id: r33725
2008-07-01Fixed unitialized variablesMax Horn
svn-id: r32865
2008-06-30Implemented resetGfxEntityEntry and made it used where appropriate (The ↵Kari Salminen
function wasn't very easy to reverse engineer so it may have flaws still, but let's hope it doesn't ;-)). svn-id: r32848
2008-06-26Implemented Operation Stealth's version of addOverlay(objectIndex, overlayType).Kari Salminen
svn-id: r32816
2008-06-25Implemented opcode:Kari Salminen
- 0x8D: o2_op8D (Didn't come up with a descriptive name yet) Compares ranges of x, y and mask parameters between two objects. Possibly some kind of an intersection testing function? svn-id: r32785
2008-06-24Fixed opcodes:Kari Salminen
- 0xA0: o2_addGfxElementType20 (Was o2_addGfxElementA0) Implemented opcodes: - 0xA1: o2_removeGfxElementType20 (Was o2_removeGfxElementA0) - 0xA2: o2_addGfxElementType21 (Was o2_opA2) - 0xA3: o2_removeGfxElementType21 (Was o2_opA3) NOTE: Drawing of type 21 overlay elements isn't coded yet. svn-id: r32769
2008-05-29Added check in modifyObjectParam's start (Verified with FW & OS PC versions' ↵Kari Salminen
disassemblies). Also removed superfluous default-case, hopefully no compiler will complain about this :). svn-id: r32371
2008-05-29Verified most parts of opcode 0x01 (o1_modifyObjectParam) against Future ↵Kari Salminen
Wars's and Operation Stealth's disassembly (Only part of switch case 3 still left to do). svn-id: r32360
2008-05-24Patch #1969189: "CinE renderer rewrite"Eugene Sandulenko
svn-id: r32257
2008-04-21Patch #1941066: "CinE sprite overlay rewrite" courtsey of next_ghostEugene Sandulenko
svn-id: r31651
2008-04-07Patch #1913862: "CinE Script system"Eugene Sandulenko
svn-id: r31444
2008-01-01Slightly modified patch #1848173: "ScriptVars class implementation for CinE"Eugene Sandulenko
svn-id: r30125
2007-12-24Change 3 remaining free() to delete, which were not changed with commit ↵Filippos Karapetis
#29841 (part of patch #1848173) svn-id: r29972
2007-12-14CleanupFilippos Karapetis
svn-id: r29858
2007-12-13use CLIP template for clipping, made an array static const and renamed ↵Gregory Montoir
MAX_OBJECTDATA to MAX_VAR svn-id: r29853
2007-12-13Added a proper fix for bug #1733238 - "FW: crash in copier room", taken from ↵Filippos Karapetis
next_ghost's patch #1848173 - "ScriptVars class implementation for CinE" svn-id: r29852
2007-12-13CleanupFilippos Karapetis
svn-id: r29844
2007-12-13Changed the C style malloc/free to the C++ style new/deleteFilippos Karapetis
svn-id: r29841
2007-12-08Cleanup and simplificationFilippos Karapetis
svn-id: r29754
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-06-12Fix for #1733238 - FW: crash in copier roomFilippos Karapetis
svn-id: r27376
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-05-29removed some resource related memory leaksGregory Montoir
svn-id: r27007
2007-05-29added code for freePartRange, freePartEntry and freeOverlay (also renamed ↵Gregory Montoir
some functions and variables). svn-id: r27006
2007-05-13removed duplicated code (BASESON datafiles can be loaded with the existing ↵Gregory Montoir
bundle related functions) svn-id: r26836
2006-04-12Fixed serious bug in removeOverlayElement() that would cause it to fail. ThisTorbjörn Andersson
caused getObjectUnderCursor() select the wrong object because the object list was no longer guaranteed to be sorted on priority ("mask"). In Future Wars, this made it difficult (impossible?) to pick up the tunic, because the game would pick the bushes instead, even though the tunic had a higher priority. svn-id: r21825
2006-04-12cleanupEugene Sandulenko
svn-id: r21819
2006-04-08Cleanup.Torbjörn Andersson
svn-id: r21681
2006-04-05Fixed bug in loadObject() where the data pointer was only advanced for theTorbjörn Andersson
objects that were actually loaded from the file, not the ones that were skipped. This bug was introduced when porting cinE to the ScummVM framework, and would cause Future Wars to crash after the copy protection screen. Quite possibly other bugs, as well. svn-id: r21632
2006-03-29Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 ↵Max Horn
to ~250). Many greetings to eriktorbjorn, and have fun recompiling. svn-id: r21500
2006-03-23uint8 -> byteEugene Sandulenko
svn-id: r21414
2006-03-23Got rid of ASSERT and ASSERT_PTR definesEugene Sandulenko
svn-id: r21412
2006-03-16- added defines to handle the different mouse cursorsGregory Montoir
- revised the way NUM_MAX_PARTDATA and NUM_MAX_ANIMDATA are used - renamed some variables - constify'ed function arguments - minor cleanup svn-id: r21338
2006-03-15added mouse cursorsGregory Montoir
svn-id: r21321
2006-03-03Eliminate flip_support.cpp file.Eugene Sandulenko
svn-id: r21045
2006-02-27cleanupGregory Montoir
svn-id: r20957
2006-02-25Some more cine header cleanupMax Horn
svn-id: r20859
2006-02-25Reducing the header dependencies in cine a bit moreMax Horn
svn-id: r20857
2006-02-25Moved cine engine into namespace CineMax Horn
svn-id: r20851
2006-02-23formating codePaweł Kołodziejski
svn-id: r20835
2006-02-23Fix a few compile warnings.Travis Howell
svn-id: r20826
2006-02-23Cleanup to remove duplicate type definesTravis Howell
svn-id: r20821