mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-11 08:49:50 +00:00
(svn r22793) -Codechange: remove callback default to make clear they are not forgotten
This commit is contained in:
parent
5e7abe58f9
commit
6d51883a87
@ -1268,7 +1268,7 @@ DEF_CONSOLE_CMD(ConRescanNewGRF)
|
||||
}
|
||||
|
||||
TarScanner::DoScan();
|
||||
ScanNewGRFFiles();
|
||||
ScanNewGRFFiles(NULL);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -114,7 +114,7 @@ public:
|
||||
break;
|
||||
|
||||
case CONTENT_TYPE_NEWGRF:
|
||||
ScanNewGRFFiles();
|
||||
ScanNewGRFFiles(NULL);
|
||||
break;
|
||||
|
||||
case CONTENT_TYPE_SCENARIO:
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user