Modules/Texturizer: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Module_Info| | {{Module_Info| | ||
name = Texturizer | | name = Texturizer | | ||
version = 0. | version = 0.91 | | ||
author = [[User:Jyrno|Jyrno]] | | author = [[User:Jyrno|Jyrno]] | | ||
module_website = ''Not available'' | | module_website = ''Not available'' | | ||
Line 10: | Line 10: | ||
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. | 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. | ||
__TOC__ | __TOC__ | ||
==Installation== | ==Installation== | ||
===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. | * 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. | |||
* Restart server. | |||
Then, add the following line in mtaserver.conf: | Then, add the following line in mtaserver.conf: | ||
Line 27: | Line 28: | ||
[[Category:Modules]] | [[Category:Modules]] | ||
Revision as of 01:33, 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.
- Restart server.
Then, add the following line in mtaserver.conf:
<module src="Texturizer.dll" />
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