diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2011-03-19 15:10:17 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2011-03-20 15:13:01 +0100 |
commit | 4059cb4fa545dda8b035a1033f5fefb99e978682 (patch) | |
tree | 37e526f9f80cbb9dda55ab19ae6d076c51c957da /src/account-server/serverhandler.cpp | |
parent | 318cb3a18ac4aa906b18ffd170bf0b1033c62d33 (diff) | |
download | manaserv-4059cb4fa545dda8b035a1033f5fefb99e978682.tar.gz manaserv-4059cb4fa545dda8b035a1033f5fefb99e978682.tar.bz2 manaserv-4059cb4fa545dda8b035a1033f5fefb99e978682.tar.xz manaserv-4059cb4fa545dda8b035a1033f5fefb99e978682.zip |
Introduced separate functions for item database loading
This splits the huge ItemManager::reload() into readEquipSlotsFile() and
readItemsFile(), the latter of which is further split up into multiple
functions for reading the different elements.
Just to keep the amount of nesting down and increase the readability.
Removes the need for huge eye-catching comment blocks.
Reviewed-by: Freeyorp
Diffstat (limited to 'src/account-server/serverhandler.cpp')
0 files changed, 0 insertions, 0 deletions