







typedef ivec4 CColor; in the map format 



















ivec4 for colors








CChat::RegisterCommand(const char *pName, const char *pParams, int flags, const char *pHelp)































Call to 'malloc' has an allocation size of 0 bytes [clang-analyzer-unix.API])

Call to 'malloc' has an allocation size of 0 bytes [clang-analyzer-unix.API]) 


nullptr on some implementations and we accidentally access the memory then that's bad































-convert stuff (edited)


else if height % 4 != 0 {
Err(anyhow!("width is not divisible by 4"))

X * segment_width/height looks so clunky LOL















Jupstar + Robyte Patiga + Zwelf Ryozuki + Voxel Learath + heinrich (edited)





























zoom in console also doesn't seem to print the current value


zoom in console also doesn't seem to print the current value 

m_Zoom = pow(ZoomStep, g_Config.m_ClDefaultZoom - 10)
if ZoomStep = std::cos((30.0f * pi) / 180.0f) (about 0.866025, the constant the game uses)
then u can reverse it w this
m_ConsoleZoom = std::log(m_pClient->m_Camera.m_Zoom * std::pow(ZoomStep, 10)) / std::log(ZoomStep) 



T datafile: loading data. index=23 size=8 uncompressed=0 

CMenus::PopupWarning will immediately set the popup and override the current warning, which can hide warnings when multiple are shown at the same time. Now all warnings are added to the queue with IClient::AddWarning.



DeadCore 1





f7722eb Remove separate CDataFileWriter::Init/OpenFile functions - Robyt3
284390c Add assertions to ensure correct map item/data sizes are written - Robyt3
6471607 Add assertion to ensure correct item IDs are written - Robyt3
7343ca2 Add CDatafileHeader::SizeOffset to replace magic 16 - Robyt3
9b8eb9d Use for- instead of while-loop, improve comments - Robyt3
75debad Add freeze/unfreeze testing commands - Robyt3
ebe2dde Add gameclient warnings to queue instead of overriding others - Robyt3
9b75f85 Merge pull request #7405 from Robyt3/Client-Warning-Queue - def-
3ec5211 Merge pull request #7404 from Robyt3/Server-Testing-Commands-Freeze-Unfreeze - def-
80c4940 Merge pull request #7403 from Robyt3/Datafile-Writer-Refactoring - def-











