Main header file changed to "freecraft.h" and updated all headers.

This commit is contained in:
johns 2000-04-04 23:24:48 +00:00
parent 686e397fe3
commit 19006564da
88 changed files with 400 additions and 197 deletions

View file

@ -10,7 +10,7 @@
//
/**@name action_attack.c - The attack action. */
/*
** (c) Copyright 1998,1999 by Lutz Sammer
** (c) Copyright 1998-2000 by Lutz Sammer
**
** $Id$
*/
@ -20,7 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "sound_id.h"
#include "unitsound.h"

View file

@ -8,7 +8,7 @@
// T H E W A R B E G I N S
// FreeCraft - A free fantasy real time strategy game engine
//
/**@name action_board.c - The board action. */
/**@name action_board.c - The board action. */
/*
** (c) Copyright 1998,2000 by Lutz Sammer
**
@ -20,7 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "sound_id.h"
#include "unitsound.h"

View file

@ -20,7 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "sound_id.h"
#include "unitsound.h"

View file

@ -1,11 +1,18 @@
/*
** A clone of a famous game.
*/
// ___________ _________ _____ __
// \_ _____/______ ____ ____ \_ ___ \____________ _/ ____\/ |_
// | __) \_ __ \_/ __ \_/ __ \/ \ \/\_ __ \__ \\ __\\ __\
// | \ | | \/\ ___/\ ___/\ \____| | \// __ \| | | |
// \___ / |__| \___ >\___ >\______ /|__| (____ /__| |__|
// \/ \/ \/ \/ \/
// ______________________ ______________________
// T H E W A R B E G I N S
// FreeCraft - A free fantasy real time strategy game engine
//
/**@name action_demolish.c - The demolish action. */
/*
** (c) Copyright 1999 by Vladi Belperchinov-Shabanski
**
** (c) Copyright 1999,2000 by Vladi Belperchinov-Shabanski
**
** $Id$
*/
//@{
@ -13,7 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "unitsound.h"
#include "unittype.h"

View file

@ -1,9 +1,16 @@
/*
** A clone of a famous game.
*/
// ___________ _________ _____ __
// \_ _____/______ ____ ____ \_ ___ \____________ _/ ____\/ |_
// | __) \_ __ \_/ __ \_/ __ \/ \ \/\_ __ \__ \\ __\\ __\
// | \ | | \/\ ___/\ ___/\ \____| | \// __ \| | | |
// \___ / |__| \___ >\___ >\______ /|__| (____ /__| |__|
// \/ \/ \/ \/ \/
// ______________________ ______________________
// T H E W A R B E G I N S
// FreeCraft - A free fantasy real time strategy game engine
//
/**@name action_die.c - The die action. */
/*
** (c) Copyright 1998 by Lutz Sammer
** (c) Copyright 1998,2000 by Lutz Sammer
**
** $Id$
*/
@ -13,7 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "sound_id.h"
#include "unitsound.h"

View file

@ -20,7 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "sound_id.h"
#include "unitsound.h"

View file

@ -20,7 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "sound_id.h"
#include "unitsound.h"

View file

@ -20,7 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "sound_id.h"
#include "unitsound.h"

View file

@ -20,7 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "sound_id.h"
#include "unitsound.h"

View file

@ -1,9 +1,16 @@
/*
** A clone of a famous game.
*/
// ___________ _________ _____ __
// \_ _____/______ ____ ____ \_ ___ \____________ _/ ____\/ |_
// | __) \_ __ \_/ __ \_/ __ \/ \ \/\_ __ \__ \\ __\\ __\
// | \ | | \/\ ___/\ ___/\ \____| | \// __ \| | | |
// \___ / |__| \___ >\___ >\______ /|__| (____ /__| |__|
// \/ \/ \/ \/ \/
// ______________________ ______________________
// T H E W A R B E G I N S
// FreeCraft - A free fantasy real time strategy game engine
//
/**@name action_patrol.c - The patrol action. */
/*
** (c) Copyright 1998 by Lutz Sammer
** (c) Copyright 1998,2000 by Lutz Sammer
**
** $Id$
*/
@ -13,7 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "sound_id.h"
#include "unitsound.h"

View file

@ -1,9 +1,16 @@
/*
** A clone of a famous game.
*/
// ___________ _________ _____ __
// \_ _____/______ ____ ____ \_ ___ \____________ _/ ____\/ |_
// | __) \_ __ \_/ __ \_/ __ \/ \ \/\_ __ \__ \\ __\\ __\
// | \ | | \/\ ___/\ ___/\ \____| | \// __ \| | | |
// \___ / |__| \___ >\___ >\______ /|__| (____ /__| |__|
// \/ \/ \/ \/ \/
// ______________________ ______________________
// T H E W A R B E G I N S
// FreeCraft - A free fantasy real time strategy game engine
//
/**@name action_repair.c - The repair action. */
/*
** (c) Copyright 1999 by Vladi Shabanski
** (c) Copyright 1999,2000 by Vladi Shabanski
**
** $Id$
*/
@ -21,7 +28,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "sound_id.h"
#include "unitsound.h"

