src/game/server/score/file_score.cpp: In member function ‘CFileScore::CPlayerScore* CFileScore::SearchName(const char*, int*, bool)’:
src/game/server/score/file_score.cpp:169:9: error: ‘strcmp’ was not declared in this scope
169 | if (!strcmp(r.front().m_aName, pName))
| ^~~~~~
src/game/server/score/file_score.cpp:12:1: note: ‘strcmp’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
11 | #include <engine/shared/console.h>
+++ |+#include <cstring>
12 |¬
1981: Fix: background colors being set to white r=def- a=Aerll
After changing either of background colors in ddnet tab in settings and reopening the client, both become white.
Co-authored-by: Aerll <31746984+aerll@users.noreply.github.com>
1987: Add libssl-dev as dependency r=def- a=ChillerDragon
I was told that that cmake failed on Crypto not found and installing libssl-dev solved the issue. Could not reproduce it tho.
When compiling ddnet7 with mysql. Might be a issue with ddnet7 only tho so not sure.
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
Saves should not be loadable from one to the other.
Requires:
ALTER TABLE record_race ADD COLUMN DDNet7 BOOL DEFAULT FALSE AFTER GameID;
ALTER TABLE record_teamrace ADD COLUMN DDNet7 BOOL DEFAULT FALSE AFTER GameID;
ALTER TABLE record_saves ADD COLUMN DDNet7 BOOL DEFAULT FALSE AFTER Server;
1982: Fixed installation on other than Ubuntu GNU/Linux distributions r=heinrich5991 a=ElXreno
Fixed installation on other than Ubuntu GNU/Linux distributions.
Fedora and other GNU/Linux distributions use different $libdir prefixes. Now it can be installed on any GNU/Linux distributions.
Co-authored-by: ElXreno <elxreno@gmail.com>
1980: Fix: automapper skips tiles when it shouldn't r=def- a=Aerll
In case of something like: INDEX 0 OR 1 all tiles need to be automapped.
Co-authored-by: Aerll <31746984+aerll@users.noreply.github.com>
1979: Clean up color handling a bit r=Learath2 a=def-
- SetAlpha should be called WithAlpha and only works for RGBA
- Fix type correctness of color_scale and introduce color_invert
- Nicer hook coll color handling in RenderPlayer
- Use CRTP to have type safe WithAlpha, otherwise this would compile:
`ColorHSLA = WithAlpha(ColorRGBA(1.0f, 1.0f, 1.0f));`
Follow-up to https://github.com/ddnet/ddnet/pull/1968
Co-authored-by: Dennis Felsing <dennis@felsin9.de>