mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-10 16:27:41 +00:00
Match and link CMaterialList, nearly match CMaterialFilter
Former-commit-id: e25205bd69
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include "Collision/CMaterialList.hpp"
|
||||
|
||||
class CMaterialFilter {
|
||||
static const CMaterialFilter skPassEverything;
|
||||
public:
|
||||
enum EFilterType {
|
||||
kFT_Always,
|
||||
@@ -14,7 +15,7 @@ public:
|
||||
kFT_IncludeExclude,
|
||||
};
|
||||
|
||||
CMaterialFilter() : type(kFT_Always) {}
|
||||
CMaterialFilter() : include(0x00000000FFFFFFFF), exclude(0), type(kFT_Always) {}
|
||||
CMaterialFilter(const CMaterialList& include, const CMaterialList& exclude, EFilterType type)
|
||||
: include(include), exclude(exclude), type(type) {}
|
||||
|
||||
@@ -29,6 +30,8 @@ public:
|
||||
return CMaterialFilter(include, exclude, kFT_IncludeExclude);
|
||||
}
|
||||
|
||||
bool Passes(const CMaterialList& other) const;
|
||||
|
||||
private:
|
||||
CMaterialList include;
|
||||
CMaterialList exclude;
|
||||
|
||||
Reference in New Issue
Block a user