View file

@ -20,7 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "sound_id.h"
#include "unitsound.h"

View file

@ -1,9 +1,16 @@
/*
** A clone of a famous game.
*/
// ___________ _________ _____ __
// \_ _____/______ ____ ____ \_ ___ \____________ _/ ____\/ |_
// | __) \_ __ \_/ __ \_/ __ \/ \ \/\_ __ \__ \\ __\\ __\
// | \ | | \/\ ___/\ ___/\ \____| | \// __ \| | | |
// \___ / |__| \___ >\___ >\______ /|__| (____ /__| |__|
// \/ \/ \/ \/ \/
// ______________________ ______________________
// T H E W A R B E G I N S
// FreeCraft - A free fantasy real time strategy game engine
//
/**@name action_returngoods.c - The return goods action. */
/*
** (c) Copyright 1998 by Lutz Sammer
** (c) Copyright 1998,2000 by Lutz Sammer
**
** $Id$
*/
@ -13,7 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "sound_id.h"
#include "unitsound.h"

View file

@ -1,6 +1,13 @@
/*
** A clone of a famous game.
*/
// ___________ _________ _____ __
// \_ _____/______ ____ ____ \_ ___ \____________ _/ ____\/ |_
// | __) \_ __ \_/ __ \_/ __ \/ \ \/\_ __ \__ \\ __\\ __\
// | \ | | \/\ ___/\ ___/\ \____| | \// __ \| | | |
// \___ / |__| \___ >\___ >\______ /|__| (____ /__| |__|
// \/ \/ \/ \/ \/
// ______________________ ______________________
// T H E W A R B E G I N S
// FreeCraft - A free fantasy real time strategy game engine
//
/**@name action_stand.c - The stand ground action. */
/*
** (c) Copyright 2000 by Lutz Sammer
@ -13,7 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "sound_id.h"
#include "unitsound.h"

View file

@ -1,9 +1,16 @@
/*
** A clone of a famous game.
*/
// ___________ _________ _____ __
// \_ _____/______ ____ ____ \_ ___ \____________ _/ ____\/ |_
// | __) \_ __ \_/ __ \_/ __ \/ \ \/\_ __ \__ \\ __\\ __\
// | \ | | \/\ ___/\ ___/\ \____| | \// __ \| | | |
// \___ / |__| \___ >\___ >\______ /|__| (____ /__| |__|
// \/ \/ \/ \/ \/
// ______________________ ______________________
// T H E W A R B E G I N S
// FreeCraft - A free fantasy real time strategy game engine
//
/**@name action_still.c - The stand still action. */
/*
** (c) Copyright 1998 by Lutz Sammer
** (c) Copyright 1998,2000 by Lutz Sammer
**
** $Id$
*/
@ -13,7 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "sound_id.h"
#include "unitsound.h"

View file

@ -20,7 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "sound_id.h"
#include "unitsound.h"

View file

@ -1,9 +1,16 @@
/*
** A clone of a famous game.
*/
// ___________ _________ _____ __
// \_ _____/______ ____ ____ \_ ___ \____________ _/ ____\/ |_
// | __) \_ __ \_/ __ \_/ __ \/ \ \/\_ __ \__ \\ __\\ __\
// | \ | | \/\ ___/\ ___/\ \____| | \// __ \| | | |
// \___ / |__| \___ >\___ >\______ /|__| (____ /__| |__|
// \/ \/ \/ \/ \/
// ______________________ ______________________
// T H E W A R B E G I N S
// FreeCraft - A free fantasy real time strategy game engine
//
/**@name action_unload.c - The unload action. */
/*
** (c) Copyright 1998 by Lutz Sammer
** (c) Copyright 1998,2000 by Lutz Sammer
**
** $Id$
*/
@ -13,7 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "sound_id.h"
#include "unitsound.h"

View file

@ -20,7 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "sound_id.h"
#include "unitsound.h"

View file

