|
|
1.1 ! root 1: /* ! 2: Hatari - misc.c ! 3: ! 4: This file is distributed under the GNU Public License, version 2 or at ! 5: your option any later version. Read the file gpl.txt for details. ! 6: */ ! 7: ! 8: #ifndef HATARI_MISC_H ! 9: #define HATARI_MISC_H ! 10: ! 11: extern void Misc_FindWindowsVersion(void); ! 12: extern void Misc_PadStringWithSpaces(char *pszString,int nChars); ! 13: extern void Misc_RemoveSpacesFromString(char *pszSrcString, char *pszDestString); ! 14: extern void Misc_RemoveWhiteSpace(char *pszString,int Length); ! 15: extern void Misc_strupr(char *pString); ! 16: extern void Misc_FindWorkingDirectory(char *prgname); ! 17: extern int Misc_LimitInt(int Value, int MinRange, int MaxRange); ! 18: extern unsigned char Misc_ConvertToBCD(unsigned short int Value); ! 19: extern void Misc_SeedRandom(unsigned long Seed); ! 20: extern long Misc_GetRandom(void); ! 21: ! 22: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.