Commit graph

73 commits

Author SHA1 Message Date
Eugene Sandulenko
c728c29857 FULLPIPE: More debug output to loading 2017-12-08 23:57:48 +01:00
Colin Snover
2be96457b9 FULLPIPE: Make list item ownership comments more consistent 2017-11-18 22:35:12 +01:00
Colin Snover
a8b635e4cd FULLPIPE: Fix leaks of DynamicPhases
I am not entirely sure this is a correct fix for these leaks;
there is still the issue of the last member of _dynamicPhases being
invalidated and not removed sometime before the destruction of
Movement. Also, some of the items in this array are not actually
owned by Movement so deleting them will cause double-frees or
use-after-frees. It may be the case that a second list should be
maintained instead containing only the objects that are created
internally within Movement. Further testing will tell for sure.
2017-11-18 22:35:12 +01:00
Colin Snover
c7b1f6b26c FULLPIPE: Clarify ownership of DynamicPhase::_exCommand 2017-11-18 22:35:12 +01:00
Colin Snover
a6fc77ec65 FULLPIPE: Clarify ownership of pointer arrays in StaticANIObject 2017-11-18 22:35:12 +01:00
Colin Snover
715d4bd76a FULLPIPE: Fix memory leaks, ownership issues with various point lists 2017-11-18 22:35:12 +01:00
Colin Snover
bb26bf7994 FULLPIPE: Fix memory leaks and unnecessary indirect allocations in Motion and Sc2 2017-11-18 22:35:12 +01:00
Colin Snover
14a6ff0810 FULLPIPE: Fix memory leaks of MovTable and remove unnecessary extra class 2017-11-18 22:35:12 +01:00
Colin Snover
350ddcee10 FULLPIPE: Take references instead of pointers for required arguments in statics, remove unnecessary Picture allocation 2017-11-18 22:35:12 +01:00
Colin Snover
6f8a65c739 FULLPIPE: Fix memory leak & unnecessary heap allocation of Rects 2017-11-18 22:35:12 +01:00
Colin Snover
88a2eaba93 FULLPIPE: Make dimensions/coordinate getters pure functions 2017-11-18 22:35:12 +01:00
Filippos Karapetis
a93c8c5d3e Unify all string function parameters to be const Common::String &
Thanks to wjp for the suggestion
2017-03-24 00:56:11 +02:00
Filippos Karapetis
93982b2ca9 FULLPIPE: Change more object-related functions to use Common::String 2017-03-22 04:32:23 +02:00
Filippos Karapetis
a2b4d637db FULLPIPE: Change _staticsName to be a Common::String 2017-03-22 03:02:58 +02:00
Eugene Sandulenko
726b54d15c FULLPIPE: Added more debug output to scene09. Clarified pixel data type. 2016-09-21 21:22:22 +02:00
Eugene Sandulenko
a021b4c7e8 FULLPIPE: Added and using StaticANIObject::isPixelHitAtPos() 2016-09-07 12:12:31 +02:00
Eugene Sandulenko
5dddde199f FULLPIPE: Further work on the hangers in scene09 2016-09-07 10:36:51 +02:00
Eugene Sandulenko
8bdf4e38be FULLPIPE: Add missing parameter to Movement::calcSomeXY() 2014-06-02 10:36:20 +03:00
Eugene Sandulenko
e714dea7c7 FULLPIPE: Implement Statics::init() 2014-05-02 12:40:06 +03:00
Eugene Sandulenko
2e7d5caa31 FULLPIPE: Removed PtrList usage in statics.cpp 2014-05-02 12:29:15 +03:00
Eugene Sandulenko
cf97b2ec9e FULLPIPE: Implement StaticANIObject::calcStepLen() 2014-04-27 11:59:29 +03:00
Eugene Sandulenko
58648b0894 FULLPIPE: Implement StaticANIObject::changeStatics1() 2014-04-25 22:30:10 +03:00
Eugene Sandulenko
b2c6483d1a FULLPIPE: Implement StaticANIObject::startAnimSteps() 2014-04-13 11:33:05 +03:00
Eugene Sandulenko
a1d9281fb4 FULLPIPE: Implement scene18_preload() 2014-03-02 21:04:09 +02:00
Johannes Schickel
387fe8c141 FULLPIPE: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
Eugene Sandulenko
4a0bfb751c FULLPIPE: Implement StaticANIObject::preloadMovements() 2014-01-12 00:48:11 +02:00
Eugene Sandulenko
91baf35726 FULLPIPE: Implement StaticANIObject::calcNextStep() 2014-01-12 00:48:10 +02:00
Eugene Sandulenko
17b5082a23 FULLPIPE: Implement MovTable destructor 2014-01-11 11:29:26 +02:00
Eugene Sandulenko
f710418ae5 FULLPIPE: Implement preloadCallback() 2014-01-10 21:31:18 +02:00
Eugene Sandulenko
67c70168ad FULLPIPE: Rest of destructor stubs 2014-01-08 18:48:34 +02:00
Eugene Sandulenko
4d8a50620d FULLPIPE: Implement sceneHandler25_sub01() 2014-01-05 17:13:32 +02:00
Eugene Sandulenko
e601797377 FULLPIPE: More code to scene23 2014-01-05 01:30:11 +02:00
Eugene Sandulenko
37123c1633 FULLPIPE: Complete MovGraph2::genMovement() 2014-01-04 14:23:55 +02:00
Eugene Sandulenko
185cf9ea3c FULLPIPE: Add calls to callback1 in Movement::gotoNextFrame() 2013-12-11 21:41:00 +02:00
Eugene Sandulenko
59c11d842f FULLPIPE: Change data type in Movement member 2013-11-20 17:07:00 -08:00
Eugene Sandulenko
9f92561df3 FULLPIPE: Implement StaticANIObject::getSomeXY() 2013-10-27 00:50:49 +03:00
Eugene Sandulenko
514f93b57f FULLPIPE: Implement StaticANIObject::updateStepPos() 2013-10-25 00:34:43 +03:00
Eugene Sandulenko
ac1be668d9 FULLPIPE: Implement MovGraph2::initDirections() 2013-09-28 15:59:46 +03:00
Eugene Sandulenko
0b358dbdce FULLPIPE: CStepArray -> StepArray 2013-09-18 19:39:53 +04:00
Eugene Sandulenko
fb2d0c02df FULLPIPE: CPtrList -> PtrList 2013-09-18 19:39:53 +04:00
Eugene Sandulenko
d09cccd7f2 FULLPIPE: Added few destructors. 2013-09-15 01:53:44 +03:00
Eugene Sandulenko
747e70a38e FULLPIPE: Implement CInteractionController::handleInteraction() 2013-09-08 23:56:04 +03:00
Eugene Sandulenko
eea48b4f12 FULLPIPE: Implement Shadows::initMovement() 2013-09-06 14:51:24 +03:00
Eugene Sandulenko
b457771b7d FULLPIPE: Implemented setAlpha() functions 2013-09-06 14:51:22 +03:00
Eugene Sandulenko
f43b145ad4 FULLPIPE: Fixed several unitialized members as pointed by Coverity 2013-09-06 14:51:22 +03:00
Eugene Sandulenko
7154d1f2cd FULLPIPE: More *AtPos functions 2013-09-06 14:51:21 +03:00
Eugene Sandulenko
028772d153 FULLPIPE: Finish global_messageHandler3() 2013-09-06 14:51:20 +03:00
Eugene Sandulenko
ee18a54554 FULLPIPE: Implemented FullpipeEngine::updateCursorsCommon() 2013-09-06 14:51:19 +03:00
Eugene Sandulenko
f079565692 FULLPIPE: Implement global_messageHandler2() 2013-09-06 14:51:16 +03:00
Eugene Sandulenko
fce8c0f595 FULLPIPE: Implement BehaviorEntry 2013-09-06 14:51:14 +03:00