MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / get_ship

Method get_ship

Descent3/pilot_class.cpp:659–667  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

657 write_pending = true;
658}
659void pilot::get_ship(char *ship) {
660 if (ship) {
661 if (ship_model) {
662 strcpy(ship, ship_model);
663 } else {
664 *ship = '\0';
665 }
666 }
667}
668
669void pilot::set_multiplayer_data(const char *logo, const char *audio1, const char *audio2, const uint16_t *ppic, const char *audio3, const char *audio4) {
670 if (logo) {

Callers 6

StartLevelFunction · 0.80
PltSelectShipFunction · 0.80
MultiStartServerFunction · 0.80
MultiSendMyInfoFunction · 0.80
MultiDoLevelInfoFunction · 0.80
MultiSendReadyForLevelFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected