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

loadgame.cpp File Reference
#include "stratagus.h"
#include "actions.h"
#include "ai.h"
#include "commands.h"
#include "construct.h"
#include "depend.h"
#include "font.h"
#include "map.h"
#include "minimap.h"
#include "missile.h"
#include "particle.h"
#include "pathfinder.h"
#include "replay.h"
#include "script.h"
#include "sound.h"
#include "sound_server.h"
#include "spells.h"
#include "trigger.h"
#include "ui.h"
#include "unit.h"
#include "unit_manager.h"
#include "unittype.h"
#include "upgrade.h"
#include "video.h"

loadgame.cpp - Load game.

bool SaveGameLoading
 Delete save game. More...
 
void CleanModules ()
 If a Saved Game is Loading. More...
 
void InitModules ()
 Save game is in progress of loading. More...
 
void LoadModules ()
 Register lua script of each modules. More...
 
static void PlaceUnits ()
 
void LoadGame (const std::string &filename)
 

Function Documentation

◆ CleanModules()

void CleanModules ( )

If a Saved Game is Loading.

Load all modules.

Cleanup modules.

Call each module to clean up.

◆ InitModules()

void InitModules ( )

Save game is in progress of loading.

Initialize all modules.

Call each module to initialize.

◆ LoadGame()

void LoadGame ( const std::string &  filename)

Load a game to file.

Parameters
filenameFile name to be loaded.

◆ LoadModules()

void LoadModules ( )

Register lua script of each modules.

Load all.

Call each module to load additional files (graphics,sounds).

◆ PlaceUnits()

static void PlaceUnits ( )
static

Variable Documentation

◆ SaveGameLoading

bool SaveGameLoading

Delete save game.

(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.