2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 03:47:43 +00:00

Fix player dynamic collision

This commit is contained in:
Jack Andersen
2018-02-07 20:18:27 -10:00
parent 2fee221871
commit ae6797f24b
16 changed files with 120 additions and 106 deletions

View File

@@ -48,6 +48,18 @@ struct CModelFlags
0x8: depth greater
0x10: depth non-inclusive
*/
bool operator==(const CModelFlags& other) const
{
return x0_blendMode == other.x0_blendMode && x1_matSetIdx == other.x1_matSetIdx &&
x2_flags == other.x2_flags && x4_color == other.x4_color;
}
bool operator!=(const CModelFlags& other) const
{
return x0_blendMode != other.x0_blendMode || x1_matSetIdx != other.x1_matSetIdx ||
x2_flags != other.x2_flags || x4_color != other.x4_color;
}
};
/* urde addition: doesn't require hacky stashing of