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

gameheaders/stratagus-maemo-extract.h File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <gtk/gtk.h>
#include <hildon/hildon.h>

Go to the source code of this file.


Defines

#define GAME_NAME
#define GAME_CD
#define GAME_CD_DIR
#define GAME_CD_FILE
#define GAME
#define EXTRACT_BIN
#define EXTRACT_COMMAND
#define EXTRACT_INFO
#define DATA_NEED_COPY   "Note: You need the original " GAME_CD "\n(Battle.net edition doesn't work)\nto extract the game data files.\nData files are needed to run " GAME_NAME ".\n\nFirst copy " GAME_CD " to folder " GAME_CD_DIR "\n, then press OK. " EXTRACT_INFO
#define DATA_FOUND   GAME_CD " data files was found in folder " GAME_CD_DIR "\n\nPlease be patient, the data may take\na couple of minutes to extract...\n\nPress OK to start extracting data now."
#define DATA_NOT_FOUND   "Error: " GAME_CD " data files was not found.\n\nCheck if you have file\n" GAME_CD_DIR"/"GAME_CD_FILE
#define EXTRACT_OK   GAME_CD " data files was successfull extracted."
#define EXTRACT_FAILED   "Error: Cannot extract " GAME_CD " data files,\nextract program crashed."
#define DATA_DIR   "/home/user/" GAME_CD_DIR
#define EXTRACT_DIR   "/home/user/MyDocs/stratagus/" GAME

Functions

static void message (char *title, char *text, int error)
int main (int argc, char *argv[])

Define Documentation

#define DATA_DIR   "/home/user/" GAME_CD_DIR

#define DATA_FOUND   GAME_CD " data files was found in folder " GAME_CD_DIR "\n\nPlease be patient, the data may take\na couple of minutes to extract...\n\nPress OK to start extracting data now."

#define DATA_NEED_COPY   "Note: You need the original " GAME_CD "\n(Battle.net edition doesn't work)\nto extract the game data files.\nData files are needed to run " GAME_NAME ".\n\nFirst copy " GAME_CD " to folder " GAME_CD_DIR "\n, then press OK. " EXTRACT_INFO

#define DATA_NOT_FOUND   "Error: " GAME_CD " data files was not found.\n\nCheck if you have file\n" GAME_CD_DIR"/"GAME_CD_FILE

#define EXTRACT_BIN

Full path to program which extract data

#define EXTRACT_COMMAND

Full patch to extract program with command line arguments for extracting data

#define EXTRACT_DIR   "/home/user/MyDocs/stratagus/" GAME

#define EXTRACT_FAILED   "Error: Cannot extract " GAME_CD " data files,\nextract program crashed."

#define EXTRACT_INFO

Additional extract data game info

#define EXTRACT_OK   GAME_CD " data files was successfull extracted."

#define GAME

Short name of game (lower ascii chars without space)

#define GAME_CD

Full name of data CD

#define GAME_CD_DIR

Relative path of /home/user where is data CD

#define GAME_CD_FILE

Filename of one data file

#define GAME_NAME

Full name of your Game


Function Documentation

int main ( int  argc,
char *  argv[] 
)

static void message ( char *  title,
char *  text,
int  error 
) [static]

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