Fixed array access for the last element in a path in Theme.cpp
Added the main menu
- the theme is now a global variable
- the global state is now a global variable
- added states for the main menu and the options menu
Added menu images
Added different enemy types
- the game class now loads enemy settings
- fixed missing pointer in TowerSettings
Added missing MainMenu files
Made enemy B's background transparent
Waves now contain different enemies and enemies give money when dead
Added money display
Spend money when the tower is placed, not when the placing starts
Changed map layout to have one block size for pathing and tower places
- updated test map defunition and background image
- better reference point for towers
- updated tower placer
- added high range to map and tower placer (not yet to the towers)
Removed unneeded TowerPos related functions from Map
Fixed call to removed BlockToTowerPos in map
Display loading bar while the game data loads
Fixed tower places and towerplacer not being reset and fixed some warnings
in Game::Reset()
Speedup loading
- do not load map and enemy info twice
- fixed warning in Game.cpp
- added debug hotkey to loose game (q)
Tower settings are now loaded in the Theme class
Some bugfixes in the tower settings loading code
Start to use tower settings instead of hardcoded values
- for GameUserInterface
- for the TowerPlacer
- adjusted tower images
Updated Tower class to use the TowerSettings
Added prelimiary canon tower definition