Reply To: MWEdit

Home Forums Projects MWEdit Reply To: MWEdit

#5162

The Windows API has most of its type-defs and macros in three main files: windef.h, winnt.h, and winuser.h. It’s mostly a matter of searching that list for those specific ones and adding the correct header(s). 🙂 The other symbols (the classes and structs) require more work to track down, partly because search engines have gotten so bad that they can’t understand what you’re looking for anymore.

Edit:

I just attached the diff between 0.6.3 and 0.7.0 so that we don’t lose sight of the crash that was introduced as the code is overhauled and so that others can share insight.

Edit 2:

Just added an item to the tracker for the visual style support. Feel free to add to it! 🙂

Edit 3:

Went ahead and reached out regarding TES3Gecko. Now to get back to fixing up the includes.

Edit 4:

ui/journal_dlg.cc is missing:

void GetFuncData(const int Index, int &FuncIndex);
void SetFuncData(const int Index, CEsmSubSCVR *pFuncData, CEsmSubRecord *pValue);

It’s unclear whether or not these were meant to be defined in the source or if they were included in the header by mistake. If the latter, they can be removed. If the former, we’ll want to implement them. The only comment for them is for the two functions above them that get and set the control data, which are implemented in the source.