From a7c50a3080e55a6cf11175a60121696de7393dba Mon Sep 17 00:00:00 2001 From: Robert Zenz <Robert.Zenz@bonsaimind.org> Date: Sat, 2 Jan 2016 22:14:09 +0100 Subject: [PATCH] Made it more clear that "[combine" does accept a list of files. --- doc/lua_api.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index b713b68bf..37d0aaabc 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -264,15 +264,15 @@ Example: default_cobble.png^[crack:10:1 -#### `[combine:<w>x<h>:<x1>,<y1>=<file1>:<x2>,<y2>=<file2>` +#### `[combine:<w>x<h>:<x1>,<y1>=<file1>:<x2>,<y2>=<file2>:...` * `<w>` = width * `<h>` = height -* `<x1>`/`<x2>` = x positions -* `<y1>`/`<y1>` = y positions -* `<file1>`/`<file2>` = textures to combine +* `<x>` = x position +* `<y>` = y position +* `<file>` = texture to combine -Create a texture of size `<w>` times `<h>` and blit `<file1>` to (`<x1>`,`<y1>`) -and blit `<file2>` to (`<x2>`,`<y2>`). +Creates a texture of size `<w>` times `<h>` and blits the listed files to their +specified coordinates. Example: -- GitLab