_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
#include <windows.h>#include <wincon.h>#include <process.h>#include <errno.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <sys/stat.h>#include <sys/types.h>Go to the source code of this file.
Macros | |
| #define | GAME_NAME |
| #define | GAME_CD |
| #define | GAME |
| #define | DATA_PATH |
| #define | SCRIPTS_PATH |
| #define | STRATAGUS_BIN |
| #define | WINVER 0x0501 |
| #define | REGKEY "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Stratagus" |
| #define | TITLE GAME_NAME |
| #define | STRATAGUS_NOT_FOUND "Stratagus is not installed.\nYou need Stratagus to run " GAME_NAME "!\nFirst install Stratagus from https://launchpad.net/stratagus" |
| #define | DATA_NOT_EXTRACTED GAME_NAME " data was not extracted yet.\nYou need extract data from original " GAME_CD " first!" |
| #define | NO_X_DISPLAY "Cannot open X Display" |
| #define | CONSOLE_MODE_NOT_ROOT "You must be root to run " GAME_NAME " in console framebuffer mode" |
| #define | BUFF_SIZE 1024 |
Functions | |
| static void | error (char *title, char *text) |
| int | main (int argc, char *argv[]) |
| #define BUFF_SIZE 1024 |
| #define CONSOLE_MODE_NOT_ROOT "You must be root to run " GAME_NAME " in console framebuffer mode" |
| #define DATA_NOT_EXTRACTED GAME_NAME " data was not extracted yet.\nYou need extract data from original " GAME_CD " first!" |
| #define DATA_PATH |
Path to game data directory
| #define GAME |
Short name of game (lower ascii chars without space)
| #define GAME_CD |
Full name of data CD
| #define GAME_NAME |
Full name of your Game
| #define NO_X_DISPLAY "Cannot open X Display" |
| #define REGKEY "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Stratagus" |
| #define SCRIPTS_PATH |
Path to game scripts directory
| #define STRATAGUS_BIN |
Path to stratagus executable binary
| #define STRATAGUS_NOT_FOUND "Stratagus is not installed.\nYou need Stratagus to run " GAME_NAME "!\nFirst install Stratagus from https://launchpad.net/stratagus" |
| #define TITLE GAME_NAME |
| #define WINVER 0x0501 |
|
static |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
1.8.9.1
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.