Remove special color parameters and directly use the entity
Remove duplicated gold object update code
Make position and rotation const references
Ignore frame translation when calculating halo size, this should not be noticeable
Remove copy-paste
Move infra color, ambient color and llight update out of Cedric_ApplyLighting
Move infra color, ambient color and llight update out of MakeCLight
Remove unused precalculation
Unify copy-paste
Move angular check out of MakeCLight
Remove software clipping
Use io->infracolor of not animated entities
Remove special_color_flag
Set infra color by default to neutral, remove infra check during light calculation
Implement and use Color3 += and *= operator
Replace component wise calculations
Unify copy-paste
Remove unnecessary casts
Move ApplyDynLight_VertexBuffer_2
Allocate portal data with new