Commit Graph

1787 Commits

Author SHA1 Message Date
Eugene Sandulenko
d367f0fb7c FULLPIPE: Fix loading saves 2016-09-25 20:03:50 +02:00
Eugene Sandulenko
cc0ad208aa FULLPIPE: Added more debug output to saveload code 2016-09-25 19:39:07 +02:00
Retro-Junk
4a07489af2 FULLPIPE: Fix invalid motion when turning 2016-09-24 17:33:34 +02:00
Retro-Junk
edf9828a11 FULLPIPE: Fix MessageQueue instantination in MctlGraph::makeQueue 2016-09-24 17:33:18 +02:00
Retro-Junk
fb66de5bb9 FULLPIPE: Fix Movement::calcDuration 2016-09-24 17:32:20 +02:00
Eugene Sandulenko
93ec723da1 FULLPIPE: Revert errorneous change 2016-09-23 18:28:01 +02:00
Eugene Sandulenko
c9d01a0cfd FULLPIPE: Made object sorting stable. This removes flicker in many scenes 2016-09-23 18:28:01 +02:00
Eugene Sandulenko
a46ac56015 FULLPIPE: Added more debug info to saveload code 2016-09-23 18:28:01 +02:00
Eugene Sandulenko
5bcb60995b FULLPIPE: Remove debug leftover 2016-09-22 18:22:53 +02:00
Eugene Sandulenko
b32f167345 FULLPIPE: Fix Kozyawkas not hanging in the air when jar is lifter in scene04 2016-09-22 18:18:59 +02:00
Eugene Sandulenko
19780a8e05 FULLPIPE: Added more debug output to scene04 2016-09-22 18:18:59 +02:00
Eugene Sandulenko
adb2ef6df7 FULLPIPE: Fix crash when savepath is not writeable 2016-09-21 21:59:35 +02:00
Eugene Sandulenko
dd4f58e9d4 FULLPIPE: Fix errorneous message queue cleanup 2016-09-21 21:59:35 +02:00
Eugene Sandulenko
d373ddfd3f FULLPIPE: Fix crash on scene09 reentry 2016-09-21 21:22:22 +02:00
Eugene Sandulenko
6286306ace FULLPIPE: Fix scene09 difficulty. Now cords collision gets properly ignored 2016-09-21 21:22:22 +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
1810aaf313 FULLPIPE: Added more debug to scene09 2016-09-21 21:22:22 +02:00
Eugene Sandulenko
41fea11ce6 FULLPIPE: Furhter simplification of loading code 2016-09-21 08:46:19 +02:00
Eugene Sandulenko
d0da9069ce FULLPIPE: Fix alpha data type 2016-09-21 08:11:55 +02:00
Eugene Sandulenko
25d1522166 FULLPIPE: Remove obsolete warning 2016-09-21 08:11:55 +02:00
Eugene Sandulenko
a4fd712a8f FULLPIPE: Fix inventory transparency 2016-09-21 08:11:55 +02:00
Eugene Sandulenko
a5d9834780 FULLPIPE: Optimize savegame loading 2016-09-21 08:11:55 +02:00
Eugene Sandulenko
b1901e9bd1 FULLPIPE: Throttle animation playback to 30fps 2016-09-21 00:19:04 +02:00
Eugene Sandulenko
8ffa6483f4 FULLPIPE: Simplified Debug scene logic 2016-09-20 23:03:55 +02:00
Eugene Sandulenko
25f13b5dab FULLPIPE: Fix Debug screen functionality 2016-09-20 23:03:10 +02:00
Eugene Sandulenko
9e505ba49c FULLPIPE: Fix debug menu cheat 2016-09-20 22:52:08 +02:00
Eugene Sandulenko
4b93ebedf1 FULLPIPE: Correctly fill out dummy header on reading failure 2016-09-20 19:34:48 +02:00
Eugene Sandulenko
cf4452388c FULLPIPE: Save ScummVM-specific header with the saves 2016-09-20 19:34:48 +02:00
Eugene Sandulenko
ac7eb25ef0 FULLPIPE: Move more stuff to stateloader.cpp 2016-09-20 19:34:48 +02:00
Eugene Sandulenko
ca1eb70fd8 FULLPIPE: Read playtime and save date from save headers 2016-09-20 19:34:48 +02:00
Eugene Sandulenko
dde4076f72 FULLPIPE: Read ScummVM savegame header from end of the file
This will let us maintain backward compatibility with original saves
2016-09-20 19:34:48 +02:00
Eugene Sandulenko
0aef5c55d4 FULLPIPE: Fix inventory not being cleared on game load 2016-09-20 19:34:48 +02:00
Eugene Sandulenko
a60558071d FULLPIPE: Fix game save/load 2016-09-19 19:17:02 +02:00
Eugene Sandulenko
783d968e20 FULLPIPE: Fix saving object to savegames 2016-09-19 18:58:39 +02:00
Eugene Sandulenko
1e9351efaf FULLPIPE: Added debug info to saveload code 2016-09-19 18:13:31 +02:00
Eugene Sandulenko
26142799ad FULLPIPE: Correct slot number on loading 2016-09-19 18:13:31 +02:00
Eugene Sandulenko
3bf4f3fcbe FULLPIPE: Fix crash at load dialog initialization 2016-09-19 18:13:31 +02:00
Torbjörn Andersson
ff1a9ac8d4 FULLPIPE: Remove obsolete TODO comment 2016-09-19 07:25:56 +02:00
Eugene Sandulenko
61d8ec8b7f FULLPIPE: Implemented savefile loading 2016-09-18 22:45:37 +02:00
Eugene Sandulenko
a6d71c941d FULLPIPE: Moved save-related functions to statesaver.cpp 2016-09-18 09:37:37 +02:00
Eugene Sandulenko
b413d01113 FULLPIPE: Implement map saving and save obfuscation 2016-09-18 09:37:37 +02:00
Eugene Sandulenko
ffe2c802c4 FULLPIPE: Save header, remove debug leftovers 2016-09-18 00:59:40 +02:00
Eugene Sandulenko
f0d786184b FULLPIPE: Properly save object backreferences 2016-09-18 00:59:17 +02:00
Eugene Sandulenko
d9457c2f07 FULLPIPE: Remove workaround and follow the original in StaticANIObject copy constructor 2016-09-18 00:16:29 +02:00
Retro-Junk
f67bbd9f8c FULLPIPE: Fix StaticANIObject::getMovementIdById 2016-09-18 00:16:29 +02:00
Eugene Sandulenko
83a82a9842 FULLPIPE: Further work on saving 2016-09-18 00:16:29 +02:00
Retro-Junk
34b266b51d FULLPIPE: Mass fix incorrect inhibitor flag 2016-09-17 20:43:57 +02:00
Retro-Junk
ec378ac3b7 FULLPIPE: Fix teleportation when turning mid-walk 2016-09-17 20:43:57 +02:00
Eugene Sandulenko
80419708d0 FULLPIPE: Turned MfcArchive into read/write stream like in original 2016-09-17 20:43:57 +02:00
Eugene Sandulenko
210a57c4c0 FULLPIPE: Implement inventory saving 2016-09-17 20:43:57 +02:00
Eugene Sandulenko
60e3b9fd64 FULLPIPE: Further work on game saving 2016-09-16 22:15:24 +02:00
Eugene Sandulenko
58ec4473f1 FULLPIPE: Started game saving code 2016-09-16 18:09:00 +02:00
Eugene Sandulenko
0f955b40d7 FULLPIPE: Some renames in scene28 2016-09-15 15:51:34 +02:00
Eugene Sandulenko
1d6d11192e FULLPIPE: Fix navigation in scene28 2016-09-15 15:44:55 +02:00
Eugene Sandulenko
20cdb0182a FULLPIPE: Added debug info to scene28 2016-09-15 15:44:36 +02:00
Eugene Sandulenko
58d302b641 FULLPIPE: Added debug mode to scene29 2016-09-14 21:44:47 +02:00
Eugene Sandulenko
028576cdc8 FULLPIPE: Added more debug tracing to scene29 2016-09-14 18:52:58 +02:00
Eugene Sandulenko
af286d86fa FULLPIPE: Remove now unused BallChain class 2016-09-14 10:58:36 +02:00
Eugene Sandulenko
ea4000088e FULLPIPE: Fixed decoding of extra wide pictures. (transporter scene29) 2016-09-14 10:51:28 +02:00
Eugene Sandulenko
8204a23032 FULLPIPE: Simplified Dib clipping code 2016-09-13 19:36:21 +02:00
Eugene Sandulenko
d059f3b7d6 FULLPIPE: Added more debug to scene29 2016-09-13 10:32:09 +02:00
Eugene Sandulenko
35c57ee8c2 FULLPIPE: Fix red ball handling in scene29 2016-09-13 10:21:02 +02:00
Eugene Sandulenko
aeba8ef917 FULLPIPE: Clarified ball variable names in scene29 2016-09-13 10:12:23 +02:00
Eugene Sandulenko
ad2231a00a FULLPIPE: Fix bal shooting logic in scene29 2016-09-12 22:06:47 +02:00
Eugene Sandulenko
8cced5766f FULLPIPE: Initial conversion of BallChain to Array in scene29 2016-09-12 16:00:09 +02:00
Eugene Sandulenko
b9b81a22c2 FULLPIPE: Make sound controls work and persistent 2016-09-11 23:18:25 +02:00
Eugene Sandulenko
0046cefd4e FULLPIPE: Fix crash on mute 2016-09-11 23:18:25 +02:00
Eugene Sandulenko
fedceaf51c FULLPIPE: Fix bat rewinding in scene27 2016-09-11 13:43:06 +02:00
Retro-Junk
782e31d78c FULLPIPE: Fix reversed statics initialization 2016-09-11 00:29:34 +02:00
Retro-Junk
9ef6980770 FULLPIPE: Fix out of bounds write in Movement::removeFirstPhase 2016-09-10 23:55:46 +02:00
Retro-Junk
45732d0b03 FULLPIPE: Fix Movement::loadPixelData 2016-09-10 23:55:40 +02:00
Eugene Sandulenko
92b22b4c8a FULLPIPE: More debug output to scene27 2016-09-09 19:32:15 +02:00
Eugene Sandulenko
7865308d5e FULLPIPE: Fix bat knocking in scene27 2016-09-09 18:47:20 +02:00
Eugene Sandulenko
4fc6f02331 FULLPIPE: Make calculation in scene27 more readable 2016-09-09 17:08:08 +02:00
Eugene Sandulenko
96e418743a FULLPIPE: Further work on scene27 bats knocking logic 2016-09-09 10:59:11 +02:00
Eugene Sandulenko
5c07eee841 FULLPIPE: Further corrections to scene27 2016-09-08 18:45:23 +02:00
Torbjörn Andersson
01d99a5ddb FULLPIPE: Free contents of Bitmap surface when deleting bitmap
At the moment, it seems like bitmaps aren't ever deleted though?
2016-09-08 17:49:51 +02:00
Torbjörn Andersson
bffc1f87f9 FULLPIPE: Also free the contents of _soundList, along with it 2016-09-08 17:45:17 +02:00
Torbjörn Andersson
7db3902b44 FULLPIPE: Free _soundItems when SoundList is deleted 2016-09-08 17:24:22 +02:00
Torbjörn Andersson
12973f4e90 FULLPIPE: Free _backgroundSurface when the game ends 2016-09-08 17:23:52 +02:00
Eugene Sandulenko
573df106cd FULLPIPE: Fixed bat fall logic in scene27 2016-09-08 11:31:55 +02:00
Eugene Sandulenko
2e643276df FULLPIPE: Fix bat minigame in scene27 2016-09-07 18:44:17 +02:00
Eugene Sandulenko
3e34c4408a FULLPIPE: First round of getting rid of BallChain in scene27 2016-09-07 18:38:38 +02:00
Eugene Sandulenko
8f8e94bde6 FULLPIPE: Fix memory leak in scene09 2016-09-07 18:29:23 +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
b4153bef61 FULLPIPE: Fix invalid read 2016-09-07 09:45:18 +02:00
Retro-Junk
a646936fb1 FULLPIPE: Use cp866 for logging on Windows build 2016-09-06 21:44:55 +02:00
Retro-Junk
471c76a9a7 FULLPIPE: Fix rounding error in MctlGraph::makeQueue 2016-09-06 21:44:46 +02:00
Eugene Sandulenko
cec1f1336e FULLPIPE: Further fixes to scene09. Now balls fly as expected 2016-09-06 21:30:23 +02:00
Eugene Sandulenko
5ccba26383 FULLPIPE: More fixes to scene09 2016-09-06 21:30:23 +02:00
Eugene Sandulenko
20c5713040 FULLPIPE: Start using plain objects insted of Ball in scene09 2016-09-06 21:30:23 +02:00
Eugene Sandulenko
4aabe5626b FULLPIPE: Added more debug info to scene09 2016-09-06 21:30:23 +02:00
Eugene Sandulenko
89dd40cd24 FULLPIPE: Further work on scene09 2016-09-05 18:42:58 +02:00
Eugene Sandulenko
4768340461 FULLPIPE: Started rewriting scene09 with Common::Array instead of CPlex 2016-09-05 18:42:58 +02:00
Eugene Sandulenko
11633a3d17 FULLPIPE: Fix crash on startup when pressing ESC 2016-09-05 00:34:07 +02:00
Eugene Sandulenko
2cbf7da319 FULLPIPE: Rename is GabeObject 2016-09-05 00:11:07 +02:00
Eugene Sandulenko
7e07e01963 FULLPIPE: Renames in PreloadItem 2016-09-05 00:03:14 +02:00
Eugene Sandulenko
9b21c5de2e FULLPIPE: Signed read for delay in PreloadItems 2016-09-04 23:57:44 +02:00
Eugene Sandulenko
26f55005b3 FULLPIPE: Rename in ExCommand structure 2016-09-04 23:54:43 +02:00
Eugene Sandulenko
a3238fdbac FULLPIPE: Added debug output to scene04 2016-09-04 22:27:05 +02:00
Eugene Sandulenko
8cc0583c74 FULLPIPE: Fix drawAlphaRectangle() 2016-09-04 22:19:13 +02:00
Eugene Sandulenko
bbdae9120e FULLPIPE: Properly initialize ObjstateCommand. This fixes game logic transitions 2016-09-04 21:20:29 +02:00
Eugene Sandulenko
e49728fc1f FULLPIPE: Added more debug output to scene05 2016-09-04 21:20:29 +02:00
Eugene Sandulenko
641920ee44 FULLPIPE: Added debug inventory to scene05 2016-09-04 21:20:29 +02:00
Eugene Sandulenko
781e38524f FULLPIPE: Fix floaters direction 2016-09-04 18:28:19 +02:00
Retro-Junk
aaf7c2a910 FULLPIPE: Fix ladder climbing crash 2016-09-04 17:53:01 +02:00
Eugene Sandulenko
00a13baf84 FULLPIPE: Optimize sceneFade() 2016-09-04 16:15:47 +02:00
Eugene Sandulenko
149267613a FULLPIPE: Implement FullpipeEngine::drawAlphaRectangle() 2016-09-04 15:13:27 +02:00
Eugene Sandulenko
b1fc0f6946 JANITORIAL: Fix whitespaces 2016-09-04 14:42:52 +02:00
Eugene Sandulenko
7395647518 FULLPIPE: Implement FullpipeEngine::sceneFade() 2016-09-04 14:30:42 +02:00
Torbjörn Andersson
827ed99bcb FULLPIPE: Fix Valgrind warning
Since _points is allocated with realloc(), it should be freed with
free(), not delete.
2016-09-04 12:57:38 +02:00
Eugene Sandulenko
49cfa190df FULLPIPE: Fix GameObject::setPicAniInfo(). Now all animations get restored correctly. 2016-09-04 01:16:45 +02:00
Eugene Sandulenko
35c18c3811 FULLPIPE: Clarify field data type in PicAniInfo 2016-09-04 01:16:30 +02:00
Eugene Sandulenko
9552dabaab FULLPIPE: Implement GameLoader::saveScenePicAniInfos(). Now object states are restored 2016-09-04 00:57:43 +02:00
Eugene Sandulenko
062048f0c1 FULLPIPE: Remove redundant type cast 2016-08-31 23:39:29 +02:00
Eugene Sandulenko
2833be0773 FULLPIPE: Fix warning 2016-08-31 22:57:34 +02:00
Retro-Junk
5b3ccfb1ac FULLPIPE: Fix incorrect code path in StaticANIObject::update 2016-08-31 22:56:42 +02:00
Eugene Sandulenko
d6d9967201 FULLPIPE: Fixed Behaviour methods 2016-08-31 22:40:45 +02:00
Eugene Sandulenko
8304cfc20e FULLPIPE: Added more debugging to scene03 2016-08-31 21:50:26 +02:00
Eugene Sandulenko
080bd94f2e FULLPIPE: Fix mismatched malloc/free 2016-08-31 21:04:02 +02:00
Retro-Junk
46316fdb63 FULLPIPE: Fix length calculation in AniHandler::getNumCycles 2016-08-30 23:41:14 +02:00
Eugene Sandulenko
f6c29eef46 FULLPIPE: Fix jumping on Map 2016-08-30 23:08:58 +02:00
Retro-Junk
9573543536 FULLPIPE: Fix arithmetics in MovGraph::putToLink 2016-08-29 23:36:15 +02:00
Eugene Sandulenko
888a4578af FULLPIPE: Fix few bugs in Map code 2016-08-29 23:35:20 +02:00
Eugene Sandulenko
d3cf9ed9c0 FULLPIPE: More signed reads 2016-08-29 22:23:45 +02:00
Eugene Sandulenko
5283612a7f FULLPIPE: Read signed values where potentially negative values could appear 2016-08-29 22:06:35 +02:00
Eugene Sandulenko
e13cee4be0 FULLPIPE: Hid noisy pointless warning 2016-08-29 22:06:35 +02:00
Retro-Junk
ac6d6c99b5 FULLPIPE: Fix parent variable overwrite in MctlLadder::initMovement 2016-08-29 20:32:05 +02:00
Retro-Junk
3ff6dfee8b FULLPIPE: Fix condition check in StaticANIObject::update 2016-08-29 15:06:29 +02:00
Retro-Junk
3805362275 FULLPIPE: Scene04: Stop the Jar from levitating 2016-08-29 15:06:21 +02:00
Eugene Sandulenko
a2e9d8807a FULLPIPE: Initialize struct at construction.
Thanks to eriktorbjorn for valgrind logs.
2016-08-29 08:13:16 +02:00
Eugene Sandulenko
0237050b36 FULLPIPE: Improved Behavior debugging 2016-08-29 07:11:20 +02:00
Eugene Sandulenko
7d6e03c230 FULLPIPE: Remove obsolete warning 2016-08-29 07:11:20 +02:00
Retro-Junk
af5dcd4ba1 FULLPIPE: Fix priority check in Scene::getStaticANIObjectAtPos 2016-08-28 20:05:28 +02:00
Retro-Junk
6611589905 FULLPIPE: Fix alpha mask in Bitmap::isPixelHitAtPos 2016-08-28 20:05:21 +02:00
Eugene Sandulenko
9e5ddfee1d FULLPIPE: Avoid buffer overwrite 2016-08-28 13:37:58 +02:00
Eugene Sandulenko
ce681189e8 FULLPIPE: More debug info for behaviors 2016-08-28 13:30:17 +02:00
Eugene Sandulenko
76e25b635d FULLPIPE: Added debugging to scene3 2016-08-28 12:44:28 +02:00
Eugene Sandulenko
e070485169 FULLPIPE: Fix inventory items rebuilding 2016-08-28 11:43:25 +02:00
Eugene Sandulenko
0f0fee3add FULLPIPE: Implement Inventory2::removeItem() 2016-08-28 11:43:25 +02:00
Retro-Junk
dd911c92f6 FULLPIPE: Make elevators actually work 2016-08-26 21:44:26 +02:00
Eugene Sandulenko
f27c001527 FULLPIPE: Another fix to gotoLastFrame() 2016-08-25 23:02:12 +02:00
Eugene Sandulenko
797676678d FULLPIPE: Fix gotoLastFrame() implementation 2016-08-25 22:45:55 +02:00
Retro-Junk
967ef350d2 FULLPIPE: Fix array allocation in StepArray::insertPoints 2016-08-25 22:17:30 +02:00
Eugene Sandulenko
03cf470082 FULLPIPE: Fix if() condition 2016-08-25 09:14:47 +02:00
Eugene Sandulenko
5a6428aac2 FULLPIPE: Restore original tangled logic in stopAnim_maybe
The compiler was super-optimizing there, and my initial untangling
was incorrect. Restoring it with nasty goto's and will fix it later
once we have enough test cases.
2016-08-25 09:10:32 +02:00
Retro-Junk
1111b24eea FULLPIPE: Fix direction calculation in MctlGraph::getLinkDir 2016-08-24 20:43:22 +02:00
Retro-Junk
c5828a41f4 FULLPIPE: Inverse search mode behavior in MctlGraph::getHitNode 2016-08-22 22:22:00 +02:00
Retro-Junk
cb5bf0796e FULLPIPE: Fix always false condition check in MctlGraph::generateList 2016-08-22 22:21:49 +02:00
Eugene Sandulenko
1dc8ae58e4 FULLPIPE: Fix getCurrPoint(). Now Dude walks almost perfectly. Kudos to wanwan 2016-08-20 21:00:45 +02:00
Eugene Sandulenko
f5a508ff4d FULLPIPE: Let the bitmaps flip twice 2016-08-19 22:36:42 +02:00
Eugene Sandulenko
66a94b9eb9 FULLPIPE: Fix flipVertical too 2016-08-19 22:24:28 +02:00
Eugene Sandulenko
16a3f99230 FULLPIPE: Fix Bitmap flipping code. Thanks to wanwan 2016-08-19 22:12:31 +02:00
Retro-Junk
c62257f720 FULLPIPE: Fix index overflow in StepArray::gotoNextPoint 2016-08-18 08:08:06 +02:00
Eugene Sandulenko
da99a44af5 FULLPIPE: Remove copy/paste leftover 2016-08-15 19:34:46 +02:00
Eugene Sandulenko
3dfd4ba296 FULLPIPE: Rename MctlGraph substructures 2016-08-14 23:11:15 +02:00
Eugene Sandulenko
9b197be9d7 FULLPIPE: Renamed MctlGraph class methods 2016-08-14 22:56:17 +02:00
Eugene Sandulenko
23e62424e2 FULLPIPE: Rename MovGraph2 to MctlGraph 2016-08-14 22:56:17 +02:00
Retro-Junk
b670c02835 FULLPIPE: Rearrange code and fix flags initalization in MovGraph2::buildMovInfo1MessageQueue 2016-08-14 21:43:42 +02:00
Retro-Junk
35a1ad3463 FULLPIPE: Add missing list purge in MovGraph2::findMinPath 2016-08-14 21:43:29 +02:00
Eugene Sandulenko
68508cb87e FULLPIPE: Renamed rest of the AniHandler class methods 2016-08-14 21:40:29 +02:00
Eugene Sandulenko
1bcec8bcd9 FULLPIPE: Further renames in AniHandler class 2016-08-14 21:40:29 +02:00
Eugene Sandulenko
68828123da FULLPIPE: Mass renaming of AniHandler class 2016-08-14 21:40:29 +02:00
Eugene Sandulenko
060d1f7254 FULLPIPE: Rename various mgm variables to aniHandler 2016-08-14 21:40:29 +02:00
Eugene Sandulenko
f99e47de6e FULLPIPE: Rename MGM class to AniHandler 2016-08-14 21:40:29 +02:00
Eugene Sandulenko
e3acf3f23e FULLPIPE: Rename mgm.* to anihandler.* 2016-08-14 21:40:29 +02:00
Eugene Sandulenko
62656b89a2 FULLPIPE: Swap atan2 arguments 2016-08-14 09:50:03 +02:00
Eugene Sandulenko
e58545362f FULLPIPE: Put behavior debug output to a separate channel 2016-08-13 21:07:43 +02:00
Retro-Junk
2092422c5e FULLPIPE: Fix incorrect array element indirection in MGM::recalcOffsets 2016-08-13 18:28:41 +02:00
Retro-Junk
b4f418a4f3 FULLPIPE: Fix wrong member name in InteractionController::handleInteraction 2016-08-13 16:10:24 +02:00
Retro-Junk
02f0692a62 FULLPIPE: Use proper Surface coordinates 2016-08-13 16:10:24 +02:00
Eugene Sandulenko
73d01f8521 FULLPIPE: Hid noisy warning 2016-07-31 00:31:41 +03:00
Eugene Sandulenko
09f929eb69 FULLPIPE: More debug output for pathfinding 2016-07-31 00:31:41 +03:00
Eugene Sandulenko
98342f4ad6 FULLPIPE: Added more debug output to pathfinding 2016-07-30 01:09:25 +03:00
Eugene Sandulenko
0943555e8b FULLPIPE: Fix crash in MGM::movementis2 clearing 2016-07-29 00:06:46 +03:00
Eugene Sandulenko
f6f8c31984 FULLPIPE: Hid warning under debug channel. More debug output 2016-07-28 11:27:41 +03:00
Eugene Sandulenko
9f234b0aea FULLPIPE: Fixed debuf channel registration 2016-07-28 11:25:20 +03:00
Eugene Sandulenko
6ac435099c FULLPIPE: Split all debug output by channels 2016-07-28 00:37:32 +03:00
Eugene Sandulenko
1fb5f55b70 FULLPIPE: Added more debug channels 2016-07-28 00:37:32 +03:00
Eugene Sandulenko
2d96b5f3e6 FULLPIPE: Started using debug channels 2016-07-28 00:37:32 +03:00
Eugene Sandulenko
e19922d181 FULLPIPE: Few fixes to the pathfinding code 2016-07-26 19:50:47 +03:00
Eugene Sandulenko
6cb9429b12 FULLPIPE: Added temp trace output 2016-07-25 23:24:42 +03:00
Eugene Sandulenko
14757b1d17 FULLPIPE: Fix in MGM::recalcOffsets corner case check 2016-07-25 23:24:42 +03:00
Eugene Sandulenko
699d97b2de FULLPIPE: Fix subItems addressing in MGM 2016-07-25 23:24:42 +03:00
Eugene Sandulenko
9eb2c7362c FULLPIPE: Fix MGM array allocation 2016-07-25 23:24:42 +03:00
Eugene Sandulenko
81446fdc53 FULLPIPE: Streamlined double binary numbers loading 2016-07-25 23:24:42 +03:00
Eugene Sandulenko
53c0d28dd8 FULLPIPE: Renames in MovGraph class 2016-07-25 00:11:04 +03:00
Eugene Sandulenko
27d29090d8 FULLPIPE: Clarified MovGraph::calcDistance() implementation 2016-07-24 23:59:59 +03:00
Eugene Sandulenko
2e4dd165e9 FULLPIPE: Renames in MovGraph 2016-07-23 01:01:20 +03:00
Eugene Sandulenko
f68ef3ce28 FULLPIPE: Renames in Behavior code 2016-07-22 22:33:34 +03:00
Eugene Sandulenko
46aadaa0e0 FULLPIPE: Some renames in MovGraphLink 2016-07-20 22:56:28 +03:00
Eugene Sandulenko
aadc853146 FULLPIPE: Adjusted debug output 2016-07-18 22:40:52 +03:00
Eugene Sandulenko
7526cf82f2 FULLPIPE: Plug memory leak 2016-05-15 13:07:23 +02:00
Eugene Sandulenko
6b62f91437 FULLPIPE: Fix statics initialization 2016-05-07 11:05:48 +02:00
Ori Avtalion
d32941f657 FULLPIPE: Reduce audio header dependencies 2016-04-14 17:43:56 +03:00
Johannes Schickel
3aecd8ef2a ENGINES: Make variable names of ADGameDescription conform to our guidelines.
gameid     -> gameId
guioptions -> guiOptions
2016-03-08 19:01:38 +01:00
Johannes Schickel
0b6befdcc5 ENGINES: Make variable names of AdvancedMetaEngine conform to our guidelines.
_singleid   -> _singleId
_gameids    -> _gameIds
_guioptions -> _guiOptions
2016-03-08 19:01:13 +01:00
Eugene Sandulenko
23d74fddb4 CONFIGURE: Introduced new engine dependency: highres
Some backends like GCW0 do no support graphics >320x240 due to
the hardware limitation (downscaling is possible but it will ruin
the pixel hunting which is often part of the gameplay).

