LangResource.h File Reference

#include <lang/Lang.h>

Go to the source code of this file.

Namespaces

namespace  LangResource

Defines

#define __INCLUDE_LangText_INCLUDE__
#define LANG_RESOURCE(key, value)   LangResource::getKey(key, value)
#define LANG_RESOURCE_1(key, value, param1)   LangResource::getKey(key, value, param1)
#define LANG_RESOURCE_2(key, value, param1, param2)   LangResource::getKey(key, value, param1, param2)
#define LANG_RESOURCE_3(key, value, param1, param2, param3)   LangResource::getKey(key, value, param1, param2, param3)
#define LANG_RESOURCE_4(key, value, param1, param2, param3, param4)   LangResource::getKey(key, value, param1, param2, param3, param4)
#define LANG_RESOURCE_VAR(name, key, value)
#define LANG_RESOURCE_VAR_1(name, key, value, param1)
#define LANG_RESOURCE_VAR_2(name, key, value, param1, param2)
#define LANG_RESOURCE_VAR_3(name, key, value, param1, param2, param3)
#define LANG_RESOURCE_VAR_4(name, key, value, param1, param2, param3, param4)
#define LANG_RESOURCE_CONST_VAR(name, key, value)
#define LANG_RESOURCE_CONST_VAR_1(name, key, value, param1)
#define LANG_RESOURCE_CONST_VAR_2(name, key, value, param1, param2)
#define LANG_RESOURCE_CONST_VAR_3(name, key, value, param1, param2, param3)
#define LANG_RESOURCE_CONST_VAR_4(name, key, value, param1, param2, param3, param4)

Functions

LangString LangResource::getKey (const std::string &key, const std::string &value)
LangString LangResource::getKey (const std::string &key, const std::string &value, const LangStringConverter &param1)
LangString LangResource::getKey (const std::string &key, const std::string &value, const LangStringConverter &param1, const LangStringConverter &param2)
LangString LangResource::getKey (const std::string &key, const std::string &value, const LangStringConverter &param1, const LangStringConverter &param2, const LangStringConverter &param3)
LangString LangResource::getKey (const std::string &key, const std::string &value, const LangStringConverter &param1, const LangStringConverter &param2, const LangStringConverter &param3, const LangStringConverter &param4)


Define Documentation

#define __INCLUDE_LangText_INCLUDE__

Definition at line 22 of file LangResource.h.

#define LANG_RESOURCE ( key,
value   )     LangResource::getKey(key, value)

Definition at line 26 of file LangResource.h.

