#include <sys/param.h>
#include <sys/types.h>
#include <stdarg.h>
+#include <ctype.h>
#include "misc.h"
#include "init.h"
return s_copy;
}
+char *getStringToLower(char *s)
+{
+ char *s_copy = checked_malloc(strlen(s) + 1);
+ char *s_ptr = s_copy;
+
+ while (*s)
+ *s_ptr++ = tolower(*s++);
+
+ return s_copy;
+}
+
void MarkTileDirty(int x, int y)
{
int xx = redraw_x1 + x;