apocalyptech / eschalon_utils

Eschalon Books I, II, and III Character and Map Editors
http://apocalyptech.com/eschalon/
GNU General Public License v2.0
8 stars 3 forks source link

Ensure that gamedir changes in preferences get propagated properly #28

Open apocalyptech opened 10 years ago

apocalyptech commented 10 years ago

When launching the Character Editor, if the datapak isn't found, you'll have the option to find it. It looks like once you've done so, graphics remain not loaded (for items, avatar, etc). If you quit and go back in, they'll then load fine.

apocalyptech commented 10 years ago

Additionally, look into what actually happens when the gamedir is changed mid-session. We should be calling EschalonData.set_gamedir() when it does, reloading things as appropriate, and behaving usefully in terms of errors if things aren't quite right. This will probably end up touching different code than the case above, but the two are at least logically related.

apocalyptech commented 10 years ago

Another thing to be sure to reload when the gamedir changes: MapGUI.global_item_name_store

Edit: Another - MapGUI.entitytable