Beispiel #1
0
void Setup_Input::fixTranslations()
{
    fixTranslation(setupActionDataShortcuts,
        InputAction::SHORTCUT_1,
        InputAction::SHORTCUT_20,
        "Item Shortcut %d");

    fixTranslation(setupActionDataEmotes,
        InputAction::EMOTE_1,
        InputAction::EMOTE_48,
        "Emote Shortcut %d");

    fixTranslation(setupActionDataCraft,
        InputAction::CRAFT_1,
        InputAction::CRAFT_9,
        "Craft shortcut %d");

    fixTranslation(setupActionDataOutfits,
        InputAction::OUTFIT_1,
        InputAction::OUTFIT_48,
        "Outfit Shortcut %d");

    fixTranslation(setupActionDataMove,
        InputAction::MOVE_TO_POINT_1,
        InputAction::MOVE_TO_POINT_48,
        "Move to point Shortcut %d");
}
Beispiel #2
0
void Setup_Input::fixTranslations()
{
    fixTranslation(setupActionDataShortcuts,
        static_cast<int>(InputAction::SHORTCUT_1),
        static_cast<int>(InputAction::SHORTCUT_20),
        "Item Shortcut %d");

    fixTranslation(setupActionDataEmotes,
        static_cast<int>(InputAction::EMOTE_1),
        static_cast<int>(InputAction::EMOTE_48),
        "Emote Shortcut %d");

    fixTranslation(setupActionDataOutfits,
        static_cast<int>(InputAction::OUTFIT_1),
        static_cast<int>(InputAction::OUTFIT_48),
        "Outfit Shortcut %d");

    fixTranslation(setupActionDataMove,
        static_cast<int>(InputAction::MOVE_TO_POINT_1),
        static_cast<int>(InputAction::MOVE_TO_POINT_48),
        "Move to point Shortcut %d");
}