1. Anders Ruud
  2. love
  3. Branches

Branches

minor

View source
Author Commit Message Date Builds
1 commit behind default.
Alex Szpakowski
Fix drawing with >= 16k sprites in a spritebatch on desktops.
Alex Szpakowski
Implement Array, Cubemap, and Volume texture types (issue #1111). - Add love.graphics.newArrayImage, newCubeImage, and newVolumeImage. - Add love.graphics.newCanvas(w, h, layers) and newCanvas(w, h, layers, settings). Add ‘type’ field to the settings table of newCanvas. - Add new love.graphics.setCanvas variants: setCanvas(canvas, slice), and setCanvas(canvastable) where canvastable is in the format: {{canvas1, layer=2}, {canvas2, face=5}} - Add Texture:getTex…
Alex Szpakowski
Merged in TannerRogalsky/love-pristine/update_comment_function_name (pull request #84) function name has changed and comment is out of date
TannerRogalsky
function name has changed and comment is out of date
Alex Szpakowski
Only use opengl debug groups if the LOVE_GRAPHICS_DEBUG environment variable is set to 1.
Alex Szpakowski
Enable OpenGL debug group markers outside of iOS
Bart van Strien
Simplify love.audio's Pool class Move most logic back to Source. Pool now simply contains a list of playing sources and a mutex. Also gets rid of the pause/pauseAtomic duplication in Source, since it can now request a lock from Pool itself.
Alex Szpakowski
Very minor style cleanup
Alex Szpakowski
Potentially fix compilation for MSVC
Alex Szpakowski
Update Xcode project
Bart van Strien
Remove extra whitespace
Bart van Strien
Merged in rcoaxil/love-patches/minor (pull request #75) EFX implemented Approved-by: Bart van Strien Approved-by: Alex Szpakowski
Raidho
naming updated, Filters patched up
Raidho
Named Effect parameters added. Unsupported effects disabled. Unnamed parameter Effect setting is no longer functional.
Raidho
Edited out a few duds.
Raidho
EFX implemented
Alex Szpakowski
Updated license.txt
Raidho
Prettifyed the code exploiting inheritance rules added missing comma, added missing `override`
Raidho
Data:clone ported to minor minor tweaks
TannerRogalsky
Do not attempt to free pointer to scratch buffer
Bart van Strien
Exclude windows folder of glslang on linux
Bart van Strien
Sort changelog
Bart van Strien
Merge default into minor
Alex Szpakowski
Fix text object drawing and a bug in stream buffers used in autobatching
Alex Szpakowski
Fix love.graphics.points when no per-point colors are given
Alex Szpakowski
Fix rendering to only use glDrawElementsInstanced when necessary
Alex Szpakowski
Mark classes as ‘final’
Alex Szpakowski
Move all remaining love.graphics Lua wrapper code out of the opengl implementation folder.
Alex Szpakowski
Move backend-agnostic Mesh and SpriteBatch code out of the opengl implementation folder.
Alex Szpakowski
Move love.graphics Image wrapper code out of the opengl subfolder
Alex Szpakowski
Fix Windows build
Alex Szpakowski
Updated CMakeLists.txt
Alex Szpakowski
Move most of Text and Video love.graphics classes out of the opengl subfolder.
Alex Szpakowski
love.graphics internal Buffer objects are no longer OpenGL-specific.
Alex Szpakowski
Shader code cleanup
Alex Szpakowski
Fix Windows build
Alex Szpakowski
Updated the changelog
Alex Szpakowski
Support instancing on more systems. Note that GLSL 3 may not be supported everywhere that instancing is, and love_InstanceID requires GLSL 3 (but instanced vertex attributes do not).
Alex Szpakowski
Add low-level hardware instancing support to Meshes. Add “instancing” Graphics Feature constant. Add love.graphics.drawInstanced(mesh, instancecount, x, y, …) which draws the mesh multiple times in a single draw call. Each instance of the mesh will appear in the exact same spot unless one of the following are used: - Add an optional vertex attribute step type argument to Mesh:attachAttribute. “pervertex” is the default. “perinstance” causes the at…
Alex Szpakowski
Added support for GLSL 3 shaders (GLSL 3.30 and GLSL ES 3.00). To use GLSL 3 in a shader, the first line of the shader has to be: #pragma language glsl3 glsl1 is the default language. Added “glsl3” graphics feature as part of the table returned by love.graphics.getSupported(). Added love.graphics.validateShader(boolean gles, shadercode). It returns a boolean along with an error string if the shader code has errors for its target language and platform (gles…
Alex Szpakowski
Merge default into minor
Bart van Strien
Clean up autotools build scripts - Removed unused platform/unix/gen-makefile - Added current version as suffix to the built library (now liblove-0.11.0.so, for example) - Added target version to configure.ac - Include .lua files as sources, so they get included in 'make dist'
Alex Szpakowski
Fix font textures in OpenGL ES 3.
Alex Szpakowski
Add a variant of Mesh:setVertexMap which takes a Data object, an index data type (“uint16” or “uint32”), and an optional index count. Thanks Shell32!
Alex Szpakowski
Potentially fix a crash in love.window.setMode.
Alex Szpakowski
Actually merge the latest default into minor…
Alex Szpakowski
Merge default into minor.
Alex Szpakowski
Error instead of crash when Source:setLooping is called on a queueable Source (thanks zorg)
Alex Szpakowski
Font texture atlases can be created in Core Profile GL3.
Alex Szpakowski
Minor pre-emptive fixes for GL3.
Alex Szpakowski
Particle systems use a GLBuffer internally, instead of direct vertex arrays with glDrawElements.
Alex Szpakowski
Fix stenciling…
Alex Szpakowski
Allow disabling stencil capabilities for the main screen in love.window.setMode.
Alex Szpakowski
Fix captureScreenshot when MSAA is used on iOS
Alex Szpakowski
Minor batching fixes and performance improvements
Alex Szpakowski
Improved performance slightly when love.graphics.setColor is used heavily with automatic batching.
Alex Szpakowski
Add C++ side support for unsigned int shader uniforms. Note that the shader languages love currently supports (glsl 1.20, glsl es 1.00) don’t support uints at the moment.
Alex Szpakowski
Happy new year! 🥂
Alex Szpakowski
Minor code cleanup
Alex Szpakowski
Don’t call unnecessary OpenGL APIs in love.graphics.setColor
Alex Szpakowski
love.graphics Video code is upwards-compatible with GL3.
Alex Szpakowski
Work around crappy Android NDK
Alex Szpakowski
Fix iOS build
Alex Szpakowski
More code restructuring. Move all love.graphics functionality that doesn’t call OpenGL out of the OpenGL backend Graphics class.
Alex Szpakowski
Move more love.graphics backend-agnostic module code out of the opengl implementation file.
Alex Szpakowski
Move most graphics Font code out of the opengl subfolder.
Alex Szpakowski
… typo fix
Alex Szpakowski
Add love.graphics.getPixelDensity, gets the pixel density scale of the screen (matches other APIs).
Alex Szpakowski
Revamped and streamlined retina / high-DPI support (resolves issue #1122). With the highdpi window flag enabled on a retina-capable display and OS, content should now appear to the user at the same size and in the same positions as with the flag disabled. As a result, mouse and touch coordinates, Texture and graphics dimensions, and the graphics coordinate system now use pixel density-scaled units instead of pixels. Raw pixel units should generally only be used for thin…
Alex Szpakowski
Cleaned up some duplicated pixel format-related code in Font files.
Alex Szpakowski
Use automatic batching for love.graphics.print/printf. This doesn’t actually improve performance at all in most cases, but it does remove some OpenGL-specific code from the Font files, and reduces the amount of duplicated rendering code. This makes it slightly easier to add support for Core Profile OpenGL 3.
Alex Szpakowski
Unify separate GL/GLES code paths for love’s built in matrices in shaders.
Alex Szpakowski
Improve performance of Shader:send when the Shader is not active. It now defers uploading the uniforms to the program object until the shader becomes active again, instead of activating the shader program and deactivating it each time Shader:send is called.
Alex Szpakowski
Added “none” blend mode. This is equivalent to setBlendMode(“replace”, “premultiplied”) (which also effectively disables blending) but doesn’t require explicitly setting the alpha multiplication mode.
Alex Szpakowski
Use SIMD SSE functionality when available for 4x4 matrix multiplies. Slightly improves performance of large numbers of love.graphics.draw(texture) calls.
Alex Szpakowski
Fix compilation on iOS
Alex Szpakowski
Minor optimizations to love.graphics.draw(texture).
Alex Szpakowski
Fix more Windows compilation issues
Alex Szpakowski
Moved line and shape drawing code out of the opengl folder, since it no longer directly calls any OpenGL functions.
Alex Szpakowski
Fix compilation in VS2013.
Alex Szpakowski
Is MSVC happy with this?
Alex Szpakowski
Add missing files to CMakeLists
Alex Szpakowski
Implement automatic batching for points, lines, shapes, and images/quads. The above are batched together into a single draw call when called without other drawing calls in between, as long as the following criteria are met: - The texture is the same. - The primitive type is the same (points cannot be batched with non-points). - The love.graphics state is the same (aside from the current color - i.e. setColor - and the transform state). - The active shader’s uniform val…
Alex Szpakowski
Fix ImageData:paste.
Alex Szpakowski
Revert most render pass API changes. The APIs need more work and iteration before they’re better to use than the old setCanvas APIs. love.graphics.captureScreenshot has not been reverted.
Alex Szpakowski
Cleaned up some love.graphics code.
Alex Szpakowski
Fix compilation..
Alex Szpakowski
Remove love.timer SDL implementation files, since they don’t do anything.
Alex Szpakowski
Work around SDL issues in Joystick:getGamepadMapping with XInput controllers (issue #1239). This doesn’t fix the underlying issues in SDL so there may be other aspects of love.joystick which are still affected.
Alex Szpakowski
Minor code style cleanup. Fix a couple compiler warnings.
Alex Szpakowski
Add audio Filter files to the Xcode project
Raidho
Implement audio filters Use Source:setFilter(type, params...) to set a filter. Use Source:setFilter() to detach the current filter. Use Source:getFilter() to get the currently set filter (or nil). Squashed from pull request 27, and the clean-pr27 branch in love-experiments.
Bart van Strien
Update changelog
Bart van Strien
Fix automatically pausing and resuming audio on android (resolves #1237)
Bart van Strien
Fix love.audio.play{sources...} so it can resume paused sources
Alex Szpakowski
Add missing files to the Xcode project
Bart van Strien
Merge dynamiccore2 into minor Instead of a global type enum and bitfield, all types now have their own love::Type static member. This means they automatically assign their ids, build their bitsets, etc. As a bonus, it simplifies wrapper code since most functions already know which type they're pushing to or getting from lua, so they can directly get the static member (if it's called 'type').
Bart van Strien
Add new files to cmakelists
Bart van Strien
Move all love::Type initialisation to their respective (new) files Previously Data, Stream, Drawable and Image (and for some reason Filesystem) had types in types.cpp
Bart van Strien
Merge minor into dynamiccore2
Bart van Strien
Minor performance tweaks for love::Type On my system these tweaks restore performance to "enum" levels
Bart van Strien
Pass Type to luax_register_type by pointer instead of reference Since the type is passed to va_start, and apparently that's undefined behaviour if it's a reference. <Textmode> the best kind of behavior
Bart van Strien
Make love::Type handle type names TODO: Fix undefined behaviour in luax_register_type, you can't use a va_list after a reference type
Bart van Strien
Automatically deduce the type in luax_pushtype, if possible
Bart van Strien
Automatically deduce the type in luax_checktype, luax_getmodule, luax_optmodule and luax_totype
Bart van Strien
Include int.h to fix windows build
Bart van Strien
Delete love::Type copy constructor
Bart van Strien
Build type information on first use (load-time), instead of using a hardcoded list
Alex Szpakowski
Fix indentation
Alex Szpakowski
Unify pixel format enums for ImageData, CompressedImageData, and Canvas into a single PixelFormat enum. Replace love.graphics.getRawImageFormats and love.graphics.getCompressedImageFormats with love.graphics.getImageFormats.
Alex Szpakowski
Split Mesh:attachAttribute(name, nil) out into Mesh:detachAttribute. Fix attachAttribute. Don’t let me push commits on a friday night…
Alex Szpakowski
Revert a dumb change that caused a crash due to reading from invalid memory
Alex Szpakowski
Hopefully fix a couple potential issues with restoring Shader texture units after a setMode.
Alex Szpakowski
Fix building for iOS
Alex Szpakowski
The Xcode project now recognizes frameworks placed in love/platform/Xcode/macosx/Frameworks/ when building for macOS (closes issue #1230).
Alex Szpakowski
Added 2 new variants of Mesh:attachAttribute (resolves issue #1233). Thanks xenthral! - Added Mesh:attachAttribute(name, mesh, nameInMesh) which retargets the attribute name in the specified Mesh (3rd argument) to a new name for this mesh (1st argument). - Added Mesh:attachAttribute(name) which detaches any attached attributes from other meshes for that attribute name.
Alex Szpakowski
Fix a missing reciprocal..
Alex Szpakowski
Fix line and shape segment counts and smooth line antialiasing when love.graphics.applyTransform and replaceTransform are used.
Alex Szpakowski
Add some more graphics feature and limit queries (resolves issue #1234). love.graphics.getSupported(): - Added “fullnpot” field, is true everywhere except on some older mobile devices. If false, mipmapping and wrap modes other than “clamp” can’t be used on non-power-of-two sized textures. - Added “pixelshaderhighp” field, is true everywhere except some older mobile devices. If false, “highp” precision can’t be used in pixel shaders and love will default to “mediump” …
Alex Szpakowski
Add missing applyTransform and replaceTransform functions…
Alex Szpakowski
Work around buggy C++11 standard libraries (mingw)
Alex Szpakowski
Added Transform objects to love.math (resolves issue #1228). - Added love.math.newTransform. - Added love.graphics.applyTransform and love.graphics.replaceTransform. - love.graphics.draw/print/printf, Text:add/addf, and SpriteBatch:add can accept a Transform argument. - love.graphics.push can accept an optional Transform as a second argument, which will apply the Transform after pushing the matrix stack, - Shader:send can accept Transform objects when sendi…
Alex Szpakowski
Shader uniforms keep their values after love.window.setMode (resolves issue #1174). Also allow arrays of images/samplers in shaders, although driver support is iffy and you have to index into the array using a compile-time constant (which might exclude loop indexing).
Alex Szpakowski
Rename RecordingDevice:startRecording and RecordingDevice:stopRecording to RecordingDevice:start and RecordingDevice:stop.
Alex Szpakowski
Fix compilation on macOS and iOS. Minor cleanup.
Alex Szpakowski
Merged in rcoaxil/love-patches/minor-mic-input (pull request #68) Microphone input implemented.
Raidho
fixed potential memory leak, minor code imporovements
Raidho
made getRecordingDevices keep already existing devices
Raidho
Addressed some criticism getRecordingDevices internal function is now returns constant reference, also re-enumerates devices every time it is called; this is a slow operation getID removed for not being useful
Raidho
made :getData produce SoundData directly moved SoundData::load back to private
Raidho
made device enumeration lazy made enumerator to first attempt aquire default device name by standard means, then to fall back to read name from opened device getRecordingDeviceCount removed for being redundant
Raidho
made RecordingDevice throw errors on invalid parameters
Raidho
made RecordingDevice create new SoundData every time captured samples are aquired
Raidho
Microphone input implemented. RecordingDevice class added (number)love.audio.getRecordingDeviceCount() and (table)love.audio.getRecordingDevices() exposed (bool):startRecording([samples, sampleRate, bitDepth, channels], (SoundData):stopRecording([SoundData]), (SoundData):getData([SoundData]), (number):getSampleCount(), (number):getSampleRate(), (number):getBitDepth(), (number):getChannels(), (string):getName(), (number):getID(…
Raidho
Created new branch minor-mic-input
Alex Szpakowski
Potentially fix a random error in setMode
Alex Szpakowski
We don’t need a list of projection matrices..
Alex Szpakowski
Merge default into minor
Alex Szpakowski
Render pass API. Replaces love.graphics.setCanvas and friends. - Removed love.graphics.set/getCanvas, Canvas:renderTo, Canvas:newImageData, love.graphics.clear, love.graphics.discard, and love.graphics.newScreenshot. - Added love.graphics.beginPass and love.graphics.endPass. All rendering must happen within a pass. love.draw is now called while a render pass to the main screen is active. - Added love.graphics.renderPass, which is a wrapper for begin/endPass …
Alex Szpakowski
Merged in rcoaxil/love/minor (pull request #66) consistified seeking to invalid location behavior, minor fixes
rcoaxil
stray minus sign
rcoaxil
stb hack revert
rcoaxil
moved back update cycle constant looping override for static sources
rcoaxil
consistified seeking to invalid location behavior removed few redundant operations and checks moved sound start seeking from prepare to play fixed potential bug with sources that failed to play not releasing AL source back into the pool sources now stop if seeked to invalid location looped sources play from 0 if seeked to invalid location while playing
Bart van Strien
Don't set the enet global when requiring enet
James Watkins-Harvey
Define LUASOCKET_API macro in header file instead of build time argument
James Watkins-Harvey
Updated cmake file list according to libsocket 3.0rc1: link with ws2_32.lib on Windows
James Watkins-Harvey
Updated cmake file list according to libsocket 3.0rc1 (serial.c is unix only)
James Watkins-Harvey
Updated cmake file list according to libsocket 3.0rc1
James Watkins-Harvey
Updated luasocket to 3.0rc1 (git commit 316a945)
Alex Szpakowski
enet: remove deprecated host:socket_get_address (replaced by host:get_socket_address).
Alex Szpakowski
Merge default into minor
Alex Szpakowski
Fixed loading and saving 16 bit per component PNGs.
Alex Szpakowski
Fix encoding ImageData to 16 bit per color channel PNG.
Alex Szpakowski
whitespace and formatting cleanup
Alex Szpakowski
Merged in rcoaxil/love-patches/minor-manual-decoders (pull request #67) decoder manual decoding and seeking implemented
Raidho
moved SoundData::load back to private
Raidho
made decode() always return new SoundData
rcoaxil
decoder manual decoding and seeking implemented decode() uses supplied SoundData to decode to, creates new SoundData if none provided returns SoundData containing decoded data, nil if decoder didn't produce any data seek() only works with seconds
Raidho
Created new branch minor-manual-decoders
Alex Szpakowski
Merge default into minor
Alex Szpakowski
Moved the base Decoder implementation out of the lullaby subfolder.
Alex Szpakowski
Reduce memory allocations for the SHA formats of love.math.hash.
Alex Szpakowski
Fixed compilation
Alex Szpakowski
Removed gl.bindTexture, so it won't get accidentally used.
Alex Szpakowski
Reduce redundant glActiveTexture calls.
Alex Szpakowski
Merge default into minor
Alex Szpakowski
Prevent redundant glBindBuffer calls.
Alex Szpakowski
Add love.graphics.transformPoint and love.graphics.inverseTransformPoint.
Alex Szpakowski
Disable 64 -> 32 bit integer conversion warnings in Xcode. lodepng and luasocket both generate a lot of them...
Alex Szpakowski
Update tinyexr.
Alex Szpakowski
Address some compiler warnings about implicit integer conversions.
Alex Szpakowski
Update Xcode project
Alex Szpakowski
Simplify Drawable code
Alex Szpakowski
Simplified Source constructors.
Bart van Strien
Update changelog
Alex Szpakowski
Merged in rcoaxil/love/minor (pull request #63) TYPE_QUEUE Source implemented, ported to minor branch.
rcoaxil
removed some more trailing spaces oh god i need a tool for this
rcoaxil
issues addressed cropped trailing spaces put TYPE_MAX_ENUM in getDurationAtomic moved around variables in seekAtomic
rcoaxil
fixed stream seeking bug
rcoaxil
issues addressed warnings fixed added type checking to Lua functions stopping queueable source clears buffered data getting queueable source to auto-play if it underruns and then gets re-filled will probably require re-designing pool usage strategy
rcoaxil
pull request feedback addressed newQueueableSource added isQueueable removed, getFreeBufferCount added queueData renamed to queue; added 3 argument variant with (data, offset, length) lightuserdata variant now requires offset (pointer, offset, length, samplerate, bitdepth, channels) setLooping now throws exception if called on queueable source
raidho36
fixed bug preventing stream sources from loading data
raidho36
queueData now returns success state, couple bug fixes success state return added to queueData functions queueable source is now seekable while stopped fixed bug with creating queueable source with invalid format silently crashing LOVE fixed bug with stopped queueable source reported as not queueable
raidho36
ported TYPE_QUEUE Source from default to minor
Alex Szpakowski
test
Alex Szpakowski
Close branch minor
Alex Szpakowski
Fix love.audio.newSource(decoder) and love.audio.newSource(sounddata) to no longer require a Source type argument.
Alex Szpakowski
Fix love.window.setMode to use the proper defaults for window settings that aren't specified.
Alex Szpakowski
Merge default into minor
Alex Szpakowski
Use love's sized int typedefs instead of C's.
Alex Szpakowski
Added Object:release. Calling it is the equivalent of removing all Lua-side references to an object and doing a full garbage collection cycle (thus deleting the object from memory if nothing else in LÖVE's code is referencing it). Any attempt to call a method on the object after it has been released will result in an error. Object:release() returns true if it was successful, or false if not (if it has already been released previously).
Alex Szpakowski
Fix compiling for iOS
Alex Szpakowski
Updated the changelog
Alex Szpakowski
Merge default into minor
Alex Szpakowski
SDL click count functionality was added in 2.0.2, not 2.0.4. So we can get rid of some useless code since we require 2.0.2+ in love 0.11...
Alex Szpakowski
Added a click count argument to love.mousepressed/released. Tracks double/triple/etc. clicks.
Alex Szpakowski
Added SpriteBatch:setDrawRange(start, count) and SpriteBatch:getDrawRange.
Alex Szpakowski
Mesh:setDrawRange now takes start and count parameters, instead of min and max.
Bart van Strien
Remove deprecated love.window.isCreated alias
Alex Szpakowski
Fix a use of std::remove_if
Alex Szpakowski
Don't consider different OpenGL versions when re-creating the window after a previous window and OpenGL context has been created. love.graphics has never supported switching GL versions mid-game, so we should prevent it from ever happening.
Alex Szpakowski
Added a new variant of Shader:send for matrices: Shader:send(uniformname, is_column_major, matrix, ...). If is_column_major is true, the table(s) passed as subsequent arguments will be treated as column-major instead of row-major. This matches the 0.10.x behaviour of Shader:send for matrices.
Alex Szpakowski
Add support for non-square matrix uniforms in desktop GLSL. The notation is columns x rows, e.g. a mat4x2 has 4 columns and 2 rows. Fixed the memory layout of matrices sent to shaders via Shader:send. Note that this is a breaking fix and will probably cause matrices designed to work with older versions of LÖVE to be transposed in shaders compared to what they were previously, if Shader:send or sendMatrix was used to put them in the shader.
Alex Szpakowski
Remove Shader:sendInt/sendBoolean/sendFloat/sendMatrix/sendTexture
Alex Szpakowski
Merge default into minor
Alex Szpakowski
In fact, lets just replace Shader:getUniformVariable with Shader:hasUniform. The latter returns true if the uniform with the specified name exists and contributes to the final output of the shader.
Alex Szpakowski
Renamed Shader:getExternVariable to Shader:getUniformVariable. The "extern" alias for shader uniforms is considered deprecated, although it still exists.
Alex Szpakowski
Merge default into minor
Alex Szpakowski
Updated the love.conf default for vsync.
Alex Szpakowski
The vsync field in t.window and love.window.setMode is now an integer. 0 disables vsync, 1 sets it to sync every screen refreshes, 2 sets it to sync every 2 screen refreshes (effectively setting the framerate to half the monitor's refresh rate), etc. As a special case, -1 also attempts to use adaptive vsync (vsync enabled when FPS is >= monitor's refresh rate, disabled whe not) if the driver supports it.
Alex Szpakowski
Merge default into minor
Alex Szpakowski
Removed the no-argument variant of Text:set() in favour of Text:clear(). Resolves issue #1126.
Alex Szpakowski
love.graphics.circle/ellipse/arc/rectangle now take transformation scale into account when determining the number of segments to use. Resolves issue #1184.
Alex Szpakowski
Merge default into minor
Bart van Strien
Add love.window.updateMode (resolves #1037)
Bart van Strien
Merge default into minor
Bart van Strien
Merge default into minor
Alex Szpakowski
The format of the ImageData returned by Canvas:newImageData now matches the Canvas' format as best as possible.
Alex Szpakowski
Updated the changelog
Alex Szpakowski
Prevent linear filtering on RGBA32F images when the system doesn't support it.
Alex Szpakowski
ImageData (and Images loaded from them) now support different data formats. Resolves issue #1048. Currently exposed formats are rgba8 and rgba16 (normalized), and rgba16f and rgba32f (floating-point). Some systems, especially mobile ones, won't support every format when creating a love.graphics Image. Use love.graphics.getRawImageFormats to check for support. love.image.newImageData now takes an optional format parameter as its third argument when creating an empty sized ImageData. It default…
Alex Szpakowski
Merged default into minor
Alex Szpakowski
Fixed ImageData:mapPixel again, for non-JIT platforms this time.
Alex Szpakowski
Fixed ImageData:mapPixel's color component arguments to the mapping function to be within [0, 1] instead of [0, 255].
Alex Szpakowski
Improved the numeric distribution of love.math.random.
Alex Szpakowski
Merge default into minor
Bart van Strien
Allow seeking all paused sources (fixes #1152) Previously, sources that had never been started, were paused with 'stop', or had finished playing, aka the 0.10.x definition of stopped, would ignore seek.
Alex Szpakowski
Merge default into minor
Alex Szpakowski
Only allow multiply blending when the 'premultiplied' blend alpha mode is used, since the formula only works with that anyway.
Alex Szpakowski
Merge default into minor
Bart van Strien
Make hash constants static, and out-of-line hopefully fixes compilation errors with vc++.
Bart van Strien
Add love.math.hash, which supports MD5/SHA-1/SHA-2.
Bart van Strien
Update changelog
Bart van Strien
New audio playback API Instead of having three states, stopped, paused and playing, now there's only two states: paused and playing. This means resume() is gone, as is isStopped(), and isPaused() has become isPlaying(). stop() now pauses and rewinds, whereas pause() only pauses. rewind() has been removed, and should either be replaced with stop() or seek(0). The same has been applied to the functions in the love.audio…
Bart van Strien
Merge default into minor
Bart van Strien
Merge default into minor
Alex Szpakowski
Moved most love.math functions out of the Math class, since they're pure functions.
Alex Szpakowski
Added love.math.encode(format, data | string [, linelength]) and love.math.decode(format, data | string). Current formats are "base64" and "hex". The optional line length only applies to base64 and specifies the maximum number of characters per line in the encoded string. Removed the variant of love.filesystem.newFileData which decoded a base64-encoded string since it's redundant.
Alex Szpakowski
Merge default into minor.
Bart van Strien
Ignore carriage returns (\r) in print and friends (issue #1114)
Alex Szpakowski
Merge default into minor
Alex Szpakowski
Channel:push now returns an id value. Added Channel:hasRead(id), which returns true if the value that the id represents has already been popped, demanded, or cleared from the Channel. Resolves issue #1104.
Bart van Strien
Make configure not search for dependencies of disabled implementations (resolves #1099) Also rewrite dependency searching so we have a single file with all test macros.
Bart van Strien
Remove the default source type (resolves #1082)
Bart van Strien
Merge in default
Alex Szpakowski
SpriteBatch:add will now automatically increase the maximum size of the SpriteBatch if there's no more room.
Alex Szpakowski
Increased the version on Windows / OS X / iOS
Alex Szpakowski
Merge default into minor
Bart van Strien
Rewrite the c module loader, adding a search path (fixes #1050) Note: also removes the restriction that only fused games can load libraries from their save folders.
6 commits not shown.