Moved remove_char declaration to piggy.h - patch by Kp

This commit is contained in:
zicodxx 2013-01-03 16:24:46 +01:00
parent f127189b89
commit 6b949ddff9
4 changed files with 5 additions and 5 deletions

View file

@ -5,6 +5,7 @@ D1X-Rebirth Changelog
main/net_udp.c: Centralized UDP Broadcast function for IPv4 and IPv6 calls - patch by Kp
editor/med.c: Deleted unnecessary drop-to-shell feature; commented out unused ReadLispMacro - patches by Kp
2d/font.c, include/ogl_init.h: Moved pow2ize declaration to ogl_init.h - patch by Kp
main/bmread.c, main/hostage.c, main/piggy.h: Moved remove_char declaration to piggy.h - patch by Kp
20121102
--------

View file

@ -131,9 +131,6 @@ static int num_sounds=0;
//------------------- Useful macros and variables ---------------
#define REMOVE_EOL(s) remove_char((s),'\n')
#define REMOVE_COMMENTS(s) remove_char((s),';')
#define REMOVE_DOTS(s) remove_char((s),'.')
#define IFTOK(str) if (!strcmp(arg, str))
char *space = { " \t" };

View file

@ -248,8 +248,6 @@ int do_hostage_effects()
#define LINEBUF_SIZE 100
//------------------- Useful macros and variables ---------------
#define REMOVE_EOL(s) hostage_remove_char((s),'\n')
#define REMOVE_COMMENTS(s) hostage_remove_char((s),';')
void hostage_remove_char( char * s, char c )
{

View file

@ -129,5 +129,9 @@ void bitmap_index_read(bitmap_index *bi, PHYSFS_file *fp);
*/
int bitmap_index_read_n(bitmap_index *bi, int n, PHYSFS_file *fp);
#define REMOVE_EOL(s) remove_char((s),'\n')
#define REMOVE_COMMENTS(s) remove_char((s),';')
#define REMOVE_DOTS(s) remove_char((s),'.')
#endif // _PIGGY_H