Help and information forum for programs, BlitzMax mods, and Unity scripts written by GMan.
For hobby gaming from GMan, visit G-Squared Games.
GMan's Mods & Stuff → Programming → Need help compiling a minor change
greetings the BMAX mod requires a MingW compiled DLL. please post the modified code and i can recompile for you.
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;
...
Thanks mate and it even works like i was hoping 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!
GMan's Mods & Stuff → Programming → Need help compiling a minor change
Powered by PunBB, supported by Informer Technologies, Inc.