Skip to content

Commit

Permalink
[HaRepacker+HaCreator] combined the WzFileManager of both projects in…
Browse files Browse the repository at this point in the history
…to a unified class

- Lots of testing & cleanup to do still... will refractor at a later date
- Fix wzfilemanager -- 64 bit needs to be automatically detected
  • Loading branch information
lastbattle committed Dec 10, 2022
1 parent b0f160a commit dbc2061
Show file tree
Hide file tree
Showing 37 changed files with 1,244 additions and 1,187 deletions.
3 changes: 2 additions & 1 deletion HaCreator/CustomControls/MapBrowser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
using System.Threading.Tasks;
using System.Windows.Threading;
using HaCreator.GUI;
using HaSharedLibrary.Wz;

namespace HaCreator.CustomControls
{
Expand Down Expand Up @@ -207,7 +208,7 @@ private void mapNamesBox_SelectedIndexChanged(object sender, EventArgs e)
{
string mapid = (selectedName).Substring(0, 9);

WzImage mapImage = Program.WzManager.FindMapImage(mapid);
WzImage mapImage = WzInfoTools.FindMapImage(mapid, Program.WzManager);
if (mapImage == null)
{
panel_linkWarning.Visible = false;
Expand Down
1 change: 1 addition & 0 deletions HaCreator/GUI/EditorPanels/CommonPanel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
using HaCreator.CustomControls;
using HaCreator.MapEditor;
using HaCreator.Wz;
using HaSharedLibrary.Wz;
using MapleLib.WzLib.WzStructure.Data;
using System;
using System.Collections.Generic;
Expand Down
Loading

0 comments on commit dbc2061

Please sign in to comment.