Blender Git Loki

Git Commits -> Revision c39a109

Revision c39a109 by Dalai Felinto (master)
March 7, 2011, 19:14 (GMT)
BGE internal cosmetic changes - Replacing hardcoded values with new defines
---------------------------------------------------------------------------
The Rasterizer code was relying in the values defined on TF_ DNA files. I'm working in the recode of TexFace, bringing the options to the material panel and ran into those cases. They are hard to spot and add a lot of the "magic" effect to the code. Hardcoded values are at least easy to spot. We (still) have a few defines duplicated, relying on each other (a flag previously defined in the code is checked later on but using a different define (although with same value. (e.g. TF_BMFONT and RAS_RENDER_3DPOLYGON_TEXT). It's hell =)
I'm adding some comments to help on that.

Things will be revamped anyways, but it's nice to keep the code a bit more coherent before the real feature commit. That's all, thanks for listening.

Commit Details:

Full Hash: c39a109dae3a704480bcb84e6a3c9f9a3d584f9f
SVN Revision: 35390
Parent Commit: aa6c975
Lines Changed: +6, -4

3 Modified Paths:

/source/gameengine/Ketsji/KX_PolygonMaterial.cpp (+1, -1) (Diff)
/source/gameengine/Rasterizer/RAS_IPolygonMaterial.cpp (+1, -1) (Diff)
/source/gameengine/Rasterizer/RAS_IRasterizer.h (+4, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021