DinkSmallwoodHD/source/dink/misc_util.h
seth d4f66a5d2e Initial commit of Dink Smallwood HD source. See the "Programmer readme.txt" for information on how to set it up.
git-svn-id: svn://rtsoft.com/rtsvn/projects/RTDink@1469 353e56fe-9613-0410-8469-b96ad8e6f29c
2017-09-12 04:57:47 +00:00

18 lines
No EOL
706 B
C

#ifndef misc_util_h__
#define misc_util_h__
#include "PlatformSetup.h"
void getdir(char final[]);
void dink_decompress (unsigned char *in, char * destBuf);
void decompress_nocomp (byte *in, char destBuf[]);
#ifndef SAFE_RELEASE
#define SAFE_RELEASE(p) { if(p) { (p)->Release(); (p)=NULL; } }
#endif
void strchar(char *string, char ch) /* This acts in the same way as strcat except it combines a string and a single character, updating the null at the end. */;
bool separate_string (const char str[255], int num, char liney, char *return1);
void replace(const char *this1, char *that, char *line);
char * lmon(int money, char *dest);
void reverse(char *st);
#endif // misc_util_h__