02922aa5c026d74b5a33c22faf26be6a2c73af78
When an ActorFrame's parent has a diffuse or glow, the ActorFrame uses the static tempState in Actor::PreDraw(); When the ActorFrame draw's it's children, those children also use tempState because their parent has a diffuse( making their internalDiffuse not 1,1,1,1 ). If any child is diffused it'll will change tempState, which will affect the internalDiffuse given to the next child, and so on. By determining the diffuse and glow to be passed to the children before drawing any of them, any changes to tempState will not affect the diffuse of subsequent children.
StepMania
Advanced cross-platform rhythm game for home and arcade use.
Source is all MIT Licensed, songs are CC-NC, builds with MAD or GPL-licensed FFMPEG codecs are GPL.
- Website: http://www.stepmania.com/
- IRC: irc.freenode.net/#stepmania-devs
Languages
C++
85.7%
Lua
4.3%
C
4.3%
Rich Text Format
2.3%
CMake
1.1%
Other
2%