____                _       __
    / __ )____  _____   | |     / /___ ___________
   / __  / __ \/ ___/   | | /| / / __ `/ ___/ ___/
  / /_/ / /_/ (__  )    | |/ |/ / /_/ / /  (__  )
 /_____/\____/____/     |__/|__/\__,_/_/  /____/

       A futuristic real-time strategy game.
          This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project. Distributed under the "GNU General Public License"

savegame.cpp File Reference

Save game. More...

#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <ctype.h>
#include <string>
#include "stratagus.h"
#include "ui.h"
#include "unit.h"
#include "upgrade.h"
#include "missile.h"
#include "map.h"
#include "player.h"
#include "ai.h"
#include "trigger.h"
#include "iolib.h"
#include "replay.h"
#include "script.h"
#include "actions.h"
#include "version.h"

Go to the source code of this file.

Functions

static std::string GetSaveDir ()
void SaveGame (const std::string &filename)
 Save game.


Detailed Description

Save game.

Definition in file savegame.cpp.


Function Documentation

static std::string GetSaveDir (  )  [static]

Get the save directory

Definition at line 68 of file savegame.cpp.

References UserDirectory.

Referenced by SaveGame().

void SaveGame ( const std::string &  filename  ) 


Generated on Sat Feb 21 00:28:18 2009 for Bos Wars by  doxygen 1.5.6