char text[MAX_INPUTLINE + 5 + 9 + 1]; // space for ^xRGB, "say_team:" and \0
float xo;
size_t len_out;
- char *prefix;
+ const char *prefix;
dp_font_t *fnt;
if (is_console && !key_consoleactive)
int i, basepathlength, numfiles, numchars, resultlistindex, dirlistindex;
stringlist_t resultlist;
stringlist_t dirlist;
- const char *slash, *backslash, *colon, *separator;
+ stringlist_t matchedSet, foundSet;
+ const char *start, *slash, *backslash, *colon, *separator;
char *basepath;
for (i = 0;pattern[i] == '.' || pattern[i] == ':' || pattern[i] == '/' || pattern[i] == '\\';i++)
{
if(packfile)
continue;
- stringlist_t matchedSet, foundSet;
- const char *start = pattern;
+
+ start = pattern;
stringlistinit(&matchedSet);
stringlistinit(&foundSet);
typedef struct modloader_s
{
- char *extension;
- char *header;
+ const char *extension;
+ const char *header;
size_t headersize; // The header might not be NULL terminated
void (*Load)(dp_model_t *, void *, void *);
} modloader_t;