(svn r22793) -Codechange: remove callback default to make clear they are not forgotten

This commit is contained in:
rubidium 2011-08-21 12:51:18 +00:00
parent 5e7abe58f9
commit 6d51883a87
3 changed files with 3 additions and 3 deletions

View File

@ -1268,7 +1268,7 @@ DEF_CONSOLE_CMD(ConRescanNewGRF)
}
TarScanner::DoScan();
ScanNewGRFFiles();
ScanNewGRFFiles(NULL);
return true;
}

View File

@ -114,7 +114,7 @@ public:
break;
case CONTENT_TYPE_NEWGRF:
ScanNewGRFFiles();
ScanNewGRFFiles(NULL);
break;
case CONTENT_TYPE_SCENARIO:

View File

@ -196,7 +196,7 @@ struct NewGRFScanCallback {
virtual void OnNewGRFsScanned() = 0;
};
void ScanNewGRFFiles(NewGRFScanCallback *callback = NULL);
void ScanNewGRFFiles(NewGRFScanCallback *callback);
void CheckForMissingSprites();
const GRFConfig *FindGRFConfig(uint32 grfid, FindGRFConfigMode mode, const uint8 *md5sum = NULL, uint32 desired_version = 0);
GRFConfig *GetGRFConfig(uint32 grfid, uint32 mask = 0xFFFFFFFF);