Topic: Need help compiling a minor change

Re: Need help compiling a minor change

greetings smile  the BMAX mod requires a MingW compiled DLL.  please post the modified code and i can recompile for you.

Re: Need help compiling a minor change

Ah cool, that would be cool if you can compile it, in the CIrrDeviceWin32.cpp it says to add the following line to the case WM_SYSCOMMAND: I can email the cpp file if you prefer but it was easy for me to find. What is the MingW dll is it possible for me to look and compile after looking into it or is it a purchased component?

I hope this will do what i want for now anyway, thanks
...
case WM_SYSCOMMAND:
    // prevent screensaver or monitor powersave mode from starting
    if ((wParam & 0xFFF0) == SC_SCREENSAVE ||
        (wParam & 0xFFF0) == SC_MONITORPOWER)
       
    {
    return 0;
    }
    else if ((wParam & 0xFFF0) == SC_KEYMENU) // added
    {
    return 0;
    }
   
    break;

...

Re: Need help compiling a minor change

Re: Need help compiling a minor change

Thanks mate and it even works like i was hoping smile next time I'll have a look at codeblocks and mingw see if i can work that out. You help is awesome though as is the BMax wrapper for irrlicht!