Alex Szpakowski
a757315006
Removed runtime support for Mac OS 10.6 and switched from libstdc++ to libc++ in OS X. Now we can use C++11's standard library!
...
--HG--
branch : minor
2014-08-08 18:54:12 -03:00
Alex Szpakowski
bfa3ec9369
Merged default into minor
...
--HG--
branch : minor
2014-06-05 03:02:50 -03:00
Alex Szpakowski
10e0d4b900
Moved the love.joystick Lua wrapper code from modules/joystick/sdl/ to modules/joystick/.
2014-06-04 16:23:39 -03:00
Alex Szpakowski
724bdbd296
love.graphics.newImage, love.image.newImageData, etc. no longer leave Lua-owned FileData objects floating around waiting to be GC'd when called with filename arguments, resulting in less memory use on startup (resolves issue #890.)
...
Moved love.filesystem Lua wrapper code from src/modules/filesystem/physfs/ to src/modules/filesystem/.
2014-06-02 00:22:41 -03:00
Alex Szpakowski
51d1f2a7a9
Added support for loading TGA and BMP images (via stb_image.) Added support for encoding ImageData to TGA.
...
--HG--
branch : minor
2014-05-29 13:20:10 -03:00
Alex Szpakowski
eca8c17a69
Removed the DevIL backend from love.image. Replaced it with PNG and JPEG encoders/decoders via LodePNG, zlib, and libjpeg-turbo.
...
PNG and JPEG are now the only two supported image formats, aside from compressed DDS (DXT, etc.)
--HG--
branch : minor
2014-04-22 17:11:59 -03:00
Alex Szpakowski
38497d23da
Added love.system.openURL (resolves issue #863 )
2014-03-31 16:13:05 -03:00
Alex Szpakowski
4faddcd9aa
Fixed some trivial compiler warnings
2014-03-12 17:55:19 -03:00
Alex Szpakowski
314a528996
Fixed loading BC4 compressed textures
2014-03-10 21:36:14 -03:00
Alex Szpakowski
a3afb1a9ca
Refactored the ImageData decoding/encoding backends a bit
2014-03-02 03:17:47 -04:00
Alex Szpakowski
0f9bf64cf8
Xcode project: added new build scheme ‘Distribution’, moved LTO from ‘Release’ to ‘Distribution’
2014-01-27 19:04:12 -04:00
Alex Szpakowski
0da21a430a
Mac: enabled link-time optimization for Release builds of love
2014-01-27 18:44:00 -04:00
Alex Szpakowski
510ed6f11e
Abstracted lua bindings for general Texture methods into wrap_Texture.cpp
2014-01-04 21:19:03 -04:00
Alex Szpakowski
aa69a695d3
Canvases can now be used in SpriteBatches, ParticleSystems, and Meshes (resolves issue #782 ).
...
Canvases and Images are now subclasses of the new Texture class.
Added setTexture and getTexture methods for Meshes, ParticleSystems, and SpriteBatches (the old set/getImage methods are deprecated but not removed.)
Canvas texture coordinates are no longer flipped.
2014-01-03 17:07:12 -04:00
Alex Szpakowski
eb4fdf3bbe
Use a separate preprocessor define for using Framework #includes in OS X (resolves issue #796 )
2013-12-13 02:37:06 -04:00
Alex Szpakowski
6e82ca88ed
Mac: dropped OS 10.5 support.
...
The legacy code in SDL2 for windowing in 10.5 is buggy, resulting in major bugs with love.window.setFullscreen and other functions. Also, some of 10.5’s own drivers are buggy. Stop using an OS that’s 4 major versions out of date - most other applications have dropped 10.5 support months or years ago.
2013-11-28 21:46:36 -04:00
Alex Szpakowski
a31e458ed8
Fixed liblove (love.framework) in OS X
2013-11-21 17:42:53 -04:00
Alex Szpakowski
5e3a0fbc6e
Updated box2d from 2.2.1 to 2.3.0
...
--HG--
branch : box2d-2.3
2013-11-09 04:30:36 -04:00
Alex Szpakowski
95e1861f35
Mac: don't build with GME support by default (now consistent with Windows and Linux builds)
2013-10-30 14:35:29 -03:00
Alex Szpakowski
e5adc4e5fd
Fixed wave sound playback by using a different wave reader library (thanks Boolsheet!)
...
Resolves issue #25 .
2013-10-23 16:02:06 -03:00
Alex Szpakowski
259bb8ffdb
Fixed errors caused by love exceptions to give a line number (see issue #772 )
2013-10-23 15:20:31 -03:00
Alex Szpakowski
cfd030d4ab
Fixed building on Mac OS 10.9
2013-10-23 06:53:52 -03:00
Alex Szpakowski
b21f8ed3af
Updated CMakeLists.txt
2013-10-11 02:44:44 -03:00
Alex Szpakowski
857296f107
Merged default into Mesh
...
--HG--
branch : Mesh
2013-09-30 04:00:28 -03:00
Alex Szpakowski
8d0246ada6
Xcode project now builds for 64 bit x86 only, by default (resolves issue #760 ).
...
Building for 32 bit x86 in OS X still works if you enable it.
2013-09-29 22:44:04 -03:00
Alex Szpakowski
c63e2ec624
Merged default into Mesh
...
--HG--
branch : Mesh
2013-09-29 04:58:26 -03:00
Alex Szpakowski
5f609c2e2b
OS X: switched to -std=c++11, fixed compilation, cleaned up obsolete files in src/platform/macosx/
2013-09-29 02:50:37 -03:00
Alex Szpakowski
1e696c4505
Added Mesh objects and love.graphics.newMesh. Mesh objects are similar to Geometry but they're drawables (the relationship between meshes and images is the opposite of geometry and images.)
...
Removed Geometry objects and re-added Quads.
example:
local vertices = {{0, 0, 0, 0}, {100, 0, 1, 0}, {100, 100, 1, 1}, {0, 100, 0, 1}}
mesh = love.graphics.newMesh(vertices, image, "fan")
..
love.graphics.draw(mesh, 0, 0)
--HG--
branch : Mesh
2013-09-28 18:26:47 -03:00
Alex Szpakowski
ffe0485173
Removed love.window.checkMode (resolves issue #653 , invalidates issue #592 ).
...
Also fixed love.window.setMode to fail instead of bug out when trying to set a fullscreen mode which is too large for the monitor.
2013-09-19 18:13:52 -03:00
Alex Szpakowski
74f26160da
Fixed a couple bugs caught by clang's static analyzer
2013-09-18 18:30:12 -03:00
Alex Szpakowski
113ed1cfe7
Merged SDL2 changes from bartbes/love-experiments/SDL2 into default.
...
- Added love.system module, including clipboard functions.
- Added custom hardware cursors (love.mouse.newCursor, love.mouse.setCursor.)
- Revamped love.joystick:
-- added Joystick objects and moved love.joystick functions which operated on individual joysticks to methods on the Joystick objects.
-- Added love.joystick.getJoystick and love.joystick.getJoystickCount.
-- Added events for when joysticks are connected and disconnected.
-- Added 'Gamepad' methods to Joystick objects: Joystick:isGamepad, Joystick:getGamepadAxis, and Joystick:isGamepadDown. They're a common abstraction for xbox controller-like joystick across operating systems.
- Added monitor choosing support and "fullscreen desktop" mode to love.window.
- Moved unicode text input events to their own callback function (love.textinput), removed the key repeat functions from love.keyboard and made the second argument of love.keypressed a boolean saying whether the keypress was a repeat.
- liblove now works with love.window and love.graphics in OS X
2013-08-25 16:51:42 -03:00
Alex Szpakowski
7026ebb4c7
Added polyline files to the Xcode project
2013-08-08 03:19:19 -03:00
Alex Szpakowski
a4ff39e0d4
Improved error checking for some enum strings (resolves issue #690 ).
...
Also moved love.audio.newSource from Lua code into C++ code
2013-08-03 21:24:43 -03:00
Alex Szpakowski
3725b4122f
Fixed lazy-loading of stencil buffers in Canvases sometimes failing due to uninitialized variables
2013-07-16 20:04:10 -03:00
Alex Szpakowski
267d901cd6
Fixed Geometry:flip when the Geometry was created with newQuad (resolves issue #671 )
2013-07-11 16:09:41 -03:00
Martin Felis
14ca401158
Add enet and lua-enet
2013-07-10 15:42:50 +02:00
Alex Szpakowski
0f6980f82a
Xcode project now compiles with -O3 for greater performance with the same binary size. Rejoice!
2013-06-13 23:36:57 -03:00
Alex Szpakowski
b3990e89f9
Reverted accidental XCode project changes
2013-06-08 16:51:52 -03:00
Alex Szpakowski
cd1a23c4ad
Improved handling of (File)Data in love.graphics.newFont and love.thread.newThread
2013-06-08 16:50:13 -03:00
Alex Szpakowski
04ca33d127
Updated Xcode project with new bezier files
2013-05-12 17:04:56 -03:00
Alex Szpakowski
ff77eb4b29
Added love.window (issue #6.) All window-related functions have been moved from love.graphics to love.window.
...
love.graphics.setCaption has been renamed to love.window.setTitle.
2013-05-10 22:32:15 -03:00
Alex Szpakowski
7ab3809165
Fixed Object:typeOf for love.physics objects new to 0.8.0, removed vestigial ColorMode code
2013-05-07 15:23:26 -03:00
Alex Szpakowski
9ccf013570
Added love.math.noise(x, [y, z, w]). Calculates the 1D, 2D, 3D or 4D Simplex noise value at a particular coordinate
2013-05-01 18:26:40 -07:00
Alex Szpakowski
27bbfaac42
Updated Xcode project and removed now-unneeded Quad source files
2013-04-21 10:13:20 -07:00
Alex Szpakowski
3046981fce
Added love.math.newRandomGenerator. Returns a RNG object with its own seed and random methods.
...
--HG--
branch : math-randobject
2013-04-14 23:02:44 -03:00
Alex Szpakowski
88d64954a4
Replaced the devil love.image module with love.image.magpie, which can decide which image library to use in a similar manner to love.sound.lullaby. Some rough edges still exist.
...
love.filesystem.newFileData now accepts filepaths and File objects.
--HG--
branch : image-CompressedData
2013-04-07 17:18:34 -03:00
Alex Szpakowski
5301026f3c
Added support for DXT1/3/5 and BC5/7 compressed textures via love.image.CompressedData. Some internals are still iffy.
...
- added a new CompressedData type to love.image
- added love.image.isCompressed(file or data)
- love.graphics.newImage automatically tests for compression when loading a file
- added love.graphics.isSupported strings for DXT, BC5, and BC7
Compressed textures meant to be used on the GPU offer huge performance gains when
- loading the texture from a file
- loading the texture from RAM to VRAM
- loading mipmaps
- rendering
--HG--
branch : image-CompressedData
2013-04-04 19:09:18 -03:00
Alex Szpakowski
4159b15ef2
Updated Xcode project for math module changes
2013-03-13 19:12:48 -03:00
Alex Szpakowski
cd21eaaf33
Re-enable GME support in OS X
2013-03-04 22:16:54 -04:00
Alex Szpakowski
d5245483ef
Updated version to 0.9.0 (codename TBD)
2013-03-03 19:55:37 -04:00