iorlas / JT2

Jungle Timer for the LoL game. Second edition. First was on ansi C with dirty hacks. New edition uses D3D9Proxy dll and CPP with boost.
8 stars 5 forks source link

Code Review: Rework interface IRenderable #38

Open iorlas opened 13 years ago

iorlas commented 13 years ago

We can optimize general render function:

  1. Add InitMemory into interface. So it will be called by the Core class and checked after that. So we dont need to check for a flag in the every child class.