Inheritance diagram for OBJ_SHIP_BIG:
Private Methods | |
GALOBJ | Create (int x, int y, int z, int ssubtype, int raceid) |
GALOBJ | Destruct () |
int | AddWare (int a_maintype, int a_subtype, int a_amount) |
int | GetGSize () |
int | GetSize () |
void | SetOwned (GALOBJ ship) |
table | GetOwnedShips () |
int | GetNumOwnedFighters () |
int | GetNumOwnedFreighters () |
SECOBID | Activate () |
GALOBJ | IsDocked () |
BOOL | IsAbleToDock () |
int | GetClass () |
int | IsClass (int cl) |
Private Attributes | |
table | shc_OwnedShips |
int | shc_NumOwnedFighters |
int | shc_NumOwnedFreighters |
|
activates ship-object in sector
Reimplemented from OBJ_SHIP. Reimplemented in OBJ_SHIP_CARRIER. |
|
adds amount (given in count, which also can be negative to remove a ware) of ware (given in gtype, gsubtype) to the ship. Any upgrades (SS_WARE_TECH213, SS_WARE_TECH246, SS_WARE_TECH251) are installed. For gtype see MainObjectTypes and for gsubtype see subtype definitions. Returns the number of upgrades that were installed/uninstalled or wares added. Reimplemented from OBJ_SHIP. |
|
creates a OBJ_SHIP_BIG
Reimplemented in OBJ_SHIP_CARRIER, OBJ_SHIP_M0, OBJ_SHIP_M1, OBJ_SHIP_M2, and OBJ_SHIP_M6. |
|
See Functions common in every object.
Reimplemented from OBJ_SHIP. Reimplemented in OBJ_SHIP_CARRIER, and OBJ_SHIP_M0. |
|
Functions common in every object
Reimplemented from OBJ_SHIP. Reimplemented in OBJ_SHIP_CARRIER, OBJ_SHIP_M0, OBJ_SHIP_M1, OBJ_SHIP_M2, and OBJ_SHIP_M6. |
|
See Functions common in every object.
Reimplemented from OBJ_SHIP. Reimplemented in OBJ_SHIP_M6. |
|
returns shc_NumOwnedFighters
|
|
returns shc_NumOwnedFreighters
|
|
returns shc_OwnedShips
|
|
See Functions common in every object.
Reimplemented from OBJ_SHIP. Reimplemented in OBJ_SHIP_M6. |
|
is able to dock into stations ?
Reimplemented from OBJ_SHIP. |
|
Functions common in every object
Reimplemented from OBJ_SHIP. Reimplemented in OBJ_SHIP_CARRIER, OBJ_SHIP_M0, OBJ_SHIP_M1, OBJ_SHIP_M2, and OBJ_SHIP_M6. |
|
Returns sh_Environment if ship is docked or 0 if in space.
Reimplemented from OBJ_SHIP. |
|
Make a ship belong to this ship.
Reimplemented from OBJ_SHIP. |
|
fighters belonging to this ship
|
|
freighters belonging to this ship
|
|
ships belonging to this ship
|