Commit Graph

893 Commits

Author SHA1 Message Date
Bart van Strien 148b0c2f6d Correctly read filter modes in newImageFont when the implicit newRasterizer is used (issue #437) 2012-08-03 16:01:33 +02:00
Bart van Strien 00ee547a1c Make unknown keys map to "unknown" in love.keypressed, at least allowing
you to get the (correct) unicode arg. (issue #337)
2012-08-03 15:51:43 +02:00
Bart van Strien 85a1787ad8 Make SpriteBatch:setColor accept a table as well (issue #459) 2012-08-03 15:27:59 +02:00
Boolsheet cde5aa3307 Import box2d-contacts branch from love-experiments
Fix issues with Contact lifetime, based on the work of
Matteo "teomat" Goggi
2012-07-24 23:59:42 +02:00
Bart van Strien b10bc87b9a Make love.graphics.setCanvas(nil) error
This helps detect typoes, setCanvas() still works as before
2012-07-21 17:51:54 +02:00
Marc Lepage e5c4f7f43c Remove call to glAlphaFunc as alpha testing is never enabled. 2012-07-17 21:33:16 -04:00
Marc Lepage 4cc0056a21 Fix some typos in comments. 2012-07-12 00:21:25 -04:00
vrld 6d02057864 Close issue #408: printf-justify alignment.
Add letter_spacing argument to Font::print(). Might be worth to expose to Lua
at some point. Justify alignment may result in mushy/blurred glyphs.
2012-07-08 13:37:09 +02:00
vrld 12f714bf74 Issue #419: Make font:getWidth(str) account for newlines. 2012-07-05 16:15:38 +02:00
vrld 85fa71c519 Make love.graphics.getFont() return (and set) default font when no font set.
Use closures instead of love.graphics.print(f)1() and love.graphics.newFont1.
2012-07-05 16:14:44 +02:00
Bart van Strien 7793e7f02f CRLF to LF 2012-07-04 14:40:24 +02:00
Bill Meltsner eaa4af7a6e Make things build on Mac.
My Mac, anyway. No promises.
2012-07-03 03:52:53 -05:00
Marc Lepage b788d379d4 Change delete to delete[] to match new[]. 2012-07-02 02:09:04 -04:00
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
Boolsheet 5139ca8e56 New approach to console redirection.
--HG--
branch : win-console
2012-06-01 23:03:20 +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
Bart van Strien 329a6328db Backed out changeset 7e5b88e76bda 2012-05-31 23:12:53 +02:00
Boolsheet 786980d196 Try to reuse cmd if opened (on windows) 2012-05-31 21:13:33 +02:00
Bart van Strien cab543764d Fix msvc warnings 2012-05-30 19:30:16 +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 0a423d3e67 Export boot.lua as love.boot, and make it return a function that 'does everything'
Of course love.cpp is modified accordingly (now calls the result of boot.lua)
2012-05-29 23:26:23 +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 f933d5983b Add basic support for file:// uri scheme (issue #425)
Note that this won't unescape, or anything, just remove the file:// prefix if present
2012-05-19 01:27:35 +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 fd34c21d76 Made sure the launcher uses SDLmain (by including SDL.h) 2012-05-18 19:27:09 +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 cadde8947f Use love.run's return value as return value (if valid), default to 0 2012-05-18 18:56:05 +02:00
Bart van Strien db7fba1d3a Now returns return value 1 on error 2012-05-18 18:12:25 +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
Bart van Strien 7f39fa8c3a Create liblove 2012-05-18 16:51:15 +02:00
Bart van Strien 0f0a64819e Add --fused command line argument, to override fused game detection
(Designed to make launchers work for 'fake-fused' games, for example
ones you'd easily distribute on linux.)
2012-05-18 15:15:03 +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
Bart van Strien 4a04c48891 Merged in aidalgol/love-scaling (pull request #6) 2012-05-09 15:43:16 +02:00
Bart van Strien 54e4d2da9a Fix endianness check for ppc on gcc 2012-05-09 15:30:30 +02:00
Marcus Comstedt 82fb48738d Use configure.in to test for endianness on UNIX 2012-05-08 16:12:33 +02:00
vrld 4370f6c9d6 Fix typo in PixelEffect:send() dispatcher when trying to send unsupported type 2012-04-23 19:11:04 +02:00
Aidan Gauland 8a6c36231c Corrected scaling of values in RopeJoint constructor. 2012-04-17 20:55:47 +12:00