[decomp] get started on game info (#674)

* temp

* menu text

* wip

* recognize handle to process

* more
This commit is contained in:
water111
2021-07-03 16:18:41 -04:00
committed by GitHub
parent bc41241234
commit 784cd5debb
63 changed files with 9250 additions and 2542 deletions
+9
View File
@@ -67,6 +67,15 @@ std::string FieldReverseLookupOutput::Token::print() const {
}
}
bool FieldReverseLookupOutput::has_variable_token() const {
for (const auto& tok : tokens) {
if (tok.kind == Token::Kind::VAR_IDX) {
return true;
}
}
return false;
}
namespace {
void try_reverse_lookup(const FieldReverseLookupInput& input,
+2
View File
@@ -104,6 +104,8 @@ struct FieldReverseLookupOutput {
double total_score = 0.;
TypeSpec result_type;
std::vector<Token> tokens;
bool has_variable_token() const;
};
struct FieldReverseMultiLookupOutput {