Please to fix window issue.
Fix building window
When player login/logout, resources will save and increase by passing time.
1. logout => save data.
2. login => load data and refresh resource, then rewrite back.
Merge remote-tracking branch 'origin/v0.2.2' into v0.2.2

Conflicts:
	Classes/MainScene.cpp
Refresh player's resources per second and show on screen.
Countdown XX sec during a battle.
Merge branch 'master' into v0.2.2

Conflicts:
	proj.ios_mac/Parallelformosa_Cocos2dx.xcodeproj/project.xcworkspace/xcuserdata/Vodalok.xcuserdatad/UserInterfaceState.xcuserstate
Battle could generate CMD series.
battle simulation completed.
Merge remote-tracking branch 'origin/v0.2.2'

Conflicts:
	Classes/LoadingScene.cpp
	Resources/database.sqlite3
	proj.ios_mac/Parallelformosa_Cocos2dx.xcodeproj/project.xcworkspace/xcuserdata/Vodalok.xcuserdatad/UserInterfaceState.xcuserstate