MCPcopy Create free account
hub / github.com/crossuo/crossuo / GetRender

Method GetRender

src/GameObjects/MapBlock.cpp:376–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

374}
375
376CRenderWorldObject *CMapBlock::GetRender(int x, int y)
377{
378 CRenderWorldObject *obj = Block[x][y];
379 while (obj != nullptr && obj->m_PrevXY != nullptr)
380 {
381 obj = obj->m_PrevXY;
382 }
383 return obj;
384}
385
386CMapObject *CMapBlock::AddObject(CMapObject *obj, int x, int y)
387{

Callers 8

ChangeSeasonMethod · 0.80
UpdateMaxDrawZMethod · 0.80
CalculateRenderListMethod · 0.80
AddLightMethod · 0.80
QFORFunction · 0.80
CreateItemsListMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected