MCPcopy Create free account
hub / github.com/assaultcube/AC / getbuildtype

Function getbuildtype

source/src/client.cpp:481–497  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

479}
480
481int getbuildtype()
482{
483 return (isbigendian() ? 0x80 : 0 )|(adler((unsigned char *)guns, sizeof(guns)) % 31 << 8)|
484 #ifdef WIN32
485 0x40 |
486 #endif
487 #ifdef __APPLE__
488 0x20 |
489 #endif
490 #ifdef _DEBUG
491 0x08 |
492 #endif
493 #ifdef __GNUC__
494 0x04 |
495 #endif
496 0;
497}
498
499void sendintro()
500{

Callers 2

sendintroFunction · 0.85
retrieveserversFunction · 0.85

Calls 2

isbigendianFunction · 0.85
adlerFunction · 0.85

Tested by

no test coverage detected