Inheritance diagram for OBJ_FACTORY_SHIP:
Private Methods | |
GALOBJ | Create (int x, int y, int z, int ssubtype, int raceid) |
int | GetWareTypePrice (int maintype, int subtype) |
void | InitialFill () |
BOOL | CanBuyWareType (int gtype, int gsubtype) |
BOOL | CanSellWareType (int gtype, int gsubtype) |
BOOL | TradesWithWareType (int gtype, int gsubtype) |
int | GetWareTypeBestStore (int gtype, int gsubtype) |
int | GetClass () |
int | IsClass (int cl) |
|
checks if given ware is needed as resource
Reimplemented from OBJ_FACTORY. |
|
checks if given ware can be produced
Reimplemented from OBJ_FACTORY. |
|
creates a factory with given parameters. See *_FACTORY subtype constants-definitions and Race IDs .
Reimplemented from OBJ_FACTORY. Reimplemented in OBJ_FACTORY_BIGSHIP, and OBJ_FACTORY_SMALLSHIP. |
|
Functions common in every object
Reimplemented from OBJ_FACTORY. Reimplemented in OBJ_FACTORY_BIGSHIP, and OBJ_FACTORY_SMALLSHIP. |
|
?what is the best amount of a given ware to store in the station?
Reimplemented from OBJ_FACTORY. |
|
The price of the given ware to sell to/buy from this factory. See Constant Definitions used in X² .
Reimplemented from OBJ_FACTORY. |
|
fill dock ideally with products and resources
Reimplemented from OBJ_FACTORY. |
|
Functions common in every object
Reimplemented from OBJ_FACTORY. Reimplemented in OBJ_FACTORY_BIGSHIP, and OBJ_FACTORY_SMALLSHIP. |
|
returns whether the factory can trade with the given ware
Reimplemented from OBJ_FACTORY. |