mirror of
https://github.com/krystalgamer/spidey-decomp.git
synced 2025-02-20 04:41:16 +00:00
GetNextLine
This commit is contained in:
parent
cc0bd249f7
commit
d6c6a7da05
14
spool.cpp
14
spool.cpp
@ -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
|
||||
|
2
spool.h
2
spool.h
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user