1
Projects / Re: Just a quickie...
« on: January 06, 2021 »
Here you go then ttemper. The commented source for the Airbus cracktro with ripped music and gfx. Load up into PB and run, x86 only for the OSME though.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Import "msimg32.lib"
TransparentBlt( hdcDest, nXOriginDest, nYOriginDest, nWidthDest, hHeightDest, hdcSrc, nXOriginSrc, nYOriginSrc, nWidthSrc, nHeightSrc, crTransparent )
EndImport
ProcedureDLL KK_DrawTransparentImage(DestImage,SourceImage,xdest,ydest,transcol)
hdcSrc2 = CreateCompatibleDC_(DestImage)
SelectObject_(hdcSrc2, ImageID(SourceImage))
TransparentBlt(DestImage,xdest,ydest,ImageWidth(SourceImage),ImageHeight(SourceImage),hdcSrc2,0,0,ImageWidth(SourceImage),ImageHeight(SourceImage),transcol)
DeleteDC_(hdcSrc2)
EndProcedure
Does it have dependencies (dll's)The only dll it uses is the sndh replay which also reads the 3 sound channels which is windows only I'm afraid.
Would be cool if I can check this on my g4-ppc 10.3.9 osx purebasic environment.