rude
098ffb7336
Added support for GME (Game_Music_Emu).
...
This makes it possible for LÖVE to play music files for NES, SNES, MegaDrive,
and many more. It's pretty cool.
The feature is disabled until each platform is ready to link with GME. Packages
exist for Debian and Arch, and it compiled without any issues in MSVC++, so
I don't expect this to a problem for anyone.
2012-07-02 00:19:43 +02:00
Bart van Strien
f6099402e7
Make it build on linux
...
- Removed weird #ifdefs
- Enabled optional executable building
- Fixed exclude files, they're regexes after all
2012-06-29 13:04:32 +02:00
rude
72056caccd
Say hello to the love module. Oh my!
...
Because technically, it *is* a module. Also renamed "launcher.cpp".
2012-06-29 09:56:50 +02:00
rude
81c38e22d0
Applied the new style guidelines.
...
Well, sort of. Lot's more to be done, but this is a start.
2012-06-28 23:52:33 +02:00
Bart van Strien
bc4e59ba24
Apply the line width patch
2012-06-11 17:06:57 +02:00
Bart van Strien
dd04074d62
Add love.filesystem.getIdentity
2012-06-01 17:31:44 +02:00
Bart van Strien
1eb17f2376
Add love.mouse.setX/setY (issue #438 )
2012-06-01 17:19:36 +02:00
Bart van Strien
f62bad6e12
Make sure processed is initialized, for when alGetSourcei errors (bug #442 )
2012-06-01 17:10:17 +02:00
Boolsheet
ee1b679639
Use OpenAL's direct channel features, should improve audio quality
2012-05-29 23:37:25 +02:00
Boolsheet
73672bd674
Clean up love.image because we own the memory, not DevIL
2012-05-29 23:36:49 +02:00
Bart van Strien
124e9d1d2a
Fix memory leak in the mp3 decoder, turned out to be of pretty decent size (bug #395 )
2012-05-29 21:33:10 +02:00
Bart van Strien
839b48c3e9
Make most Source setters default their z coordinate to 0, instead of erroring in its absence (issue #423 )
2012-05-19 01:22:38 +02:00
Bart van Strien
7b161e5c41
Make using mpg123 optional, add option to linux build system
...
Added so people can make patent-free builds (easily), for example for patent-free distro's
2012-05-19 01:05:43 +02:00
Bart van Strien
8211b8f93f
Add love.joystick.reload, remove love.joystick.open and friends. (issue #392 )
...
Reload originates from love-experiments, as noted in the ticket.
2012-05-18 19:42:46 +02:00
Bart van Strien
eb7a758691
Apply patch "More efficient SoundData allocator" that allocates memory less often, and shrinks to minimum size afterwards
2012-05-18 19:21:40 +02:00
Bart van Strien
2986890746
Fix Shape:testPoint's stack indices (issue #430 )
2012-05-18 18:00:04 +02:00
Bart van Strien
1b568fdf39
Make setMode get the actual width and height after setting, fixes bug with width and height 0 (aka desktop resolution)
2012-05-18 17:46:00 +02:00
Bart van Strien
1e00f0f981
Move the default image filter to the Image class, instead of Graphics applying it on newImage
2012-05-18 17:35:51 +02:00
Bart van Strien
1a89622262
Fonts and ImageFonts now use the default image filter, newImageFont gets a second and third argument, to optionally specify the filters
2012-05-18 17:23:50 +02:00
vrld
26780681ea
Remove artifacts at line endings (see 4f9c5db78143).
2012-05-09 17:45:50 +02:00
vrld
b5f3addd35
Remove antialiasing artifacts when drawing lines at a very big scale.
...
When drawing lines at scales>1 the inner workings (gradients) of the
antialiasing too were upscaled and became visible. When the scale was very
large this produced interesing yet unexpected visuals.
2012-05-09 17:17:16 +02:00
Aidan Gauland
8a6c36231c
Corrected scaling of values in RopeJoint constructor.
2012-04-17 20:55:47 +12:00
Aidan Gauland
27b62b5c9c
Removed scaling of unit vectors.
2012-04-17 20:54:12 +12:00
vrld
d4c59d3508
Fix issue #406 : Empty glyphs cause some ATI cards to crash in Font::addGlyph().
2012-04-03 13:55:12 +02:00
Bart van Strien
43c5576268
Remove warning in autotools and make LOVE_OLD_MODPLUG define that disables some new modplug settings
2012-03-22 17:21:28 +01:00
vrld
340ee8442d
Fix issue #397 : printf does not center string correctly.
2012-03-22 13:11:35 +01:00
Bart van Strien
07bd386d4e
Apply the 1-indexed joysticks patch from issue #391 .
...
Submitted by: Alexander Szpakowski
2012-03-10 14:11:20 +01:00
vrld
39e1c59989
Actually copy existing buffer data to temporary memory region in VBO::map().
2012-03-07 23:33:27 +01:00
vrld
6dee041a9d
Throw exception when VBO cannot allocate enough memory in VBO::map().
2012-03-07 23:26:03 +01:00
vrld
3f365857ee
Replace glMapBufferARB() with temp memory + glBufferSubDataARB().
...
Instead of letting OpenGL manage the memory mapping, allocate a temporary
block of memory upon VBO:map(). Upon VBO::unmap() the block is copied to
graphics memory using glBufferSubDataARB() and then released.
Hopefully this will fix some weird error with Windows XP + old drivers, where
VBOs can be created, but the mapped memory cannot be allocated resulting in
the sprite batch drawing nothing at all.
According to the interwebs this could actually faster than using OpenGL mapped
memory, because there is no unnecessary syncing involved.
2012-03-07 23:24:29 +01:00
vrld
2b6cc4ea8c
Move VertexBuffer::Bind implementation to header to hint inlining
2012-03-07 23:01:05 +01:00
vrld
4947498488
Add VertexBuffer::Mapper for RAII vbo mapping
2012-03-07 22:59:23 +01:00
vrld
17dc8760b9
Replace VertexArray with VertexBuffer in SpriteBatch (less confusing).
2012-03-07 22:35:21 +01:00
vrld
1dd40b690b
Some idiot put a != where there should be a ==.
2012-03-05 22:14:00 +01:00
vrld
febd7757fc
Make sure all error flags are cleared before calling glBufferDataARB() in VBO::load().
2012-03-05 20:58:17 +01:00
vrld
c0ffa5b07e
Add error checking in VBO::load().
...
VertexBuffer should now be able to fall back to vertex arrays if
glBufferDataARB() fails (possible due to lack of memory).
2012-03-05 20:46:46 +01:00
Bill Meltsner
b956813e8e
Freeze, Allman police!
2012-03-03 20:41:42 -05:00
Bill Meltsner
fc6a9df304
Report lack of support for the subtract blendmode through the Blue Screen of LÖVE instead of stderr spam.
2012-03-03 20:33:55 -05:00
Bill Meltsner
57b4d2c5b9
Add support for falling back to glBlendEquationEXT if necessary.
...
This should help keep LÖVE from crashing on old cards with crappy drivers.
2012-03-03 19:25:42 -05:00
Bart van Strien
830283ff17
Properly catch exceptions thrown by ImageData:getPixel/setPixel, thereby preventing an uncaught exception for an invalid index. (Bug #381 )
2012-03-03 12:35:55 +01:00
Bart van Strien
66aef58075
Use a clearer error message when the raycast callback doesn't return a number (issue #356 )
2012-03-03 12:11:06 +01:00
Bart van Strien
dcb09c03a8
That was only part of the problem, now it should all work properly (and more accurately)
2012-03-03 11:42:39 +01:00
Bart van Strien
c2fb5618c1
Make love.timer.getFPS more accurate
...
Hopefully this was causing issue #377 , otherwise, it was still an improvement
2012-03-03 10:47:57 +01:00
Bill Meltsner
d69ec266be
Call PixelEffect::detach() in Graphics::reset, not Graphics::clear (fixes issue #379 )
2012-03-02 19:26:40 -05:00
Bill Meltsner
84634affd5
Make love.graphics.toggleFullscreen properly handle graphics state.
2012-02-29 18:55:08 -05:00
Bart van Strien
4ee7e780e7
Fix ImageData:paste optimization, missing dy and sy and check of sw and sh
2012-02-26 18:24:14 +01:00
Bart van Strien
0c9d8f3c41
Handle masks and categories in our contact filter
...
Turns out, setting our own contact filter bypasses the inbuilt mask and category handling,
this means, however, that masks and categories are processed before your contact filter is
called, so if you really want to do all the filtering manually, you should just make sure
you never change the default masks and category, or restore it.
2012-02-09 20:26:18 +01:00
vrld
e02a2679c2
Add love.graphics.getPixelEffect() (issue #372 ) -- thanks, slime73!
2012-02-09 13:19:52 +01:00
Bill Meltsner
57dabc9f89
Change WheelJoint:get/setSpringFrequencyHz to get/setSpringFrequency
2012-02-06 10:32:33 -05:00
Bill Meltsner
20f4e567b3
Fix Fixture:getShape(), for real this time.
...
All the Memoizer stuff was pointless: when you create a Fixture, it clones the b2Shape, so there was never going to be a memoized Shape to find. And cloning the Shape is incorrect as well, since you should able to modify the Shape retrieved through getShape and have it affect the Fixture. Everything's much simpler now.
2012-02-05 19:22:33 -05:00