Commit Graph

15 Commits

Author SHA1 Message Date
rxi 61d6f9524e Removed all default value sets in graphics, added call to reset()
All love.graphics state settings are now set to their default by a
single call of love.graphics.reset() when the love.graphics module is
loaded. This means the default value for each love.graphics setter is
now located in the corresponding set function.
2014-06-14 18:07:41 +01:00
rxi d8758b7ba9 Added love.graphics.reset() 2014-06-14 18:03:28 +01:00
rxi bd1afc184a Added onLuaPanic() function to main.c 2014-06-14 16:27:42 +01:00
rxi 70fdd2ed1a Removed redundant graphics funcs and graphics.h 2014-06-14 16:17:59 +01:00
rxi ac6c57220e Neatened l_graphics_setCanvas and _setFont() 2014-06-14 16:10:00 +01:00
rxi 01e09e3294 Changed screen canvas to be real lua object
The screen canvas can now be accessed by using love.graphics.getCanvas()
when it is set.
2014-06-14 16:01:59 +01:00
rxi fb2622bd81 Changed default font to be real lua object
The default font is now created as a real lua object and added to the
lua registry under the address of its struct pointer. The
love.graphics.getFont() function can now be used to retrieve the default
font.
2014-06-14 15:40:39 +01:00
rxi 2d48b5eae1 Made filename argument optional in love.graphics.newFont() 2014-06-14 15:16:07 +01:00
rxi 664ffe979c Moved graphics_initDefaultFont functionality -> font_initEmbedded 2014-06-14 14:14:09 +01:00
rxi cb56dad31b Changed love module to init all classes before anything else 2014-06-14 13:59:56 +01:00
rxi be2a788b05 Added support for non-string values to love.graphics.print() 2014-06-14 13:53:26 +01:00
rxi 4c734fd3c3 Version 0.1.1 2014-06-13 21:37:36 +01:00
rxi cdd2d67c7d Fixed default color in image.c to match graphics.c 2014-06-13 21:31:54 +01:00
rxi c1fc37373e Version 0.1.0 2014-06-13 21:02:57 +01:00
rxi f34b4f8beb Intial commit 2014-06-13 21:01:19 +01:00