In file prompts.h:

#define msg_getunit

(n, val)

Get the name of a unit in the current language.

Documentation

Get the name of a unit in the current language.

This is a macro that calls msg_getunitl(). It retrieves a unit name, but uses the currently active language to save you a lot of typing.

Parameters:
num - The prompt index. You will want to use the symbolic name here.
val - The value mentioned above. If val is anything but one, string num+1 will be retrieved instead.
Returns:
A null terminated string pointer to the prompt.

Alphabetic index



This page was generated with the help of DOC++.