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

Initial PATH cooking support

This commit is contained in:
Jack Andersen
2018-02-24 22:23:27 -10:00
parent 13e6ff31c6
commit 619a784434
58 changed files with 459 additions and 340 deletions

View File

@@ -11,7 +11,7 @@ struct AFSM : public BigDNA
{
AT_DECL_DNA_YAML
Value<atUint32> stateCount;
Vector<String<-1>, DNA_COUNT(stateCount)> stateNames;
Vector<String<-1>, AT_DNA_COUNT(stateCount)> stateNames;
Value<atUint32> triggerCount;
struct State : public BigDNA
@@ -31,11 +31,11 @@ struct AFSM : public BigDNA
Value<float> parameter;
Value<atUint32> targetState;
};
Vector<Trigger, DNA_COUNT(triggerCount)> triggers;
Vector<Trigger, AT_DNA_COUNT(triggerCount)> triggers;
};
Vector<Transition, DNA_COUNT(transitionCount)> transitions;
Vector<Transition, AT_DNA_COUNT(transitionCount)> transitions;
};
Vector<State, DNA_COUNT(stateCount)> states;
Vector<State, AT_DNA_COUNT(stateCount)> states;
static bool Extract(PAKEntryReadStream& rs, const hecl::ProjectPath& outPath)
{