Home
last modified time | relevance | path

Searched refs:strLenWithoutEscapes (Results 1 – 8 of 8) sorted by relevance

/dports/games/brogue/BrogueCE-1.10.1/src/brogue/
H A DButtons.c48 const int width = strLenWithoutEscapes(button->text); in drawButton()
203 … && x < state->buttons[focusIndex].x + strLenWithoutEscapes(state->buttons[focusIndex].text)) { in processButtonInput()
H A DIO.c522 x += strLenWithoutEscapes(buttons[i].text) + 2; // Gap between buttons. in initializeMenuButtons()
2778 x = (COLS - max(maxLength, strLenWithoutEscapes(prompt))) / 2; in getInputTextString()
2791 x = mapToWindowX(strLenWithoutEscapes(prompt)); in getInputTextString()
2801 charNum = strLenWithoutEscapes(inputText); in getInputTextString()
2896 messageLength = strLenWithoutEscapes(message); in flashMessage()
3116 messageLength = strLenWithoutEscapes(counted); in foldMessages()
3465 for (i = strLenWithoutEscapes(text); i < DCOLS; i++) { in flavorMessage()
4374 if (strLenWithoutEscapes(list[i].description) > maxLength) { in printHighScores()
4375 maxLength = strLenWithoutEscapes(list[i].description); in printHighScores()
4686 strcpy(buf + ((strLenWithoutEscapes(buf) - strLenWithoutEscapes(buf2)) / 2), buf2); in printMonsterInfo()
[all …]
H A DMainMenu.c50 versionStringLength = strLenWithoutEscapes(BROGUE_VERSION_STRING); in drawMenuFlames()
475 maxPathLength = strLenWithoutEscapes(prompt); in dialogChooseFile()
H A DCombat.c695 if (strLenWithoutEscapes(theItemName) <= 8) { in magicWeaponHit()
843 if (strLenWithoutEscapes(attacker->info.monsterName) <= 6) { in applyArmorRunicEffect()
1246 short strLenWithoutEscapes(const char *str) { in strLenWithoutEscapes() function
H A DRogueMain.c1066 printString(buf, (COLS - strLenWithoutEscapes(buf)) / 2, ROWS / 2, &gray, &black, 0); in gameOver()
1075 … printString(buf, (COLS - strLenWithoutEscapes(buf)) / 2, y, &advancementMessageColor, &black, 0); in gameOver()
H A DTime.c867 x = mapToWindowX(monst->xLoc - strLenWithoutEscapes(msg) / 2); in flashCreatureAlert()
868 if (x > COLS - strLenWithoutEscapes(msg)) { in flashCreatureAlert()
869 x = COLS - strLenWithoutEscapes(msg); in flashCreatureAlert()
H A DItems.c1208 …if (getInputTextString(itemText, buf, min(29, DCOLS - strLenWithoutEscapes(buf) - 1), "", "\"", TE… in inscribeItem()
2844 maxLength = max(maxLength, strLenWithoutEscapes(buttons[i].text)); in displayInventory()
2872 … maxLength = max(maxLength, (strLenWithoutEscapes(buttons[itemNumber + extraLineCount].text))); in displayInventory()
2879 … maxLength = max(maxLength, (strLenWithoutEscapes(buttons[itemNumber + extraLineCount].text))); in displayInventory()
2898 for (j=buttons[i].x + strLenWithoutEscapes(buttons[i].text); j < COLS; j++) { in displayInventory()
7236 if (strLenWithoutEscapes(buf2) > 52) { in unequip()
H A DRogue.h3185 short strLenWithoutEscapes(const char *str);