














CNetObj_DDNetPlayer



CNetObj_DDNetGameInfo








(cd abc; cmd1) | (cd def; cmd2)





pSelf->m_World.m_Core.m_apCharacters[Victim]->m_Super is the same as pChr->Core()->m_Super, right?GameServer()->m_World. instead of GameWorld()->?






CCharacterCore *pChr and CCharacter *pChrCCharacterInfo

pCore
pCharCore







(GameServer()->Collision()->GetCollisionAt(m_Pos.x, m_Pos.y) == TILE_DEATH)



CCharacter *p = (CCharacter *)GameServer()->m_World.FindFirst(ENTTYPE_CHARACTER);












GameServer()->m_World.m_Core.m_apCharacters[m_pPlayer->GetCID()] = 0;
is in character.cpp, should be okay to use m_Core = 0;?










CGameworld.m_Core is the CWorldCore, CCharacter.m_Core is CCharacterCore


























CCharacter::GetCore() looks wrong btw, it seems to return a copy of the core






git blame

















std::string CResourceManager::LoadFile(std::string path)
{
std::ifstream t(path);
std::string str((std::istreambuf_iterator<char>(t)),
std::istreambuf_iterator<char>());
t.close();
return str;
} isnt it beutiful












std::vector<unsigned char> CResourceManager::LoadBinaryFile(std::string path)
{
std::ifstream t(path, std::ios::binary);
return std::vector<unsigned char>(std::istreambuf_iterator<char>(t), {});
} @Learath2 


using namespace std;






















+2147483647 is the max int for c+






