Improved screen:pixel description, nw

This commit is contained in:
mooglyguy 2018-11-04 16:41:44 +01:00
parent 6c2328e286
commit 19ec3796ab

View File

@ -1742,7 +1742,7 @@ void lua_engine::initialize()
* screen:tag() - screen device tag
* screen:xscale() - screen x scale factor
* screen:yscale() - screen y scale factor
* screen:pixel(x, y) - get pixel at (x, y)
* screen:pixel(x, y) - get pixel at (x, y) as packed RGB in a u32
*/
sol().registry().new_usertype<screen_device>("screen_dev", "new", sol::no_constructor,