luciusDXL / TheForceEngine

Modern "Jedi Engine" replacement supporting Dark Forces, mods, and in the future Outlaws.
https://TheForceEngine.github.io
GNU General Public License v2.0
946 stars 71 forks source link

Change function name #396

Closed jerethk closed 3 months ago

jerethk commented 3 months ago

Change function name from sector_canWallMove to sector_isWallBlockedByPlayer

I assume the name is one that you chose during RE and didn't come from the actual LEC code I was just finding it a bit difficult to reason about what the function does with its existing name :-)

An even more accurate name would probably be isMovingWallBlockedByPlayer (or isWallMovementBlockedByPlayer) but that's getting a bit long, happy for you to decide!

jerethk commented 3 months ago

or maybe even doesMovingWallCollideWithPlayer ?