sotn-decomp/config/symbols.us.stnp3.txt
Luciano Ciccariello beb89d55a6
ItemTypes to EquipKind and blendMode to drawMode (#999)
[EquipKind](https://discord.com/channels/1079389589950705684/1087866009983139870/1196073673392652388)
group decision


[drawMode](https://discord.com/channels/1079389589950705684/1087866009983139870/1197935480428302476)
group decision

I was thinking a more soft PR, but in the light of `BLEND_VISIBLE` to
`DRAW_HIDE`, a mass rename would have happened anyway. So I decided to
rename everything since the majority of the code stands on the same line
of `BLEND_VISIBLE`.

The only changes other than the mass rename are:

```c
#define blendMode drawMode // maintained to easily migrate existing scratches
```
this might or not be useful

.

```c
#define DRAW_DEFAULT 0x00
#define DRAW_TRANSP 0x01   // make it semi transparent
#define DRAW_COLORS 0x04   // use color blending
#define DRAW_HIDE 0x08     // do not render the primitive
#define DRAW_TPAGE 0x10    // use custom tpage
#define DRAW_NOMENU 0x80   // do not render if D_800973EC is set
#define DRAW_ABSPOS 0x2000 // use absolute coordinates with DRAW_NOMENU
```
This is based on the research from the
[RenderPrimitives](https://decomp.me/scratch/geI8L) function.
2024-01-20 13:16:03 -08:00

111 lines
3.5 KiB
Plaintext

g_SpriteBanks = 0x80180040;
g_pStObjLayout = 0x80180728;
PfnEntityUpdates = 0x801808D0;
g_eBreakableInit = 0x80180A3C;
g_InitializeData0 = 0x80180A48;
g_InitializeEntityData0 = 0x80180A54;
g_EInitGeneric = 0x80180A6C;
g_eBreakableAnimations = 0x80180E28;
g_eBreakableHitboxes = 0x80180E48;
g_eBreakableExplosionTypes = 0x80180E50;
g_eBreakableanimSets = 0x80180E58;
g_eBreakableDrawModes = 0x80180E68;
g_TrapDoorFlag = 0x80181104;
UNK_Invincibility0 = 0x8018164C;
c_GoldPrizes = 0x80181DEC;
c_HeartPrizes = 0x80181E7C;
g_Rooms = 0x80183A7C;
g_UnkPrimHelperRot = 0x801B2464;
EntityBreakable = 0x801B26FC;
EntityShuttingWindow = 0x801B2C20;
EntityCastleDoor = 0x801B2F30;
EntityTransparentWater = 0x801B39CC;
EntityCavernDoorLever = 0x801B3E84;
EntityCavernDoorPlatform = 0x801B4004;
EntityClickSwitch = 0x801B4558;
EntityPathBlockSmallWeight = 0x801B4680;
EntityPathBlockTallWeight = 0x801B4940;
EntityTrapDoor = 0x801B4BE8;
EntityMermanRockLeftSide = 0x801B4D60;
EntityMermanRockRightSide = 0x801B5108;
EntityFallingRock2 = 0x801B560C;
EntityStairwayPiece = 0x801B5790;
EntityFallingRock = 0x801B5C5C;
EntitySwitch = 0x801B5F60;
EntityHeartRoomGoldDoor = 0x801B6084;
EntityUnkId49 = 0x801B644C;
EntitySlogra = 0x801B6990;
EntitySlograSpear = 0x801B75EC;
EntitySlograSpearProjectile = 0x801B7798;
EntityGaibon = 0x801B78BC;
EntitySmallGaibonProjectile = 0x801B8D84;
EntityLargeGaibonProjectile = 0x801B8E94;
Random = 0x801B90BC;
Update = 0x801B90EC;
UpdateStageEntities = 0x801B93E8;
TestCollisions = 0x801B94F0;
EntityNumericDamage = 0x801BA608;
InitRoomEntities = 0x801BB508;
CreateEntityFromCurrentEntity = 0x801BB734;
CreateEntityFromEntity = 0x801BB7A8;
EntityIsNearPlayer = 0x801BB824;
EntityRedDoor = 0x801BB89C;
DestroyEntity = 0x801BC4D4;
PreventEntityFromRespawning = 0x801BC5BC;
AnimateEntity = 0x801BC604;
GetDistanceToPlayerX = 0x801BC7D4;
GetDistanceToPlayerY = 0x801BC810;
GetSideToPlayer = 0x801BC844;
MoveEntity = 0x801BC888;
AllocEntity = 0x801BCD44;
AdjustValueWithinThreshold = 0x801BCF20;
SetStep = 0x801BD114;
SetSubStep = 0x801BD134;
InitializeEntity = 0x801BD1E4;
EntityDummy = 0x801BD2E0;
EntityPrizeDrop = 0x801BDEF4;
EntityExplosion = 0x801BE768;
EntityEquipItemDrop = 0x801BE908;
EntityRelicOrb = 0x801BF1A0;
EntityHeartDrop = 0x801BFC70;
EntityMessageBox = 0x801BFD98;
EntityUnkId15Spawner = 0x801C0624;
EntityUnkId15 = 0x801C07FC;
EntityIntenseExplosion = 0x801C119C;
EntityStageNamePopup = 0x801C2860;
EntitySoulStealOrb = 0x801C34E4;
EntityEnemyBlood = 0x801C3878;
EntityRoomForeground = 0x801C3D28;
BottomCornerText = 0x801C3E14;
EntitySplashWater = 0x801C4DCC;
EntitySurfacingWater = 0x801C56D8;
EntitySideWaterSplash = 0x801C5BC4;
EntitySmallWaterDrop = 0x801C5F58;
EntityWaterDrop = 0x801C61B4;
EntityMerman2 = 0x801C6564;
EntityExplosion2 = 0x801C7650;
EntityMediumWaterSplash = 0x801C7880;
EntityMermanWaterSplash = 0x801C7954;
EntityLargeFallingObject = 0x801C8010;
EntityMermanSpawner = 0x801C80DC;
EntityMerman = 0x801C8238;
EntityMermanExplosion = 0x801C8FEC;
EntityBoneScimitar = 0x801C91C4;
EntityBoneScimitarParts = 0x801C9874;
EntityBat = 0x801C997C;
EntityZombie = 0x801C9BC8;
EntityZombieSpawner = 0x801C9E28;
EntityBloodSplatter = 0x801C9F98;
EntityBloodyZombie = 0x801CA654;
EntityOwl = 0x801CB018;
EntityOwlKnight = 0x801CC2E0;
EntityHammer = 0x801CE69C;
EntityGurkhaBodyParts = 0x801CF254;
EntityHammerWeapon = 0x801CF5B8;
EntityGurkha = 0x801CF94C;
EntityGurkhaSword = 0x801D0730;
EntityBlade = 0x801D0D40;
EntityBladeSword = 0x801D1BB8;
PrimDecreaseBrightness = 0x801D2704;
g_ItemIconSlots = 0x801D33F4;