| 2828 | } |
| 2829 | |
| 2830 | void osipf_PlayerAddHudMessage(int handle, const char *str) { |
| 2831 | msafe_struct mo; |
| 2832 | |
| 2833 | mo.objhandle = mo.id = handle; |
| 2834 | mo.color = GR_RGB(0, 255, 0); |
| 2835 | strncpy(mo.message, str, MSAFE_MESSAGE_LENGTH - 1); |
| 2836 | mo.message[MSAFE_MESSAGE_LENGTH - 1] = '\0'; |
| 2837 | |
| 2838 | msafe_CallFunction(MSAFE_MISC_HUD_MESSAGE, &mo); |
| 2839 | } |
| 2840 | |
| 2841 | void osipf_ObjGhost(int handle, bool f_ghost) { |
| 2842 | object *obj = ObjGet(handle); |
nothing calls this directly
no test coverage detected