Opened 16 years ago
Closed 16 years ago
#296 closed defect (invalid)
Remove GraphicsEngine Hack
Reported by: | rgrieder | Owned by: | nobody |
---|---|---|---|
Priority: | minor | Milestone: | Version 0.2 Codename: Bellatrix |
Component: | GraphicsEngine | Version: | 0.2.0 |
Keywords: | Cc: | ||
Referenced By: | References: |
Description
There is a ghost wandering around in Orxonox… It has a name: GraphicsEngine. And it has a purpose: Help out when you need a global variable. And that usually is a hack.
Only little content remains in the class and that content should be moved somewhere else. There are plenty of places as a matter of fact. But the difficult part is getting rid of the need of being global. There is a hack providing a global viewport because viewport handling has not yet been giving a proper thought. There is always a was to resolve this, find a way!
Change History (2)
comment:1 Changed 16 years ago by rgrieder
comment:2 Changed 16 years ago by rgrieder
- Resolution set to invalid
- Status changed from new to closed
Indeed, GraphicsEngine was renamed to GraphicsManager because we don't actually have an engine, we just use OGRE.
There's been a bit of a rethinking with the GameStates. So we might get back to the GraphicsEngine…