3047: Fix ui_page/ui_settings_page ranges r=Learath2 a=def-
For ui_page makes no difference since we limited in code
For ui_settings_page assets page is now remembered
Co-authored-by: def <dennis@felsin9.de>
3045: Use 0.7 gameskin by @Zatline r=def- a=Jupeyy
a5105264ffdb0823950631c6d2684d
Wtf is clang-format doing in line 257 xD (will just use clang-format-10 for now to fix it)
dunno if github can close prs
closes#2921
and ty to @ChillerDragon for the initial commit,
game.png is dilated, and optimized.
So i guess we wait for #2754 ?
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2987: Modulize skins, particles, emoticons and game r=def- a=Jupeyy
fixes#2203
Puh, something i always wanted todo.
Need to error read, bcs alot of copy paste.
Modulizes all images, so that all images are mipmap indepedent, without texeloffset problems
I also added the ninja bar analyzer for #2921
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
3018: Editor: Improve usability of server settings r=Jupeyy a=def-
- Add Mod button
- Show Del button only when it makes sense
- Update command input text when clicking on an existing command
- Make command clearable
As requested by Cøke
Co-authored-by: def <dennis@felsin9.de>
3022: Text alignment r=def- a=Jupeyy
i think the round borders create a bit of optical illusion, e.g. the "V" in edtior is only 1 pixel of, but looks like its completly left xd
i checked at few resolutions with gimp and only saw around 1 pixel margin of error, but go ahead and test yourself :D
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
3042: Use renderinfo for player death effect r=def- a=Jupeyy
the render info color is created the same way, just that it is allowed to be overritten for team colors
see OnNewSnapshot
and UpdateRenderInfo
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
3040: Revert "Reset m_ServerCapabilities on Disconnect" r=def- a=heinrich5991
This reverts commit a6d2a35e11.
It's unclear how this should have fixed the mentioned bug.
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
3038: Use std::sort instead of bubble_sort r=def- a=Jupeyy
Noticed, that its really slow, when you have alot of auto demos
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
3034: Render afk emote instead of chat emote r=def- a=ardadem
Sometimes ppl become afk while they are chatting, which is cause fail especially on t0 maps.
Co-authored-by: Arda Demir <ddmirarda@gmail.com>
3033: Reset m_ServerCapabilities on Disconnect r=Jupeyy a=def-
Reported by builder17 that on Vanilla server timeout code can get sent
Co-authored-by: def <dennis@felsin9.de>
3029: Add "comfort" by louis (entities asset) r=def- a=Jupeyy
Released under CC-BY-SA 3.0 [Discord](https://discord.com/channels/252358080522747904/295908390956433410/762476736424050688)
If someone wants to create the other mods entities out of this, would be nice ofc.
And thanks to louis, looks pretty nice :D
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
3020: Fix all Multiplication type alerts by CodeQL r=heinrich5991 a=def-
> Multiplication result converted to larger type
> A multiplication result that is converted to a larger type can be a
> sign that the result can overflow the type converted from.
Example: https://github.com/ddnet/ddnet/security/code-scanning/17?query=ref%3Arefs%2Fheads%2Fmaster
Co-authored-by: def <dennis@felsin9.de>