|
XenevaOS
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <ctype.h>#include <errno.h>#include <sys/stat.h>#include <sys/types.h>#include "doomtype.h"#include "deh_str.h"#include "i_swap.h"#include "i_system.h"#include "i_video.h"#include "m_misc.h"#include "v_video.h"#include "w_wad.h"#include "z_zone.h"
Functions | |
| void | M_MakeDirectory (char *path) |
| boolean | M_FileExists (char *filename) |
| long | M_FileLength (FILE *handle) |
| boolean | M_WriteFile (char *name, void *source, int length) |
| int | M_ReadFile (char *name, byte **buffer) |
| char * | M_TempFile (char *s) |
| boolean | M_StrToInt (const char *str, int *result) |
| void | M_ExtractFileBase (char *path, char *dest) |
| void | M_ForceUppercase (char *text) |
| char * | M_StrCaseStr (char *haystack, char *needle) |
| char * | M_StringDuplicate (const char *orig) |
| char * | M_StringReplace (const char *haystack, const char *needle, const char *replacement) |
| boolean | M_StringCopy (char *dest, const char *src, size_t dest_size) |
| boolean | M_StringConcat (char *dest, const char *src, size_t dest_size) |
| boolean | M_StringStartsWith (const char *s, const char *prefix) |
| boolean | M_StringEndsWith (const char *s, const char *suffix) |
| char * | M_StringJoin (const char *s,...) |
| int | M_vsnprintf (char *buf, size_t buf_len, const char *s, va_list args) |
| int | M_snprintf (char *buf, size_t buf_len, const char *s,...) |
| void M_ExtractFileBase | ( | char * | path, |
| char * | dest | ||
| ) |
| boolean M_FileExists | ( | char * | filename | ) |
| long M_FileLength | ( | FILE * | handle | ) |
| void M_ForceUppercase | ( | char * | text | ) |
| void M_MakeDirectory | ( | char * | path | ) |
| int M_ReadFile | ( | char * | name, |
| byte ** | buffer | ||
| ) |
| int M_snprintf | ( | char * | buf, |
| size_t | buf_len, | ||
| const char * | s, | ||
| ... | |||
| ) |
| char * M_StrCaseStr | ( | char * | haystack, |
| char * | needle | ||
| ) |
| char * M_StringDuplicate | ( | const char * | orig | ) |
| boolean M_StringEndsWith | ( | const char * | s, |
| const char * | suffix | ||
| ) |
| char * M_StringJoin | ( | const char * | s, |
| ... | |||
| ) |
| char * M_StringReplace | ( | const char * | haystack, |
| const char * | needle, | ||
| const char * | replacement | ||
| ) |
| boolean M_StringStartsWith | ( | const char * | s, |
| const char * | prefix | ||
| ) |
| boolean M_StrToInt | ( | const char * | str, |
| int * | result | ||
| ) |
| char * M_TempFile | ( | char * | s | ) |
| boolean M_WriteFile | ( | char * | name, |
| void * | source, | ||
| int | length | ||
| ) |