jam1garner/Smash-Forge

Missing Melee DatEnums

Opened this issue · 0 comments

Quite a bit missing related to the flags, here's a reference link from the code I've written for the Texture Object and an example of just some additions to the current information. It's a complete reference relative to some of my other objects, like JObj.

Reference:
https://github.com/PsiLupan/FRAY/blob/master/src/hsd/hsd_tobj.h#L82

LightMaps

Diffuse = 0x10
Specular = 0x20
Ambient = 0x40
Ext = 0x80 // Unused, since I don't have actual code referencing it in my experience
Shadow = 0x100

TexCoords

UV 0
Reflection = 1
Highlight = 2
Shadow = 3
Toon = 4 //Unused in Melee - The code is ifdef'd out of the engine
Gradation = 5
Backlight = 6

I'll leave the rest of reading the ColorMap flags, etc. to whoever plans to address it, since I'm not much in the way of a graphics programmer.