mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
ISLE and mingw32 fixes (#18)
* ci: no need to do a final cd * MxDSAction has a setAtomId method * Implement the MxOmniCreateParamBase destructor inline Because of this, ISLE should no longer have to compile mxomnicreateparambase.obj. I didn't modify isle.mak, because I don't have the MSVC 4.20 GUI set-up. * Replace 256 with sizeof(...) * Format DefWndProc calls in WndProc * Replace magic mask in WNDPROC with macro's * Replace magic numbers in main.cpp with macro's * MOUSEMOVE notification id is 10 instead of 0x10 * Lowercase all windows includes such that mingw32 on Linux can find these * Convert ISLE/res/isle.rc to utf-8, and add a comma needed by mingw32 * mingw32 cannot use a enum without previous declaration * minor adjustments --------- Co-authored-by: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
This commit is contained in:

committed by
GitHub

parent
bba513c525
commit
6e18d1b41f
@@ -1,4 +1,4 @@
|
||||
#include <Windows.h>
|
||||
#include <windows.h>
|
||||
|
||||
// OFFSET: LEGO1 0x10091ee0
|
||||
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
||||
|
@@ -1,7 +1,9 @@
|
||||
#ifndef MXATOMID_H
|
||||
#define MXATOMID_H
|
||||
|
||||
enum LookupMode;
|
||||
enum LookupMode
|
||||
{
|
||||
};
|
||||
|
||||
class MxAtomId
|
||||
{
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#ifndef MXCRITICALSECTION_H
|
||||
#define MXCRITICALSECTION_H
|
||||
|
||||
#include <Windows.h>
|
||||
#include <windows.h>
|
||||
|
||||
class MxCriticalSection
|
||||
{
|
||||
|
@@ -47,6 +47,11 @@ public:
|
||||
int m_unk8c;
|
||||
int m_unk90;
|
||||
|
||||
void setAtomId(MxAtomId &atomId)
|
||||
{
|
||||
this->m_atomId = atomId;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
#endif // MXDSACTION_H
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#ifndef MXOMNICREATEPARAM_H
|
||||
#define MXOMNICREATEPARAM_H
|
||||
|
||||
#include <Windows.h>
|
||||
#include <windows.h>
|
||||
|
||||
#include "mxomnicreateflags.h"
|
||||
#include "mxomnicreateparambase.h"
|
||||
|
Reference in New Issue
Block a user