Commit Graph

1671 Commits

Author SHA1 Message Date
Bill Meltsner b24e7ab64f Update the Xcode project and enable GME support on OS X.
Requires Game_Music_Emu.framework, which is included in the updated OS X SDK.
2012-08-18 11:56:42 -05:00
Bart van Strien 53c357d3c5 Apply Boolsheet's patch for the msvc2010 project file 2012-08-17 15:12:52 +02:00
vrld 87c6646705 Fix #435 (for real this time). Unfixes #324.
Add a extern vec2 love_ScreenSize to the pixel effects that will
be (re)set upon PixelEffect::loadVolatile() and is used to flip
the fragment coordinate.

Unfixes #324 because canvases can have different dimensions than
the screen.
2012-08-05 16:08:22 +02:00
vrld 1fd12e4596 Add Module::registerInstance() and Module::getInstance().
Module::registerInstance() registers a module instance which can later
be retrieved using Module::getInstance().

registerInstance() is called in luax_register_module().

getInstance() expects the full name (as returned by Module::getName())
of the requested module.
2012-08-05 16:03:37 +02:00
vrld 6f1ff69b61 Fix issue #435: PixelEffects have flipped screen_coords.y. 2012-08-03 19:39:41 +02:00
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 bddee1753b Use a flags table for setMode now, implement resizable and borderless windows, and add resize event
Example setMode invocation: love.graphics.setMode(800, 600, {fullscreen = false, vsync = true, borderless = true})
t.screen.resizable and t.screen.borderless are available in love.conf
And love.resize(w, h) gets called if it exists on a resize event.
NOTE: love.handlers.resize(w, h) does the required setMode, but that does mean a visual reload

--HG--
branch : minor
2012-07-23 11:53:13 +02:00
Bart van Strien 787bb868a1 Update minor
--HG--
branch : minor
2012-07-23 10:54:23 +02:00
Bart van Strien 82d6edb32c Update readme 2012-07-21 21:56:10 +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
Bart van Strien 3dc4e3cdca Also mutex lock in Channel::retain
--HG--
branch : minor
2012-07-05 17:25:41 +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 777e97de2e Make Channels more thread-safe (I know, I know..)
--HG--
branch : minor
2012-07-04 20:22:54 +02:00
Bart van Strien ab62ac841e Filter changelog, I don't care what the changes to the binaries are,
this changelog is about changes to the source.
2012-07-04 17:25:57 +02:00
Bart van Strien 34d576cdc6 Fix --disable-mpg123 2012-07-04 17:24:31 +02:00
Bart van Strien 399a6a6614 Merge in channels from love-experiments
Rewritten love.thread and changed communication
method from weird system before, to channels.

--HG--
branch : minor
2012-07-04 17:15:16 +02:00
Bart van Strien e8ee7671c3 Merge back into minor
--HG--
branch : minor
2012-07-04 14:41:03 +02:00
Bart van Strien 7793e7f02f CRLF to LF 2012-07-04 14:40:24 +02:00
Bart van Strien 272947ca95 Update minor branch
--HG--
branch : minor
2012-07-04 13:58:38 +02:00
Bart van Strien a970f1df97 Update changelog 2012-07-04 13:54:15 +02:00
Bart van Strien 915d58c62f Add --enable-gme to the linux configure script 2012-07-04 13:51:33 +02:00
rude 3ff607edc9 Adding GME to NSI.
Also making mpg123 a dynamic library (since it's LGPL).
2012-07-03 15:09: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
Bart van Strien bcca03e6de I meant exit, not return 2012-06-04 23:50:50 +02:00
Bart van Strien 0d170088c5 Fix changelog 2012-06-04 23:37:31 +02:00
Bart van Strien 8a6a75b9ed Update changelog. 2012-06-04 17:59:36 +02:00
Bart van Strien 31fbf98ed8 Update hgignore 2012-06-02 22:01:55 +02:00
Bart van Strien 1656e4d191 Merged in bartbes/love-experiments/win-console (pull request #11) 2012-06-01 23:21:28 +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
Bart van Strien b3ce2b4dd7 And add love.rc, same reason.. 2012-05-30 19:10:51 +02:00
Bart van Strien 62a3dab995 Remove app.rc, which the patch somehow omitted 2012-05-30 19:09:33 +02:00