diff options
| author | Prakxo <87568477+Prakxo@users.noreply.github.com> | 2024-04-03 00:09:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-02 15:09:06 -0700 |
| commit | 1ffded6b490c23db809aa46c5c186dd8d554b271 (patch) | |
| tree | e7b151646dc53d793c931f8f60107e1aa112a8d6 /include/m_string.h | |
| parent | d8789801b89077422faa376de4bb7f2d564c1103 (diff) | |
m_string OK (#162)
* m_string OK
* replace with defines
Diffstat (limited to 'include/m_string.h')
| -rw-r--r-- | include/m_string.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/m_string.h b/include/m_string.h new file mode 100644 index 0000000..f336639 --- /dev/null +++ b/include/m_string.h @@ -0,0 +1,19 @@ +#ifndef C_6E7AD0_H +#define C_6E7AD0_H + +#include "ultra64.h" +#include "lb_rtc.h" +#include "libc/stdint.h" + +void mString_Get_StringDataAddressAndSize(s32 idx, uintptr_t* vramp, size_t* size); +void mString_Load_StringFromRom(char* dst, s32 dstLen, s32 strIdx); +s32 mString_Load_YearStringFromRom(char* dst, lbRTC_year_t year); +s32 mString_Load_MonthStringFromRom(char* dst, lbRTC_month_t month); +s32 mString_Load_WeekStringFromRom(char* dst, lbRTC_weekday_t weekday); +s32 mString_Load_DayStringFromRom(char* dst, lbRTC_day_t day); +s32 mString_Load_HourStringFromRom(char* dst, lbRTC_hour_t hour); +s32 mString_Load_MinStringFromRom(char* dst, lbRTC_min_t min); +s32 mString_Load_SecStringFromRom(char* dst, lbRTC_sec_t sec); +s32 mString_Load_NumberStringAddUnitFromRom(char* dst, u16 num, s32 idx); + +#endif |