Instead of manually updating the list of engines, we now introduce
a new dependency.

I marked all relevant engines, but some, like tinsel, require more
work with putting their relevant high-res games under USE_HIGHRES
define.
2016-03-05 14:25:56 +01:00
Johannes Schickel
e5feb43392 FULLPIPE: Let listSaves return list sorted on slot numbers. 2016-02-25 21:39:45 +01:00
Johannes Schickel
8f77efae96 FULLPIPE: Only request actual save slots in listSaves. 2016-01-26 16:35:30 +01:00
Eugene Sandulenko
7a21929e08 FULLPIPE: Fix cursor comparison 2015-11-28 00:06:47 +01:00
Eugene Sandulenko
24dbee0f06 FULLPIPE: Check result on realloc() 2015-11-27 16:38:06 +01:00
Eugene Sandulenko
120e763f71 FULLPIPE: More renames 2015-10-17 12:45:40 +02:00
Eugene Sandulenko
fc16d5eb03 FULLPIPE: More renames 2015-10-17 12:45:40 +02:00
Eugene Sandulenko
9b95f9f9c1 FULLPIPE: Rename some methods 2015-10-17 12:45:39 +02:00
Filippos Karapetis
3f119aab0e FULLPIPE: Fix a warning 2015-07-04 01:51:44 +03:00
Eugene Sandulenko
2b59aa6635 FULLPIPE: Remove redundant debug output 2015-05-15 16:46:15 +02:00
Torbjörn Andersson
dfe04491c1 JANITORIAL: Remove unnecessary semicolons 2015-01-21 01:29:22 +01:00
Eugene Sandulenko
7da48233ce FULLPIPE: Fix bug in inventory 2015-01-04 19:32:26 +01:00
Eugene Sandulenko
882e0ca8cb FULLPIPE: Sanity check 2015-01-04 19:23:43 +01:00
Eugene Sandulenko
4393d38a31 FULLPIPE: Plug memory leak 2015-01-04 19:18:41 +01:00
Eugene Sandulenko
308bfe3b9c FULLPIPE: Remove redundant check 2015-01-04 19:16:34 +01:00
Eugene Sandulenko
c3def28b99 FULLPIPE: Fix crash in scene04 2015-01-03 20:17:47 +01:00
Eugene Sandulenko
76b71cabb9 FULLPIPE: Fix bug with unmovable jar in scene04 2015-01-02 13:15:13 +01:00
Eugene Sandulenko
f4a99656ce FULLPIPE: Fix bug with spring in scene04 2015-01-02 13:15:13 +01:00
Filippos Karapetis
361f4d4717 FULLPIPE: Remove trailing whitespace 2014-10-28 16:22:48 +02:00
Matthew Hoops
9075bd71cd FULLPIPE: Silence a gcc warning 2014-09-28 15:29:49 -04:00
Eugene Sandulenko
ae26f9537e FULLPIPE: Initialize variable 2014-06-30 01:43:25 +03:00
Eugene Sandulenko
7d78a74156 FULLPIPE: Reduce header dependency 2014-06-27 19:07:27 +03:00
Eugene Sandulenko
96ba19099f FULLPIPE: Split out MGM code into separate file 2014-06-27 19:05:43 +03:00
Eugene Sandulenko
ec0d06e269 FULLPIPE: Attempt to fix flickering. Added debug output 2014-06-27 18:51:17 +03:00
Eugene Sandulenko
d6ec21d4d0 FULLPIPE: Fix selector in debug scene 2014-06-25 18:55:33 +03:00
Eugene Sandulenko
c176a9a534 FULLPIPE: Remove unused variable 2014-06-23 23:04:44 +03:00
Eugene Sandulenko
2a09159c2b FULLPIPE: Give better name to function 2014-06-23 15:54:28 +03:00
Eugene Sandulenko
a493355af3 FULLPIPE: MovGraph::calcMovItems: renamed variables and added some comments 2014-06-23 15:52:31 +03:00
Johannes Schickel
8d020ba086 FULLPIPE: Add 16bit/RGB backend support dependancy. 2014-06-21 03:47:28 +02:00
Eugene Sandulenko
9dcae18d27 FULLPIPE: Implement Bitmap::flipVertical() 2014-06-20 12:55:42 +03:00
Eugene Sandulenko
0a07cf1481 FULLPIPE: Draw transparent surfaces 2014-06-19 10:25:24 +03:00
Eugene Sandulenko
a3e89eb4b2 FULLPIPE: Fixed ModalQuery 2014-06-18 09:37:37 +03:00
Eugene Sandulenko
fde3e7fc12 FULLPIPE: Implement ModalCredits::update() 2014-06-18 09:37:36 +03:00
Eugene Sandulenko
c2387dbf3c FULLPIPE: Implemented ModalIntro::update() 2014-06-18 09:37:36 +03:00
Eugene Sandulenko
5a8b613a97 FULLPIPE: Stubbed sceneFade() 2014-06-18 09:37:36 +03:00
Eugene Sandulenko
a37bb1dabb FULLPIPE: Fix crash in scene34. Now it is rendered properly 2014-06-17 15:34:24 +03:00
Eugene Sandulenko
6c8d48c5a5 FULLPIPE: Cleanup gfx code 2014-06-17 15:24:42 +03:00
Eugene Sandulenko
7c444319cb FULLPIPE: cleanup 2014-06-17 15:06:11 +03:00
Eugene Sandulenko
e6af6328c7 FULLPIPE: Implement horizontal flipping 2014-06-17 15:05:10 +03:00
Eugene Sandulenko
f404c842a1 FULLPIPE: Skip internal 565 rpresentation for sprites and directly render them in 32bit 2014-06-17 14:55:26 +03:00
Eugene Sandulenko
343910d3ce FULLPIPE: Switch graphics to TransparentSurface 2014-06-17 14:07:19 +03:00
Eugene Sandulenko
8738d55b04 FULLPIPE: Switch engine to 32 bit 2014-06-17 14:00:47 +03:00
Eugene Sandulenko
22de79f924 FULLPIPE: Started switching gfx functions to Surface 2014-06-16 18:36:04 +03:00
Eugene Sandulenko
2ee3b7c11b FULLPIPE: Fix crash on exit 2014-06-14 09:43:29 +03:00
Eugene Sandulenko
5c005ad3a3 FULLPIPE: Implement FullpipeEngine::freeGameLoader() 2014-06-13 10:49:54 +03:00
Eugene Sandulenko
e181edd040 FULLPIPE: Implement FullpipeEngine::cleanup() 2014-06-13 10:44:52 +03:00
Eugene Sandulenko
96065c7f87 FULLPIPE: Implement GameLoader::~GameLoader() 2014-06-13 10:32:35 +03:00
Eugene Sandulenko
de01a09141 FULLPIPE: Removed unused code 2014-06-13 10:32:35 +03:00
Eugene Sandulenko
18242b8a29 FULLPIPE: Implement GameLoader::restoreDefPicAniInfos() 2014-06-12 10:32:45 +03:00
Eugene Sandulenko
0fe605be4b FULLPIPE: Implement GameVar::~GameVar() 2014-06-12 10:16:53 +03:00
Eugene Sandulenko
263cc2873b FULLPIPE: Use safe string copying. CID 1208908 2014-06-11 23:02:58 +03:00
Eugene Sandulenko
1d53333435 FULLPIPE: Copy string safely. CID 1208909 2014-06-11 23:01:22 +03:00
Eugene Sandulenko
8ca3316e3a FULLPIPE: Plug potential resource leak. CID 1208906 2014-06-10 19:32:47 +03:00
Johannes Schickel
ff4c060be1 FULLPIPE: Use strlcpy instead of strncpy in some places.
strncpy does not assure that the result is 0 terminated. strlcpy does, which
makes this safer.

