summaryrefslogtreecommitdiff
path: root/src/tools/lcc
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-05-20 15:07:01 +0200
committerPaweł Redman <pawel.redman@gmail.com>2017-05-21 15:47:12 +0200
commit722be544c902554eea7e3a035c1ffe344a114dab (patch)
tree62a02e298ad373318bae50f0b9e108d97b68795d /src/tools/lcc
parenta77f4c3465d90b774a30c5ef2db3f57ff21c4e01 (diff)
Reorder BG tables and rewrite BG_Find* functions.
This commit reorders entries in the weapon, building, class, and upgrade tables, so that the order matches the respective enums. This commit also rewrites most BG_Find* functions to take advantage of this and avoid linear searches.
Diffstat (limited to 'src/tools/lcc')
0 files changed, 0 insertions, 0 deletions