Merge lp://staging/~widelands-dev/widelands/game_end_summary into lp://staging/widelands
Proposed by
cghislai
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 6702 | ||||
Proposed branch: | lp://staging/~widelands-dev/widelands/game_end_summary | ||||
Merge into: | lp://staging/widelands | ||||
Diff against target: | 0 lines | ||||
To merge this branch: | bzr merge lp://staging/~widelands-dev/widelands/game_end_summary | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
SirVer | Approve | ||
Review via email: mp+176000@code.staging.launchpad.net |
Description of the change
So I have the game end screen prototypes and I need feedbacl. I am not sure if I must go for an ingame window or a fullscreen menu screen. If you test this branch, you will first see the ingame window, then if you click on Quit you will be warried to the fullscreen window.
To help you test, there is a Test Win win condition that will make the player 1 win after 15s - so make sure someone is occupying the 1st slot.
The layout and table sorting are not finished yet, but please voice your concerns.
To post a comment you must log in.
Also please tell me about the code design. Currently player states are stored in the game class. The win scripts report results to the game controller, which builds a EndStatus struct and passes it to the game. Once states for all players have been gathered, game ask the interactive_base to show the window.