src/newgrf_industries.h
branchNewGRF_ports
changeset 6743 cabfaa4a0295
parent 6725 23339968083f
child 6870 ca3fd1fbe311
equal deleted inserted replaced
6742:1337d6c9b97b 6743:cabfaa4a0295
     8 #include "industry.h"
     8 #include "industry.h"
     9 #include "newgrf_spritegroup.h"
     9 #include "newgrf_spritegroup.h"
    10 
    10 
    11 /* in newgrf_industry.cpp */
    11 /* in newgrf_industry.cpp */
    12 uint32 IndustryGetVariable(const ResolverObject *object, byte variable, byte parameter, bool *available);
    12 uint32 IndustryGetVariable(const ResolverObject *object, byte variable, byte parameter, bool *available);
    13 uint16 GetIndustryCallback(uint16 callback, uint32 param1, uint32 param2, Industry *industry, IndustryType type, TileIndex tile);
    13 uint16 GetIndustryCallback(CallbackID callback, uint32 param1, uint32 param2, Industry *industry, IndustryType type, TileIndex tile);
    14 uint32 GetIndustryIDAtOffset(TileIndex new_tile, TileIndex old_tile, const Industry *i);
    14 uint32 GetIndustryIDAtOffset(TileIndex new_tile, TileIndex old_tile, const Industry *i);
    15 void IndustryProductionCallback(Industry *ind, int reason);
    15 void IndustryProductionCallback(Industry *ind, int reason);
    16 bool CheckIfCallBackAllowsCreation(TileIndex tile, IndustryType type, uint itspec_index);
    16 bool CheckIfCallBackAllowsCreation(TileIndex tile, IndustryType type, uint itspec_index);
    17 bool CheckIfCallBackAllowsAvailability(IndustryType type, IndustryAvailabilityCallType creation_type);
    17 bool CheckIfCallBackAllowsAvailability(IndustryType type, IndustryAvailabilityCallType creation_type);
    18 
    18