(svn r10074) -Add: Addition of IndustryOverrideManager as well as the basic (and unfinished) support for callbacks for industries

This commit is contained in:
belugas
2007-06-09 02:05:51 +00:00
parent 142f2aba15
commit 9a4a911bde
8 changed files with 344 additions and 2 deletions

14
src/newgrf_industries.h Normal file
View File

@@ -0,0 +1,14 @@
/* $Id$ */
/** @file newgrf_industries.h */
#ifndef NEWGRF_INDUSTRIES_H
#define NEWGRF_INDUSTRIES_H
#include "industry.h"
#include "newgrf_spritegroup.h"
uint32 IndustryGetVariable(const ResolverObject *object, byte variable, byte parameter, bool *available);
uint16 GetIndustryCallback(uint16 callback, uint32 param1, uint32 param2, Industry *industry, TileIndex tile);
#endif /* NEWGRF_INDUSTRIES_H */