rxi
d0c361a451
Updated copyright year; 2016 -> 2017
2017-01-13 22:40:12 +00:00
rxi
3de597d997
Began separating lua bindings, moved to src/modules dir
2016-10-15 15:01:36 +01:00
rxi
4f771230fb
Replaced use of lua_opt/checkint(eger) with lua_opt/checknumber
...
Using lua_check/opt/tonumber() assures a non-integer number is floored
when cast to an int, in contrast to lua_tointeger() which is "truncated
in some non-specified way."
2016-10-14 21:48:25 +01:00
rxi
0559ff7af7
Changed Image to load using filesystem
2016-09-29 19:22:45 +01:00
rxi
79da745e2e
Changed Image:getPixel/setPixel to use rgb colors
2016-09-26 21:04:47 +01:00
rxi
030695e0db
Removed Image:mapPixel(), updated doc/api.md
2016-09-26 20:33:58 +01:00
rxi
eee7fccb82
Renamed palette_colorIdx -> palette_colorToIdx
2016-09-26 20:14:17 +01:00
rxi
17d17a80df
Fixed red and blue channels being swapped in palette.c
2016-09-22 19:59:59 +01:00
rxi
b42866dbe8
Updated copyright year
2016-09-22 19:31:05 +01:00
rxi
2d9652945c
Improved color palette error in image.c
2016-09-22 19:29:01 +01:00
rxi
a285efbc3d
Changed image_init() to use stb_image and palette functions
2016-09-22 19:18:50 +01:00
rxi
0900563e67
Fixed color argument of l_image_setPixel()
2014-06-15 13:57:44 +01:00
rxi
cdd2d67c7d
Fixed default color in image.c to match graphics.c
2014-06-13 21:31:54 +01:00
rxi
f34b4f8beb
Intial commit
2014-06-13 21:01:19 +01:00