Commit graph

277 commits

Author SHA1 Message Date
Eugene Sandulenko
7c4499d28a FULLPIPE: Field renames 2020-09-15 11:36:14 +02:00
D G Turner
9190f6e1c8 FULLPIPE: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.

Also, do minor fixes for readability to switch statements.
2019-11-14 02:44:19 +00:00
Eugene Sandulenko
416ab05eaa FULLPIPE: Use more portable double loading 2019-11-10 19:50:53 +01:00
Torbjörn Andersson
4eef7a42e3 FULLPIPE: Silence GCC memset() warnings
Recent GCC versions complain if you memset() a class or struct that
contain non-POD data types. Get around that by either initializing
the object when created, or by adding a reset() method.
2019-07-14 14:58:19 +03:00
Eugene Sandulenko
20fb25d58a FULLPIPE: Renames in ExCommand 2017-12-03 23:04:58 +01:00
Colin Snover
cef4d77877 FULLPIPE: Fix memory leaks of MctlItems in MctlCompound 2017-11-18 22:35:12 +01:00
Colin Snover
7232f67fe9 FULLPIPE: Fix memory leak of graph nodes and lists 2017-11-18 22:35:12 +01:00
Colin Snover
a475cec2aa FULLPIPE: Remove unnecessary constructors
These appear to be default member-wise copy constructors or POD
constructors that zero all members. I suspect that quite a few
pointer-taking constructors are actually supposed to be
copy-constructors but since they don't all just do default
member-wise copies I do not feel confident in changing them without
verifying that there are not separate copy constructors in the
disassembly, and I don't have the database for this game.
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
e2367f3ed2 FULLPIPE: Remove unnecessary and unsafe C-style casts 2017-11-18 22:35:12 +01:00
Colin Snover
f41074b930 FULLPIPE: Improve memory ownership in Motion 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
93982b2ca9 FULLPIPE: Change more object-related functions to use Common::String 2017-03-22 04:32:23 +02:00
Filippos Karapetis
f3e81b5f17 FULLPIPE: Use Common::String in all scene object names 2017-03-22 04:11:49 +02:00
Eugene Sandulenko
a62d29ab86 FULLPIPE: Revert memory leak fixing as that introduced tons of regressions 2016-12-13 18:15:41 +01:00
Eugene Sandulenko
c5e55878ad FULLPIPE: Plug more memory leaks 2016-12-12 23:35:32 +01:00
Eugene Sandulenko
44e5c01e35 FULLPIPE: Fix crash on scene switch 2016-12-01 08:23:11 +01:00
Eugene Sandulenko
69ed293003 FULLPIPE: Rename struct variables of MovGraphItem 2016-12-01 08:06:56 +01:00
Eugene Sandulenko
80d86745cf FULLPIPE: Implement MovGraph destructor 2016-11-30 20:36:46 +01:00
Eugene Sandulenko
ed62aca66c FULLPIPE: Implement MotionController::enableLinks() 2016-10-02 15:46:19 +02:00
Retro-Junk
e61cb2285f FULLPIPE: Fix MctlGraph::getNearestLink 2016-10-01 14:48:06 +02:00
Retro-Junk
f0425d4e94 FULLPIPE: Fix bounding box calculation in ReactPolygonal::getBBox 2016-10-01 00:50:35 +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
ec378ac3b7 FULLPIPE: Fix teleportation when turning mid-walk 2016-09-17 20:43:57 +02:00
Retro-Junk
471c76a9a7 FULLPIPE: Fix rounding error in MctlGraph::makeQueue 2016-09-06 21:44:46 +02:00
Eugene Sandulenko
2cbf7da319 FULLPIPE: Rename is GabeObject 2016-09-05 00:11:07 +02:00
Eugene Sandulenko
26f55005b3 FULLPIPE: Rename in ExCommand structure 2016-09-04 23:54:43 +02:00
Eugene Sandulenko
b1fc0f6946 JANITORIAL: Fix whitespaces 2016-09-04 14:42:52 +02:00
Retro-Junk
9573543536 FULLPIPE: Fix arithmetics in MovGraph::putToLink 2016-08-29 23:36:15 +02:00
Eugene Sandulenko
d3cf9ed9c0 FULLPIPE: More signed reads 2016-08-29 22:23:45 +02:00
Retro-Junk
ac6d6c99b5 FULLPIPE: Fix parent variable overwrite in MctlLadder::initMovement 2016-08-29 20:32:05 +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
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
62656b89a2 FULLPIPE: Swap atan2 arguments 2016-08-14 09:50:03 +02:00
Eugene Sandulenko
09f929eb69 FULLPIPE: More debug output for pathfinding 2016-07-31 00:31:41 +03:00
Eugene Sandulenko
f6f8c31984 FULLPIPE: Hid warning under debug channel. More debug output 2016-07-28 11:27:41 +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