2023-11-09 10:41:21 I assert: /ddnet-source/src/game/editor/editor.cpp(2386): Unhandled entities image for explanations
entitiesdfngv2.png
which is located under editor/entities/
EExplanation Explanation = EExplanation::DDNET;
if(m_SelectEntitiesImage == "DDNet")
Explanation = EExplanation::DDNET;
else if(m_SelectEntitiesImage == "FNG")
Explanation = EExplanation::FNG;
else if(m_SelectEntitiesImage == "Race")
Explanation = EExplanation::RACE;
else if(m_SelectEntitiesImage == "Vanilla")
Explanation = EExplanation::VANILLA;
else if(m_SelectEntitiesImage == "blockworlds")
Explanation = EExplanation::BLOCKWORLDS;
else
dbg_assert(false, "Unhandled entities image for explanations");
2023-11-09 10:56:56 I assert: ddnet/src/game/editor/editor.cpp(2564): Unhandled entities image for explanations
(edited)OTHER
value to the EExplanation
enum (at editor.h::(958)) and changed the else statment to Explanation = EExplanation::OTHER;
(at editor.cpp::(2564)). Lastly I added case EExplanation::OTHER:
return nullptr; // TODO: Explanations for Other?
(at explanations.cpp::(682)).RUSTFLAGS="-Z threads=8" cargo build --release
RUSTFLAGS="-Z threads=8" cargo build --release
cargo build --release 894,20s user 59,23s system 1001% cpu 1:35,22 total
with
RUSTFLAGS="-Z threads=40" cargo build --release 920,27s user 71,94s system 1040% cpu 1:35,38 total
was slower for some reason xd
or is it especially important to use exactly your core count and not logical threads?RUSTFLAGS="-Z threads=8" cargo build --release 1035,68s user 98,75s system 1156% cpu 1:38,06 total
cargo build --release 888,18s user 57,35s system 1007% cpu 1:33,88 total
now i try debugcargo build 506,87s user 73,18s system 1678% cpu 34,567 total
with:
RUSTFLAGS="-Z threads=8" cargo build 674,66s user 120,29s system 1794% cpu 44,299 total
% rustc --version git:playground
rustc 1.75.0-nightly (fdaaaf9f9 2023-11-08)
cargo build 7,80s user 1,26s system 292% cpu 3,095 total
vs
RUSTFLAGS="-Z threads=8" cargo build 11,94s user 2,20s system 485% cpu 2,910 total
2023-11-09 10:41:21 I assert: /ddnet-source/src/game/editor/editor.cpp(2386): Unhandled entities image for explanations
GAME_RELEASE_VERSION
is defined by cmake. Or if not by version.h
. Neither would define it as 2.1.1 unless you changed somethingGAME_RELEASE_VERSION
is defined by cmake. Or if not by version.h
. Neither would define it as 2.1.1 unless you changed something GAME_RELEASE_VERSION
is a generic name for the project version.libpng
or pnglite
?