Todo List

Class sonus::Physics
Tune force input from player attributes and force input into player after step

There is a memory leak somewhere! check task manager

Check the destructor Physics::~Physics(), it is most probably optimizable

The algorithms and functions are mostly quite unsafe, there should be some more limit checks etc.

Many members, especially functions like Physics::addBodyToWorld(), should better be private. They were made public for quicker prototyping.

Note:
Check Physics::cleanForInit() just in case the re-initialization of the Physics object causes problems
Warning:
The bigger the level and the higher the interpolation steps, the slower the physics will be, slowing down the whole game.
See also:
SvgLoader::calcResultSize() for details about the exponential growth

Class sonus::SvgLoader
Maybe the SvgLoader can create an interpolated Vector-Array with only relative coordinates, if any module should need that. In that function, the SvgLoader could filter out any double vectors (see note above)

The (private) variables SvgLoader::worldBezier and SvgLoader::worldVector could possibly be left out and the data could be directly saved into the corresponding worldBezier2D and worldVector2D objects of the appropriate Level2D object.

Make the SvgLoader more compatible to slight differences in the SVG XML code. It is not very flexible/usable for example when using other programs to generate the SVGs. It should at least be able to take Inkscape (free tool) SVG files.


Generated on Tue Aug 26 12:26:54 2008 for sonus by  doxygen 1.5.4