Translated Level class from c# (mostly)
authorIvan Hernanez <iturtleman128@gmail.com>
Fri, 1 Jun 2012 03:04:13 +0000 (22:04 -0500)
committerIvan Hernanez <iturtleman128@gmail.com>
Fri, 1 Jun 2012 03:04:13 +0000 (22:04 -0500)
commitd76737d8e9f9d2cba0c00223b1597f12765d4670
treed967a728de940684636b60253dc041ce6a7657ba
parent261c14a068ab52b16b836ce77db26c67d20bd38f
Translated Level class from c# (mostly)

changed textrue from unsigned int to GLuint
added << for Point2D
World object implements ZOrder
got rid of SDL_Surface* screen from most items
moved text to class Text
Moved mName from Sprite to WorldObject
Added update behavior to sprites
Changed Loading to access loadinglevel instead of currentlevel (allowing loading of other levels)
Added framework for pausing and menu screens
changed currentlevel to int from uint so we can determine if the first level was loaded
Reworked background to use textures (draws again but doesn't wrap yet)

Implemented a lot of shit.
14 files changed:
Background.cpp
Background.h
Game.cpp
Game.h
Level.cpp
Level.h
LevelFns.h
LoadResources.cpp
Sprite.cpp
Sprite.h
Text.cpp
Text.h
WorldObject.h
fns.h