Modules/Texturizer: Difference between revisions
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
===Windows=== | ===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: | |||
<syntaxhighlight lang="xml"> | <syntaxhighlight lang="xml"> | ||
<module src="Texturizer.dll" /> | <module src="Texturizer.dll" /> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
# Restart server. | |||
==Functions== | ==Functions== |
Revision as of 01:34, 30 December 2010
Module info | |
Name | Texturizer |
Version | 0.91 |
Author | Jyrno |
Module website | Not available |
Download link | N/A |
License | GNU LPGL 1.0 |
Written in | {{{written_in}}} |
Operating system | {{{operating_system}}} |
Compatible with | {{{compatible_with}}} |
Texturizer is a module which provides TXD libary writing and GD functions to MTASA server. It will be 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" />
- Restart server.
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