author | truelight |
Fri, 13 Jul 2007 09:18:50 +0000 | |
branch | noai |
changeset 9641 | 855e32c08c9b |
parent 9631 | 8a2d1c2ceb88 |
child 9686 | d3c195c226f9 |
permissions | -rw-r--r-- |
9626 | 1 |
/* $Id$ */ |
2 |
||
3 |
/** @file newgrf_industries.h */ |
|
4 |
||
5 |
#ifndef NEWGRF_INDUSTRIES_H |
|
6 |
#define NEWGRF_INDUSTRIES_H |
|
7 |
||
8 |
#include "industry.h" |
|
9 |
#include "newgrf_spritegroup.h" |
|
10 |
||
9628
b5c2449616b5
(svn r10195) [NoAI] -Sync: with trunk r10119:10194.
rubidium
parents:
9627
diff
changeset
|
11 |
/* in newgrf_industry.cpp */ |
9626 | 12 |
uint32 IndustryGetVariable(const ResolverObject *object, byte variable, byte parameter, bool *available); |
9631
8a2d1c2ceb88
(svn r10461) [NoAI] -Sync with trunk r10349:r10460.
rubidium
parents:
9628
diff
changeset
|
13 |
uint16 GetIndustryCallback(uint16 callback, uint32 param1, uint32 param2, Industry *industry, IndustryType type, TileIndex tile); |
9627 | 14 |
uint32 GetIndustryIDAtOffset(TileIndex new_tile, TileIndex old_tile, const Industry *i); |
9631
8a2d1c2ceb88
(svn r10461) [NoAI] -Sync with trunk r10349:r10460.
rubidium
parents:
9628
diff
changeset
|
15 |
void IndustryProductionCallback(Industry *ind, int reason); |
9641
855e32c08c9b
(svn r10533) [NoAI] -Sync with trunk r10460:r10532.
truelight
parents:
9631
diff
changeset
|
16 |
bool CheckIfCallBackAllowsCreation(TileIndex tile, IndustryType type, uint itspec_index); |
855e32c08c9b
(svn r10533) [NoAI] -Sync with trunk r10460:r10532.
truelight
parents:
9631
diff
changeset
|
17 |
|
855e32c08c9b
(svn r10533) [NoAI] -Sync with trunk r10460:r10532.
truelight
parents:
9631
diff
changeset
|
18 |
IndustryType MapNewGRFIndustryType(IndustryType grf_type, uint32 grf_id); |
9626 | 19 |
|
9628
b5c2449616b5
(svn r10195) [NoAI] -Sync: with trunk r10119:10194.
rubidium
parents:
9627
diff
changeset
|
20 |
/* in newgrf_industrytiles.cpp*/ |
b5c2449616b5
(svn r10195) [NoAI] -Sync: with trunk r10119:10194.
rubidium
parents:
9627
diff
changeset
|
21 |
uint32 IndustryTileGetRandomBits(const ResolverObject *object); |
b5c2449616b5
(svn r10195) [NoAI] -Sync: with trunk r10119:10194.
rubidium
parents:
9627
diff
changeset
|
22 |
uint32 IndustryTileGetTriggers(const ResolverObject *object); |
b5c2449616b5
(svn r10195) [NoAI] -Sync: with trunk r10119:10194.
rubidium
parents:
9627
diff
changeset
|
23 |
void IndustryTileSetTriggers(const ResolverObject *object, int triggers); |
b5c2449616b5
(svn r10195) [NoAI] -Sync: with trunk r10119:10194.
rubidium
parents:
9627
diff
changeset
|
24 |
|
9641
855e32c08c9b
(svn r10533) [NoAI] -Sync with trunk r10460:r10532.
truelight
parents:
9631
diff
changeset
|
25 |
uint32 GetNearbyIndustryTileInformation(byte parameter, TileIndex tile, IndustryID index); |
855e32c08c9b
(svn r10533) [NoAI] -Sync with trunk r10460:r10532.
truelight
parents:
9631
diff
changeset
|
26 |
|
9626 | 27 |
#endif /* NEWGRF_INDUSTRIES_H */ |