Guild icon
Teeworlds
discord.gg/teeworlds / development
For discussions around the development of the official Teeworlds
Between 2020-11-17 00:00:00Z and 2020-11-18 00:00:00Z
Avatar
Implementation:
  • Add VOTECHOICE_NO, _PASS, _YES constants to protocol and use them instead of the magic values
    • These also replace the VOTE_ENFORCE
    * constants in CGameContext.
  • Remove voting RenderBars parameter and implementation to render number of votes as text, as it's unused.
  • Use size constants for vote option description and command where applicable.
  • Rename some variables and methods.
  • Encapsulate some of the internal state of CVoting component.
UI:
  • Align call...
Exported 1 message(s)