@ -1,6 +1,13 @@
/*
** A clone of a famous game.
*/
// ___________ _________ _____ __
// \_ _____/______ ____ ____ \_ ___ \____________ _/ ____\/ |_
// | __) \_ __ \_/ __ \_/ __ \/ \ \/\_ __ \__ \\ __\\ __\
// | \ | | \/\ ___/\ ___/\ \____| | \// __ \| | | |
// \___ / |__| \___ >\___ >\______ /|__| (____ /__| |__|
// \/ \/ \/ \/ \/
// ______________________ ______________________
// T H E W A R B E G I N S
// FreeCraft - A free fantasy real time strategy game engine
//
/**@name actions.c - The actions. */
/*
** (c) Copyright 1998,2000 by Lutz Sammer
@ -13,7 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "sound_id.h"
#include "unitsound.h"

View file

@ -1,9 +1,16 @@
/*
** A clone of a famous game.
*/
// ___________ _________ _____ __
// \_ _____/______ ____ ____ \_ ___ \____________ _/ ____\/ |_
// | __) \_ __ \_/ __ \_/ __ \/ \ \/\_ __ \__ \\ __\\ __\
// | \ | | \/\ ___/\ ___/\ \____| | \// __ \| | | |
// \___ / |__| \___ >\___ >\______ /|__| (____ /__| |__|
// \/ \/ \/ \/ \/
// ______________________ ______________________
// T H E W A R B E G I N S
// FreeCraft - A free fantasy real time strategy game engine
//
/**@name command.c - Give units a command. */
/*
** (c) Copyright 1998 by Lutz Sammer
** (c) Copyright 1998,2000 by Lutz Sammer
**
** $Id$
*/
@ -13,7 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "sound_id.h"
#include "unitsound.h"

View file

@ -24,7 +24,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "clone.h"
#include "freecraft.h"
#include "player.h"
#include "unit.h"

View file

@ -21,7 +21,7 @@
#include <stdlib.h>
#include <string.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "sound_id.h"

View file

@ -23,7 +23,7 @@
#include <stdio.h>
#include "clone.h"
#include "freecraft.h"
#if defined(USE_CCL) || defined(USE_CCL2) // {

View file

@ -0,0 +1,10 @@
// ___________ _________ _____ __
// \_ _____/______ ____ ____ \_ ___ \____________ _/ ____\/ |_
// | __) \_ __ \_/ __ \_/ __ \/ \ \/\_ __ \__ \\ __\\ __\
// | \ | | \/\ ___/\ ___/\ \____| | \// __ \| | | |
// \___ / |__| \___ >\___ >\______ /|__| (____ /__| |__|
// \/ \/ \/ \/ \/
// ______________________ ______________________
// T H E W A R B E G I N S
// FreeCraft - A free fantasy real time strategy game engine
//

View file

@ -1,9 +1,16 @@
##
## A clone of a famous game.
## ___________ _________ _____ __
## \_ _____/______ ____ ____ \_ ___ \____________ _/ ____\/ |_
## | __) \_ __ \_/ __ \_/ __ \/ \ \/\_ __ \__ \\ __\\ __\
## | \ | | \/\ ___/\ ___/\ \____| | \// __ \| | | |
## \___ / |__| \___ >\___ >\______ /|__| (____ /__| |__|
## \/ \/ \/ \/ \/
## ______________________ ______________________
## T H E W A R B E G I N S
## FreeCraft - A free fantasy real time strategy game engine
##
## Makefile - The make file (3 level).
##
## (c) Copyright 1999 by Lutz Sammer
## (c) Copyright 1999,2000 by Lutz Sammer
##
## $Id$
##

View file

@ -24,7 +24,7 @@
#include <stdio.h>
#include <string.h>
#include "clone.h"
#include "freecraft.h"
#include "map.h"
#include "minimap.h"
#include "player.h"

View file

@ -25,7 +25,7 @@
#include <stdlib.h>
#include <string.h>
#include "clone.h"
#include "freecraft.h"
#include "tileset.h"
#include "video.h"
#include "map.h"

View file

@ -24,7 +24,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "clone.h"
#include "freecraft.h"
#include "player.h"
#include "unittype.h"
#include "unit.h"

View file

@ -1,10 +1,16 @@
/*
** A clone of a famous game.
*/
// ___________ _________ _____ __
// \_ _____/______ ____ ____ \_ ___ \____________ _/ ____\/ |_
// | __) \_ __ \_/ __ \_/ __ \/ \ \/\_ __ \__ \\ __\\ __\
// | \ | | \/\ ___/\ ___/\ \____| | \// __ \| | | |
// \___ / |__| \___ >\___ >\______ /|__| (____ /__| |__|
// \/ \/ \/ \/ \/
// ______________________ ______________________
// T H E W A R B E G I N S
// FreeCraft - A free fantasy real time strategy game engine
//
/**@name map_rock.c - The map rock handling. */
/*
**
** (c) Copyright 1999 by Vladi
** (c) Copyright 1999,2000 by Vladi
**
** $Id$
*/
@ -17,7 +23,7 @@
#include <stdio.h>
#include "clone.h"
#include "freecraft.h"
#include "map.h"
#include "minimap.h"