Referenced by TankMenus::AccessoryMenu::AccessoryMenu(), BuyAccessoryDialog::addAccessory(), ImageModifier::addLightMapToBitmap(), ScoreDialog::addLine(), InventoryDialog::addPlayerWeapons(), BuyAccessoryDialog::addTabs(), AdminDialog::AdminDialog(), DeformLandscape::applyInfos(), AutoDefenseDialog::AutoDefenseDialog(), GLWChannelText::buttonDown(), SaveDialog::buttonDown(), NetworkSelectDialog::buttonDown(), BuyAccessoryDialog::BuyAccessoryDialog(), ConnectDialog::connected(), ChannelTextParser::createAdminEntry(), GLWOptionEntry::createEntry(), ExplosionTextures::createTextures(), SettingsSelectDialog::display(), PlayerDialog::display(), NetworkSelectDialog::display(), InventoryDialog::display(), GiftMoneyDialog::display(), BuyAccessoryDialog::display(), AuthDialog::display(), AdminAuthDialog::display(), AutoDefenseDialog::displayCurrent(), GLWScorchedInfo::draw(), ScoreDialog::draw(), GLWChannelViewTextRenderer::drawCharacter(), NetworkSelectDialog::drawIcon(), GLWWindow::drawMaximizedWindow(), HeightMapModifier::edgeEnhance(), WaterWaveDistance::generate(), Water2::generate(), Landscape::generate(), GroundMaps::generateObject(), HeightMapModifier::generateTerrain(), HeightMapLoader::generateTerrain(), WaterWaves::generateWaves(), TankAccessories::getAccessoryAndCountString(), TargetCamera::getCameraToolTips(), getGamesCols(), MainCamera::getMenuItems(), GLWWindowManager::getMenuItems(), HelpButtonDialog::HelpMenu::getMenuItems(), getPlayerCols(), Accessory::getStringName(), TankAI::getToolTip(), GiftMoneyDialog::GiftMoneyDialog(), GLWTankViewer::GLWTankViewer(), GLWWindowManager::GLWWindowManager(), HelpButtonDialog::HelpMenu::HelpMenu(), HUDDialog::HUDDialog(), GLLenseFlare::init(), initComs(), GLWWindow::initFromXML(), initHardware(), ClientInitializeHandler::initialize(), initWindows(), InventoryDialog::InventoryDialog(), GLMenuEntry::itemSelected(), TargetCamera::keyboardCheck(), KibitzingDialog::KibitzingDialog(), ModFiles::loadModFiles(), TankModelStore::loadTankMeshes(), HeightMapLoader::loadTerrain(), LogDialog::LogDialog(), MainCamera::MainCamera(), ModSelectDialog::ModSelectDialog(), ModSubSelectDialog::ModSubSelectDialog(), MsgBoxDialog::MsgBoxDialog(), NetworkSelectDialog::NetworkSelectDialog(), HeightMapModifier::noise(), AccessoryStore::parseFile(), HelpButtonDialog::PerformanceMenu::PerformanceMenu(), PlayerDialog::PlayerDialog(), TankMenus::PlayerMenu::PlayerMenu(), ToolTipResource::populate(), WindDialogToolTip::populate(), TankElevationTip::populate(), TankRotationTip::populate(), TankPowerTip::populate(), TankWeaponTip::populate(), TankAutoDefenseTip::populate(), TankParachutesTip::populate(), TankHealthTip::populate(), TankRankTip::populate(), TankShieldTip::populate(), TankBatteryTip::populate(), TankFuelTip::populate(), ServerChannelManager::processMessage(), ClientNewGameHandler::processMessage(), QuitDialog::QuitDialog(), ResignDialog::ResignDialog(), RulesDialog::RulesDialog(), SaveDialog::SaveDialog(), SaveSelectDialog::SaveSelectDialog(), HeightMapModifier::scale(), NetworkSelectDialog::select(), ClientConnectionAuthHandler::sendAuth(), SettingsSelectDialog::SettingsSelectDialog(), SettingsSubSelectDialog::SettingsSubSelectDialog(), TankAutoDefenseTip::showItems(), TankParachutesTip::showItems(), TankShieldTip::showItems(), TankBatteryTip::showItems(), TankFuelTip::showItems(), TankUndoMenu::showItems(), ServerChannelManager::simulate(), SkipAllDialog::SkipAllDialog(), SkipDialog::SkipDialog(), HeightMapModifier::smooth(), SoundDialog::SoundDialog(), StartDialog::StartDialog(), NetworkSelectDialog::startRefresh(), testMacro(), TipDialog::TipDialog(), GLWOptionEntry::updateControls(), NetworkSelectDialog::updateTable(), HelpButtonDialog::VolumeMenu::VolumeMenu(), and HeightMapModifier::waterErrosion().

#define LANG_RESOURCE_1 ( key,
value,
param1   )     LangResource::getKey(key, value, param1)

Definition at line 27 of file LangResource.h.

Referenced by SaveDialog::buttonDown(), ProgressDialog::changeTip(), GLWScorchedInfo::draw(), ScoreDialog::draw(), generateTargetTip(), WindDialogToolTip::populate(), TankTip::populate(), TankElevationTip::populate(), TankRotationTip::populate(), TankPowerTip::populate(), TankWeaponTip::populate(), TankShieldTip::populate(), ClientFileHandler::processMessage(), TankWeapon::setCurrentWeapon(), TankBatteryTip::showItems(), ServerChannelManager::simulate(), TankResign::simulate(), FrameTimer::simulate(), and SkipAllDialog::simulate().

#define LANG_RESOURCE_2 ( key,
value,
param1,
param2   )     LangResource::getKey(key, value, param1, param2)

Definition at line 28 of file LangResource.h.

Referenced by BuyAccessoryDialog::addAccessory(), InventoryDialog::addPlayerName(), BuyAccessoryDialog::addPlayerName(), PlayerDialog::buttonDown(), ConnectDialog::connected(), AutoDefenseDialog::displayCurrent(), generateTargetTip(), TankTip::populate(), TankHealthTip::populate(), ClientConnectionAuthHandler::sendAuth(), Resurrection::simulate(), ConnectDialog::simulate(), WeaponGiveWin::weaponCallback(), WeaponGiveScore::weaponCallback(), WeaponGivePower::weaponCallback(), WeaponGiveMoney::weaponCallback(), WeaponGiveLives::weaponCallback(), WeaponGiveLife::weaponCallback(), and WeaponGiveAccessory::weaponCallback().

#define LANG_RESOURCE_3 ( key,
value,
param1,
param2,
param3   )     LangResource::getKey(key, value, param1, param2, param3)

Definition at line 29 of file LangResource.h.

Referenced by BuyAccessoryDialog::addAccessory(), GLWChannelText::buttonDown(), TankDamage::logDeath(), ClientGiftMoneyHandler::processMessage(), ConnectDialog::tryConnection(), and WeaponGiveAccessory::weaponCallback().

