Exemplo n.º 1
0
/**
 * @brief Prints a list of tab and newline separated string to keylist char array that hold the key and the command desc
 */
static void CLMN_InitKeyList_f (void)
{
	linkedList_t *list = NULL;

	LIST_AddString(&list, _("^BGlobal bindings"));
	LIST_AddString(&list, "");
	CLMN_AddBindings(&list, keyBindings);
	LIST_AddString(&list, "");
	LIST_AddString(&list, "");
	LIST_AddString(&list, _("^BMenu bindings"));
	LIST_AddString(&list, "");
	CLMN_AddBindings(&list, menuKeyBindings);
	LIST_AddString(&list, "");
	LIST_AddString(&list, "");
	LIST_AddString(&list, _("^BBattlescape bindings"));
	LIST_AddString(&list, "");
	CLMN_AddBindings(&list, battleKeyBindings);

	LIST_AddString(&list, "");
	LIST_AddString(&list, "");
	LIST_AddString(&list, _("^BUI bindings"));
	LIST_AddString(&list, "");
	CLMN_AddUIBindings(&list);

	UI_RegisterLinkedListText(TEXT_LIST, list);
}
Exemplo n.º 2
0
/**
 * @brief Prints a list of tab and newline separated string to keylist char array that hold the key and the command desc
 */
static void CLMN_InitKeyList_f (void)
{
	UI_ExecuteConfunc("keybinding_clear");

	CLMN_AddBindings(KEYSPACE_GAME, keyBindings);
	CLMN_AddBindings(KEYSPACE_UI, menuKeyBindings);
	const int uiBindings = CLMN_AddUIBindings(KEYSPACE_UI);
	CLMN_AddBindings(KEYSPACE_BATTLE, battleKeyBindings, uiBindings);
}
Exemplo n.º 3
0
/**
 * @brief Prints a list of tab and newline separated string to keylist char array that hold the key and the command desc
 */
static void CLMN_InitKeyList_f (void)
{
	linkedList_t *list = NULL;

	CLMN_AddBindings(&list, keyBindings);
	CLMN_AddBindings(&list, menuKeyBindings);
	CLMN_AddBindings(&list, battleKeyBindings);

	UI_RegisterLinkedListText(TEXT_LIST, list);
}