View file

@ -1,10 +1,16 @@
/*
** A clone of a famous game.
*/
// ___________ _________ _____ __
// \_ _____/______ ____ ____ \_ ___ \____________ _/ ____\/ |_
// | __) \_ __ \_/ __ \_/ __ \/ \ \/\_ __ \__ \\ __\\ __\
// | \ | | \/\ ___/\ ___/\ \____| | \// __ \| | | |
// \___ / |__| \___ >\___ >\______ /|__| (____ /__| |__|
// \/ \/ \/ \/ \/
// ______________________ ______________________
// T H E W A R B E G I N S
// FreeCraft - A free fantasy real time strategy game engine
//
/**@name map_wall.c - The map wall handling. */
/*
**
** (c) Copyright 1999 by Vladi
** (c) Copyright 1999,2000 by Vladi
**
** $Id$
*/
@ -17,7 +23,7 @@
#include <stdio.h>
#include "clone.h"
#include "freecraft.h"
#include "map.h"
#include "minimap.h"

View file

@ -23,7 +23,7 @@
#include <stdio.h>
#include "clone.h"
#include "freecraft.h"
#include "map.h"
#include "minimap.h"

View file

@ -25,7 +25,7 @@
#include <stdlib.h>
#include <string.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "tileset.h"
#include "map.h"

View file

@ -24,7 +24,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "clone.h"
#include "freecraft.h"
#if defined(USE_CCL) || defined(USE_CCL2) // {

View file

@ -21,7 +21,7 @@
#include <stdlib.h>
#include <string.h>
#include "clone.h"
#include "freecraft.h"
#include "tileset.h"
#include "map.h"

View file

@ -1,9 +1,16 @@
##
## A clone of a famous game.
## ___________ _________ _____ __
## \_ _____/______ ____ ____ \_ ___ \____________ _/ ____\/ |_
## | __) \_ __ \_/ __ \_/ __ \/ \ \/\_ __ \__ \\ __\\ __\
## | \ | | \/\ ___/\ ___/\ \____| | \// __ \| | | |
## \___ / |__| \___ >\___ >\______ /|__| (____ /__| |__|
## \/ \/ \/ \/ \/
## ______________________ ______________________
## T H E W A R B E G I N S
## FreeCraft - A free fantasy real time strategy game engine
##
## Makefile - The make file (3 level).
##
## (c) Copyright 1998 by Lutz Sammer
## (c) Copyright 1998,2000 by Lutz Sammer
##
## $Id$
##

View file

@ -1,9 +1,16 @@
// ___________ _________ _____ __
// \_ _____/______ ____ ____ \_ ___ \____________ _/ ____\/ |_
// | __) \_ __ \_/ __ \_/ __ \/ \ \/\_ __ \__ \\ __\\ __\
// | \ | | \/\ ___/\ ___/\ \____| | \// __ \| | | |
// \___ / |__| \___ >\___ >\______ /|__| (____ /__| |__|
// \/ \/ \/ \/ \/
// ______________________ ______________________
// T H E W A R B E G I N S
// FreeCraft - A free fantasy real time strategy game engine
//
/**@name network.c - The network. */
/*
** A clone of a famous game.
*/
/**@name network.c - The network. */
/*
** (c) Copyright 1998 by Lutz Sammer
** (c) Copyright 1998,2000 by Lutz Sammer
**
** $Id$
*/
@ -32,7 +39,7 @@
#include <net/if.h>
#endif
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "sound_id.h"
#include "unitsound.h"

View file

@ -1,9 +1,16 @@
##
## A clone of a famous game.
## ___________ _________ _____ __
## \_ _____/______ ____ ____ \_ ___ \____________ _/ ____\/ |_
## | __) \_ __ \_/ __ \_/ __ \/ \ \/\_ __ \__ \\ __\\ __\
## | \ | | \/\ ___/\ ___/\ \____| | \// __ \| | | |
## \___ / |__| \___ >\___ >\______ /|__| (____ /__| |__|
## \/ \/ \/ \/ \/
## ______________________ ______________________
## T H E W A R B E G I N S
## FreeCraft - A free fantasy real time strategy game engine
##
## Makefile - The make file (3 level).
##
## (c) Copyright 1999 by Lutz Sammer
## (c) Copyright 1999,2000 by Lutz Sammer
##
## $Id$
##

View file

@ -22,7 +22,7 @@
#include <stdio.h>
#include "clone.h"
#include "freecraft.h"
#include "player.h"
#include "unit.h"

View file

