Moved remove_char declaration to piggy.h - patch by Kp
This commit is contained in:
parent
f127189b89
commit
6b949ddff9
|
@ -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
|
||||
--------
|
||||
|
|
|
@ -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" };
|
||||
|
|
|
@ -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 )
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue