mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-11 02:28:18 +00:00
1f6eff2cd1
3204: Much more readable Call Vote menu and code r=def- a=Banana090 I find "Call Vote" menu useless af right now, because it's simply impossible to read it. So when you want to call vote for a map you open website and find the one you want, after that making /map skipping the "Call Vote" menu completely. It's useful for calling for random map btw, but anyway too ugly to look at. **OLD LOOK** ![callvoteold](https://user-images.githubusercontent.com/39315809/97338602-a48e1980-1892-11eb-8c93-5d8656d3abeb.png) **NEW LOOK** ![callvotenew](https://user-images.githubusercontent.com/39315809/97339380-9096e780-1893-11eb-8c3c-1f8630096d9f.png) **NEW LOOK (RconAuted)** ![callvotenewrcon](https://user-images.githubusercontent.com/39315809/97340605-0e0f2780-1895-11eb-898b-3c3b8258cced.png) Changed nothing, but row and text size + View rect size, because for some reason it was small for preserving space for RCON Auted users. Why? Also changed the name of rect "Extended" to "RconExtension" to make it more clear what is it for. Would be cool also to remove all that junk that is not actual votes from DDNet server vote list (finishers, average time) and merge it into one line with map's name. ## Checklist - [x] Tested the change ingame - [x] Provided screenshots if it is a visual change - [ ] Tested in combination with possibly related configuration options - [ ] Written a unit test if it works standalone, system.c especially - [x] Considered possible null pointers and out of bounds array indexing - [x] Changed no physics that affect existing maps - [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional) Co-authored-by: Дядя Женя <spy090@yandex.ru> |
||
---|---|---|
.. | ||
background.cpp | ||
background.h | ||
binds.cpp | ||
binds.h | ||
broadcast.cpp | ||
broadcast.h | ||
camera.cpp | ||
camera.h | ||
chat.cpp | ||
chat.h | ||
console.cpp | ||
console.h | ||
controls.cpp | ||
controls.h | ||
countryflags.cpp | ||
countryflags.h | ||
damageind.cpp | ||
damageind.h | ||
debughud.cpp | ||
debughud.h | ||
effects.cpp | ||
effects.h | ||
emoticon.cpp | ||
emoticon.h | ||
flow.cpp | ||
flow.h | ||
ghost.cpp | ||
ghost.h | ||
hud.cpp | ||
hud.h | ||
items.cpp | ||
items.h | ||
killmessages.cpp | ||
killmessages.h | ||
mapimages.cpp | ||
mapimages.h | ||
maplayers.cpp | ||
maplayers.h | ||
mapsounds.cpp | ||
mapsounds.h | ||
menu_background.cpp | ||
menu_background.h | ||
menus.cpp | ||
menus.h | ||
menus_browser.cpp | ||
menus_demo.cpp | ||
menus_ingame.cpp | ||
menus_settings.cpp | ||
menus_settings_assets.cpp | ||
menus_start.cpp | ||
motd.cpp | ||
motd.h | ||
nameplates.cpp | ||
nameplates.h | ||
particles.cpp | ||
particles.h | ||
players.cpp | ||
players.h | ||
race_demo.cpp | ||
race_demo.h | ||
scoreboard.cpp | ||
scoreboard.h | ||
skins.cpp | ||
skins.h | ||
sounds.cpp | ||
sounds.h | ||
spectator.cpp | ||
spectator.h | ||
statboard.cpp | ||
statboard.h | ||
voting.cpp | ||
voting.h |