Alex Szpakowski
fda005c5ff
love.graphics.getScissor now has a proper C++ module method
2014-01-09 22:49:00 -04:00
Alex Szpakowski
c64b3d2527
Renamed love.graphics.getMaxImageSize to love.graphics.getMaxTextureSize (old function is still there, but deprecated.)
2014-01-09 22:18:37 -04:00
Alex Szpakowski
1d3c4e125e
Make love.graphics.reset call love.graphics.origin instead of clearing the internal pixel size stack
2014-01-05 15:52:12 -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
3120a0e650
Goodbye 2013, hello 2014!
2014-01-03 17:28:58 -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
1d3f6e967d
Added CircleShape:get/setPoint.
2014-01-03 14:06:23 -04:00
Alex Szpakowski
b091746118
Removed some unused variable warnings when compiling
2014-01-03 02:05:23 -04:00
Alex Szpakowski
9c747f1476
Switched to using bearing and advance metrics from the actual bitmap glyph object, removed old unused method declarations in the Filesystem class.
2014-01-01 03:52:43 -04:00
Alex Szpakowski
ccc5535a82
The love.filesystem module searchers for require are now tried after package.preload instead of before.
2014-01-01 02:08:50 -04:00
Alex Szpakowski
ab1cf7fdc5
Really fixed setting the scissor and then changing Canvases
2013-12-31 23:37:04 -04:00
Alex Szpakowski
279cecaa6b
Improved the error text for LÖVE’s module searchers (used in require.)
2013-12-31 22:31:08 -04:00
Alex Szpakowski
98b258b75f
Fixed font textures in OpenGL returning black RGB values when a shader is active (reverts changeset 69b0b4e)
2013-12-31 22:09:04 -04:00
Alex Szpakowski
90f4dea4ab
The TrueType rasterizer now properly recognizes the monochrome bitmap pixel mode for glyphs (resolves issue #818 )
2013-12-31 21:32:58 -04:00
Alex Szpakowski
f3bd944cf5
Reduced the RAM and VRAM space taken up by TrueType font glyphs by 1/2.
2013-12-31 20:15:55 -04:00
Alex Szpakowski
a00c006c44
The graphics viewport is now properly restored when switching from an active Canvas to no Canvas (resolves issue #817 )
2013-12-30 23:52:46 -04:00
Alex Szpakowski
cd303c7c62
Added Mesh:setWireframe and Mesh:isWireframe.
...
This should *only* be used for debugging: the wireframe lines behave differently from regular love.graphics lines, and the functionality may not work on OpenGL ES.
2013-12-30 01:44:04 -04:00
Alex Szpakowski
27f36455e8
Fixed ParticleSystem:clone not duplicating position and area spread properly
2013-12-28 01:51:50 -04:00
Bart van Strien
5963e7a9cb
Check whether pitch is actually a sane number
2013-12-27 16:50:30 +01:00
Bart van Strien
90d041ed1b
Patch GLee for missing GLXContextID typedef after upstream (mesa) removal from header
2013-12-27 16:50:07 +01:00
Alex Szpakowski
bccac13432
Added ParticleSystem:clone()
2013-12-25 05:30:07 -04:00
Alex Szpakowski
4d1846b745
Removed love.audio.newSource(source) (see issue #319 )
2013-12-25 02:19:59 -04:00
Alex Szpakowski
44d87212b7
Fixed Joystick:isDown to accept 1-based instead of 0-based button indices
2013-12-23 00:28:03 -04:00
Alex Szpakowski
e6f2d4f1ac
Added Source:clone() and love.audio.newSource(source): creates a new (stopped) Source which has all of the settable state of the original.
...
Static sources don’t duplicate their OpenAL data buffer when cloned (resolves issue #319 ). Cloned streaming sources also clone the original Decoder.
2013-12-20 00:20:41 -04:00
Alex Szpakowski
d0d629a314
Fixed line width after love.graphics.scale with negative numbers (resolves issue #808 )
2013-12-18 03:15:44 -04:00
Alex Szpakowski
71dd15838e
Workaround for SDL_HAPTIC_INFINITY failing in Windows is no longer needed (patched in SDL as of 2 months ago)
2013-12-17 04:03:04 -04:00
Bart van Strien
d81eae8889
Scripts now automatically recompile on change on linux, auto.lua normalizes input names a bit more
2013-12-14 13:57:52 +01: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
760f8220fa
Fixed a small memory leak if love.physics.newChainShape errors
2013-12-10 03:54:56 -04:00
Bart van Strien
3d82eecc08
Apply the love-experiment moduleselect branch
...
You can now:
- Enable and disable love's modules, implementations and libraries using configure switches
- Use pkg-config for a couple of love's requirements
- Build on OSX
- Use newer versions of FreeType2
- Get a slightly better error message using automagic
2013-12-08 19:32:32 +01:00
Alex Szpakowski
2ee869b0e8
Fixed some compiler warnings
2013-12-07 05:07:54 -04:00
Alex Szpakowski
eadb718ade
Fused status is now set before conf.lua is loaded
2013-12-07 02:13:54 -04:00
Alex Szpakowski
f997cc43c1
Fixed a crashing issue when the error handler can’t create a window
2013-12-04 17:03:34 -04:00
Bart van Strien
33bb049ee6
Don't call love.graphics functions in love.run until a window has been created, prevents segfaults when love.window and love.graphics were loaded, but there was no window
2013-12-02 21:07:43 +01:00
Alex Szpakowski
1c8abc74aa
Renamed love.math.g/setRandomState and rng:g/setState to love.math.g/setRandomSeed and rng:g/setSeed.
...
getRandomSeed now always returns the previously set random seed instead of the current (implementation-dependent) random state.
2013-12-01 21:25:27 -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
8608f2b027
The love executable now properly requires love and love.boot, and relies less on globals.
2013-11-23 19:35:06 -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
c83e3c33c5
Fixed building as a universal binary on OS X (resolves issue #793 )
2013-11-20 17:55:30 -04:00
Alex Szpakowski
3b532fdb70
Fixed an uncaught exception in File:getSize
2013-11-18 05:29:53 -04:00
Alex Szpakowski
006f4dd600
Fixed
2013-11-17 05:47:38 -04:00
Alex Szpakowski
c0b28f9d07
Only apply an AMD-specific hack when generating mipmaps on AMD GPUs
2013-11-17 05:44:09 -04:00
Alex Szpakowski
0214bab0fe
Reduced initialization time of the graphics module in OS X by ~80ms
2013-11-15 15:41:15 -04:00
Alex Szpakowski
0fb05fd84d
Reorganized the nogame screen’s drawing code to marginally reduce CPU usage. Woo!
2013-11-13 04:07:29 -04:00
Alex Szpakowski
f53678cec0
Merged bartbes/love-experiments/box2d-2.3 into default
2013-11-12 18:24:15 -04:00
Alex Szpakowski
f2797958db
Don’t minimize on focus loss in fullscreen-desktop mode (mimics post-SDL 2.0.1 behaviour)
2013-11-11 18:07:05 -04:00
Alex Szpakowski
c8f5494900
Images, Canvases, Quads, and Fonts now have the same vertex winding order
2013-11-10 19:57:13 -04:00
Alex Szpakowski
a1a116e7a2
Fixed an uncaught exception in World:translateOrigin
...
--HG--
branch : box2d-2.3
2013-11-09 16:37:19 -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
d7691f652e
Fixed case-correctness of an #include (see issue #790 )
2013-11-08 20:03:17 -04:00