ControlContexts can now be activated and deactivated.
- added activate, deactivate methods for ControlContext and KeyboardControlContext
- keyboard controls are deactivated when the in-game menu is opened
Refactoring, graphics LOD settings are now loaded from XML.
Refactoring, graphics functionality divided into 3 JS files.
- created gl.js and scene.js to organize different parts of graphics functionality
- bug preventing return from the battle screen to main menu fixed
Refactoring: FPS counted for screen, drawn triangles counted for scene instead of globally.
- ResourceCenter no longer holds scenes, as they are stored per screens
- GameScreenWithCanvases and BattleScreen render functions implemented
- FPS is counted for each screen (as a screen has a render loop), and with a different method
- drawn triangles can be counted for each screen separately