Another-Game-Engine/AGE — pull request #180 by cesarl (2014-05-21 21:09:10+00:00)
Title: New component architecture + physics improved

Here is the new architecture I propose for components.

It's still very basic and improvable. But it's more data oriented than before and it'll help a lot for some components update and serialization.

I'll improve it progressively, I have conscience that's really far to be perfect. Here is some principal modifications :
- Components of each type are in contiguous memory and sorted in the same order than entities. That'll be very helpful when we need to update just on component in a simple pass. That'll help to, when we'll send to renderer drawable information.
- There is no more graphnode for the moment. In fact, for the moment we don't need it. In the future, if needed, I'll implement a light one.
- We have to remove from components the maximum of methods and replace them by simple functions. We have to keep components the more simple possible and POD like. There is still a lot of method to be remove and placed in systems or simple functions.
- Physics have been upgraded for better performance. Transformation is now directly updated by bullet.
- Now we create entites and components from the scene. It's the scene which manage them.

DemosceneV0 have been removed from repo. It was useless, outdated and unmaintainable. Now use Engine core test or create a specific project for your development. The idea is to keep it organized and clean so that everybody can use it relatively easily.