@ -1,11 +1,18 @@
/*
** A clone of a famous game.
*/
// ___________ _________ _____ __
// \_ _____/______ ____ ____ \_ ___ \____________ _/ ____\/ |_
// | __) \_ __ \_/ __ \_/ __ \/ \ \/\_ __ \__ \\ __\\ __\
// | \ | | \/\ ___/\ ___/\ \____| | \// __ \| | | |
// \___ / |__| \___ >\___ >\______ /|__| (____ /__| |__|
// \/ \/ \/ \/ \/
// ______________________ ______________________
// T H E W A R B E G I N S
// FreeCraft - A free fantasy real time strategy game engine
//
/**@name pathfinder.c - The path finder routines. */
/*
** I use breadth-first.
**
** (c) Copyright 1998 by Lutz Sammer
** (c) Copyright 1998,2000 by Lutz Sammer
**
** $Id$
*/
@ -16,7 +23,7 @@
#include <stdlib.h>
#include <string.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "tileset.h"
#include "map.h"

View file

@ -25,7 +25,7 @@
#include <stdlib.h>
#include <string.h>
#include "clone.h"
#include "freecraft.h"
#if defined(USE_CCL) || defined(USE_CCL2) // {

View file

@ -1,9 +1,16 @@
##
## A clone of a famous game.
## ___________ _________ _____ __
## \_ _____/______ ____ ____ \_ ___ \____________ _/ ____\/ |_
## | __) \_ __ \_/ __ \_/ __ \/ \ \/\_ __ \__ \\ __\\ __\
## | \ | | \/\ ___/\ ___/\ \____| | \// __ \| | | |
## \___ / |__| \___ >\___ >\______ /|__| (____ /__| |__|
## \/ \/ \/ \/ \/
## ______________________ ______________________
## T H E W A R B E G I N S
## FreeCraft - A free fantasy real time strategy game engine
##
## Makefile - The make file (3 level).
##
## (c) Copyright 1998,1999 by Lutz Sammer
## (c) Copyright 1998-2000 by Lutz Sammer
##
## $Id$
##

View file

@ -1,9 +1,16 @@
/*
** A clone of a famous game.
*/
// ___________ _________ _____ __
// \_ _____/______ ____ ____ \_ ___ \____________ _/ ____\/ |_
// | __) \_ __ \_/ __ \_/ __ \/ \ \/\_ __ \__ \\ __\\ __\
// | \ | | \/\ ___/\ ___/\ \____| | \// __ \| | | |
// \___ / |__| \___ >\___ >\______ /|__| (____ /__| |__|
// \/ \/ \/ \/ \/
// ______________________ ______________________
// T H E W A R B E G I N S
// FreeCraft - A free fantasy real time strategy game engine
//
/**@name ccl_sound.c - The sound ccl functions. */
/*
** (c) Copyright 1999 by Lutz Sammer and Fabrice Rossi
** (c) Copyright 1999,2000 by Lutz Sammer and Fabrice Rossi
**
** $Id$
*/
@ -12,7 +19,7 @@
#include <stdio.h>
#include "clone.h"
#include "freecraft.h"
#ifdef WITH_SOUND // {

View file

@ -26,7 +26,7 @@
#include <string.h>
#include <unistd.h>
#include "clone.h"
#include "freecraft.h"
#ifdef WITH_SOUND // {

View file

@ -22,7 +22,7 @@
----------------------------------------------------------------------------*/
#include <stdio.h>
#include "clone.h"
#include "freecraft.h"
#ifdef WITH_SOUND // {

View file

@ -19,7 +19,7 @@
//@{
#include <stdio.h>
#include "clone.h"
#include "freecraft.h"
#ifdef WITH_SOUND // {

View file

@ -26,7 +26,7 @@
#include <string.h>
#include <unistd.h>
#include "clone.h"
#include "freecraft.h"
#ifdef WITH_SOUND // {

View file

@ -1,9 +1,16 @@
/*
** A clone of a famous game.
*/
// ___________ _________ _____ __
// \_ _____/______ ____ ____ \_ ___ \____________ _/ ____\/ |_
// | __) \_ __ \_/ __ \_/ __ \/ \ \/\_ __ \__ \\ __\\ __\
// | \ | | \/\ ___/\ ___/\ \____| | \// __ \| | | |
// \___ / |__| \___ >\___ >\______ /|__| (____ /__| |__|
// \/ \/ \/ \/ \/
// ______________________ ______________________
// T H E W A R B E G I N S
// FreeCraft - A free fantasy real time strategy game engine
//
/**@name construct.c - The constructions. */
/*
** (c) Copyright 1998,1999 by Lutz Sammer
** (c) Copyright 1998-2000 by Lutz Sammer
**
** $Id$
*/
@ -18,7 +25,7 @@
#include <stdlib.h>
#include <string.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "tileset.h"
#include "map.h"

