GetNextLine

This commit is contained in:
krystalgamer 2024-08-10 18:19:39 +01:00
parent cc0bd249f7
commit d6c6a7da05
2 changed files with 12 additions and 4 deletions

View File

@ -29,10 +29,18 @@ void DecrementTextureUsage(i32)
printf("DecrementTextureUsage(i32)");
}
// @SMALLTODO
void GetNextLine(char *)
// @Ok
char* GetNextLine(char * a1)
{
printf("GetNextLine(char *)");
char * res = strchr(a1, '\r');
if (res)
{
res++;
if (*res == '\n')
res++;
}
return res;
}
// @SMALLTODO

View File

@ -84,7 +84,7 @@ EXPORT u32 Spool_FindTextureChecksum(char *);
EXPORT u32 Spool_GetModelChecksum(CItem *);
EXPORT void DecrementTextureUsage(i32);
EXPORT void GetNextLine(char *);
EXPORT char* GetNextLine(char *);
EXPORT void GotoStartOfTextureList(void);
EXPORT void NewTextureEntry(u32);
EXPORT void NextTexture(void);