_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

results.h File Reference

Go to the source code of this file.

results.h - The game results headerfile.

enum  GameResults {
  GameNoResult, GameVictory, GameDefeat, GameDraw,
  GameQuitToMenu, GameRestart, GameExit
}
 
GameResults GameResult
 Game results. More...
 
void StopGame (GameResults result)
 Outcome of the game. More...
 

Enumeration Type Documentation

◆ GameResults

Possible outcomes of the game.

Enumerator
GameNoResult 
GameVictory 

Game has no result.

GameDefeat 

Game was won.

GameDraw 

Game was lost.

GameQuitToMenu 

Game was draw.

GameRestart 

Quit to menu.

GameExit 

Restart game.

Function Documentation

◆ StopGame()

void StopGame ( GameResults  result)

Outcome of the game.

Stop the running game with a given result

Variable Documentation

◆ GameResult

GameResults GameResult

Game results.

Game results.

(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.