Commit Graph

1521 Commits

Author SHA1 Message Date
Alex Szpakowski 2be3479989 Updated changelog 2013-06-17 15:52:44 -03:00
Alex Szpakowski 621124ac28 love.keypressed's second argument is now a unicode character string instead of a unicode codepoint number. 2013-06-17 15:23:53 -03:00
Alex Szpakowski cd97e9ec05 Added Image:getData, returns the original ImageData (or CompressedData) used to create the image 2013-06-17 13:43:40 -03:00
Alex Szpakowski 76618f0328 Cleaned up font code to always use uint32 instead of the slightly more ambiguous "unsigned int" for codepoints 2013-06-16 19:48:53 -03:00
Alex Szpakowski d48d1fd441 Exposed the internal Rasterizer and GlyphData object methods to Lua. Also added Font:hasGlyph. 2013-06-16 07:36:18 -03:00
Alex Szpakowski dd9cca1a55 Added Data:getString to GlyphData 2013-06-16 04:10:09 -03:00
Alex Szpakowski f25efcc8af Improved performance and reduced temporary memory usage of love.graphics.newScreenshot and Canvas:getImageData 2013-06-15 22:07:16 -03:00
Alex Szpakowski 15535517d6 love.graphics.setColorMask() with no arguments enabled all color components 2013-06-15 21:52:39 -03:00
Alex Szpakowski 0a1c90f2d7 Removed love.graphics.setLine and love.graphics.setPoint.
Both functions are redundant (setLineStyle+setLineWidth and setPointStyle+setPointSize do the same thing) and have misleading names.
2013-06-14 10:12:09 -03:00
Bart van Strien 5d2b20a662 Apply patch that fixes "random" looping of streaming sources (issue #630) 2013-06-14 14:12:28 +02:00
Alex Szpakowski 03f5bd9a5a Improved the performance of dds data loading (love.image.newCompressedData / love.graphics.newImage("myfile.dds")) 2013-06-14 08:43:07 -03:00
Alex Szpakowski be33d17f89 Added SpriteBatch:getColor 2013-06-14 05:29:05 -03:00
Alex Szpakowski 0f6980f82a Xcode project now compiles with -O3 for greater performance with the same binary size. Rejoice! 2013-06-13 23:36:57 -03:00
Alex Szpakowski 8718e064e0 Fixed love.graphics.print[f] truncating strings with embedded zeros 2013-06-13 17:37:14 -03:00
Alex Szpakowski 66b9b46846 Removed the love.joystickball event callback function 2013-06-12 06:30:00 -03:00
Alex Szpakowski 4b92c4bf4b Fixed old save directories not being removed from the filesystem search path properly when setIdentity is called 2013-06-12 00:54:46 -03:00
Alex Szpakowski 6b7eb35d8a Added love.visible(boolean visible) event callback 2013-06-11 20:15:55 -03:00
Alex Szpakowski d286f78ec7 Improved error messages when canvas/image creation fails because the size is too big for the system 2013-06-09 18:24:19 -03:00
Alex Szpakowski 0a36c41ba0 Removed support for BC7-compressed DDS images (only *very* modern systems support it right now); updated the ddsparse library 2013-06-09 16:31:02 -03:00
Alex Szpakowski 17c5ff56f1 Updated changelog 2013-06-09 02:49:30 -03:00
Alex Szpakowski 35984790e5 Added a way for love's reference-counted objects to be released more safely in some situations (e.g. setters) 2013-06-09 02:42:33 -03:00
Alex Szpakowski f253a016f6 Cleaned up love.run a bit 2013-06-08 19:56:36 -03:00
Alex Szpakowski b3990e89f9 Reverted accidental XCode project changes 2013-06-08 16:51:52 -03:00
Alex Szpakowski cd1a23c4ad Improved handling of (File)Data in love.graphics.newFont and love.thread.newThread 2013-06-08 16:50:13 -03:00
Alex Szpakowski 1afc47511c Fixed the graphics viewport not matching the window size when an unsupported fullscreen resolution is set 2013-06-08 08:35:16 -03:00
Alex Szpakowski c0998cd996 Fixed love.graphics.setScissor when love.graphics.setCanvas is called directly after a setScissor call 2013-06-07 03:31:30 -03:00
Alex Szpakowski 1482b13363 Fixed SpriteBatch:unbind 2013-06-01 23:18:28 -03:00
Alex Szpakowski da9675e424 SpriteBatch:addg can now take triangle Geometries 2013-06-01 14:56:00 -03:00
Alex Szpakowski 6fe1bfd5f9 Removed convex-check from Geometry:setVertex to prevent errors when re-ordering vertices 2013-06-01 04:00:54 -03:00
Alex Szpakowski 6c6cb270de Fixed Canvas:clear 2013-05-30 04:31:32 -03:00
Alex Szpakowski 6a76e082e4 Re-added love.graphics.getWidth/getHeight 2013-05-28 20:23:31 -03:00
Alex Szpakowski 252aa114a7 Fixed a potential error in the release errhand function 2013-05-27 16:18:38 -03:00
Bart van Strien b6c8a48c25 --disable-mpg123 needs the header conditionally included, too 2013-05-26 23:21:35 +02:00
Bart van Strien c99fb2fb99 Fix --disable-mpg123 by telling automake to not compile it, instead of using ifdefs 2013-05-26 22:34:04 +02:00
Bart van Strien 6bc4f7a34e Revision 1500 s/''/'/ on configure.ac, how fitting 2013-05-26 21:04:51 +02:00
Bart van Strien d8dfd62035 Rework configure.ac, clean up platform/unix 2013-05-26 17:45:14 +02:00
Bart van Strien 7b923dc75b On windows, open the console window before the main window, which should mean that the main window gets focus 2013-05-24 22:22:40 +02:00
Alex Szpakowski 005344dddd Codename Baby Inspector 2013-05-24 04:16:19 -03:00
Alex Szpakowski 0545138f1e Added ParticleSystem:isStopped (issue #623) 2013-05-24 02:21:47 -03:00
Alex Szpakowski 4dc2072fc6 Fixed error messages in functions where love.filesystem.newFile(Data) is called internally 2013-05-23 17:59:15 -03:00
Alex Szpakowski 7959158ffa love.audio.newSource now optionally accepts FileData (issue #624) 2013-05-23 14:03:58 -03:00
Alex Szpakowski 0c58d5d46a Added ParticleSystem:isPaused (issue #623) and removed ParticleSystem:isEmpty/isFull (issue #621) 2013-05-23 13:42:29 -03:00
Alex Szpakowski 0e9d73503c Stencil buffers are now created and attached to canvases on-demand, instead of always on canvas creation.
saves VRAM when stencils aren't used in canvases.
2013-05-22 23:08:21 -03:00
Alex Szpakowski ac094f9437 Fixed love.graphics.newScreenshot to always read from the main framebuffer, even when a canvas is bound 2013-05-22 19:18:11 -03:00
Alex Szpakowski 0b71fa1483 Added SpriteBatch:getCount and SpriteBatch:getBufferSize, and removed SpriteBatch:isEmpty/isFull. 2013-05-22 18:44:40 -03:00
Alex Szpakowski 264948690c Renamed BlendMode "none" to "replace" and updated changelog 2013-05-22 04:26:29 -03:00
Alex Szpakowski eaf69aead1 Renamed love.window.setTitle back to love.window.setCaption
Previous rename was unnecessary
2013-05-21 22:24:51 -03:00
Alex Szpakowski 123889dfed Converted code for Shader:send from Lua to C++ 2013-05-21 20:41:26 -03:00
Alex Szpakowski 89265107ea Fixed SpriteBatch:addg/setg to error properly instead of crash when attempting to use a Geometry without exactly 4 vertices 2013-05-20 14:47:37 -03:00
Bart van Strien 167d3183b9 Rename SpriteBatch:setq to setg 2013-05-20 19:04:27 +02:00