X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmain.cpp;h=68446d3f499518d5bc129f3475f1585ecda160ee;hb=1852ed1ca9ccfb63183fec12efeeaccc211a9f72;hp=d0213e7070c10dd384ebac9a2b8efcf50936bb11;hpb=0531ef59da95c2b572b8a1bad7b281fbd541f9dc;p=l2e.git diff --git a/src/main.cpp b/src/main.cpp index d0213e7..68446d3 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -432,6 +432,7 @@ int main(int argc, char **argv) { equipmentMenuProperties.selectedCursor = &menuActiveCursor; equipmentMenuProperties.font = menuResources.statusFont; equipmentMenuProperties.iconSpace = 16; + equipmentMenuProperties.wrapY = true; menuResources.equipmentMenuProperties = &equipmentMenuProperties; menuResources.equipMenuEquipLabel = "EQUIP"; @@ -440,6 +441,28 @@ int main(int argc, char **argv) { menuResources.equipMenuRemoveAllLabel = "REMOVE ALL"; menuResources.equipMenuDropLabel = "DROP"; + graphics::MenuProperties configMenuProperties; + configMenuProperties.cols = 1; + configMenuProperties.rows = 4; + configMenuProperties.charsPerEntry = 8; + configMenuProperties.rowGap = 32; + configMenuProperties.cursor = &menuCursor; + configMenuProperties.font = &menuFont; + configMenuProperties.wrapY = true; + menuResources.configMenuProperties = &configMenuProperties; + + menuResources.configMessageSpeedLabel = "MESSAGE\n SPEED"; + menuResources.configMessageSpeedFast = "FAST"; + menuResources.configMessageSpeedNormal = "NORMAL"; + menuResources.configMessageSpeedSlow = "SLOW"; + menuResources.configBattleCursorLabel = "BATTLE\n CURSOR"; + menuResources.configStatusCursorLabel = "STATUS\n CURSOR"; + menuResources.configCursorClear = "CLEAR"; + menuResources.configCursorMemory = "MEMORY"; + menuResources.configMusicLabel = "MUSIC"; + menuResources.configMusicStereo = "STEREO"; + menuResources.configMusicMono = "MONO"; + InitScreen screen(width, height); app::State *state(0);