resonance 1.0.1
Loading...
Searching...
No Matches
metstrings.h File Reference
Include dependency graph for metstrings.h:

Go to the source code of this file.

Functions

HxStr MetText (MetStringId nId, const char *pszText)
 A text the North American release writes into the executable.
HxStr MetConfigText (MetStringId nId, int nConfigCode, const char *pszKey)
 A text the North American release reads through a configuration query.

Function Documentation

◆ MetText()

HxStr MetText ( MetStringId nId,
const char * pszText )
inline

A text the North American release writes into the executable.

The European release looks the same text up in the current language instead. The helper picks the release's behaviour. A call site gives both forms once.

Parameters
nIdThe identifier the European release looks up.
pszTextThe text the North American release uses.
Returns
The text.

◆ MetConfigText()

HxStr MetConfigText ( MetStringId nId,
int nConfigCode,
const char * pszKey )
inline

A text the North American release reads through a configuration query.

The North American release evaluates get_met_string('KEY') through QueryConfigString(), and the European release looks the text up in the current language instead.

Parameters
nIdThe identifier the European release looks up.
nConfigCodeThe configuration code the North American release queries.
pszKeyThe key the North American release queries.
Returns
The text.