Commit Graph

110 Commits

Author SHA1 Message Date
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 314a528996 Fixed loading BC4 compressed textures 2014-03-10 21:36:14 -03: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 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 b6aba767f4 Fixed custom return value for love executable, cleaned up Xcode project a bit 2013-11-23 17:20:45 -04:00
Alex Szpakowski 5179ca5655 Removed an obsolete file 2013-11-08 22:18:56 -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 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 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 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 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 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 4718267c31 Updated Xcode project to be more LuaJIT-friendly 2013-05-18 20:13:26 -03:00
Alex Szpakowski e05e8e6e6a Switched audio backends in OS X from Apple's OpenAL implementation to OpenAL Soft 2013-02-13 04:01:02 -04:00
Alex Szpakowski ceb0ee6c7e Added SpriteBatch:remove(id) 2013-02-11 18:27:57 -04:00
Alex Szpakowski 842c01b4e5 liblove now builds as a framework on OS X 2013-02-10 02:37:54 -04:00
Alex Szpakowski c6da6ffab9 XCode project now builds liblove and uses it with love.app 2013-02-09 21:11:23 -04:00
Alex Szpakowski 96161c66f6 Updated copyright text for the new year 2013-02-05 05:32:49 -04:00
Alex Szpakowski 02d2a872ab Improved shader member variable names, fixed up XCode project file 2013-01-29 04:34:36 -04:00
Alexander Szpakowski e24d721381 Renamed all instances of 'ShaderEffect' (previously 'PixelEffect') to 'Shader'. 2013-01-16 07:21:41 -04:00
Alexander Szpakowski 0611234067 changed PixelEffect name to ShaderEffect, added lua-side support for vert/frag shader combinations with love.graphics.newShaderEffect, added tentative support for single-file vertex+fragment shaders 2012-12-20 21:51:31 -04:00
Jay Roberts 7364e52ebc Add math.cpp to Xcode project and fix GME framework path. 2012-10-09 13:05:13 -04:00
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
Bill Meltsner eaa4af7a6e Make things build on Mac.
My Mac, anyway. No promises.
2012-07-03 03:52:53 -05:00
Bill Meltsner ae79ed061a Update to recommended Xcode build settings. 2012-03-03 20:24:11 -05:00
Bill Meltsner d5b89886b6 Switch back to Clang for Mac OS X compilation, and add a new legendary hack to ensure it still runs on Leopard. 2012-03-02 19:00:03 -05:00
Bill Meltsner 7a43721335 Make Xcode use GCC to build LÖVE instead of Clang, to avoid some annoying linker error. 2012-02-29 18:52:52 -05:00
Bill Meltsner 9e884c6b0f Remove a stray .orig reference from the Xcode project 2012-02-05 08:22:00 -05:00
Bill Meltsner ecb2e566f3 Add the new OpenGL.{cpp,h} files to the Xcode project so it builds again 2012-01-26 10:20:11 -05:00
Bill Meltsner 2077408351 Add Audio.cpp to Xcode project 2012-01-08 20:18:45 -06:00
Bill Meltsner 25c5bbea67 Add int.h to the Xcode project 2011-12-22 01:54:17 -06:00
Bill Meltsner c9ed6d3c83 update Xcode project to include love.window and Variant 2011-12-19 00:17:17 -06:00
Bill Meltsner 7eb1cef99c Update Xcode project for newly abstractified modules 2011-11-01 11:48:28 -04:00
Bill Meltsner b3e80e389b Update Xcode project for 4.2 (still 3.2-compatible) 2011-10-13 12:15:35 -05:00
Bill Meltsner d40b25c1e6 Hindenmerge 2011-10-12 13:40:56 -05:00
Bill Meltsner 14348f6146 Create DrawQable class, make Image and Canvas DrawQable, and make love.graphics.drawq take a DrawQable as its first argument 2011-10-04 12:33:34 -04:00
Bill Meltsner 2949d2ea4a Update Xcode project to support 64-bit builds, and clean up some old project cruft 2011-10-03 01:38:13 -04:00
Bill Meltsner e984bc084d Move Box2D from modules/physics/box2d to libraries
--HG--
branch : box2d-update
2011-09-24 15:34:28 -04:00
Bill Meltsner 2e1b941bd6 Add Memoizer class
--HG--
branch : box2d-update
2011-09-24 11:51:06 -04:00
Bill Meltsner 08f894a98e Box2D implemented its own convex hull algorithm, Graham just messes things up
--HG--
branch : box2d-update
2011-09-24 03:10:19 -04:00
Bill Meltsner dc5cfc928c Make Xcode even more less stupid.
--HG--
branch : box2d-update
2011-09-23 23:40:04 -04:00
Bill Meltsner 0ee4bbc0bd Make Xcode less stupid and use the right files for b2RopeJoint and b2WheelJoint.
This is the first time this branch has successfully compiled since it started. Holy shit.

--HG--
branch : box2d-update
2011-09-23 23:05:08 -04:00
Bill Meltsner 367dbc2ecc Update Body API.
--HG--
branch : box2d-update
2011-09-23 22:21:14 -04:00
Bill Meltsner 71abae06c7 Implement Fixture class properly.
--HG--
branch : box2d-update
2011-09-23 18:01:40 -04:00
Bill Meltsner a565668183 Add ChainShape
--HG--
branch : box2d-update
2011-09-15 17:17:28 -04:00