summaryrefslogtreecommitdiffstats
path: root/src/scripting/script.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-03-19 15:10:17 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-03-20 15:13:01 +0100
commit4059cb4fa545dda8b035a1033f5fefb99e978682 (patch)
tree37e526f9f80cbb9dda55ab19ae6d076c51c957da /src/scripting/script.h
parent318cb3a18ac4aa906b18ffd170bf0b1033c62d33 (diff)
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/scripting/script.h')
0 files changed, 0 insertions, 0 deletions