Homogenate batch flags and render flags and begin the painful task of documenting waves. (#590)

* part one of wave pain

* 2

* littel bit more

* m

* h

* l

* aagghh

* yeah

* :)

* bruh

* b

* m

* faith

* z

* b

* rename batch flags

* Update waves.c

* fix conflicts
This commit is contained in:
Fazana
2025-05-27 22:20:50 +01:00
committed by GitHub
parent b92148ab0b
commit dd0fffb030
17 changed files with 1371 additions and 1397 deletions
@@ -55,7 +55,7 @@ void BuildModelBatch::write_batch(const std::map<std::string, int> &materialIds,
outBatch->textureIndex = materialIds.at(_materialId.value());
BuildModelMaterial &material = materials[outBatch->textureIndex];
if(material.is_texture_animated()) {
flags |= 0x10000; // BATCH_FLAGS_TEXTURE_ANIM
flags |= 0x10000; // RENDER_TEX_ANIM
}
materialDoubleSided = material.is_texture_double_sided();
} else {