is ship enabled
| 3430 | |
| 3431 | // is ship enabled |
| 3432 | bool osipf_IsShipEnabled(char *ship_name) { |
| 3433 | msafe_struct ms; |
| 3434 | strcpy(ms.name, ship_name); |
| 3435 | msafe_GetValue(MSAFE_MISC_ENABLE_SHIP, &ms); |
| 3436 | return (bool)(ms.state != 0); |
| 3437 | } |
| 3438 | |
| 3439 | // turns the given player into AI mode or back to regular control mode |
| 3440 | void osipf_SetPlayerControlMode(int pnum, bool set_to_ai) { |
nothing calls this directly
no test coverage detected