V-Gears 0
Free Final Fantasy VII engine.
TextHandlerCommands.h File Reference
#include "ConfigCmdHandler.h"
#include "Console.h"
#include "Logger.h"
#include "XmlTextsFile.h"
Include dependency graph for TextHandlerCommands.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void CmdSetLanguage (const Ogre::StringVector &params)
 Sets the language for texts. More...
 
void CmdSetLanguageCompletition (Ogre::StringVector &complete_params)
 Loads a list of every available language identifiers. More...
 

Function Documentation

◆ CmdSetLanguage()

void CmdSetLanguage ( const Ogre::StringVector &  params)

Sets the language for texts.

Parameters
[in]paramsCommand parameters. Exactly three are required. The first one is the command name and it's not evaluated here. The second one must be the language to set. If less than three parameter are passed, a usage string will be printed instead, and nothing will be done.

◆ CmdSetLanguageCompletition()

void CmdSetLanguageCompletition ( Ogre::StringVector &  complete_params)

Loads a list of every available language identifiers.

To do so, it uses the folders in data/texts.

Parameters
[out]complete_paramsThe list of languages will be saved here.