View file

@ -21,7 +21,7 @@
#include <stdlib.h>
#include <string.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "sound_id.h"
#include "unitsound.h"

View file

@ -1,9 +1,16 @@
/*
** A clone of a famous game.
*/
// ___________ _________ _____ __
// \_ _____/______ ____ ____ \_ ___ \____________ _/ ____\/ |_
// | __) \_ __ \_/ __ \_/ __ \/ \ \/\_ __ \__ \\ __\\ __\
// | \ | | \/\ ___/\ ___/\ \____| | \// __ \| | | |
// \___ / |__| \___ >\___ >\______ /|__| (____ /__| |__|
// \/ \/ \/ \/ \/
// ______________________ ______________________
// T H E W A R B E G I N S
// FreeCraft - A free fantasy real time strategy game engine
//
/**@name goal.c - The game goal. */
/*
** (c) Copyright 1999 by Lutz Sammer
** (c) Copyright 1999,2000 by Lutz Sammer
**
** $Id$
*/
@ -16,7 +23,7 @@
#include <stdio.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "sound_id.h"
#include "unitsound.h"

View file

@ -1,9 +1,16 @@
/*
** A clone of a famous game.
*/
// ___________ _________ _____ __
// \_ _____/______ ____ ____ \_ ___ \____________ _/ ____\/ |_
// | __) \_ __ \_/ __ \_/ __ \/ \ \/\_ __ \__ \\ __\\ __\
// | \ | | \/\ ___/\ ___/\ \____| | \// __ \| | | |
// \___ / |__| \___ >\___ >\______ /|__| (____ /__| |__|
// \/ \/ \/ \/ \/
// ______________________ ______________________
// T H E W A R B E G I N S
// FreeCraft - A free fantasy real time strategy game engine
//
/**@name groups.c - The units' groups handling. */
/*
** (c) Copyright 1999 by Patrice Fortier
** (c) Copyright 1999,2000 by Patrice Fortier
**
** $Id$
*/
@ -16,7 +23,7 @@
#include <stdio.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "sound_id.h"
#include "unitsound.h"

View file

@ -23,7 +23,7 @@
#include <stdio.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "sound_id.h"
#include "unitsound.h"

View file

@ -1,7 +1,14 @@
/*
** A clone of a famous game.
*/
/**@name iolib.c - Compression-IO helper functions. */
// ___________ _________ _____ __
// \_ _____/______ ____ ____ \_ ___ \____________ _/ ____\/ |_
// | __) \_ __ \_/ __ \_/ __ \/ \ \/\_ __ \__ \\ __\\ __\
// | \ | | \/\ ___/\ ___/\ \____| | \// __ \| | | |
// \___ / |__| \___ >\___ >\______ /|__| (____ /__| |__|
// \/ \/ \/ \/ \/
// ______________________ ______________________
// T H E W A R B E G I N S
// FreeCraft - A free fantasy real time strategy game engine
//
/**@name iolib.c - Compression-IO helper functions. */
/*
** (c) Copyright 2000 by Andreas Arens
**
@ -19,7 +26,7 @@
#include <string.h>
#include <errno.h>
#include "clone.h"
#include "freecraft.h"
#include "compression.h"
/*----------------------------------------------------------------------------

View file

@ -19,7 +19,7 @@
#include <stdio.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "tileset.h"
#include "map.h"

View file

@ -25,7 +25,7 @@
#include <stdlib.h>
#include <string.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "tileset.h"
#include "map.h"

View file

@ -25,7 +25,7 @@
#include <stdlib.h>
#include <string.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "sound_id.h"
#include "unitsound.h"

View file

@ -25,7 +25,7 @@
#include <stdlib.h>
#include <string.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "tileset.h"
#include "map.h"

View file

@ -24,7 +24,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "clone.h"
#include "freecraft.h"
#ifdef USE_CCL

View file

@ -1,9 +1,16 @@
/*
** A clone of a famous game.
*/
// ___________ _________ _____ __
// \_ _____/______ ____ ____ \_ ___ \____________ _/ ____\/ |_
// | __) \_ __ \_/ __ \_/ __ \/ \ \/\_ __ \__ \\ __\\ __\
// | \ | | \/\ ___/\ ___/\ \____| | \// __ \| | | |
// \___ / |__| \___ >\___ >\______ /|__| (____ /__| |__|
// \/ \/ \/ \/ \/
// ______________________ ______________________
// T H E W A R B E G I N S
// FreeCraft - A free fantasy real time strategy game engine
//
/**@name selection.c - The units' selection. */
/*
** (c) Copyright 1999 by Patrice Fortier
** (c) Copyright 1999,2000 by Patrice Fortier
**
** $Id$
*/
@ -16,7 +23,7 @@
#include <stdio.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "sound_id.h"
#include "unitsound.h"

View file

@ -41,7 +41,7 @@ extern char *optarg;
extern int getopt(int argc, char *const*argv, const char *opt);
#endif
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "image.h"

View file

@ -1,9 +1,16 @@
##
## A clone of a famous game.
## ___________ _________ _____ __
## \_ _____/______ ____ ____ \_ ___ \____________ _/ ____\/ |_
## | __) \_ __ \_/ __ \_/ __ \/ \ \/\_ __ \__ \\ __\\ __\
## | \ | | \/\ ___/\ ___/\ \____| | \// __ \| | | |
## \___ / |__| \___ >\___ >\______ /|__| (____ /__| |__|
## \/ \/ \/ \/ \/
## ______________________ ______________________
## T H E W A R B E G I N S
## FreeCraft - A free fantasy real time strategy game engine
##
## Makefile - The make file (3 level).
##
## (c) Copyright 1998 by Lutz Sammer
## (c) Copyright 1998,2000 by Lutz Sammer
##
## $Id$
##

View file

@ -26,7 +26,7 @@
#include <string.h>
#include <ctype.h>
#include "clone.h"
#include "freecraft.h"
// FIXME: Check if all are needed?
#include "video.h"

View file

@ -24,7 +24,7 @@
#include <stdio.h>
#include <string.h>
#include "clone.h"
#include "freecraft.h"
#include "upgrade.h"
#include "depend.h"
#include "interface.h"

View file

@ -25,7 +25,7 @@
#include <stdlib.h>
#include <string.h>
#include "clone.h"
#include "freecraft.h"
#include "tileset.h"
#include "video.h"
#include "map.h"

View file

@ -27,7 +27,7 @@
#include <stdlib.h>
#include <string.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "sound_id.h"
#include "unitsound.h"

View file

@ -21,7 +21,7 @@
#include <stdlib.h>
#include <string.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "image.h"
#include "font.h"

View file

@ -26,7 +26,7 @@
#include <string.h>
#include <unistd.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "player.h"
#include "image.h"

View file

@ -8,7 +8,7 @@
// T H E W A R B E G I N S
// FreeCraft - A free fantasy real time strategy game engine
//
/**@name mouse.c - The mouse handling. */
/**@name mouse.c - The mouse handling. */
/*
** (c) Copyright 1998-2000 by Lutz Sammer
**
@ -23,7 +23,7 @@
#include <stdio.h>
#include "clone.h"
#include "freecraft.h"
#include "tileset.h"
#include "video.h"
#include "map.h"

View file

@ -25,7 +25,7 @@
#include <stdlib.h>
#include <string.h>
#include "clone.h"
#include "freecraft.h"
#if defined(USE_CCL) || defined(USE_CCL2) // {

View file

@ -8,7 +8,7 @@
// T H E W A R B E G I N S
// FreeCraft - A free fantasy real time strategy game engine
//
/**@name ui.c - The user interface globals. */
/**@name ui.c - The user interface globals. */
/*
** (c) Copyright 1999,2000 by Lutz Sammer and Andreas Arens
**
@ -21,7 +21,7 @@
#include <stdlib.h>
#include <string.h>
#include "clone.h"
#include "freecraft.h"
#include "interface.h"
#include "image.h"
#include "map.h"

View file

@ -25,7 +25,7 @@
#include <stdlib.h>
#include <string.h>
#include "clone.h"
#include "freecraft.h"
#include "upgrade_structs.h"
#include "upgrade.h"
#include "depend.h"

View file

@ -20,7 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "clone.h"
#include "freecraft.h"
#if defined(USE_CCL) || defined(USE_CCL2) // {

View file

@ -26,7 +26,7 @@
#include <string.h>
#include <limits.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "sound_id.h"
#include "unitsound.h"

View file

@ -1,6 +1,13 @@
/*
** A clone of a famous game.
*/
// ___________ _________ _____ __
// \_ _____/______ ____ ____ \_ ___ \____________ _/ ____\/ |_
// | __) \_ __ \_/ __ \_/ __ \/ \ \/\_ __ \__ \\ __\\ __\
// | \ | | \/\ ___/\ ___/\ \____| | \// __ \| | | |
// \___ / |__| \___ >\___ >\______ /|__| (____ /__| |__|
// \/ \/ \/ \/ \/
// ______________________ ______________________
// T H E W A R B E G I N S
// FreeCraft - A free fantasy real time strategy game engine
//
/**@name unitcache.c - The unit cache.
**
** Cache to find units faster from position.
@ -10,7 +17,7 @@
** Real quad tree.
** Priority search tree.
*/
/* (c) Copyright 1998,1999 by Lutz Sammer
/* (c) Copyright 1998-2000 by Lutz Sammer
**
** $Id$
*/
@ -21,7 +28,7 @@
#include <stdlib.h>
#include <string.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "sound_id.h"
#include "unitsound.h"

