mirror of
https://github.com/HarbourMasters/2ship2harkinian.git
synced 2024-11-27 00:00:32 +00:00
6d76ce9f5e
* Fix crashing with modern menu and UIWidgets when null is passed for tooltips * move to shiputils
24 lines
476 B
C
24 lines
476 B
C
#ifndef SHIP_UTILS_H
|
|
#define SHIP_UTILS_H
|
|
|
|
#include <libultraship/libultraship.h>
|
|
#include "PR/ultratypes.h"
|
|
|
|
#ifdef __cplusplus
|
|
|
|
void LoadGuiTextures();
|
|
|
|
extern "C" {
|
|
#endif
|
|
|
|
bool Ship_IsCStringEmpty(const char* str);
|
|
void Ship_CreateQuadVertexGroup(Vtx* vtxList, s32 xStart, s32 yStart, s32 width, s32 height, u8 flippedH);
|
|
f32 Ship_GetCharFontWidthNES(u8 character);
|
|
TexturePtr Ship_GetCharFontTextureNES(u8 character);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // SHIP_UTILS_H
|