MCPcopy Create free account
hub / github.com/OpenDUNE/OpenDUNE / String_Init

Function String_Init

src/string.c:173–182  ·  view source on GitHub ↗

* Loads the language files in the memory, which is used after that with String_GetXXX_ByIndex(). */

Source from the content-addressed store, hash-verified

171 * Loads the language files in the memory, which is used after that with String_GetXXX_ByIndex().
172 */
173void String_Init(void)
174{
175 String_Load("DUNE", false, 1, 339);
176 String_Load("MESSAGE", false, 340, 367);
177 String_Load("INTRO", false, 368, 404);
178 String_Load("TEXTH", true, 405, 444);
179 String_Load("TEXTA", true, 445, 484);
180 String_Load("TEXTO", true, 485, 524);
181 String_Load("PROTECT", true, 525, -1);
182}
183
184/**
185 * Unloads the language files in the memory.

Callers 1

GameLoop_MainFunction · 0.85

Calls 1

String_LoadFunction · 0.85

Tested by

no test coverage detected