View file

@ -24,7 +24,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "sound_id.h"
#include "unitsound.h"

View file

@ -1,9 +1,16 @@
/*
** A clone of a famous game.
*/
// ___________ _________ _____ __
// \_ _____/______ ____ ____ \_ ___ \____________ _/ ____\/ |_
// | __) \_ __ \_/ __ \_/ __ \/ \ \/\_ __ \__ \\ __\\ __\
// | \ | | \/\ ___/\ ___/\ \____| | \// __ \| | | |
// \___ / |__| \___ >\___ >\______ /|__| (____ /__| |__|
// \/ \/ \/ \/ \/
// ______________________ ______________________
// T H E W A R B E G I N S
// FreeCraft - A free fantasy real time strategy game engine
//
/**@name unit_find.c - The find/select for units. */
/*
** (c) Copyright 1998,1999 by Lutz Sammer
** (c) Copyright 1998-2000 by Lutz Sammer
**
** $Id$
*/
@ -13,7 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "sound_id.h"
#include "unitsound.h"

View file

@ -26,7 +26,7 @@
#include <string.h>
#include <ctype.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "tileset.h"
#include "map.h"

View file

@ -25,7 +25,7 @@
#include <stdlib.h>
#include <string.h>
#include "clone.h"
#include "freecraft.h"
#include "upgrade_structs.h"
#include "upgrade.h"
#include "player.h"

View file

@ -23,7 +23,7 @@
#include <stdio.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "tileset.h"
#include "map.h"

View file

@ -37,7 +37,7 @@
#include <errno.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "tileset.h"
#include "sound_id.h"

View file

@ -23,7 +23,7 @@
#include <stdio.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "font.h"

View file

@ -26,7 +26,7 @@
#include <unistd.h>
#include <string.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
/*----------------------------------------------------------------------------

View file

@ -25,7 +25,7 @@
#include <stdlib.h>
#include <unistd.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
/*----------------------------------------------------------------------------

View file

@ -1,9 +1,16 @@
/**
** A clone of a famous game.
*/
// ___________ _________ _____ __
// \_ _____/______ ____ ____ \_ ___ \____________ _/ ____\/ |_
// | __) \_ __ \_/ __ \_/ __ \/ \ \/\_ __ \__ \\ __\\ __\
// | \ | | \/\ ___/\ ___/\ \____| | \// __ \| | | |
// \___ / |__| \___ >\___ >\______ /|__| (____ /__| |__|
// \/ \/ \/ \/ \/
// ______________________ ______________________
// T H E W A R B E G I N S
// FreeCraft - A free fantasy real time strategy game engine
//
/**@name X11.c - XWindows support. */
/*
** (c) Copyright 1998,1999 by Lutz Sammer and Valery Shchedrin
** (c) Copyright 1998-2000 by Lutz Sammer and Valery Shchedrin
**
** $Id$
*/
@ -14,7 +21,7 @@
-- Includes
----------------------------------------------------------------------------*/
#include "clone.h"
#include "freecraft.h"
#ifdef USE_X11 // {

View file

@ -10,7 +10,6 @@
//
/**@name video.c - The universal video functions. */
/*
**
** (c) Copyright 1999,2000 by Lutz Sammer
**
** $Id$
@ -25,7 +24,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "map.h"

View file

@ -25,7 +25,7 @@
#include <stdlib.h>
#include <png.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "compression.h"

View file

@ -21,7 +21,7 @@
-- Includes
----------------------------------------------------------------------------*/
#include "clone.h"
#include "freecraft.h"
#ifdef USE_SDL // {

View file

@ -8,7 +8,7 @@
// T H E W A R B E G I N S
// FreeCraft - A free fantasy real time strategy game engine
//
/**@name svgalib.c - svgalib support. */
/**@name svgalib.c - svgalib support. */
/*
** (c) Copyright 1999-2000 by Jarek Sobieszek
**
@ -31,7 +31,7 @@
#include <vgamouse.h>
#include <vgakeyboard.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
#include "tileset.h"
#include "sound_id.h"

View file

@ -20,7 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "clone.h"
#include "freecraft.h"
#include "video.h"
// FIXME: this functions only supports 16 bit displays!!!!