tonihele / OpenKeeper

Dungeon Keeper II remake
GNU General Public License v3.0
428 stars 41 forks source link

Improve lookup #424

Closed tonihele closed 1 year ago

tonihele commented 1 year ago

Use matrix instead of map for the storing the entity positions and pre-init all the matrix locations for constant access times. Also decreases the code indentation in places.

tonihele commented 1 year ago

Yeah, DeepSource is again right. We should tackle the exceptions at some point....

tonihele commented 1 year ago

Hmm, GH bug. This is merged but the status is all wrong. Github has a concurrency bug I'm sure...