TILE_NPC_x
stand? (edited)TILE_BONUS
, looks like its empty tilekill
?END/START
and another with DISABLE/ENABLE
, so, I just replaced all END/START
with DISABLE/ENABLE
.
Also, I renamed TILE_BONUS
and TILE_PENALTY
, because you need to check the variables' declarations/references for understanding their purposes.RenderGlyph
more than expected. for the same sentence it called RenderGlyph
double than what I've called in mine for some reason.perf
seems to be the gold standard. For a JIT/VM like one there is no beating valgrind
perf record -g -p <pid>
and perf report
to display it worked great for meif(m_vBans.size() > somearbitraryconstantwebenchmarkfor) bsearch(m_vBans); else lsearch(m_vBans);
Grow
is pretty stupid