[decomp] flying-lurker (#846)

* `flying-lurker`

* why'd this get left behind?

* also `ambient` and add a `banned_objects` config and fix offline tests

* clang

* fix `ambient-type-sound`
This commit is contained in:
ManDude
2021-09-21 23:40:38 +01:00
committed by GitHub
parent 5683f04046
commit d8e659df66
81 changed files with 11226 additions and 4477 deletions
+9
View File
@@ -932,6 +932,15 @@ goos::Object decompile_value(const TypeSpec& type,
u64 value;
memcpy(&value, bytes.data(), 8);
return pretty_print::to_symbol(fmt::format("#x{:x}", value));
} else if (ts.tc(TypeSpec("int64"), type)) {
assert(bytes.size() == 8);
s64 value;
memcpy(&value, bytes.data(), 8);
if (value > 100) {
return pretty_print::to_symbol(fmt::format("#x{:x}", value));
} else {
return pretty_print::to_symbol(fmt::format("{}", value));
}
} else if (type == TypeSpec("meters")) {
assert(bytes.size() == 4);
float value;