This is my first DB plugin that actually does anything useful, so there may be a couple of bugs.
Here is the command list:
Quote: "
dbGradient : return byte = (byte colour1, byte colour2, byte gradient)
dbLock image : Int ID, int x, int y, int width, int height
dbUnlock image : Int ID
dbImage point32 : return dword = (Int ID, int x, int y)
dbGet image pointer : Int ID
dbVariable space : return dword = (*No parameters*)
dbGet window : return dword = (*No parameters*)
dbGet icon : return byte = (*No parameters*)
dbGet image pitch : return int = (Int ID)
dbImage locked : return boolean = (Int ID)
dbID internal image : return int = (Dword Index)
dbLocked image count : return dword = (*No parameters*)
dbLocked area left : return int = (Int ID)
dbLocked area top : return int = (Int ID)
dbLocked area right : return int = (Int ID)
dbLocked area bottom : return int = (Int ID)
dbImage dot32 : Int ID, dword colour, int x, int y, byte mode
dbSet object x : Float x
dbSet object y : Float y
dbSet object z : Float z
dbObject scale x : return float = (Int ID)
dbObject scale y : return float = (Int ID)
dbObject scale z : return float = (Int ID)
"
Its main feature is that you can now edit images very quickly, and with cool effects
The image dot command is about 10 times faster than the DBPro bitmap dot command, even though the bitmaps were made for editing, and the images weren't
(20,000 image dot commands with special effects takes <90ms)
One pretty random function, that I put in for the hell of it, was the dbVariable space function. It returns a pointer to the actual place in memory where DB stored all of your variables.
Help files and everything are included in the download, just extract it into your DBP folder
If you download it, please tell me what you think. (Please take into account this is my first proper plugin lol
)
edit:
If your wondering why its called dbFuncts, my initials are DB