A lot more groundwork for the online finished.
Editor can now save and load.
Play can now save and load local maps.
Player can connect to and login on Main server.
Player can create, join and get info on online games using their name.
Player can download custom map from host.
Made a basic pre-game screen showing map info, joined players and a chat.
Reorganized a lot of the code. Single-player is now really just a multiplayer game with 1 player.
Added sync watching to detect when a client falls out of sync.
So far it seems everything now syncs ok. Still needs to test on other platforms.
Added the ability to exit games and map editor, back to main menu by pressing esc.
Added in-game chat.
Added a basic tooltip for towers while in-game.
Multiplayer is now synced.
Fixed the GameManager not releasing all event listeners.
The clients will now place dummy towers when they request a tower placement.
Server will inform client if tower placement failed(Thus removing the dummy).
Lives and money is now being accounted for.
A lot of fixes.
Rewrote part of the pathfinding, it now uses a LOT less time.
Next up is to pack the multiple types of paths in one iteration of node updates. Currently most of the overhead of pathfinding is iterating the nodes, not actually calculating the cost.