Commit Graph

1101 Commits

Author SHA1 Message Date
Bart van Strien 3dc4e3cdca Also mutex lock in Channel::retain
--HG--
branch : minor
2012-07-05 17:25:41 +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 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
Bart van Strien 13be72c5ce Updated the Visual Studio 2010 project. It can now build a liblove dll.
(Patch by Boolsheet)
2012-05-30 18:47:57 +02:00
Boolsheet b33160227a Update project file for liblove (without actually building liblove as a lib) 2012-05-29 23:37:51 +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 140dbd4fcc Add silent-rules to configure.in, will allow for less verbose builds, also move configure.in and Makefile.am to platform/unix like other 'project files' 2012-05-29 22:01:46 +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 fb6ffded14 Fix copyright date in the license file 2012-05-18 19:29:20 +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