SpriteDX9 Lib - New release - v0.58

Developed or developing a new product in PureBasic? Tell the world about it.
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

SpriteDX9 Lib - New release - v0.58

Post by va!n »

Deeém2031 from the german forum has released a new version of his SpriteDX9 library for PureBasic! If you are interested in some more infos, just take a look to the german forum: http://forums.purebasic.com/german/viewtopic.php?t=4528 or poste your comments/bugs here to help us... thanks...

Latest News - 13-November-2005 / 00:40
Here is an actual overview of all keywords in SpriteDX9 v0.58 - Download: http://www.deeem2031.de/PB/SpriteDX9.zip DOWNLOAD LINK !!!

BoxDX9(x,y,width,height,RGB)
CatchSpriteDX9(Buffer, Size)
CatchTextureDX9(Buffer, Size)
CheckResolutionDX9(depth, flags)
ClearScreenDX9(RGBColor)
CloseScreenDX9()
ColorFilterDX9()
ConvertColorDX9(*D3D9_DrawingBuffer,RGBA)
CreateSpriteDX9(width, height)
CreateTextureDX9(width,height)
DisplaySpriteDX9(hSprite,x,y)
DisplayTextureDX9(texture,x.f,y.f[,*DisplaySettings.DisplayTexture_Struc])
DrawingBufferStartDX9(*D3D9_DrawingBuffer)
DrawingBufferStartTextureDX9(*D3D9_DrawingBuffer,hTexture)
DrawingBufferPlotDX9(*D3D9_DrawingBuffer,x,y, RGBA[,flags])
DrawingBufferStopDX9()
DrawingBufferStopTextureDX9(hTexture)
DrawTextDX9()
FlipBuffersDX9()
FreeFontDX9()
FreeSpriteDX9(hSprite)
FreeTextureDX9(hTexture)
GetLineWidthDX9()]
InitSpriteDX9()
LineDX9()
LoadFontDX9()]
LoadSpriteDX9(Filename.s)
LoadTextureDX9(filename.s)
OpenScreenDX9(w,h,d,t.s)
RGBA(R,G,B,A)
SaveSpriteDX9(hTexture, Filename.s, Format)
SaveTextureDX9(hTexture, Filename.s, Format)
ScreenDX9Output()
SetAlphaBlendingDX9(enable,src,dest)
SetLineWidthDX9()]
StartDX9([flags])
StopDX9()



Whats new in version 0.58:
- SetTextureRotationCenterDX9() added
- ZoomTextureDX9() added
- RotateTextureDX9() added

Now Deeem2031 will try to solve the Alt+Tab problem and then he could start with 3D stuff ;-)


Whats new in version 0.579:
- LoadTexture() has been fixed and seems to work now!

LoadTextureDX9() works now, however Deeem2031 always still not reached the state he wanted to have for version 0.58! So here is 0.579 Smile! For changes since 0.57 just simple read the last postings. Only difference are the fixed LoadTextureDX9(), updated helpfile and resident file!

feedback is welcome ;)



Code: Select all

Just a small  example by  Deeem2031 for v0.56+:
----------------------------------------------------------

InitSpriteDX9()
InitKeyboard()

