summary refs log tree commit diff stats
path: root/tools/mapedit/src
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2018-05-08 18:38:28 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2018-05-09 17:59:13 -0400
commit96e6f3231aed9919d660a06944f1d96dc8241f8e (patch)
treeb2e633e7df6e0251afeec8a84a69be7b5944b175 /tools/mapedit/src
parent296a1c3aa0bdb27e7ee9b53f0382938d0fe6d1a0 (diff)
downloadtherapy-96e6f3231aed9919d660a06944f1d96dc8241f8e.tar.gz
therapy-96e6f3231aed9919d660a06944f1d96dc8241f8e.tar.bz2
therapy-96e6f3231aed9919d660a06944f1d96dc8241f8e.zip
Started refactoring collision detection to use directional functor
Because there was a lot of code replication with collision detection, this new implementation uses a functor that takes a parameter object describing the things that are different between the four directions. This allows the collision detection code to be writen only once. It's currently very ugly, but should work identically to before.
Diffstat (limited to 'tools/mapedit/src')
0 files changed, 0 insertions, 0 deletions