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

Function LoadShipImage

Descent3/ship.cpp:241–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239}
240
241int LoadShipImage(const char *filename) {
242 int img_handle;
243
244 img_handle = LoadPolyModel(filename, 1);
245
246 return img_handle;
247}
248
249// Given a ship handle, returns an index to that ships model
250int GetShipImage(int handle) {

Callers 2

OnAddPshipMethod · 0.85
OnPshipDyingModelMethod · 0.85

Calls 1

LoadPolyModelFunction · 0.85

Tested by

no test coverage detected