Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Melee DatEnums #349

Open
PsiLupan opened this issue Apr 12, 2019 · 0 comments
Open

Missing Melee DatEnums #349

PsiLupan opened this issue Apr 12, 2019 · 0 comments
Labels

Comments

@PsiLupan
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants