1.1 --- a/core/smn_filesystem.cpp Thu Jan 11 01:13:34 2007 +0000
1.2 +++ b/core/smn_filesystem.cpp Thu Jan 11 07:29:09 2007 +0000
1.3 @@ -428,26 +428,12 @@
1.4 return 1;
1.5 }
1.6
1.7 -//:TODO: DEBUG CODE HERE
1.8 -cell_t PrintStuff(IPluginContext *pContext, const cell_t *params)
1.9 -{
1.10 - char *stuff;
1.11 - pContext->LocalToString(params[1], &stuff);
1.12 -
1.13 - FILE *fp = fopen("c:\\debug.txt", "at");
1.14 - fprintf(fp, "%s\n", stuff);
1.15 - fclose(fp);
1.16 -
1.17 - return 0;
1.18 -}
1.19 -
1.20 static FileNatives s_FileNatives;
1.21
1.22 REGISTER_NATIVES(filesystem)
1.23 {
1.24 {"OpenDirectory", sm_OpenDirectory},
1.25 {"ReadDirEntry", sm_ReadDirEntry},
1.26 - {"PrintStuff", PrintStuff},//:TODO: remove this when no longer needed
1.27 {"OpenFile", sm_OpenFile},
1.28 {"DeleteFile", sm_DeleteFile},
1.29 {"ReadFileLine", sm_ReadFileLine},