Debug CheckResolutionDX9(32,#PB_D3D_Windowed)

If OpenScreenDX9(800,600,32,OpenWindow(0,0,0,800,600,#PB_Window_ScreenCentered|#PB_Window_SystemMenu,":)"),#PB_D3D_Windowed|#PB_D3D_AlphaBlending)
  ;SetWindowPos_(WindowID(),#HWND_TOPMOST,0,0,0,0,#SWP_NOSIZE|#SWP_NOMOVE)
  hTexture = LoadTextureDX9("c:\link2.png") ;You should free the texture before you exit the program the library don't do it by itself (supports the following file formats: .bmp, .dds, .dib, .hdr, .jpg, .pfm, .png, .ppm, .tga)
  If hTexture = 0
    CloseScreenDX9()
    Debug "Couldn't load the texture!"
    End
  EndIf
  hTexture2 = CreateTextureDX9(256,256) ;You should free the texture before you exit the program the library don't do it by itself
  If hTexture2 = 0
    CloseScreenDX9()
    Debug "Couldn't create the texture!"
    End
  EndIf
 
  hSprite= LoadSpriteDX9("c:\link2.png")
  If hSprite = 0
    CloseScreenDX9()
    Debug "Couldn't load the sprite!"
    End
  EndIf
 
  If DrawingBufferStartDX9(hSprite, DrawingBuffer.D3D9_DrawingBuffer)
    For y = 0 To 56-1
      For x = 0 To 56-1
        DrawingBufferPlotDX9(DrawingBuffer,x,y,RGB(x*4,0,y*4))
      Next
    Next
    DrawingBufferStopDX9(hSprite)
  EndIf
 
  hTexture_DisplaySettings.DisplayTexture_Struc
  hTexture_Center.POINT
  hTexture_SrcRect.RECT
  ;ClipTexture...
  hTexture_SrcRect\top = 0
  hTexture_SrcRect\left = 0
  hTexture_SrcRect\bottom = 100
  hTexture_SrcRect\right = 100
  hTexture_DisplaySettings\pSrcRect = hTexture_SrcRect
  ;SetCenter...
  hTexture_Center\x = 50
  hTexture_Center\y = 50
  hTexture_DisplaySettings\pCenter = hTexture_Center
  ;I don't like red:
  hTexture_DisplaySettings\ColorFilter = $FF00FFFF ;Don't display the red channel (AARRGGBB)
 
 
  If DrawingBufferStartTextureDX9(hTexture2,@DrawingBuffer.D3D9_DrawingBuffer)
    Debug DrawingBuffer\PixelBuffer
    Debug DrawingBuffer\Pitch
    Debug DrawingBuffer\BytesperPixel
    For y = 0 To 256-1
      For x = y To 256-1
        DrawingBufferPlotDX9(DrawingBuffer,x,y,RGBA($FF,x,y,Random(255)))
      Next
      For x = 0 To y-1
        DrawingBufferPlotDX9(DrawingBuffer,x,y,$FFFFFFFF!RGBA($FF,x,y,$80)) ;Invert color
      Next
    Next
    DrawingBufferStopTextureDX9(hTexture2)
  EndIf
 
  alpha.f = 0.0
  Repeat
    alpha + 0.01
    ClearScreenDX9(RGBA(0,0,0,0))
    BoxDX9(5,5,600,400,RGBA(150,150,150,255))
    If DrawingBufferStartDX9(DrawingBuffer.D3D9_DrawingBuffer)
      Color = ConvertColorDX9(DrawingBuffer,RGBA(255,0,0,$FF))
      For y = 10 To 1*256-1
        For x = 10 To 2*256-1
          DrawingBufferPlotDX9(DrawingBuffer,x,y,Color,#PB_Plot_NoConvert)
        Next
      Next
      DrawingBufferStopDX9()
    EndIf
   
    SetAlphaBlendingDX9(#True,#D3DBLEND_SRCALPHA,#D3DBLEND_ONE) ;Default
    StartDX9() ;>
      DisplayTextureDX9(hTexture,100.0,600-Abs(500.0*Sin(alpha)),hTexture_DisplaySettings)
      DisplayTextureDX9(hTexture2,200.0,600-Abs(500.0*Sin(alpha)))
    StopDX9() ;<
    DisplaySpriteDX9(hSprite,Abs(500.0*Sin(alpha)),100)
    FlipBuffersDX9()
    DisableDebugger
    WE = WindowEvent()
    While WE
      If WE = #PB_Event_CloseWindow
        quit = 1
      EndIf
      WE = WindowEvent()
    Wend
    ExamineKeyboard()
  Until KeyboardPushed(#PB_Key_Escape) Or quit
  EnableDebugger
  FreeSpriteDX9(hSprite)
  FreeTextureDX9(hTexture)
  FreeTextureDX9(hTexture2)
  CloseScreenDX9()
Else
  Debug "OpenScreenDX9-Error"
EndIf

Last edited by va!n on Sun Nov 13, 2005 2:36 pm, edited 62 times in total.
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

Mmm, very nice. But here it doesn't work :?
Would be good if some lib like that was native for PB :wink:
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Post by va!n »

A new version of DirectX9 lib is out...

Version 0.2:
ADDED - CloseScreenDX9()
ADDED - LoadTextureDX9(filename.s)
ADDED - DisplayTextureDX9(texture,x.f,y.f)
ADDED - FreeTextureDX9(hTexture)
ADDED - StartDX9([flags])
ADDED - StopDX9()

Version 0.3:
ADDED - SetAlphaBlendingDX9()
Optional DisplaySetting-Parameter for DisplayTextureDX9()
Aphabendlings works now :D

Post your comments/bugs... ;)


Some DX9 related links (codes, tutorials)... Maybe for some people very informative or just only helpfull...

2D objects in Directx9 and tons of DX9 code snips like DrawLine (an english forum):
http://www.codesampler.com/phpBB2/viewtopic.php?t=263&

Texture based AlphaBlending in DX9 (great english forum)
http://www.codesampler.com/phpBB2/sourc ... ending.zip

Source for Drawing Circle with DX (english)
http://www.gamedev.net/community/forums ... _id=259860

Drawing Curce in DX (english forum, extra DX thread)
http://www.gamedev.net/community/forums ... _id=317269

Edit 25-Aug-2006:
Scale and Rotate Sprite with DX9 (german forum)
http://www.zfx.info/DisplayThread.php?MID=168122#168122

MS Sprite Draw Methode SDK:
http://msdn.microsoft.com/library/defau ... /draw0.asp

DirectX Text Engine:
http://www.gamedev.net/community/forums ... _id=212775

Some DX8 Examples/Sources: (english)
http://www.andypike.com/tutorials/directx8/

Very informative DX9 Tutorials for C++ / C# (english) +++++
http://www.drunkenhyena.com/cgi-bin/dx9.pl

Edit 26-August-2005
DX and OGL based SDK stuff... (german, IE only)
http://www.directx9.de/
Last edited by va!n on Fri Aug 26, 2005 11:11 am, edited 6 times in total.
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Post by va!n »

Psychophanta wrote:Mmm, very nice. But here it doesn't work :?
Would be good if some lib like that was native for PB :wink:
Mhhhh... have you tried the example codesnip? can you explain what happens and/or what does not works? thanks
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

va!n wrote:Mhhhh... have you tried the example codesnip? can you explain what happens and/or what does not works? thanks
Same error now with 0.3.
When debugger is enabled DisableDebugger command makes the program to stop.
When debugger is disabled program hangs.
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Post by va!n »

Psychophanta wrote:
va!n wrote:Mhhhh... have you tried the example codesnip? can you explain what happens and/or what does not works? thanks
Same error now with 0.3.
When debugger is enabled DisableDebugger command makes the program to stop.
When debugger is disabled program hangs.
Mhhhh.. strange... here on my system it works. Please dont run with debugger atm! Can you tell me, what return values you get for... InitSpriteDX9() and OpenScreenDX9(0,0,32,":)",#PB_D3D_AlphaBlending) ? Whats your system config? Thanks

Btw, have you tried to remove the DisableDebugger() command and tried to compile/run with disabled debugger? Or just try to replace PB_D3D_AlphaBlending with another mode...
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

va!n wrote:Can you tell me, what return values you get for... InitSpriteDX9() and OpenScreenDX9(0,0,32,":)",#PB_D3D_AlphaBlending) ?
Those commands can't be performed here because "invalid memory access" is returned every time.

va!n wrote:Whats your system config? Thanks
AMD Athlon64 3000+, winxppro sp2, ati radeon 9600 64MB, 60GB HDD, 512MB DDR
va!n wrote:have you tried to remove the DisableDebugger() command and tried to compile/run with disabled debugger?
Yes, it hangs :(
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Post by va!n »

Psychophanta wrote:Those commands can't be performed here because "invalid memory access" is returned every time.
Oh very strange! I will tell Deeem2031 this and inform you, when there are any news! ;-)

Btw, you own a Radeon9600 with 64MB only - not 128 or 256 MB ? (still wonder, because i have nearly the system like you but my card has 128 MB)
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Post by va!n »

Please test following two lines! If you get 0 as result, it should be ok as Deeem2031 wrote!

Code: Select all

  
X=InitSpriteDX9()
Debug X
Now test following... I think this causes your "invalid memory access" problem !?

Code: Select all

If OpenScreenDX9(0,0,32,":)",#PB_D3D_AlphaBlending)


Maybe you can help Deeem2031 a lot To fix the problem by doing following... Please create an executeable with OnError!
you have To add in the beginning of your program following Code...

Code: Select all

Procedure OnError()
  Protected Msg$
  
  Msg$ = "There was an error:"+Chr(13)+Chr(10)+Chr(13)+Chr(10)
  Msg$ + "Description: " + GetErrorDescription()+Chr(13)+Chr(10)
  Msg$ + "Addr: " + Str(GetErrorAddress())+Chr(13)+Chr(10)
  Msg$ + "Module: "+GetErrorModuleName()+Chr(13)+Chr(10)
  Msg$ + "LineNR: " + Str(GetErrorLineNR())+Chr(13)+Chr(10)
  Msg$ + "Total number of errors: "+Str(GetErrorCounter())+Chr(13)+Chr(10)+Chr(13)+Chr(10)
  Msg$ + "Continue program ?"
  SetClipboardText(Msg$)
  
  If MessageRequester("Error!",Msg$,16|#PB_MessageRequester_YesNo) = 6
    ProcedureReturn #True
  Else
    End
  EndIf
EndProcedure

OnErrorGosub(@OnError())

If this is done, you have To start the executeable And save the information returned by OnError!
(by the way we are using SetClipboardText(Msg$), you must only past the text (clipboard) To
any text/editor... If you did all this, Please zip your compiled Exe with the OnError report and send me!

Thanks!
Last edited by va!n on Tue Aug 30, 2005 9:15 pm, edited 2 times in total.
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

va!n wrote:Please test following two lines! If you get 0 as result, it should be ok as Deeem2013 wrote!

Code: Select all

  
X=InitSpriteDX9()
Debug X
Returns 0
va!n wrote:Now test following... I think this causes your "invalid memory access" problem !?

Code: Select all

If OpenScreenDX9(0,0,32,":)",#PB_D3D_AlphaBlending)
Not defined constant #PB_D3D_AlphaBlending
va!n wrote:If this is done, you have To start the executeable And save the information returned by OnError!
Sorry, but i made what you said and onerror didn't return any text, only windows saying mem address errors.
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Post by va!n »

Returning 0 is ok!

Sorry, you have to test something like...

Code: Select all

#PB_D3D_AlphaBlending   =$00000002
InitSpriteDX9()

If OpenScreenDX9(0,0,32,":)",#PB_D3D_AlphaBlending)
  MessageRequester("OK","OK",0)
Else
  MessageRequester("FAILED","FAILED",0)
EndIf
... it was my fault... we have to define the constant else it cant work ;)
Sorry, but i made what you said and onerror didn't return any text, only windows saying mem address errors.
Mhhhh... strange! What version of Windows/SP/DX are you using? Can you send me your files by email to twill@gmx.de, please? (i will try to test your exe on my system) - bad, that OnError dont return anything...

You can try to replace #PB_D3D_AlphaBlending by using...
#PB_D3D_CopyBuffer =$00000004 (does this works?)
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

DX9c

Error accessing mem addresses, always.
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Post by va!n »

Psychophanta wrote:DX9c
Error accessing mem addresses, always.
do you have "D3D9.DLL" in your system32 folder installed? I have send the infos to Deeem2031 and now we have to wait for his answer...
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
User avatar
Deeem2031
Enthusiast
Enthusiast
Posts: 216
Joined: Sat Sep 20, 2003 3:57 pm
Location: Germany
Contact:

Post by Deeem2031 »

I found the problem: You need the "d3dx9_24.dll" that include a peace of LoadTextureDX9(). So you need to download it (e.g. from http://www.dll-files.com/dllindex/dll-f ... l?d3dx9_24 ) and copy it into the System32 or your *.exe/Compiler-folder. Else you can wait for the Version 0.5 that only need the dll whether you call LoadTextureDX9()

Version 0.41:

Added: CheckResolutionDX9(depth, flags)
Flags for OpenScreen
#PB_D3D_Windowed (beta)
#PB_D3D_Software

Example:

Code: Select all

InitSpriteDX9() 
InitKeyboard() 

Structure D3DXVECTOR3 
  x.f 
  y.f 
  z.f 
EndStructure 

Structure DisplayTexture_Struc 
  pSrcRect.RECT 
  pCenter.D3DXVECTOR3 
  ColorFilter.l 
EndStructure 

#PB_D3D_TribleBuffering =$00000001 ;Don't work with #PB_D3D_CopyBuffer 
#PB_D3D_AlphaBlending   =$00000002 ;Don't work with StartDrawing/StopDrawing 
#PB_D3D_CopyBuffer      =$00000004 ;Don't work with #PB_D3D_TribleBuffering;#PB_D3D_AntiAliasing* 
#PB_D3D_AntiAliasing    =$00000008 ;Don't work with #PB_D3D_CopyBuffer 
#PB_D3D_AntiAliasing2   =$00000010 ;Don't work with #PB_D3D_CopyBuffer 
#PB_D3D_AntiAliasing3   =$00000020 ;Don't work with #PB_D3D_CopyBuffer 
#PB_D3D_AntiAliasing4   =$00000040 ;Don't work with #PB_D3D_CopyBuffer 
#PB_D3D_Windowed        =$00000080 
#PB_D3D_Software        =$00000100 

;Flags for StartDX9() 
#D3DXSPRITE_DONOTSAVESTATE               =(1 << 0) 
#D3DXSPRITE_DONOTMODIFY_RENDERSTATE      =(1 << 1) 
#D3DXSPRITE_OBJECTSPACE                  =(1 << 2) 
#D3DXSPRITE_BILLBOARD                    =(1 << 3) 
#D3DXSPRITE_ALPHABLEND                   =(1 << 4) 
#D3DXSPRITE_SORT_TEXTURE                 =(1 << 5) 
#D3DXSPRITE_SORT_DEPTH_FRONTTOBACK       =(1 << 6) 
#D3DXSPRITE_SORT_DEPTH_BACKTOFRONT       =(1 << 7) 

#D3DBLEND_ZERO            = 1 
#D3DBLEND_ONE             = 2 
#D3DBLEND_SRCCOLOR        = 3 
#D3DBLEND_INVSRCCOLOR     = 4 
#D3DBLEND_SRCALPHA        = 5 
#D3DBLEND_INVSRCALPHA     = 6 
#D3DBLEND_DESTALPHA       = 7 
#D3DBLEND_INVDESTALPHA    = 8 
#D3DBLEND_DESTCOLOR       = 9 
#D3DBLEND_INVDESTCOLOR    = 10 
#D3DBLEND_SRCALPHASAT     = 11 
#D3DBLEND_BOTHSRCALPHA    = 12 
#D3DBLEND_BOTHINVSRCALPHA = 13 
#D3DBLEND_BLENDFACTOR     = 14 
#D3DBLEND_INVBLENDFACTOR  = 15 

Debug CheckResolutionDX9(32,#PB_D3D_Windowed) 

If OpenScreenDX9(1600,1200,32,":)",#PB_D3D_Windowed) 
  SetWindowPos_(WindowID(),#HWND_TOPMOST,0,0,0,0,#SWP_NOSIZE|#SWP_NOMOVE) 
  ;ShowWindow_(WindowID(),#SW_NORMAL) 
  hTexture = LoadTextureDX9("c:\link2.png") ;You should free the sprite before you exit the program the library don't do it by itself (supports the following file formats: .bmp, .dds, .dib, .hdr, .jpg, .pfm, .png, .ppm, .tga) 
  If hTexture = 0 
    CloseScreenDX9() 
    Debug "Couldn't load the texture!" 
    End 
  EndIf 
  hTexture_DisplaySettings.DisplayTexture_Struc 
  hTexture_DisplaySettings\pSrcRect\top = 0 
  hTexture_DisplaySettings\pSrcRect\left = 0 
  hTexture_DisplaySettings\pSrcRect\bottom = 100 
  hTexture_DisplaySettings\pSrcRect\right = 100 
  hTexture_DisplaySettings\pCenter\x = 50 
  hTexture_DisplaySettings\pCenter\y = 50 
  hTexture_DisplaySettings\ColorFilter = $FF00FFFF ;Don't display the red channel (AARRGGBB) 
  
  SetAlphaBlendingDX9(#True,#D3DBLEND_SRCALPHA,#D3DBLEND_ONE) ;Default 
  
  Repeat 
    ClearScreenDX9(RGB(0,0,255)) 
    ;StartDrawing(ScreenDX9Output()) 
    ;For y = 0 To 100-1 
    ;  For x = 0 To 100-1 
    ;    Plot(x,y,$FF) 
    ;  Next 
    ;Next 
    ;StopDrawing() 
    StartDX9() ;> 
      DisplayTextureDX9(hTexture,100.0,100.0,hTexture_DisplaySettings) 
    StopDX9() ;< 
    FlipBuffersDX9() 
    DisableDebugger 
    ExamineKeyboard() 
  Until KeyboardPushed(#PB_Key_Escape) 
  EnableDebugger 
  FreeTextureDX9(hTexture) 
  CloseScreenDX9() 
Else 
  Debug "OpenScreenDX9-Error" 
EndIf
irc://irc.freenode.org/#purebasic
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Post by va!n »

Version 0.51 of SpriteDX9 has been released... (take a look to the first posting!)

Whats new in version 0.51:
- Debug-Routine For DrawingBufferPlotDX9()
- DrawingBufferPlotDX9() works now with 16bit And 24bit Modus (Thx To PureFan)
- Added ConvertColorDX9(rgb)(convert a given color To the format of the actual screen)
- optional Flag-Parameter For DrawingBufferPlotDX9()
-> #PB_Plot_NoConvert - writes the color directly into the memory, without converting it before
-> #PB_Plot_CheckRange - Examined whether x And y are in the valid range
- Added ResidentFile (-> New Link www.deeem2031.de/SpriteDX9.zip )
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
Post Reply