diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2017-05-20 15:07:01 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2017-05-21 15:47:12 +0200 |
commit | 722be544c902554eea7e3a035c1ffe344a114dab (patch) | |
tree | 62a02e298ad373318bae50f0b9e108d97b68795d /src/ui/ui_syscalls.asm | |
parent | a77f4c3465d90b774a30c5ef2db3f57ff21c4e01 (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/ui/ui_syscalls.asm')
0 files changed, 0 insertions, 0 deletions