All I want to say right now is "Holy shit, the game is messy!". I took a look at how data is being passed about for game events...
Take the simple situation I talked about before:-
- Player presses a key
- Event is raised
- Animation starts
- Animation Ends
- AnimComplete event is raised
Well, raising an event means that I have to pass the event info from the Entity, to the Game which gets passed down to the Level and finally back to the Entity with the info we need. Setting an animation from script is similar:- It goes via the Entity, to Game, to the Animation manager which does a callback to Entity. What the hell...
I've designed some crap in my time, but this is terrible O_o