Curation round 1: 66 boot-path functions rewritten in src/; the game links into a Linux executable

Six agents took over ANM2/AnimationState/LayerState, ItemConfig, EntityConfig, StringTable/Font/FormattedText/RichText,
OptionsConfig/ChallengeParams and ModManager/ModEntry functions (FormattedText::parse checked against a transliteration
of its assembly on 200,000 random inputs). 174 field rows and 32 names from the round are merged into db/.
source_tree.py: a struct or class src/*.h defines is no longer emitted in classes.h (class takeover) and gets no stubs;
data labels get stub definitions. build/isaac links (64-bit ELF) and stops at the first function not reconstructed:
IsaacMain. Boot path 64/615 functions curated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shweetandClaude Opus 5.5 committed 2026-11-19 22:13:25 -05:00
1 parent 8c31c98a81
commit 837aa06518
63 files changed
+10557 -12054

No files matched your search

+83
View File
@@ -0,0 +1,83 @@
#pragma once
#include <cstdint>
// The language argument that asks for the string table's current language.
constexpr int LANGUAGE_CURRENT = 20;
// What an ItemConfig_Item describes, by the XML element it came from.
enum ItemType : int
{
ITEM_NULL = 0,
ITEM_PASSIVE = 1,
ITEM_TRINKET = 2,
ITEM_ACTIVE = 3,
ITEM_FAMILIAR = 4
};
// How an active item recharges, as items.xml names it in "chargetype".
enum ChargeType : unsigned int
{
CHARGE_NORMAL = 0,
CHARGE_TIMED = 1,
CHARGE_SPECIAL = 2
};
// The stats an item makes the player recalculate, as items.xml names them in "cache".
enum CacheFlag : uint32_t
{
CACHE_DAMAGE = 0x1,
CACHE_FIREDELAY = 0x2,
CACHE_SHOTSPEED = 0x4,
CACHE_RANGE = 0x8,
CACHE_SPEED = 0x10,
CACHE_TEARFLAG = 0x20,
CACHE_TEARCOLOR = 0x40,
CACHE_FLYING = 0x80,
CACHE_WEAPON = 0x100,
CACHE_FAMILIARS = 0x200,
CACHE_LUCK = 0x400,
CACHE_SIZE = 0x800,
CACHE_COLOR = 0x1000,
CACHE_PICKUP_VISION = 0x2000,
CACHE_ALL = 0xffff
};
// An item's tags, as items.xml names them in "tags".
enum ItemTag : uint64_t
{
TAG_DEAD = 1ull << 0,
TAG_SYRINGE = 1ull << 1,
TAG_MOM = 1ull << 2,
TAG_TECH = 1ull << 3,
TAG_BATTERY = 1ull << 4,
TAG_GUPPY = 1ull << 5,
TAG_FLY = 1ull << 6,
TAG_BOB = 1ull << 7,
TAG_MUSHROOM = 1ull << 8,
TAG_BABY = 1ull << 9,
TAG_ANGEL = 1ull << 10,
TAG_DEVIL = 1ull << 11,
TAG_POOP = 1ull << 12,
TAG_BOOK = 1ull << 13,
TAG_SPIDER = 1ull << 14,
TAG_QUEST = 1ull << 15,
TAG_MONSTER_MANUAL = 1ull << 16,
TAG_NO_GREED = 1ull << 17,
TAG_FOOD = 1ull << 18,
TAG_TEARS_UP = 1ull << 19,
TAG_OFFENSIVE = 1ull << 20,
TAG_NO_KEEPER = 1ull << 21,
TAG_NO_LOST_BR = 1ull << 22,
TAG_STARS = 1ull << 23,
TAG_SUMMONABLE = 1ull << 24,
TAG_NO_CANTRIP = 1ull << 25,
TAG_WISP = 1ull << 26,
TAG_UNIQUE_FAMILIAR = 1ull << 27,
TAG_NO_CHALLENGE = 1ull << 28,
TAG_NO_DAILY = 1ull << 29,
TAG_LAZ_SHARED = 1ull << 30,
TAG_LAZ_SHARED_GLOBAL = 1ull << 31,
TAG_NO_EDEN = 1ull << 32,
TAG_DEVIL_SACRIFICE = 1ull << 33
};