barzerman / barzer

barzer engine code
MIT License
2 stars 0 forks source link

add extra indexing capability #586

Open barzerman opened 11 years ago

barzerman commented 11 years ago

alter barzer_beni.cpp SmartBENI::addEntityFile to make it optionally skip d_universe.setEntPropData( ent.getEuid(), name.c_str(), relevance, true ); this is needed in order to allow indexing entities by extra strings

0xd34df00d commented 11 years ago

I think setting entity prop data should just be moved outside SmartBENI::addEntityFile() — the calling code has better context and knowledge.

Won't you object if I take this over?