Files
@ r7204:70390a15d0a6
Branch filter:
Location: cpp/openttd-patchpack/source/src/newgrf_industries.h - annotation
r7204:70390a15d0a6
840 B
text/x-c
(svn r10482) -Fix [FS#990]: Do not override the CFLAGS environment variable when configuring a non-debug makefile. Based on a patch by saggson.
r6835:9051f7024392 r6835:9051f7024392 r6835:9051f7024392 r6835:9051f7024392 r6835:9051f7024392 r6835:9051f7024392 r6835:9051f7024392 r6835:9051f7024392 r6835:9051f7024392 r6835:9051f7024392 r6884:06c993c360e4 r6835:9051f7024392 r7102:73f11fdf011b r6868:aab228767f55 r7168:156fd244b919 r6835:9051f7024392 r6884:06c993c360e4 r6884:06c993c360e4 r6884:06c993c360e4 r6884:06c993c360e4 r6884:06c993c360e4 r6835:9051f7024392 | /* $Id$ */
/** @file newgrf_industries.h */
#ifndef NEWGRF_INDUSTRIES_H
#define NEWGRF_INDUSTRIES_H
#include "industry.h"
#include "newgrf_spritegroup.h"
/* in newgrf_industry.cpp */
uint32 IndustryGetVariable(const ResolverObject *object, byte variable, byte parameter, bool *available);
uint16 GetIndustryCallback(uint16 callback, uint32 param1, uint32 param2, Industry *industry, IndustryType type, TileIndex tile);
uint32 GetIndustryIDAtOffset(TileIndex new_tile, TileIndex old_tile, const Industry *i);
void IndustryProductionCallback(Industry *ind, int reason);
/* in newgrf_industrytiles.cpp*/
uint32 IndustryTileGetRandomBits(const ResolverObject *object);
uint32 IndustryTileGetTriggers(const ResolverObject *object);
void IndustryTileSetTriggers(const ResolverObject *object, int triggers);
#endif /* NEWGRF_INDUSTRIES_H */
|