Clean up gamelib, removing nearly empty maxpidef.h

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2850 4a71c877-e1ca-e34f-864e-861f7616d084
master
Per Inge Mathisen 2007-11-21 23:06:31 +00:00
parent d5a4ebe0df
commit a980ac2ffe
6 changed files with 4 additions and 58 deletions

View File

@ -10,7 +10,7 @@ BUILT_SOURCES = audp_lexer.lex.c audp_parser.tab.c audp_parser.tab.h
CLEANFILES = audp_lexer.lex.c audp_parser.tab.c audp_parser.tab.h
noinst_LIBRARIES = libgamelib.a
noinst_HEADERS = anim.h animobj.h gtime.h hashtabl.h maxpidef.h parser.h
noinst_HEADERS = anim.h animobj.h gtime.h hashtabl.h parser.h
libgamelib_a_SOURCES = anim.c animobj.c audp_lexer.lex.c audp_parser.tab.c \
gtime.c hashtabl.c

View File

@ -38,6 +38,8 @@
#include "parser.h"
#include "lib/framework/listmacs.h"
#define INT_SCALE 1000
/***************************************************************************/
/* structs */
@ -45,12 +47,7 @@
/***************************************************************************/
/* global variables */
ANIMGLOBALS g_animGlobals;
/***************************************************************************/
/* local functions */
//static UINT anim_HashFunction( int iKey1, int iKey2 );
static ANIMGLOBALS g_animGlobals;
/***************************************************************************/
/*

View File

@ -34,7 +34,6 @@
#include "lib/framework/types.h"
#include "lib/ivis_common/imd.h"
#include "maxpidef.h"
/***************************************************************************/

View File

@ -115,16 +115,6 @@ anim_file_list: anim_file_list anim_file |
/* NULL */
;
/*
anim_file: ANIM3DFILE QTEXT INTEGER
{
g_iCurAnimID = $3;
IncludeFile( $2 );
}
anim_trans | anim_frames
;
*/
anim_file: anim_trans | anim_frames
;

View File

@ -1,37 +0,0 @@
/*
This file is part of Warzone 2100.
Copyright (C) 1999-2004 Eidos Interactive
Copyright (C) 2005-2007 Warzone Resurrection Project
Warzone 2100 is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
Warzone 2100 is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Warzone 2100; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
/***************************************************************************/
/*
* Definitions exported to anim.h
*/
/***************************************************************************/
#ifndef _MAXPIDEF_H_
#define _MAXPIDEF_H_
/***************************************************************************/
#define INT_SCALE 1000
/***************************************************************************/
#endif // _MAXPIDEF_H_
/***************************************************************************/

View File

@ -29,9 +29,6 @@
/***************************************************************************/
extern void IncludeFile( char szFileName[] );
extern BOOL ParseFile( char szFileName[] );
extern void IncludeFile( char szFileName[] );
extern void parserSetInputFile(PHYSFS_file* fileHandle);
extern BOOL ParseResourceFile(PHYSFS_file* fileHandle);
extern void parseGetErrorData(int *pLine, char **ppText);