mirror of
https://github.com/zeldaret/botw
synced 2026-10-12 06:26:42 -04:00
Actor: move all AI code under Game/Actor
Link order shows one sorted actor tree, not a separate AI project: the Action/AI/Query folders and per-feature folders (Camera, Player, Horse, ...) come out of the same archive rounds as the actor classes. (AI assisted using Claude Fable 5.1 and Claude Opus 5.5)
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#include "Game/Actor/Query/queryRandomChoice8.h"
|
||||
#include <evfl/Query.h>
|
||||
#include <random/seadGlobalRandom.h>
|
||||
|
||||
namespace uking::query {
|
||||
|
||||
RandomChoice8::RandomChoice8(const InitArg& arg) : ksys::act::ai::Query(arg) {}
|
||||
|
||||
RandomChoice8::~RandomChoice8() = default;
|
||||
|
||||
// FIXME: implement
|
||||
int RandomChoice8::doQuery() {
|
||||
return sead::GlobalRandom::instance()->getU32(8);
|
||||
}
|
||||
|
||||
} // namespace uking::query
|
||||
Reference in New Issue
Block a user