#define LANG_RESOURCE_4 ( key,
value,
param1,
param2,
param3,
param4   )     LangResource::getKey(key, value, param1, param2, param3, param4)

Definition at line 30 of file LangResource.h.

Referenced by TankDamage::logDeath(), and NetworkSelectDialog::rowSelectedGames().

#define LANG_RESOURCE_CONST_VAR ( name,
key,
value   ) 

Value:

static ResourceBundleEntry *TEXT_BUNDLE_##name = \
        Lang::instance()->getEntry(key, value); \
        static LangString name = TEXT_BUNDLE_##name->getString();

Definition at line 48 of file LangResource.h.

Referenced by GLWScorchedInfo::draw(), NetworkSelectDialog::drawColumnGames(), TankState::getSmallStateLangString(), NetworkSelectDialog::getTexture(), and testMacro().

#define LANG_RESOURCE_CONST_VAR_1 ( name,
key,
value,
param1   ) 

Value:

static ResourceBundleEntry *TEXT_BUNDLE_##name = \
        Lang::instance()->getEntry(key, value); \
        static LangString name = TEXT_BUNDLE_##name->getString(param1);

Definition at line 51 of file LangResource.h.

Referenced by testMacro().

#define LANG_RESOURCE_CONST_VAR_2 ( name,
key,
value,
param1,
param2   ) 

Value:

static ResourceBundleEntry *TEXT_BUNDLE_##name = \
        Lang::instance()->getEntry(key, value); \
        static LangString name = TEXT_BUNDLE_##name->getString(param1, param2);

Definition at line 54 of file LangResource.h.

Referenced by testMacro().

#define LANG_RESOURCE_CONST_VAR_3 ( name,
key,
value,
param1,
param2,
param3   ) 

Value:

static ResourceBundleEntry *TEXT_BUNDLE_##name = \
        Lang::instance()->getEntry(key, value); \
        static LangString name = TEXT_BUNDLE_##name->getString(param1, param2, param3);

Definition at line 57 of file LangResource.h.

Referenced by testMacro().

#define LANG_RESOURCE_CONST_VAR_4 ( name,
key,
value,
param1,
param2,
param3,
param4   ) 

Value:

static ResourceBundleEntry *TEXT_BUNDLE_##name = \
        Lang::instance()->getEntry(key, value); \
        static LangString name = TEXT_BUNDLE_##name->getString(param1, param2, param3, param4);

Definition at line 60 of file LangResource.h.

Referenced by testMacro().

#define LANG_RESOURCE_VAR ( name,
key,
value   ) 

Value:

static ResourceBundleEntry *TEXT_BUNDLE_##name = \
        Lang::instance()->getEntry(key, value); \
        static LangString name = TEXT_BUNDLE_##name->getString();

Definition at line 32 of file LangResource.h.

Referenced by ScoreDialog::draw(), BuyAccessoryDialog::draw(), RulesDialog::drawRules(), TankAccessories::getAccessoryCountString(), and testMacro().

#define LANG_RESOURCE_VAR_1 ( name,
key,
value,
param1   ) 

Value:

static ResourceBundleEntry *TEXT_BUNDLE_##name = \
        Lang::instance()->getEntry(key, value); \
        LangString name = TEXT_BUNDLE_##name->getString(param1);

Definition at line 35 of file LangResource.h.

Referenced by CameraDialog::draw(), GLWTankViewer::drawCaption(), RulesDialog::drawRules(), and testMacro().

#define LANG_RESOURCE_VAR_2 ( name,
key,
value,
param1,
param2   ) 

Value:

static ResourceBundleEntry *TEXT_BUNDLE_##name = \
        Lang::instance()->getEntry(key, value); \
        LangString name = TEXT_BUNDLE_##name->getString(param1, param2);

Definition at line 38 of file LangResource.h.

Referenced by ScoreDialog::draw(), and testMacro().

#define LANG_RESOURCE_VAR_3 ( name,
key,
value,
param1,
param2,
param3   ) 

Value:

static ResourceBundleEntry *TEXT_BUNDLE_##name = \
        Lang::instance()->getEntry(key, value); \
        LangString name = TEXT_BUNDLE_##name->getString(param1, param2, param3);

Definition at line 41 of file LangResource.h.

Referenced by testMacro().

#define LANG_RESOURCE_VAR_4 ( name,
key,
value,
param1,
param2,
param3,
param4   ) 

Value:

static ResourceBundleEntry *TEXT_BUNDLE_##name = \
        Lang::instance()->getEntry(key, value); \
        LangString name = TEXT_BUNDLE_##name->getString(param1, param2, param3, param4);

Definition at line 44 of file LangResource.h.

Referenced by testMacro().


Generated on Mon Feb 16 15:14:58 2009 for Scorched3D by  doxygen 1.5.3