| 754 | } |
| 755 | |
| 756 | void recompui_get_input_value_float(uint8_t* rdram, recomp_context* ctx) { |
| 757 | Style* resource = arg_style<0>(rdram, ctx); |
| 758 | |
| 759 | if (resource == nullptr || !resource->is_element()) { |
| 760 | recompui::message_box("Fatal error in mod - attempted to get value of non-element or element not found in context"); |
| 761 | assert(false); |
| 762 | ultramodern::error_handling::quick_exit(__FILE__, __LINE__, __FUNCTION__); |
| 763 | } |
| 764 | |
| 765 | Element* element = static_cast<Element*>(resource); |
| 766 | _return<float>(ctx, element->get_input_value_float()); |
| 767 | } |
| 768 | |
| 769 | void recompui_get_input_text(uint8_t* rdram, recomp_context* ctx) { |
| 770 | Style* resource = arg_style<0>(rdram, ctx); |
nothing calls this directly
no test coverage detected