MCPcopy Index your code
hub / github.com/OpenDUNE/OpenDUNE / String_Get_ByIndex

Function String_Get_ByIndex

src/string.c:96–99  ·  view source on GitHub ↗

* Returns a pointer to the string at given index in current string file. * * @param stringID The index of the string. * @return The pointer to the string. */

Source from the content-addressed store, hash-verified

94 * @return The pointer to the string.
95 */
96char *String_Get_ByIndex(uint16 stringID)
97{
98 return s_strings[stringID];
99}
100
101/**
102 * Translates 0x1B 0xXX occurences into extended ASCII values (0x7F + 0xXX).

Callers 15

GameLoop_StructureFunction · 0.85
Structure_BuildObjectFunction · 0.85
Load_MainFunction · 0.85
GameLoop_HouseFunction · 0.85
GameLoop_PlaySubtitleFunction · 0.85
Unit_DisplayStatusTextFunction · 0.85
GameLoop_LevelEndFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected