May 31 patch
From GriffinEngine
May 31 patch (revision 389) includes bugfixes and cleanup in HUD and input classes, and slight syntax modifications in geTimer and resource classes.
Detailed list of changes
- HUD
- Removed the need to Init() HUD manually, geGame will do it for you now.
- Consolidated all the method overloads into one.
geHUD::Add()
- Added method for getting a non-typecast pointer to a geObject2D.
geHUD::Get()
- Removed redundant GE_AXIS_* constants. Now GE_ALIGN_* is used for all types of alignment.
- Added methods for changing text at runtime.
geText2D::setText()
- Added the ability to apply radial gradient coloring on geCircle.
- Keyboard
- Fixed all inconsistencies in keycode tables
- Removed legacy keycodes (like F15 key and such)
- Added and
geKeyboard::getCat()
methods.geKeyboard::getNumeric()
- Timer
- Changed the naming scheme for different time formats.
- Before:
time_t getTime(), double getGameTime(), time_t getGameTimeT()
- After:
time_t getTime(), double getTimeD(), time_t getTimeT()
- Before:
- Misc
- Renamed to
geBitmap::dump()
for consistency.geBitmap::Dump()
- Changed geFont constructor to accept instead of just
const string&
.string
- Updated main() example code to reflect changes and additions to the HUD.
- Renamed
Affected Files
- geBitmap.cpp
- geBitmap.h
- geFont.cpp
- geFont.h
- geGame.cpp
- geHUD.h
- geHUD.cpp
- geKeyboard.h
- geKeyboard.cpp
- geObject2D.h
- geObject2D.cpp
- geResource.cpp
- geResource.h
- geTimer.cpp
- geTimer.h
- main.cpp