Modules/Texturizer
Jump to navigation
Jump to search
Module info | |
Name | Texturizer |
Version | 0.91 |
Author | Jyrno and JoRX |
Module website | Not available |
Download link | Here Mirror |
License | Unlicensed |
Written in | C++ |
Operating system | Windows only |
Compatible with | 1.0.4 |
Texturizer is a module which provides TXD libary writing and GD functions to MTASA server. It is currently available Windows only, however since the build system is CMake it should be pretty simple to use it on another platforms.
Installation
Windows
- Uncompress the file Texturizer.dll into your %PROGRAMFILES%\MTA San Andreas\server\mods\deathmatch\modules\ directory.
- Uncompress the GD libary binary bgd.dll and libpng14.dll into your %PROGRAMFILES%\MTA San Andreas\server\ directory.
- Then, add the following line in mtaserver.conf:
<module src="Texturizer.dll" />
Now all you have to do is start your server.
Also Recommended:
- Uncompress the texturizer resource to your %PROGRAMFILES%\MTA San Andreas\server\mods\deathmatch\resources\ directory.
- Then, add the following line in mtaserver.conf:
<resource src="texturizer" startup="1" protected="0" />
This provides automatic memory cleanup when you forget to destroy images some resource used on it's unload.
Functions
Texture Functions
GD Functions
Create
Info
Save
Cleanup
Alter
- imageGetAlphaBlending
- imageSetAlphaBlending
- imageGetAntiAlias
- imageSetAntiAlias
- imageGetInterlace
- imageSetInterlace
- imageGetSaveAlpha
- imageSetSaveAlpha
Color
- imageColorAllocate
- imageColorAllocateAlpha
- imageColorClosest
- imageColorClosestAlpha
- imageColorExact
- imageColorExactAlpha
- imageColorResolve
- imageColorResolveAlpha
- imageGetColorAt
- imageSetColorAt
- imageColorDeallocate
- imageColorsTotal
- imageColorSpecial
Text
- imageFontHeight
- imageFontWidth
- imageChar
- imageCharUp
- imageString
- imageStringUp
- imageTtfText
- imageTtfBBox
Draw