Ticket #508 (closed task: fixed)
Remove string members in render styles
|Reported by:||waltweltonlair||Owned by:||waltweltonlair|
The SE_RenderStyle derived structs contain a number of string members (e.g. angleControl, vertexControl), and the rendering code uses string comparison calls to branch based on their values. This all happens inside the rendering loop. A more efficient implementation is to use enumerated types in place of these string members. In the common case (no expressions) the strings are then evaluated only once when the style is evaluated.