Commit Graph

768 Commits

Author SHA1 Message Date
Bart van Strien 190e11d016 Move wrapping to Font::getWrap and make printf use that (fixes issue #230) 2011-09-03 14:31:31 +02:00
Bart van Strien f9084c4625 Thread:getKeys needs to return a 1-indexed table 2011-08-31 12:28:56 +02:00
Bart van Strien cc7b6431eb Change default segments for l.g.circle to max(10, r) 2011-08-31 12:13:06 +02:00
Bart van Strien 3d1fac07b2 Switch love.timer.sleep to seconds 2011-08-28 17:12:59 +02:00
Bart van Strien 0d174cfb81 Fix compiler warnings 2011-08-26 12:48:57 +02:00
Bart van Strien 5c43ba2779 More float quad work (issue #285) 2011-08-25 14:06:50 +02:00
Bart van Strien b14ca78109 Add string mapping for spritebatch usage parameter (issue #264) 2011-08-24 12:11:08 +02:00
Bart van Strien f0dad41f39 Switch quads over to floats instead of ints (issue #285) 2011-08-24 09:58:16 +02:00
Bart van Strien ceab3f7a44 Catch exceptions thrown while encoding image data (issue #282) 2011-08-22 18:07:50 +02:00
Bart van Strien efb04ab27c Add love.thread.getKeys (issue #276) 2011-08-22 18:05:09 +02:00
Bart van Strien 09367dc3bd Make love loaders the first 2, preventing lua loaders from loading the wrong files (issue #283) 2011-08-22 18:04:19 +02:00
Bart van Strien 515596d389 Ehm, unsigned double.. sure.. 2011-08-13 15:38:03 +02:00
Bart van Strien 73d062e8fe Check if SoundData can allocate the memory and limit maximum size to INT_MAX 2011-08-13 15:30:29 +02:00
vrld ec2cf3fbe9 Rename Mask to Stencil 2011-08-12 15:31:48 +02:00
vrld cbe2d12db7 Use singular in l.g.isSupported() 2011-08-12 15:11:04 +02:00
vrld af1e8761fa Change l.g.isSupported('framebuffer') to l.g.isSupported('canvas') 2011-08-12 14:45:55 +02:00
vrld 28b4008797 Rename Framebuffer to Canvas (issue #263). Move error reporting code.
Error reporting now resides in Graphics::newCanvas() instead of the
previous location wrap_newFramebuffer(). Changed error text for
"Error in implementation" to point to a possible fix.
2011-08-12 14:41:18 +02:00
Bart van Strien 59a407bc6d Add second loader for binary modules 2011-08-12 13:49:49 +02:00
rude 873a99aba1 Add missing #include in VertexBuffer.cpp. 2011-08-12 13:38:42 +02:00
rude 480f936815 Added 'VertexBuffer' abstraction. SpriteBatches are now always supported.
Also improved memory usage in SpriteBatch. (No need to retain full copy of
sprites in memory. Can read that data back later to save data from OpenGL
context destruction).
2011-08-12 11:35:14 +02:00
Bart van Strien c47a7c563b REALLY fix stopping sources 2011-08-08 16:26:38 +02:00
Bart van Strien 0b0d8fe3e5 Unbreak stop (issue #250) 2011-08-08 15:54:43 +02:00
Bart van Strien 3da5b3fd46 Make the eof code compile on windows 2011-08-08 15:32:34 +02:00
Bart van Strien 7e06aebf66 Work around PhysicsFS eof bug on windows (issue #272) 2011-08-07 18:23:07 +02:00
Bart van Strien 03f60e2bf3 Unbuffer when rewinding streaming sources (bug #250) 2011-08-07 13:54:36 +02:00
Bart van Strien d3280ae55b Fix segfault in lines_i 2011-08-06 17:14:52 +02:00
Bart van Strien a79231f9f9 Catch exception in lines 2011-08-06 16:54:04 +02:00
Bart van Strien eae6c0ff85 Remove duplicate lines_i, finally fix leak (issue #271) 2011-08-06 16:51:33 +02:00
Bart van Strien fdc56e7e73 Fix File:getSize crashing for a non-existent file 2011-08-06 14:44:49 +02:00
Bart van Strien 4165ac7e66 Add love.event.quit 2011-08-06 14:22:00 +02:00
Bart van Strien 620d359331 Add getRenderTarget (issue #257) 2011-08-06 14:16:28 +02:00
Bart van Strien 416370b595 Improve Source controls 2011-08-06 14:02:37 +02:00
Bart van Strien defd6c5ee4 Attempt to close open files when File objects are destroyed 2011-08-06 13:42:57 +02:00
Bart van Strien e4f398604b Fix spelling misstake in setGrab wrapper 2011-08-06 13:39:54 +02:00
Bart van Strien 9ed5906416 Fix lines iterator not closing opened files 2011-08-06 13:36:22 +02:00
Bart van Strien 69f12bf899 Another fix for seeking in audio sources 2011-08-05 12:29:42 +02:00
rude 9a4b921605 Particles now have fixed origin. (ParticleSystem::SetPosition will only affect
new particles, and existing particles will not gravitate against the new point).

This is another requirement to implement ParticleSystem in GLSL.
2011-07-24 18:47:13 +02:00
rude 1274b5d55a Do not allow more than eight sizes and colors in ParticleSystem. This makes it
less impossible to implement ParticleSystem as a vertex shader in the future.
2011-07-24 18:40:22 +02:00
rude e1d1ebb2f1 Fix warnings in MSVC 2010. 2011-07-24 18:32:11 +02:00
Bart van Strien 3c5c4ee604 Add SpriteBatch support to love.graphics.isSupported 2011-07-24 15:37:02 +02:00
Bart van Strien bd2b190a19 Add love.graphics.isSupported
Replaces love.graphics.hasPixelEffects and also does framebuffer support.

Also fixed 4 compiler warnings.
2011-07-24 15:21:52 +02:00
vrld 7b6836466e Add missing files 2011-07-24 14:08:11 +02:00
vrld 24a52f056b Add pixel effects (love-glsl) 2011-07-24 14:03:46 +02:00
Bart van Strien 9c11bfa236 Resolve memory leak in sources 2011-07-24 13:51:24 +02:00
Bart van Strien c924d17de9 Another small fix to the tell 'counting' 2011-07-23 19:57:19 +02:00
Bart van Strien e72f84e7fd Don't reset song counter (for tell) when the decoder loops, but when the song does (bug #251) 2011-07-23 17:49:48 +02:00
rude 387a8ab2dc Issue #262: Add per-sprite colors. 2011-07-23 17:12:29 +02:00
Bart van Strien 5192215122 Fix seek and tell on streaming sounds (bugs #250 and #251) 2011-07-22 16:20:51 +02:00
vrld b1c5b948c3 Fix issue #259: oy ignored in love.graphics.drawq 2011-07-18 02:07:46 +02:00
Bart van Strien 94d16c095c Always check if the fsaa succeeded 2011-07-11 21:08:49 +02:00