elixiroflife4u/cs174a_term_project — pull request #4 by psychtaygar (2011-11-14 03:03:04+00:00)
Title: General Engine Update and Organization

Changed a majority of the Game Object and Global files. World.h and .cpp have been split into World and Engine files. I have verified that WorldEntity parenting works properly.

Made global functions to add entities and lights to the world

made a scene object to setup and update the world

animate() in general.cpp cycles through each gameentity and updates it and calls onCollide on each object as its necessary
the display callback cycles through each gameentity and wall in the world and draws it. The scene draws based off of the "currentCamera" pointer so that we can have multiple cameras in the scene.

Todo: - fill out onCollide functions so that the player does not go through walls
- Maybe make the GameEntity and Wall arrays in World.h into vectors
- create transparent object heap and add it to the display callback so that it is drawn
- make sure that transparency can work properly with DrawableEntities
- add an ALPHA flag for DrawableEntities to check if it requires transparent drawing or not