Commit Graph

1069 Commits

Author SHA1 Message Date
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
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 3b54a88c4e Merged in AMDmi3/love (pull request #7) 2012-05-09 15:39:01 +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
Dmitry Marakasov 204f561033 Fix bashisms 2012-04-20 22:40:16 +04: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
Bill Meltsner 7925b1b059 Fix .hgtags. 2012-04-02 16:33:52 -04:00
Bill Meltsner c8d9be1a99 Added tag 0.8.0 for changeset e0f98d53debb 2012-04-02 16:32:18 -04:00
Bill Meltsner 3e67824d3b Kill the VS 2008 project with extreme prejudice. 0.8.0 2012-04-02 16:31:32 -04:00
Bill Meltsner cc13ce9e50 Added tag 0.8.0 for changeset 9a7f76c4a19a 2012-04-02 16:27:55 -04:00
Bill Meltsner 7b64bb8d59 Update changelog for the last time before 0.8.0. 2012-04-02 16:26:54 -04:00
rude 9b9573b2d2 Updated changes.txt with latest *exciting* developments to the Windows builds. 2012-04-01 19:36:35 +02:00
Bart van Strien 34d7c51cd0 Macro-ify msvc2010 app.rc 2012-03-22 23:18:58 +01: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
Bart van Strien e40dc63042 Don't let configure check for libmng and libtiff (bug #290) 2012-03-22 17:20:16 +01:00
vrld 340ee8442d Fix issue #397: printf does not center string correctly. 2012-03-22 13:11:35 +01:00
vrld 5b05e5a07a Fix issue #396: Make automagic check for libtool and auto(conf|tools). 2012-03-22 12:43:52 +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
Bill Meltsner 322ec7bba4 Add love._os, which contains a string representing the current OS (or, at least, the OS the copy of LÖVE was compiled on). 2012-03-08 19:32:23 -05: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