Main header file changed to "freecraft.h" and updated all headers.
This commit is contained in:
parent
686e397fe3
commit
19006564da
88 changed files with 400 additions and 197 deletions
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "clone.h"
|
||||
#include "freecraft.h"
|
||||
|
||||
#include "player.h"
|
||||
#include "unit.h"
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "clone.h"
|
||||
#include "freecraft.h"
|
||||
#include "video.h"
|
||||
#include "sound_id.h"
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "clone.h"
|
||||
#include "freecraft.h"
|
||||
|
||||
#if defined(USE_CCL) || defined(USE_CCL2) // {
|
||||
|
||||
|
|
|
@ -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
|
||||
//
|
13
map/Makefile
13
map/Makefile
|
@ -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$
|
||||
##
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "clone.h"
|
||||
#include "freecraft.h"
|
||||
#include "map.h"
|
||||
#include "minimap.h"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "clone.h"
|
||||
#include "freecraft.h"
|
||||
|
||||
#if defined(USE_CCL) || defined(USE_CCL2) // {
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "clone.h"
|
||||
#include "freecraft.h"
|
||||
#include "tileset.h"
|
||||
#include "map.h"
|
||||
|
||||
|
|
|
@ -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$
|
||||
##
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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$
|
||||
##
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "clone.h"
|
||||
#include "freecraft.h"
|
||||
#include "player.h"
|
||||
#include "unit.h"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "clone.h"
|
||||
#include "freecraft.h"
|
||||
|
||||
#if defined(USE_CCL) || defined(USE_CCL2) // {
|
||||
|
||||
|
|
|
@ -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$
|
||||
##
|
||||
|
|
|
@ -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 // {
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "clone.h"
|
||||
#include "freecraft.h"
|
||||
|
||||
#ifdef WITH_SOUND // {
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
----------------------------------------------------------------------------*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include "clone.h"
|
||||
#include "freecraft.h"
|
||||
|
||||
#ifdef WITH_SOUND // {
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
//@{
|
||||
|
||||
#include <stdio.h>
|
||||
#include "clone.h"
|
||||
#include "freecraft.h"
|
||||
|
||||
#ifdef WITH_SOUND // {
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "clone.h"
|
||||
#include "freecraft.h"
|
||||
|
||||
#ifdef WITH_SOUND // {
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "clone.h"
|
||||
#include "freecraft.h"
|
||||
#include "video.h"
|
||||
#include "sound_id.h"
|
||||
#include "unitsound.h"
|
||||
|
|
|
@ -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"
|
||||
|
||||
/*----------------------------------------------------------------------------
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "clone.h"
|
||||
#include "freecraft.h"
|
||||
#include "video.h"
|
||||
#include "tileset.h"
|
||||
#include "map.h"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "clone.h"
|
||||
#include "freecraft.h"
|
||||
|
||||
#ifdef USE_CCL
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
13
ui/Makefile
13
ui/Makefile
|
@ -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$
|
||||
##
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "clone.h"
|
||||
#include "freecraft.h"
|
||||
|
||||
#if defined(USE_CCL) || defined(USE_CCL2) // {
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "clone.h"
|
||||
#include "freecraft.h"
|
||||
|
||||
#if defined(USE_CCL) || defined(USE_CCL2) // {
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "clone.h"
|
||||
#include "freecraft.h"
|
||||
#include "video.h"
|
||||
#include "tileset.h"
|
||||
#include "map.h"
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
#include <errno.h>
|
||||
|
||||
#include "clone.h"
|
||||
#include "freecraft.h"
|
||||
#include "video.h"
|
||||
#include "tileset.h"
|
||||
#include "sound_id.h"
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "clone.h"
|
||||
#include "freecraft.h"
|
||||
#include "video.h"
|
||||
#include "font.h"
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "clone.h"
|
||||
#include "freecraft.h"
|
||||
#include "video.h"
|
||||
|
||||
/*----------------------------------------------------------------------------
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "clone.h"
|
||||
#include "freecraft.h"
|
||||
#include "video.h"
|
||||
|
||||
/*----------------------------------------------------------------------------
|
||||
|
|
|
@ -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 // {
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <png.h>
|
||||
|
||||
#include "clone.h"
|
||||
#include "freecraft.h"
|
||||
#include "video.h"
|
||||
#include "compression.h"
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
-- Includes
|
||||
----------------------------------------------------------------------------*/
|
||||
|
||||
#include "clone.h"
|
||||
#include "freecraft.h"
|
||||
|
||||
#ifdef USE_SDL // {
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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!!!!
|
||||
|
|
Loading…
Reference in a new issue