view src/wads.h @ 25:8eaf72e2041b

Reindent the source using GNU indent and "indent -i4 -bli0 -npcs -nprs -npsl". Fix the problems introduced afterwards.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 24 Sep 2011 14:16:04 +0300
parents 241c93442be0
children a68786b9c74b
line wrap: on
line source

/*
 *	wads.h
 *	AYM 1998-11-25
 */


#ifndef YH_WADS			/* DO NOT INSERT ANYTHING BEFORE THIS LINE */
#define YH_WADS


int file_read_i16(FILE *, i16 * buf, long count = 1);
int file_read_i32(FILE *, i32 * buf, long count = 1);
long file_read_vbytes(FILE *, void *buf, long count);
int file_read_bytes(FILE *, void *buf, long count);
void file_write_i16(FILE *, i16 buf);
void file_write_i32(FILE *, i32 buf, long count = 1);
void file_write_name(FILE *, const char *name);
void WriteBytes(FILE *, const void *, long);
int copy_bytes(FILE * dest, FILE * source, long size);

#if 0
void wad_seek(WadPtr, long offset);
void wad_read_bytes(WadPtr, void *buf, long count);
long wad_read_vbytes(WadPtr, void *buf, long count);
i16 wad_read_i16(WadPtr);
void wad_read_i16(WadPtr, i16 * buf);
void wad_read_i32(WadPtr, i32 * buf, long count = 1);
#endif


#if 0
/*
 *	flat_name_cmp
 *	Compare two flat names like strcmp() compares two strings.
 */
inline int flat_name_cmp(const char *name1, const char *name2)
{
}


/*
 *	tex_name_cmp
 *	Compare two texture names like strcmp() compares two strings.
 *	T
 */
inline int tex_name_cmp(const char *name1, const char *name2)
{
}


/*
 *	sprite_name_cmp
 *	Compare two sprite names like strcmp() compares two strings.
 */
inline int sprite_name_cmp(const char *name1, const char *name2)
{
}
#endif


#endif /* DO NOT ADD ANYTHING AFTER THIS LINE */