I only replaced strncpy usages where the memory was not allocated to the
correct size right before the strncpy usage.
2014-06-09 22:46:54 +02:00
Eugene Sandulenko
bd63ee2c4e FULLPIPE: Fix compilation 2014-06-09 22:48:34 +03:00
Eugene Sandulenko
729810bbc1 FULLPIPE: Initialize variable. CID 1153659 2014-06-09 22:46:38 +03:00
Eugene Sandulenko
39088eec05 FULLPIPE: Fix copy-paste error from original. CID 1199556 2014-06-09 22:39:31 +03:00
Eugene Sandulenko
2e30e0fc7d FULLPIPE: Safely copy string. CID 1208908 2014-06-09 22:36:01 +03:00
Eugene Sandulenko
df5ef5bf2e FULLPIPE: Safely copy strings 2014-06-09 22:34:21 +03:00
Eugene Sandulenko
4ff543b22a FULLPIPE: Fix lockup on game start 2014-06-08 22:07:39 +03:00
Eugene Sandulenko
177735350b FULLPIPE: Initialize variable. CID 1208916 2014-06-08 15:35:55 +03:00
Eugene Sandulenko
7c017cfdb9 FULLPIPE: Implement MovGraph2::getItemSubIndexByMGM() 2014-06-07 10:13:13 +03:00
Eugene Sandulenko
113a2824c4 FULLPIPE: Fix binary logic. CID 1216221 2014-06-06 15:54:46 +03:00
Eugene Sandulenko
8d16014292 FULLPIPE: Fix memory leak and missing results. CID 1216225 2014-06-06 15:44:17 +03:00
Eugene Sandulenko
89ab5f7f63 FULLPIPE: Add missing break. CID 1216226 2014-06-06 15:38:29 +03:00
Eugene Sandulenko
5c018d6228 FULLPIPE: Add additional sanity check. CID 1220154 2014-06-06 15:19:19 +03:00
Eugene Sandulenko
631d4cdc0a FULLPIPE: Remove extra null check. CID 1220155 2014-06-06 15:13:56 +03:00
Eugene Sandulenko
e4403eea56 FULLPIPE: Remove extra sizeof. CID 1220156 2014-06-06 15:12:35 +03:00
Eugene Sandulenko
6bf2022913 FULLPIPE: Fix potential null dereference. CID 1148380 2014-06-06 15:11:13 +03:00
Eugene Sandulenko
4457a967a5 FULLPIPE: Initialize class variables. CID 1204256 2014-06-06 15:09:53 +03:00
Eugene Sandulenko
9460116df1 FULLPIPE: Fix more warnings 2014-06-05 00:43:13 +03:00
Eugene Sandulenko
49cb5ab569 FULLPIPE: Fix warning 2014-06-05 00:40:37 +03:00
Eugene Sandulenko
38b705a238 FULLPIPE: Finish MctlLadder::doWalkTo() implementation 2014-06-04 12:24:01 +03:00
Eugene Sandulenko
61d16b6cbd FULLPIPE: More work on MctlLadder::doWalkTo() 2014-06-04 09:46:19 +03:00
Eugene Sandulenko
4e27db8841 FULLPIPE: More worj on MctlLadder::doWalkTo() 2014-06-03 16:55:07 +03:00
Eugene Sandulenko
8bdf4e38be FULLPIPE: Add missing parameter to Movement::calcSomeXY() 2014-06-02 10:36:20 +03:00
Eugene Sandulenko
8979b79ecd FULLPIPE: More work on MctlLadder::doWalkTo() 2014-06-02 10:36:20 +03:00
Eugene Sandulenko
7227d723a4 FULLPIPE: Started implmentation of MctlLadder::doWalkTo() 2014-06-01 16:49:41 +03:00
Eugene Sandulenko
913947c247 FULLPIPE: Rename class variable to avoid confusion 2014-06-01 16:49:41 +03:00
Eugene Sandulenko
aaec2e993c FULLPIPE: Implement MctlCompound::findClosestConnectionPoint() 2014-05-31 10:18:33 +03:00
Eugene Sandulenko
0a46d67bae FULLPIPE: Started MctlCompound::findClosestConnectionPoint() implementation 2014-05-30 09:26:24 +03:00
Eugene Sandulenko
5a80e828e6 FULLPIPE: Implement Sound::setPanAndVolumeByStaticAni() 2014-05-30 08:03:40 +03:00
Eugene Sandulenko
b59026f1dd FULLPIPE: Fix ModalMainMenu::updateSoundVolume() 2014-05-29 10:59:17 +03:00
Eugene Sandulenko
aed5de6dfa FULLPIPE: Implement FullpipeEngine::disableSaves() 2014-05-29 09:18:34 +03:00
Eugene Sandulenko
41ffd7ae60 FULLPIPE: Implement MessageQueue::messageQueueCallback1() 2014-05-29 09:14:16 +03:00
Eugene Sandulenko
5903bacd25 FULLPIPE: Implement BallChain::sub04() 2014-05-29 09:04:50 +03:00
Eugene Sandulenko
e59bfb2b9f FULLPIPE: Implement MovGraph::method28() 2014-05-27 22:42:57 +03:00
Johannes Schickel
ae4ffe01f0 ALL: Rename Debugger::DCmd_Register to Debugger::registerCmd. 2014-05-27 02:04:08 +02:00
Johannes Schickel
daa8d57a86 ALL: Rename Debugger::DebugPrintf to Debugger::debugPrintf. 2014-05-27 02:04:07 +02:00
Eugene Sandulenko
5cc424fe77 FULLPIPE: Fix warning 2014-05-26 20:10:45 +03:00
Eugene Sandulenko
f7269dd7dc FULLPIPE: More work on MovGraph::method28() 2014-05-26 15:36:27 +03:00
Eugene Sandulenko
403b68e84d FULLPIPE: Started MovGraph::method28() implementation 2014-05-26 09:06:44 +03:00
Eugene Sandulenko
2cc7a81846 FULLPIPE: Implement MovGraphItem::free() 2014-05-26 08:53:03 +03:00
Eugene Sandulenko
82f4e71d56 FULLPIPE: Implement MovGraph::setEnds() 2014-05-26 08:44:28 +03:00
Eugene Sandulenko
120edd9434 FULLPIPE: Finish MovGraph::sub1() implementation 2014-05-26 08:44:28 +03:00
Eugene Sandulenko
09163f5878 FULLPIPE: More work on MovGraph::sub1() 2014-05-26 08:44:28 +03:00
Eugene Sandulenko
99b376afe7 FULLPIPE: Start MovGraph::sub1() implementation 2014-05-25 09:32:50 +03:00
Eugene Sandulenko
3ca0f88e1f FULLPIPE: Fix MovGraph::calcMovItems() 2014-05-25 09:32:50 +03:00
Eugene Sandulenko
d197bb04af FULLPIPE: Simplify syntax 2014-05-24 11:17:03 +03:00
Eugene Sandulenko
46d0e8b76c FULLPIPE: Finish MovGraph::method50() implementation 2014-05-24 11:17:03 +03:00
Eugene Sandulenko
9f447e0ff4 FULLPIPE: Fix MovGraphItem structure 2014-05-24 11:17:03 +03:00
Eugene Sandulenko
c4f3f77d74 FULLPIPE: Further work on MovGraph::method50() 2014-05-24 11:17:03 +03:00