DarkRadiant: master 6ab20e81

Author Committer Branch Timestamp Parent
orbweaver orbweaver master 18.08.2020 18:52 master 4e2a95bc
Changeset RenderableCollector only has a single addRenderable method

RenderableCollector has finally discovered the cutting-edge C++03 features of
"null pointers" and "default arguments", and now exposes only a single
addRenderable method with optional pointers to a LightList and an IRenderEntity
object.

Previously there were three separate methods with different combinations of
IRenderEntity and LightList parameters, resulting in pointless duplication of
code in the implementing subclasses.
mod - include/irenderable.h Diff File
mod - libs/render/SimpleFrontendRenderer.h Diff File
mod - radiant/brush/Face.cpp Diff File
mod - radiant/camera/CamRenderer.cpp Diff File
mod - radiant/camera/CamRenderer.h Diff File
mod - radiant/md5model/MD5ModelNode.cpp Diff File
mod - radiant/modelfile/RenderablePicoModel.cpp Diff File
mod - radiant/particles/RenderableParticle.cpp Diff File
mod - radiant/patch/Patch.cpp Diff File
mod - radiant/xyview/XYRenderer.h Diff File