Made it more clear that "[combine" does accept a list of files.
authorRobert Zenz <Robert.Zenz@bonsaimind.org>
Sat, 2 Jan 2016 21:14:09 +0000 (22:14 +0100)
committersfan5 <sfan5@live.de>
Sun, 3 Jan 2016 00:05:04 +0000 (01:05 +0100)
doc/lua_api.txt

index b713b68bf1ee2bbf7f6ca3cc2379dabc1b40f749..37d0aaabc8905e788e6216d36f2a04662c44b7c3 100644 (file)
@@ -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: