diff --git a/README.md b/README.md index 7ba17b0..795acf2 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,3 @@ - - - - # SNKRX [SNKRX](https://store.steampowered.com/app/915310/SNKRX/) is an arcade shooter roguelite where you control a snake of heroes that automatically attack nearby enemies. @@ -18,3 +14,11 @@ Download this repository, `cd` into it and then run `engine/love/love.exe --cons ### LICENSE All assets have their specific licenses and they are linked to in the game's credits. All code is under the MIT license. + +### FORK info + +Tale verzija odstrani steam integracijo, da ni treba love modula dodajat. + +Namestiti je potrebno [Love](https://love2d.org/) + +`run.sh` je popravljen, da dela na linuxu :) diff --git a/arena.lua b/arena.lua index c09d0cb..28c621f 100644 --- a/arena.lua +++ b/arena.lua @@ -26,9 +26,6 @@ function Arena:on_enter(from, level, loop, units, passives, shop_level, shop_xp, trigger:tween(2, main_song_instance, {volume = 0.5, pitch = 1}, math.linear) - steam.friends.setRichPresence('steam_display', '#StatusFull') - steam.friends.setRichPresence('text', 'Arena - Level ' .. self.level) - self.floor = Group() self.main = Group():set_as_physics_world(32, 0, 0, {'player', 'enemy', 'projectile', 'enemy_projectile', 'force_field', 'ghost'}) self.post_main = Group() @@ -149,28 +146,18 @@ function Arena:on_enter(from, level, loop, units, passives, shop_level, shop_xp, if self.level == 6 then state.achievement_speed_booster = true system.save_state() - steam.userStats.setAchievement('SPEED_BOOSTER') - steam.userStats.storeStats() elseif self.level == 12 then state.achievement_exploder = true system.save_state() - steam.userStats.setAchievement('EXPLODER') - steam.userStats.storeStats() elseif self.level == 18 then state.achievement_swarmer = true system.save_state() - steam.userStats.setAchievement('SWARMER') - steam.userStats.storeStats() elseif self.level == 24 then state.achievement_forcer = true system.save_state() - steam.userStats.setAchievement('FORCER') - steam.userStats.storeStats() elseif self.level == 25 then state.achievement_cluster = true system.save_state() - steam.userStats.setAchievement('CLUSTER') - steam.userStats.storeStats() end end) end) @@ -522,120 +509,86 @@ function Arena:quit() if current_new_game_plus == 2 then state.achievement_new_game_1 = true system.save_state() - steam.userStats.setAchievement('NEW_GAME_1') - steam.userStats.storeStats() end if current_new_game_plus == 6 then state.achievement_new_game_5 = true system.save_state() - steam.userStats.setAchievement('GAME_COMPLETE') - steam.userStats.storeStats() end if self.ranger_level >= 2 then state.achievement_rangers_win = true system.save_state() - steam.userStats.setAchievement('RANGERS_WIN') - steam.userStats.storeStats() end if self.warrior_level >= 2 then state.achievement_warriors_win = true system.save_state() - steam.userStats.setAchievement('WARRIORS_WIN') - steam.userStats.storeStats() end if self.mage_level >= 2 then state.achievement_mages_win = true system.save_state() - steam.userStats.setAchievement('MAGES_WIN') - steam.userStats.storeStats() end if self.rogue_level >= 2 then state.achievement_rogues_win = true system.save_state() - steam.userStats.setAchievement('ROGUES_WIN') - steam.userStats.storeStats() end if self.healer_level >= 2 then state.achievement_healers_win = true system.save_state() - steam.userStats.setAchievement('HEALERS_WIN') - steam.userStats.storeStats() end if self.enchanter_level >= 2 then state.achievement_enchanters_win = true system.save_state() - steam.userStats.setAchievement('ENCHANTERS_WIN') - steam.userStats.storeStats() end if self.nuker_level >= 2 then state.achievement_nukers_win = true system.save_state() - steam.userStats.setAchievement('NUKERS_WIN') - steam.userStats.storeStats() end if self.conjurer_level >= 2 then state.achievement_conjurers_win = true system.save_state() - steam.userStats.setAchievement('CONJURERS_WIN') - steam.userStats.storeStats() end if self.psyker_level >= 2 then state.achievement_psykers_win = true system.save_state() - steam.userStats.setAchievement('PSYKERS_WIN') - steam.userStats.storeStats() end if self.curser_level >= 2 then state.achievement_cursers_win = true system.save_state() - steam.userStats.setAchievement('CURSERS_WIN') - steam.userStats.storeStats() end if self.forcer_level >= 2 then state.achievement_forcers_win = true system.save_state() - steam.userStats.setAchievement('FORCERS_WIN') - steam.userStats.storeStats() end if self.swarmer_level >= 2 then state.achievement_swarmers_win = true system.save_state() - steam.userStats.setAchievement('SWARMERS_WIN') - steam.userStats.storeStats() end if self.voider_level >= 2 then state.achievement_voiders_win = true system.save_state() - steam.userStats.setAchievement('VOIDERS_WIN') - steam.userStats.storeStats() end if self.sorcerer_level >= 3 then state.achievement_sorcerers_win = true system.save_state() - steam.userStats.setAchievement('SORCERERS_WIN') - steam.userStats.storeStats() end if self.mercenary_level >= 2 then state.achievement_mercenaries_win = true system.save_state() - steam.userStats.setAchievement('MERCENARIES_WIN') - steam.userStats.storeStats() end local all_units_level_2 = true @@ -648,8 +601,6 @@ function Arena:quit() if all_units_level_2 then state.achievement_level_2_win = true system.save_state() - steam.userStats.setAchievement('LEVEL_2_WIN') - steam.userStats.storeStats() end local units = self.player:get_all_units() @@ -663,8 +614,6 @@ function Arena:quit() if all_units_level_3 then state.achievement_level_3_win = true system.save_state() - steam.userStats.setAchievement('LEVEL_3_WIN') - steam.userStats.storeStats() end end diff --git a/buy_screen.lua b/buy_screen.lua index dc6dfa6..c5f7d57 100644 --- a/buy_screen.lua +++ b/buy_screen.lua @@ -50,9 +50,6 @@ function BuyScreen:on_enter(from, level, loop, units, passives, shop_level, shop input:set_mouse_visible(true) - steam.friends.setRichPresence('steam_display', '#StatusFull') - steam.friends.setRichPresence('text', 'Shop - Level ' .. self.level) - self.main = Group() self.effects = Group() self.ui = Group() diff --git a/engine/external/init.lua b/engine/external/init.lua index 3949107..bcd80de 100644 --- a/engine/external/init.lua +++ b/engine/external/init.lua @@ -4,5 +4,4 @@ if not path:find("init") then mlib = require(path .. ".mlib") -- if not web then clipper = require(path .. ".clipper") end ripple = require(path .. ".ripple") - steam = require 'luasteam' end diff --git a/engine/init.lua b/engine/init.lua index d77c2af..4871e8c 100644 --- a/engine/init.lua +++ b/engine/init.lua @@ -46,7 +46,6 @@ end function engine_run(config) if not web then love.filesystem.setIdentity(config.game_name) - steam.init() system.load_state() local _, _, flags = love.window.getMode() @@ -122,7 +121,6 @@ function engine_run(config) if name == "quit" then if not love.quit or not love.quit() then system.save_state() - steam.shutdown() return a or 0 end elseif name == "focus" then @@ -146,7 +144,6 @@ function engine_run(config) if love.timer then dt = love.timer.step() end - steam.runCallbacks() accumulator = accumulator + dt while accumulator >= fixed_dt do frame = frame + 1 diff --git a/engine/love/OpenAL32.dll b/engine/love/OpenAL32.dll deleted file mode 100644 index 5a12d18..0000000 Binary files a/engine/love/OpenAL32.dll and /dev/null differ diff --git a/engine/love/SDL2.dll b/engine/love/SDL2.dll deleted file mode 100644 index 7906c9f..0000000 Binary files a/engine/love/SDL2.dll and /dev/null differ diff --git a/engine/love/build_steam.bat b/engine/love/build_steam.bat deleted file mode 100644 index a5f0140..0000000 --- a/engine/love/build_steam.bat +++ /dev/null @@ -1,12 +0,0 @@ -call "C:\Program Files\7-Zip\7z.exe" a -r %1.zip -w ..\..\ -xr!engine/love -xr!builds -xr!steam -xr!.git -xr!*.moon -xr!conf.lua -rename %1.zip %1.love -copy /b "love.exe"+"%1.love" "%1.exe" -del %1.love -mkdir %1 -for %%I in (*.dll) do copy %%I %1\ -for %%I in (*.txt) do copy %%I %1\ -copy %1.exe %1\ -del %1.exe -copy %1\ ..\..\steam\ContentBuilder\content\ -del /q %1\ -rmdir /q %1\ diff --git a/engine/love/build_web.bat b/engine/love/build_web.bat deleted file mode 100644 index f85de1c..0000000 --- a/engine/love/build_web.bat +++ /dev/null @@ -1,4 +0,0 @@ -call "C:\Program Files\7-Zip\7z.exe" a -r %1.zip -w ..\..\ -xr!engine/love -xr!builds -xr!.git -xr!*.moon -rename %1.zip %1.love -call love-js -c -m 1073741824 -t %1 %2\engine\love\%1.love ..\..\builds\web -del %1.love diff --git a/engine/love/build_windows.bat b/engine/love/build_windows.bat deleted file mode 100644 index 920f538..0000000 --- a/engine/love/build_windows.bat +++ /dev/null @@ -1,14 +0,0 @@ -call "C:\Program Files\7-Zip\7z.exe" a -r %1.zip -w ..\..\ -xr!engine/love -xr!builds -xr!steam -xr!.git -xr!*.moon -xr!conf.lua -rename %1.zip %1.love -copy /b "love.exe"+"%1.love" "%1.exe" -del %1.love -mkdir %1 -for %%I in (*.dll) do copy %%I %1\ -for %%I in (*.txt) do copy %%I %1\ -copy %1.exe %1\ -del %1.exe -call "C:\Program Files\7-Zip\7z.exe" a %1.zip %1\ -del /q %1\ -rmdir /q %1\ -copy %1.zip ..\..\builds\windows\ -del %1.zip diff --git a/engine/love/changes.txt b/engine/love/changes.txt deleted file mode 100644 index 5ae76fc..0000000 --- a/engine/love/changes.txt +++ /dev/null @@ -1,1350 +0,0 @@ -LOVE 11.3 [Mysterious Mysteries] --------------------------------- - -Released: 2019-10-27 - -* Added support for FLAC audio files. -* Added support for microphone recording on Android. -* Added t.audio.mic (false by default). On Android, setting it to true requests microphone recording permission from the user. -* Added Decoder:clone. -* Added Data:getFFIPointer. -* Added Joystick:getDeviceInfo. -* Added Joystick:getGamepadMappingString and love.joystick.getGamepadMappingString(guid). -* Added love.math.colorToBytes and love.math.colorFromBytes. -* Added 'usedpiscale' boolean (true by default) to love.window.setMode and love.conf. Disables automatic DPI scaling when false. -* Added love.window.getDisplayOrientation and a love.displayrotated callback. -* Added love.window.get/setVSync, to allow setting vsync without recreating the window. -* Added love.window.getSafeArea. -* Added an optional vertex count parameter to Mesh:setVertices. -* Added support for rgba4, rgb5a1, rgb565, rgb10a2, rg11b10f, r8, rg8, r16, rg16, r16f, rg16f, r32f, and rg32f formats in ImageData and Images. -* Added support for loading .dds files that contain uncompressed pixel data. - -* Changed audio file type detection, so it probes all supported backends for unrecognized extensions. - -* Fixed "bad lightuserdata" errors when running love on some arm64 devices. -* Fixed boot.lua's line numbers in stack traces to match its source code. -* Fixed the deprecation system not fully restarting when love.event.quit("restart") is used. -* Fixed love.isVersionCompatible. -* Fixed named Channels persisting across love.event.quit("restart") occurrences. -* Fixed race conditions when different love.physics Worlds are used in different threads. -* Fixed World:getJoints to return the fully resolved type of the Joint, instead of the base type. -* Fixed love.timer.sleep(0) to return control to the OS scheduler instead of being a no-op. -* Fixed love.math.randomNormal incorrectly using cached state after love.math.setRandomSeed or setRandomState. -* Fixed love.data.hash returning an incorrect hash for certain input sizes. -* Fixed love.data.newByteData to cause a Lua error instead of crashing when invalid arguments are used. -* Fixed the Data-returning variant of love.filesystem.read and File:read to return the number of bytes that were read. -* Fixed love.filesystem's require loaders to error instead of crashing when no argument is given. -* Fixed love.filesystem.mount(Data). -* Fixed a memory leak when loading files in some situations. -* Fixed t.audio.mixwithsystem. -* Fixed audio clicks immediately after playing a Source on iOS. -* Fixed Source:play + Source:stop + Source:play looping the first few ms of sound for streaming Sources on iOS. -* Fixed Source:play + Source:seek looping the first few ms of sound for streaming Sources on iOS. -* Fixed occasional pops in streaming sources on iOS. -* Fixed love.audio.play(sources) to use previously set playback positions on stopped Sources. -* Fixed Source:setEffect(name, true) and Source:getEffect(name) when the effect has no associated Filter. -* Fixed love.audio.newSource(filename, "queue") to cause a Lua error. -* Fixed Source:setPitch to error if the given pitch is <= 0, NaN, or infinity. -* Fixed video seeking and pausing in various scenarios. -* Fixed an audio Source memory leak when a Video gets garbage collected after playing it. -* Fixed video playback support on some Adreno-based Android devices. -* Fixed black fringes around text in some situations. -* Fixed extreme flickering when text moves along non-integer coordinates. -* Fixed the first character in a string sometimes not being processed during text vertex generation. -* Fixed Text:set(" ") not clearing any previously set text in a Text object. -* Fixed love.graphics.getTextureTypes to return a table with boolean values in its fields instead of number values. -* Fixed lines not rendering properly if a single line has more than 65,000 vertices. -* Fixed a pixel shader performance regression on some graphics drivers when OpenGL 3 or OpenGL ES 3 is used. -* Fixed text not showing up on Radeon HD 3000-series graphics cards on Windows. -* Fixed non-integer DPI scale values being truncated to integers in love.graphics.newCanvas. -* Fixed creating depth canvases on Windows systems when using an Intel HD 3000 GPU. -* Fixed automatic batching performance to be more consistent on all operating systems. -* Fixed gammaToLinearPrecise in shaders not being as precise as it should be. -* Fixed ImageData:paste and ImageData:setPixel to have more consistent clamping and rounding of color values when different formats are used. - -LOVE 11.2 [Mysterious Mysteries] --------------------------------- - -Released: 2018-11-25 - -* Added Source:setAirAbsorption and Source:getAirAbsorption. -* Added Body:setTransform and Body:getTransform. - -* Improved performance of love.graphics.draw slightly on iOS and Android. - -* Fixed filesystem initialization on Windows 10 update 1809. -* Fixed compatibility with Lua 5.2 and 5.3. -* Fixed the explicit format + Data argument variant of love.data.decompress. -* Fixed love.joystick.setGamepadMapping not being able to change existing mappings. -* Fixed a crash on quit on Linux if a custom cursor is active when quitting. -* Fixed a crash in the Data variant of Shader:send when it's called after love.window.setMode. -* Fixed a love.graphics.setCanvas error message to be less confusing. - -LOVE 11.1 [Mysterious Mysteries] --------------------------------- - -Released: 2018-04-15 - -* Fixed love.graphics.setCanvas failing randomly. -* Fixed love.graphics.clear(colortable) when no Canvas is active. -* Fixed stencil and depth support on older phones. -* Fixed love.event.quit causing crashes and other unexpected behaviour if a Canvas is active. -* Fixed Fixture:getShape crashing when returning a ChainShape. -* Fixed love.joystick.loadJoystickMappings outputting a deprecation warning about love.filesystem.isFile. -* Fixed Source:queue to show the correct argument name in the error message when an invalid data parameter is given. -* Fixed t.console=true causing an error on Windows if lovec.exe is used. - -LOVE 11.0 [Mysterious Mysteries] --------------------------------- - -Released: 2018-04-01 - - * Added Object:release. - * Added Data:clone. - * Added queueable audio sources. - * Added audio input support. - * Added Source filters: low gain, high gain and band pass. - * Added audio effect APIs (reverb, echo, etc.) - * Added variants of SoundData:getSample/setSample which take a channel parameter. - * Added variants of all table-with-fields-returning get* functions, the new variants take an existing table to fill in. - * Added a variant to World:update, which accepts the number of iterations to run. The defaults are now 8 and 3. - * Added Body:isTouching. - * Added RopeJoint:setMaxLength. - * Added a click count argument to love.mousepressed and love.mousereleased. - * Added variants of love.filesystem.mount which accept a Data or FileData object containing zipped data. - * Added love.filesystem.get/setCRequirePath, and use that to find c libraries for require. - * Added variants of File:read and love.filesystem.read which take an enum to determine whether they return a FileData or a string. - * Added love.data module. It includes hex/base64 encoding functions, MD5 and SHA hashing, string packing, compression APIs, and more. - * Added Channel:hasRead, which checks if a message has been read. Takes an id, which Channel:push will now return. - * Added variants of Channel:demand and Channel:supply which take a timeout argument. - * Added Transform objects to love.math. - * Added support for different ImageData formats, including RGBA8 (the default), RGBA16, RGBA16F, and RGBA32F. - * Added the ability to load Radiance HDR, OpenEXR, and 16 bit PNG images. - * Added love.graphics.getImageFormats (replaces love.graphics.getCompressedImageFormats). - * Added the ability to specify a per-object pixel density scale factor when creating Images, Canvases, Fonts, and Videos. Affects drawing. - * Added Texture:getPixelWidth/Height and love.graphics.getPixelWidth/Height. - * Added Texture:getPixelDensity, love.graphics.getPixelDensity, and Font:getPixelDensity. - * Added Texture:getMipmapCount, getFormat, getLayerCount, getDepth, and getTextureType. - * Added Array, Cubemap, and Volume texture types and corresponding Image and Canvas APIs. - * Added love.graphics.getTextureTypes, returns a table with fields indicating support for each texture type. - * Added mipmapping support to Canvases, including both auto-generated mipmaps and manually rendering to a specific mipmap level. - * Added 'stencil8', 'depth24stencil8', 'depth32fstencil8', 'depth16', 'depth24', and 'depth32f' pixel formats for Canvases. - * Added variant of love.graphics.newCanvas which accepts a table of settings. - * Added optional 'readable' boolean field to the table passed into love.graphics.newCanvas. - * Added optional 'depthstencil' field to the table passed into love.graphics.setCanvas, for using a depth/stencil Canvas. - * Added optional 'depth' and 'stencil' boolean fields to the table passed into setCanvas, for enabling depth and stencil buffers if 'depthstencil' isn't used. - * Added shadow sampler support for Canvases. - * Added love.graphics.setDepthMode for using the depth buffer for depth testing/writes. Depth values of rendered objects can only be set via shaders. - * Added love.graphics.setMeshCullMode, for culling back- or front-facing triangles when drawing a Mesh. - * Added love.graphics.setFrontFaceWinding. - * Added variant of love.graphics.getCanvasFormats which takes a 'readable' boolean. - * Added love.graphics.drawLayer and SpriteBatch:add/setLayer for easily drawing layers of Array Textures. - * Added variants of love.graphics.print and printf which take a Font argument. - * Added variants of love.graphics.clear to control how the active depth and stencil buffers are cleared. - * Added love.graphics.applyTransform and love.graphics.replaceTransform. - * Added love.graphics.transformPoint and love.graphics.inverseTransformPoint. - * Added love.graphics.getStackDepth. - * Added love.graphics.flushBatch for manually flushing automatically batched draws. - * Added SpriteBatch:setDrawRange. - * Added per-shader opt in support for the GLSL 3.30 and GLSL ES 3.00 shading languages. - * Added 'void effect()' pixel shader entry point. - * Added love.graphics.validateShader. - * Added Shader:hasUniform. - * Added support for non-square shader uniform matrices on desktop platforms and on mobile GLSL 3. - * Added Shader:send(matrixname, is_column_major, matrix, ...) which specifies how to interpret the matrix table arguments. - * Added Shader:send variants which accept a Data object. - * Added 'borderellipse' and 'borderrectangle' ParticleSystem distributions. - * Added variant of ParticleSystem:setEmissionArea which accepts an area angle and a flag for whether particle directions are relative to the center of the area. - * Added ParticleSystem:set/getAreaSpreadAngle and set/getAreaSpreadIsRelativeDirection. - * Added love.graphics.captureScreenshot (replaces love.graphics.newScreenshot). - * Added 'glsl3', 'instancing', 'fullnpot','pixelshaderhighp', and 'shaderderivatives' graphics features. - * Added 'anisotropy' graphics limit. - * Added Mesh instancing support via love.graphics.drawInstanced and Mesh:attachAttribute. - * Added a Mesh:attachAttribute variant that takes a different target attribute name. - * Added Mesh:detachAttribute. - * Added a variant of Mesh:setVertexMap which accepts a Data object. - * Added love.window.updateMode. - * Added love.window.isMinimized. - * Added love.window.restore. - * Added the ability to prevent love from creating a stencil buffer for the window. - * Added cycle detection to Variant's table serialization, cycles now cause an error, rather than a stack overflow. - * Added love.graphics.newShader File and FileData variants. - * Added a default love.threaderror callback, which raises the error in the main thread. - * Added checks for invalid constants passed to love.keyboard.isDown/isScancodeDown. - * Added deprecation warnings, on by default for non-fused games. - * Added love.filesystem.getInfo. - * Added 'drawcallsbatched' to love.graphics.getStats. - * Added support for header-less DEFLATE to love.data.compress/decompress. - - * Deprecated love.filesystem.exists / isFile / isDirectory / isSymlink / getLastModified / getSize (use getInfo instead). - * Deprecated love.math.compress / decompress (use love.data.compress / decompress instead). - - * - All renamed APIs are formally deprecated rather than completely removed. - * Renamed love.window.getPixelScale to love.window.getDPIScale. - * Renamed love.mouse.hasCursor to love.mouse.isCursorSupported. - * Renamed ParticleSystem:setAreaSpread to ParticleSystem:setEmissionArea. - * Renamed love.errhand to love.errorhandler. - * Renamed Source/SoundData/Decoder:getChannels to getChannelCount. - * Renamed PrismaticJoint/RevoluteJoint:hasLimitsEnabled to areLimitsEnabled. - * Renamed love.audio.getSourceCount to love.audio.getActiveSourceCount. - * Renamed all get[Object]List functions to get[Object]s. - - * Removed the default source type for love.audio.newSource. - * Removed variant of love.filesystem.newFileData which takes base64 data, use love.data.decode instead. - * Removed the no-argument variant of Text:set, use Text:clear instead. - * Removed love.graphics.getCompressedImageFormats, use love.graphics.getImageFormats instead. - * Removed the 'void effects(...)' pixel shader entry point. Use the new 'void effect()' instead. - * Removed Shader:getExternVariable, use Shader:hasUniform instead. - * Removed love.graphics.newScreenshot, use love.graphics.captureScreenshot instead. - * Removed deprecated enet function host:socket_get_address. - * Removed functions deprecated in LÖVE 0.10.2: - * Removed Shader:sendInt, Shader:sendBoolean, Shader:sentFloat, Shader:sendMatrix, and Shader:sendTexture (use Shader:send instead). - * Removed love.window.isCreated (use love.window.isOpen instead). - - * Improved performance when drawing textures, shapes, lines, and points by automatically batching their draw calls together when possible. - * Improved performance of Shader:send when the Shader is not active. - * Improved performance of love.math.randomNormal when LuaJIT's JIT compiler is enabled. - * Improved performance of love.filesystem.lines and File:lines, especially when reading from a file inside a zip/.love. - - * Changed all color values to be in the range 0-1, rather than 0-255. - * Changed high-dpi functionality to require much less code (often none at all) for graphics to appear at the correct sizes and positions. - * Changed love.graphics.print and friends to ignore carriage returns. - * Changed the 'multiply' blend mode to error if not used with the 'premultiplied' blend alpha mode, since the formula only works with that anyway. - * Changed some love.graphics, love.window, and love.event APIs to cause an error if a Canvas is active. - * Changed stenciling functionality with a Canvas active to require stencil=true (or a custom stencil-formatted Canvas) to be set in setCanvas. - * Changed Mesh:setDrawRange to take 'start' and 'count' parameters instead of 'min' and 'max'. - * Changed the 'vsync' field of love.window.setMode and t.window in love.conf. It's now an integer with 0 disabling vsync. - * Changed the audio playback APIs drastically. - * Changed enet to no longer set the 'enet' global, again matching luasocket. - * Changed Source seeking behaviour, all kinds of Sources now behave similarly when seeking past the boundaries. - * Changed love.timer.step, it now returns dt. - * Changed love.run and love.errhand to return a function for their main loop, which gets called until love quits. - - * Updated and improved command line argument handling. - * Updated the boot sequence to show an error instead of the no-game screen, if a nonexistant folder is passed in as the source game directory. - * Updated 'love.exe --version' on Windows to print to the parent console. - * Updated Android print rerouting and JIT compilation disabling to apply inside threads. - * Updated invalid enum value error messages to show a list of the valid enum values. - * Updated Source:seek to work if the Source isn't playing. - * Updated love.event.poll to stop allocating memory unnecessarily. - * Updated love.math.random to have improved numeric distribution. - * Updated love.graphics to support Core Profile OpenGL 3.3+ when available. - * Updated shaders to always expose derivative functions (dFdx, dFdy, fwidth) when available in OpenGL ES. - * Updated shaders to allow using VERTEX and PIXEL in shader code. - * Updated love.graphics.circle/ellipse/arc/rectangle to take transformation scale into account when determining the number of segments to use. - * Updated Font glyph generation to improve antialiasing. - * Updated Canvas:newImageData to return an ImageData with a format that matches the Canvas' as closely as possible. - * Updated love.graphics.newImage to treat file names ending with "@2x", "@3x", etc. as a pixel density scale factor if none is explicitly supplied. - * Updated the error message when bad values are given to love.graphics.line. - * Updated the maximum love.graphics transformation/state stack depth from 64 to 128. - * Updated the default error handler to allow copying the error to the clipboard when the user decides to do so. - * Updated love.filesystem.setRequirePath to support multiple template '?' characters in each path. - * Updated luasocket to version 3.0rc1. - * Updated love.joystick.loadGamepadMappings so it doesn't error when given an empty string. - * Updated love.joystick.setGamepadMapping to use the controller's name for the new mapping when possible. - - * Fixed error in default error handler when the error message contains non UTF-8 bytes. - * Fixed a memory leak when sending love objects to threads which never load that object's module. - * Fixed a memory leak in enet when peer:send fails. - * Fixed os.execute always returning -1 in Linux. - * Fixed the default reference angle for WeldJoint, PrismaticJoint, and RevoluteJoint. - * Fixed Fixture:getShape to reuse the existing internal Fixture-owned shape. - * Fixed MouseJoint:setFrequency to error instead of crashing if a frequency of 0 is set. - * Fixed love.system.set/getClipboardText to error instead of crashing, when a window hasn't been created. - * Fixed Joystick:getGamepadMapping to work with xinput controllers. - * Fixed love.joystick.setGamepadMapping's replacement code. - * Fixed baseline calculation when rendering text. - * Fixed VaryingTexCoords and love_ScreenSize in shaders to be 'highp' in OpenGL ES, when supported. - * Fixed ParticleSystem:setParticleLifetime to error if a negative value is given. - * Fixed Shader:send and Shader:sendColor ignoring the last argument for an array. - * Fixed a crash when love.graphics.pop is called after a love.window.setMode while the transformation stack was not empty. - * Fixed love.window.isMaximized. - * Fixed video playback to work with a wider range of Ogg Theora files. - * Fixed video seeking to be faster. - * Fixed BezierCurves to error instead of hanging in some situations. - * Fixed compilation of luasocket with newer luajit 2.1.0 beta versions. - -LOVE 0.10.2 [Super Toast] -------------------------- - -Released: 2016-10-31 - - * Added lovec.exe in Windows. It is the same as love.exe but built with the Console subsystem, so it always uses or provides a console. - * Added the ability to restart the game via love.event.quit("restart"). - * Added support for passing a table to love.mouse.isDown, love.keyboard.isDown, love.keyboard.isScancodeDown, Joystick:isDown, and Joystick:isGamepadDown. - * Added love.window.isMaximized. - * Added 'shaderswitches' field to the table returned by love.graphics.getStats. - * Added Quad:getTextureDimensions. - * Added 'ellipse' area distribution to ParticleSystems. - * Added support for BC4-7 compressed texture formats in KTX files. - * Added PrismaticJoint:getAxis and WheelJoint:getAxis. - * Added 2-point version of love.physics.newRevoluteJoint. - * Added table variants of Fixture:setCategory and Fixture:setMask. - * Added getNextVertex and getPreviousVertex to ChainShape and EdgeShape. - * Added optional reference angle arguments to RevoluteJoint, PrismaticJoint, and WeldJoint constructors. - * Added RevoluteJoint:getReferenceAngle, PrismaticJoint:getReferenceAngle, and WeldJoint:getReferenceAngle. - - * Deprecated undocumented Shader:sendTexture, Shader:sendMatrix, Shader:sendInt, and Shader:sendFloat functions. - - * Fixed love on iOS 6. - * Fixed os.execute always returning -1 on Linux. - * Fixed the love.lowmemory callback to call collectgarbage() after the callback has fired, instead of before. - * Fixed love.math.noise(nil) to error instead of returning nil. - * Fixed an occasional crash when a Thread ends. - * Fixed a hang at the end of video playback with some video files. - * Fixed the video decoding thread to not do any work when there are no videos to decode. - * Fixed love.graphics.newVideo(file) to no longer error if love.audio is disabled. - * Fixed a rare bug in Source:play for streaming Sources if the associated OpenAL source object was previously used for a static Source. - * Fixed corrupted Font glyphs in rare cases. - * Fixed stencils inside Canvases on some OpenGL ES 2 devices. - * Fixed an OpenGL error in OpenGL ES 3 when multiple render targets are used. - * Fixed love.window.setMode crashing when called with a Canvas active. - * Fixed love.window.maximize to update the reported window dimensions immediately. - * Fixed gamma correction of ImageFonts and BMFonts with colored images. - * Fixed the default shader improperly applying gamma correction to per-vertex colors when gamma correction is requested but not supported on OpenGL ES. - * Fixed text coloring breaking because of an empty string. - * Fixed large burst of particles when dramatically increasing the emission rate of a ParticleSystem. - * Fixed SpriteBatch:setBufferSize to keep old sprite data if it can fit. - * Fixed MouseJoint:getBodies unconditionally erroring. - * Fixed memory leak in Text:set. - * Fixed incorrect kerning caused by using kerning information for the wrong character in some fonts. - * Fixed ImageData:setPixel/getPixel/mapPixel and SoundData:setSample/getSample to properly handle non-integer coordinates. - - * Improved performance of Channel methods by roughly 2x in many cases. - * Improved performance of Shader:send when small numbers of arguments are given. - - * Updated love.filesystem.mount to accept a DroppedFile as the first parameter. - * Updated Shader:send to do type and argument checking based on the specified uniform variable's information instead of the arguments to the function. - * Updated Shader:send to accept a flat table for matrix uniforms. - - -LOVE 0.10.1 [Super Toast] -------------------------- - -Released: 2016-02-14 - - * Added a new love.conf flag t.externalstorage, which determines whether files are saved in internal or external storage on Android devices. - * Added a new variant of love.graphics.arc which can draw different types of arcs ("pie", "open", or "closed"). - * Added "lighten" and "darken" BlendModes. They can only be used with the "premultiplied" BlendAlphaMode. - * Added the "lighten" GraphicsFeature constant. - * Added the ability to avoid clearing specific Canvases when calling love.graphics.clear, if multiple Canvases are active at once via love.graphics.setCanvas. - * Added Text:getDimensions. - * Added optional "collideconnected" argument to love.physics.newMotorJoint. - - * Fixed a Lua error in the no-game screen if the window's height is too small. - * Fixed the default error handler to reset the mouse Cursor. - * Fixed love.filesystem functions crashing when called if liblove is used directly without calling love.filesystem.init. - * Fixed audio on Android to pause when the app is inactive, and resume when the app becomes active again. - * Fixed the Video decoding thread hanging after Video:seek or when a Video finishes. - * Fixed Video:isPlaying to always return false after it finishes playing. - * Fixed RandomGenerator:random crashing if a nil 'self' is used. - * Fixed loading BMFont files which have characters with 0 width or height (a space character, for example). - * Fixed love.graphics.newFont causing crashes if FileData is passed in. - * Fixed love.graphics.clear(colortable) causing crashes on OpenGL ES 2 systems when a Canvas is active. - * Fixed a driver bug on some Android devices which caused all objects to show up as black. - * Fixed a driver bug on Windows with AMD graphics cards where love.graphics.clear would not always work. - * Fixed Shader:sendColor incorrectly converting alpha values from sRGB to linear RGB when gamma-correct rendering is enabled. - * Fixed love.graphics.newMesh(vertices) double-converting colors from sRGB to linear RGB when gamma-correct rendering is enabled. - * Fixed love.graphics.new* crashing when there is no graphics context/window. - - * Updated the Windows executable to prefer the high-powered AMD graphics card on systems which have switchable Intel+AMD GPUs. - * Updated love.touch.getTouches to return the list of IDs in the relative order that the touches initially happened, instead of being in a random order. - * Updated the error messages caused by invalid or bad arguments to ImageData and SoundData methods to be more descriptive. - - -LOVE 0.10.0 [Super Toast] -------------------------- - -Released: 2015-12-22 - - * Added an iOS port. - * Added an Android port. - * Added the flag t.accelerometerjoystick to love.conf. Disables accelerometer-as-joystick functionality on mobile devices when false. - * Added the flag t.gammacorrect to love.conf (replaces t.window.srgb.) Enabling it globally enables gamma-correct rendering, when supported. - * Added video playback support for Ogg Theora videos, via love.graphics.newVideo and Video objects. - * Added love.video module. It is not used for displaying videos on-screen, only decoding them. - * Added love.touch module. Note that it has important differences from the touch implementation in the LÖVE 0.9 Android and iOS ports. - * Added love.touchpressed, love.touchreleased, and love.touchmoved. - * Added love.system.vibrate. - * Added love.filesystem.setRequirePath and love.filesystem.getRequirePath. - * Added an optional program exit argument to love.event.quit. - * Added love.filedropped and love.directorydropped event callback functions. - * Added love.lowmemory event callback function, called when the app is running out of memory on mobile operating systems. - * Added love.textedited event callback function, called when the user is compositing text (e.g. via an IME.) - * Added love.wheelmoved event callback function (replaces "wu" and "wd" constants for love.mousepressed.) - * Added love.mouse.hasCursor. - * Added a boolean argument to love.mousepressed and love.mousereleased indicating whether the button event originated from a touch press. - * Added optional x/y/width/height arguments to love.keyboard.setTextInput. They tell the system where text will show up so on-screen keyboards can avoid that area. - * Added Source:getType (replaces Source:isStatic.) - * Added Source:getDuration and Decoder:getDuration. - * Added an optional string argument containing raw pixel byte data to the width/height variant of love.image.newImageData. - * Added love.graphics.ellipse. - * Added rounded-rectangle support to love.graphics.rectangle. - * Added love.graphics.points (replaces love.graphics.point.) - * Added love.graphics.intersectScissor. - * Added an optional argument to love.graphics.setBlendMode which indicates whether to treat the colors of drawn objects as having pre-multiplied alpha. - * Added love.graphics.getSupported (replaces love.graphics.isSupported.) - * Added love.graphics.getSystemLimits (replaces love.graphics.getSystemLimit.) - * Added love.graphics.stencil and love.graphics.set/getStencilTest (replaces love.graphics.setStencil.) - * Added love.graphics.isActive. - * Added color arguments to love.graphics.clear. It no longer always uses the background color value. - * Added love.graphics.discard. - * Added love.graphics.isGammaCorrect. - * Added the "clampzero" WrapMode. - * Added the ability to specify custom mipmaps when creating an image, via love.graphics.newImage(filename, {mipmaps={mip1, mip2, ...}}) - * Added optional x/y/width/height arguments to Image:refresh and Canvas:newImageData. - * Added Image:getFlags. - * Added one- and two-channel Canvas formats: r8, rg8, r16f, rg16f, r32f, and rg32f. - * Added support for different formats in each Canvas when using multi-canvas rendering. Added the "multicanvasformats" Graphics Feature constant. - * Added support for OpenGL ES 2 and 3. - * Added support for loading ETC, EAC, PVRTC, and ASTC compressed textures on systems that support them. - * Added custom vertex attribute support for Meshes via new variants of love.graphics.newMesh. - * Added Mesh:setVertexAttribute and Mesh:getVertexAttribute. - * Added Mesh:getVertexFormat. - * Added Mesh:flush. - * Added an optional 'startvertex' argument to Mesh:setVertices. - * Added the ability for love.graphics.newMesh and Mesh:setVertices to accept a Data object. - * Added Mesh:setAttributeEnabled and Mesh:isAttributeEnabled. - * Added Mesh:attachAttribute. - * Added SpriteBatch:attachAttribute. - * Added Shader:sendColor. - * Added new shader functions: gammaCorrectColor, gammaToLinear, and linearToGamma. The functions also have 'precise' and 'fast' variants. - * Added Text objects and love.graphics.newText. - * Added per-character color support to love.graphics.print/printf and to Text objects. - * Added BMFont bitmap font file support to love.graphics.newFont and love.font. - * Added kerning support for TrueType/OpenType and BMFont Fonts. - * Added an optional font hinting argument to love.graphics.newFont when loading TrueType fonts. - * Added an optional spacing argument to love.graphics.newImageFont, which applies additional spacing to all rendered glyphs. - * Added Font:setFallbacks. - * Added love.window.maximize. - * Added love.window.close. - * Added love.window.requestAttention. - * Added love.window.setDisplaySleepEnabled and love.window.isDisplaySleepEnabled. - * Added BezierCurve:renderSegment and BezierCurve:removeControlPoint. - * Added BezierCurve:getSegment. - * Added love.math.compress and love.math.decompress. - * Added Channel:performAtomic. - - * Changed love.mousepressed, love.mousereleased, and love.mouse.isDown to use button numbers instead of named button constants. - * Changed love.keypressed to be love.keypressed(key, scancode, isrepeat). - * Changed love.keyreleased to be love.keyreleased(key, scancode). - * Changed Font:getWrap's second return value to be a table containing the text split into lines. - * Changed love.graphics.newImage's optional second argument to be a table of flags (flags are "mipmaps" and "linear".) - * Changed the arguments for the standard variants of love.graphics.newMesh to newMesh(vertices [, drawmode, usage]) and newMesh(vertexcount [, drawmode, usage]). - * Changed ImageData:encode to return a FileData object. ImageData:encode's first parameter is now the format to encode to, and the second parameter is an optional filename to write to. - - * Renamed the "normal" Fullscreen Type to "exclusive". - * Renamed the DistanceModel constants "inverse clamped", "linear clamped", and "exponent clamped" to "inverseclamped", "linearclamped", and "exponentclamped". - * Renamed the "additive", "subtractive", and "multiplicative" BlendModes to "add", "subtract", and "multiply". - * Renamed the KeyConstant and Scancode representing the spacebar from " " to "space". - * Renamed File:eof to File:isEOF. - * Renamed Canvas:getImageData to Canvas:newImageData. - * Renamed love.image's CompressedData type to CompressedImageData. - - * Removed callback variant of love.filesystem.getDirectoryItems. - * Removed the "wu" and "wd" constants for love.mousepressed (replaced by love.wheelmoved.) - * Removed the named mouse button constants (replaced by button numbers.) - * Removed Source:isStatic (replaced by Source:getType.) - * Removed image loading support for all (non-compressed texture) file formats except for PNG, JPEG, TGA, and BMP. - * Removed JPEG encoding support from ImageData:encode. - * Removed love.graphics.point (replaced by love.graphics.points.) - * Removed love.graphics.setPointStyle and love.graphics.getPointStyle. - * Removed love.graphics.isSupported (replaced by love.graphics.getSupported.) - * Removed love.graphics.getSystemLimit (replaced by love.graphics.getSystemLimits.) - * Removed love.graphics.setStencil (replaced by love.graphics.stencil and love.graphics.setStencilTest.) - * Removed the "canvas", "shader", "npot", "subtractive", and "mipmap" Graphics Feature constants (the features always have guaranteed support now.) - * Removed the "multicanvas" Graphics Feature constant (use love.graphics.getSystemLimits instead.) - * Removed the "srgb" Graphics Feature constant (use love.graphics.isGammaCorrect() or love.graphics.getCanvasFormats().srgb instead.) - * Removed the "srgb" flag in love.window.setMode and in the t.window table in love.conf (Replaced by t.gammacorrect.) - * Removed the "premultiplied" blend mode (love.graphics.setBlendMode("alpha", "premultiplied") now does the same thing.) - * Removed Canvas:getPixel (use Canvas:newImageData instead.) - * Removed Canvas:clear (use love.graphics.clear instead.) - * Removed Mesh:getVertices. - * Removed Mesh:setVertexColors and Mesh:hasVertexColors (use Mesh:setAttributeEnabled("VertexColor", enable) instead.) - * Removed functions deprecated in LOVE 0.9.1 and 0.9.2: - * Removed love.graphics.getMaxImageSize and love.graphics.getMaxPointSize (replaced by love.graphics.getSystemLimits.) - * Removed Mesh:set/getImage, SpriteBatch:set/getImage, and ParticleSystem:set/getImage (replaced by set/getTexture.) - * Removed SpriteBatch:bind/unbind. - * Removed Canvas:getFSAA and the "fsaa" flag in love.conf and love.window.setMode (replaced by Canvas:getMSAA and "msaa".) - * Removed the "dxt" and "bc5" Graphics Feature constant (replaced by love.graphics.getCompressedImageFormats.) - * Removed the "hdrcanvas" Graphics Feature constant (replaced by love.graphics.getCanvasFormats.) - * Removed love.window.getWidth/getHeight/getDimensions (use love.graphics.getWidth/getHeight/getDimensions or love.window.getMode instead.) - - * Fixed utf8.char. - * Fixed detection of fused love games. - * Fixed World:getCallbacks and World:getContactFilter when used in coroutines. - * Fixed crashes when objects which store Lua callback functions are garbage collected after being used in coroutines. - * Fixed memory leaks in love.physics if World:destroy is never called. When a World is GCed it now destroys all objects it owns. - * Fixed love.keyboard.getKeyFromScancode crashing when an invalid scancode is given. - * Fixed decoding of 8-bit WAV files. - * Fixed a crash issue when rewinding streaming ogg Sources, when certain versions of libvorbis are used. - * Fixed love.audio.stop() not rewinding streaming Sources. - * Fixed the stencil buffer in Canvases when an unsupported MSAA value is used to create the Canvas. - * Fixed Canvas:renderTo to restore the previous Canvas if an error occurs in the passed function. - * Fixed love.graphics.draw(canvas) to cause an error if that Canvas is the active one. - * Fixed Mesh:getVertexMap to return nil rather than an empty table, if no vertex map has been set. - * Fixed love.graphics.getColorMask. - * Fixed the default offset for particles when ParticleSystem:setQuads or ParticleSystem:setTexture is used. - * Fixed love.graphics.shear resetting all love.graphics transformations. - * Fixed the "add" and "subtract" blend modes to no longer modify the alpha of the Canvas / screen. - - * Improved the performance of World:rayCast and World:queryBoundingBox. - * Improved the performance of love.graphics.line and other line drawing functions, when the "smooth" LineStyle is used. - * Improved the performance of Shader:send when matrices are used. - * Improved the performance of ImageData and SoundData methods when LuaJIT's JIT compiler is enabled, by using efficient FFI code. - * Improved the performance of love.math.noise, love.math.gammaToLinear, love.math.linearToGamma, love.math.random, and RandomGenerator:random when LuaJIT's JIT compiler is enabled. - - * Updated the compatibility warning notice to use a message box and to show the version specified in love.conf. - * Updated the compatibility warning notice to display before main.lua is loaded. - * Updated the __tostring metamethod of love objects to output the pointer value, similar to tostring(table). - * Updated World:setCallbacks, World:setContactFilter, World:queryBoundingBox, and World:rayCast to have improved argument type checking. - * Updated threads to load love.filesystem automatically. - * Updated love.filesystem to enable symlinks by default. - * Updated love.math.setRandomSeed and RandomGenerator:setSeed to produce better results for the first few random() calls. - * Updated love.math.random and RandomGenerator:random to produce slightly better results in general. - * Updated Source methods that deal with spatial audio to error rather than failing silently if the Source isn't mono. - * Updated the 3D and 4D variants of love.math.noise to use Perlin noise rather than Simplex noise, to avoid patent issues. - * Updated ImageFonts to no longer treat separator pixels as spacing. - * Updated the default font to use less memory. - * Updated the behavior of text wrapping with love.graphics.printf and Font:getWrap to work better. - * Updated love.graphics.print and love.graphics.printf to no longer automatically round the x and y position arguments. - * Updated some error messages for love.graphics.newImage to be more descriptive. - * Updated love.graphics color functions to automatically apply love.math.gammaToLinear to color values when gamma-correct rendering is enabled. - * Updated the 'normal' Canvas format to internally use 'srgb' rather than 'rgba8' when gamma-correct rendering is enabled. - * Updated love.graphics.setColor to affect all drawn objects, including ParticleSystems, SpriteBatches, and Meshes. - * Updated the default fullscreen type to be "desktop" rather than "exclusive". - * Updated the minimum runtime system requirements of LOVE to require OpenGL 2.1 or OpenGL ES 2 support. - * Updated the pixel shader effect function so screen_coords.y is 0 at the top of the screen instead of the bottom. - * Updated Images to require setting the mipmaps flag to true on creation in order to use mipmaps. - * Updated Images to allow mipmaps for non-power-of-two sizes. - -LOVE 0.9.2 [Baby Inspector] ---------------------------- - - Released: 2015-02-14 - - * Added Lua 5.3's UTF-8 module (via utf8 = require("utf8")). - * Added Shader:getExternVariable. - * Added several new canvas texture formats. - * Added love.graphics.getCanvasFormats. - * Added love.graphics.getCompressedImageFormats. - * Added ParticleSystem:setQuads. - * Added ParticleSystem:setLinearDamping. - * Added SpriteBatch:flush. - * Added love.graphics.getStats. - * Added "mirroredrepeat" wrap mode. - * Added love.audio.setDopplerScale and love.audio.getDopplerScale. - * Added optional duration argument to Joystick:setVibration. - * Added love.joystick.loadGamepadMappings and love.joystick.saveGamepadMappings. - * Added Joint:setUserData and Joint:getUserData. - * Added Joint:getBodies. - * Added GearJoint:getJoints. - * Added Contact:getFixtures and Body:getContactList. - * Added Body:getWorld. - * Added Body:getJointList. - * Added Body/Contact/Fixture/Joint/World:isDestroyed. - * Added love.mousemoved event callback. - * Added love.mouse.setRelativeMode and love.mouse.getRelativeMode. - * Added Scancode enums, love.keyboard.getKeyFromScancode, and love.keyboard.getScancodeFromKey. - * Added love.window.getDisplayName. - * Added love.window.minimize. - * Added love.window.showMessageBox. - * Added 'refreshrate' field to the table returned by love.window.getMode. - * Added love.window.toPixels and love.window.fromPixels. - * Added love.window.setPosition and love.window.getPosition, and 'x' and 'y' fields to love.window.setMode and t.window in love.conf. - * Added love.filesystem.isSymlink, love.filesystem.setSymlinksEnabled, and love.filesystem.areSymlinksEnabled. - * Added love.filesystem.getRealDirectory. - - * Deprecated SpriteBatch:bind and SpriteBatch:unbind. - * Deprecated all uses of the name 'FSAA' in favor of 'MSAA'. - * Deprecated the 'hdrcanvas' graphics feature enum in favor of getCanvasFormats. - * Deprecated the 'dxt' and 'bc5' graphics feature enums in favor of getCompressedImageFormats. - - * Fixed crashes when love objects are used in multiple threads. - * Fixed love.filesystem.setIdentity breaking in some situations when called multiple times. - * Fixed the default love.filesystem identity when in Fused mode in Windows. - * Fixed love.system.openURL sometimes blocking indefinitely on Linux. - * Fixed love.joystick.setGamepadMapping. - * Fixed the order of vertices in ChainShapes. - * Fixed love.mouse.getPosition returning outdated values if love.mouse.setPosition is used in the same frame. - * Fixed love.graphics.newFont to error when given an invalid size argument. - * Fixed the filename and backtrace given when love.graphics.print errors. - * Fixed a small memory leak if love.graphics.newCanvas errors. - * Fixed shader:getWarnings returning unnecessary information. - * Fixed some cases of noncompliant shader code not properly erroring on some nvidia drivers. - * Fixed a potential crash when Shader objects are garbage collected. - * Fixed a potential small memory leak triggered when love.graphics.newShader errors. - * Fixed love.graphics.newMesh(vertexcount, ...) causing the Mesh to do instanced rendering. - * Fixed Mesh:getVertexMap. - * Fixed Image:refresh generating mipmaps multiple times if mipmap filtering is enabled. - * Fixed Image:setMipmapFilter to not keep bad state around if it errors. - * Fixed Mesh:setDrawRange when the Mesh has a vertex map set. - * Fixed internal detection of the 'position' and 'effect' shader functions. - * Fixed Texture memory leak when Meshes are garbage collected. - * Fixed the default line join mode to be 'miter' instead of an undefined value. - * Fixed the default error handler text size when highdpi mode is enabled on a Retina monitor. - * Fixed the default error handler background color when sRGB mode is enabled for the window. - * Fixed love.window.setMode to fall back to the largest available mode if a width or height greater than the largest supported is specified and fullscreen is used. - * Fixed the state of wireframe mode when love.window.setMode is called. - * Fixed Canvas:getPixel to error if the coordinates are not within the Canvas' size. - * Fixed detection of compressed textures to work regardless of the file's extension. - - * Renamed all cases of FSAA to MSAA. The FSAA names still exist for backward-compatibility. - - * Updated the Windows executable to automatically prefer the higher performance GPU on nvidia Optimus systems. - * Updated the --console command-line argument in Windows to open the console before conf.lua is loaded. - * Updated t.console and the --console command-line argument in Windows to use the existing Console window, if love was launched from one. - * Updated the love executable to verify that the love library's version matches. - * Updated the Lua wrapper code for modules to avoid crashes when the module's instance is created, deleted, and recreated. - * Updated internal code for handling garbage collection of love objects to be more efficient. - * Updated love's initialization code to trigger a Lua error if love.conf has an error in it. - * Updated the paths returned by love.filesystem.getSaveDirectory and friends to strip double-slashes from the string. - * Updated the error message when love.filesystem.write or File:open fails because the directory doesn't exist. - * Updated the error message when love.math.setRandomseed(0) is attempted. - * Updated the error message when invalid UTF-8 strings are used in love functions that expect UTF-8. - * Updated love.physics.newPolygonShape and love.physics.newChainShape to accept a table of vertices. - * Updated love.physics.newChainShape to error if the number of arguments is invalid. - * Updated love.thread.newThread to accept a literal string of code directly. - * Updated love-created threads to use names visible in external debuggers. - * Updated SpriteBatch:unbind to use less VRAM if the SpriteBatch has the static usage hint. - * Updated love.graphics.newImage, love.image.newImageData, etc. to leave less Lua-owned memory around. - * Updated love.graphics.push to accept different stack types to push. Current types are "transform" and "all". - * Updated love shaders to accept GLSL ES precision qualifiers on variables, although they do nothing. - * Updated the error message for love.graphics.newShader to be less cryptic if an invalid filename is given. - * Updated compressed texture loading code to allow BC6 and BC7 compressed textures (if the graphics driver supports them.) - -LOVE 0.9.1 [Baby Inspector] ---------------------------- - - Released: 2014-04-01 - - * Added Source:clone. - * Added blend mode "screen". - * Added ParticleSystem:clone. - * Added ParticleSystem:moveTo, has smoother emitter movement compared to setPosition. - * Added ParticleSystem:setRelativeRotation. - * Added love.graphics.setWireframe for debugging. - * Added Mesh:setDrawRange and Mesh:getDrawRange. - * Added CircleShape:getPoint and CircleShape:setPoint. - * Added Mesh/SpriteBatch/ParticleSystem:setTexture, accepts Canvases and Images. - * Added high-dpi window support for Retina displays in OS X, via the 'highdpi' window flag. - * Added love.window.getPixelScale. - * Added love.graphics.getSystemLimit. - * Added antialiasing support to Canvases. - * Added Canvas:getFSAA. - * Added 'love_ScreenSize' built-in variable in shaders. - * Added love.getVersion. - * Added support for gamma-correct rendering. - * Added love.graphics.isSupported("srgb"). - * Added love.math.gammaToLinear and love.math.linearToGamma. - * Added RandomGenerator:getState and RandomGenerator:setState. - * Added Body:setUserData and Body:getUserData. - * Added some missing obscure key constants. - * Added optional callback function argument to love.filesystem.getDirectoryItems. - * Added love.system.openURL. - - * Deprecated Mesh/SpriteBatch/ParticleSystem:setImage. - * Deprecated love.graphics.getMaxImageSize and love.graphics.getMaxPointSize. - - * Fixed love.graphics.scale with negative values causing incorrect line widths. - * Fixed Joystick:isDown using 0-based button index arguments. - * Fixed Source:setPitch to error when infinity or NaN is given. - * Fixed love.graphics.setCanvas() to restore the proper viewport and scissor rectangles. - * Fixed TrueType font glyphs which request a monochrome bitmap pixel mode. - * Fixed love.graphics.reset causing crashes when called in between love.graphics.push/pop. - * Fixed tab characters ("\t") to display properly with love.graphics.print. - * Fixed love.graphics.isCreated to return false when love.window.setMode fails completely. - * Fixed love.window.setMode to not destroy OpenGL resources before checking whether a fullsceren size is supported. - * Fixed World:getBodyList and World:getJointList causing hard crashes. - * Fixed loading BC4 compressed textures. - * Fixed SoundData objects being initialized with garbage values. - * Fixed 8-bit SoundData samples when used in love.audio Sources. - - * Updated the error text for love.filesystem’s module searchers when require fails. - * Updated the love.filesystem module searchers to be tried after package.preload instead of before. - * Updated love.graphics.newParticleSystem, newSpriteBatch, and newMesh to accept Canvases. - * Updated Canvas drawing code, texture coordinates are no longer flipped vertically. - * Updated Canvas:renderTo to work properly if a Canvas is currently active. - * Updated ParticleSystem:setEmissionRate to accept non-integer numbers. - * Updated Source:play to return a boolean indicating success. - * Updated t.console in conf.lua to create the console before modules are loaded in Windows. - * Updated Mesh vertex maps (index buffers) to use less space in VRAM. - * Updated love.graphics.newMesh and Mesh:setVertices to default the UV parameters to 0,0. - * Updated Fixture:set/getUserData to work in Coroutines. - * Updated fullscreen-desktop and resizable window modes in OS X to use Mac OS 10.7's fullscreen Spaces. - * Updated love.filesystem's C library loader to look in paths added via love.filesystem.mount, in Fused mode. - * Updated the default love.run code to make initial love.math.random calls more random. - -LOVE 0.9.0 [Baby Inspector] ---------------------------- - - Released: 2013-12-13 - - * Added better multiplayer networking support via ENet. - * Added --fused command line argument, to simulate fusing. - * Added liblove. - * Added the ability to have exit values. - * Added exit value of 1 in case of error by default. - * Added basic support for the file:// uri scheme. - * Added love.filesystem.isFused. - * Added love.filesystem.getIdentity. - * Added love.filesystem.append. - * Added love.filesystem.getSize. - * Added love.filesystem.mount and love.filesystem.unmount. - * Added optional file search order parameter to love.filesystem.setIdentity. - * Added File:isOpen and File:getMode. - * Added Fie:setBuffer, File:getBuffer, and File:flush. - * Added textinput event for unicode text input. - * Added love.keyboard.setTextInput and love.keyboard.hasTextInput. - * Added previously internal Rasterizer and GlyphData object methods. - * Added support for UTF-8 ImageFonts. - * Added Font:getAscent/getDescent/getBaseline. - * Added Font:setFilter/getFilter. - * Added Font:hasGlyphs. - * Added angle, scale, and shear parameters to love.graphics.printf. - * Added HDR canvas support. - * Added mipmapping support (has isSupported test). - * Added vertex shader support. - * Added boolean support to Shader:send. - * Added Canvas:getPixel. - * Added blend mode "replace". - * Added line join modes. - * Added Mesh objects, allowing for arbitrary textured polygons. - * Added multiple render target support to love.graphics.setCanvas. - * Added love.graphics.setColorMask. - * Added love.graphics.origin. - * Added love.graphics.getRendererInfo. - * Added love.graphics.getMaxImageSize. - * Added SpriteBatch:getCount and SpriteBatch:getBufferSize. - * Added SpriteBatch:getColor. - * Added ParticleSystem:emit. - * Added ParticleSystem:setInsertMode and ParticleSystem:getInsertMode. - * Added many ParticleSystem getter methods. - * Added DXT compressed texture support via love.image.newCompressedData. - * Added love.image.isCompressed and Image:isCompressed. - * Added Image/Canvas/ImageData:getDimensions. - * Added anisotropic filtering support for Images, Canvases, and Fonts. - * Added Image:refresh. - * Added Image:getData. - * Added SoundData:getDuration and SoundData:getSampleCount. - * Added Source:isPlaying. - * Added Source:setRelative and Source:isRelative. - * Added Source:setCone and Source:getCone. - * Added Source:getChannels. - * Added new Channels API for love.thread. - * Added limited table support to Channel:push. - * Added Thread:getError. - * Added Thread:isRunning. - * Added threaderror event. - * Added love.math module. - * Added a platform-independent (good) random implementation to love.math. - * Added RandomGenerator objects. - * Added BezierCurve objects. - * Added love.math.triangulate and love.math.isConvex. - * Added love.math.noise. - * Added love.timer.getAverageDelta. - * Added Data:getString. - * Added Contact:getChildren. - * Added love.system module. - * Added love.system.getClipboardText and love.system.setClipboardText. - * Added love.system.getOS and love.system.getProcessorCount. - * Added love.window module. - * Added love.window.isVisible. - * Added flags to love.window.setMode. - * Added monitor choosing support to love.window.setMode. - * Added support for resizable, borderless, and non-centered windows. - * Added support for "fullscreen-desktop" mode. - * Added window resize and visible events. - * Added love.window.getDimensions. - * Added love.window.getIcon. - * Added t.window.icon to love.conf. - * Added love.mousefocus and love.window.hasMouseFocus. - * Added custom hardware cursors via love.mouse.newCursor. - * Added love.mouse.setX/setY. - * Added Joystick objects. - * Added love.joystick.getJoystick. - * Added joystick connect and disconnect events. - * Added joystickaxis and joystickhat events. - * Added unified Gamepad API for joysticks which have a similar layout to the Xbox controller. - * Added joystick vibration support, works with most common gamepads. - * OPTIONAL: Added support for Game Music Emu. - - * Fixed fused mode in OS X. - * Fixed printing to the console in Windows before love.load is called. - * Fixed the default love.run to not include the time taken by love.load in the first frame's dt. - * Fixed the error screen not always appearing until the next input event. - * Fixed love.event.clear. - * Fixed love.mouse.setPosition when called in love.load. - * Fixed scaling in several love.physics functions. - * Fixed Box2D exception in World:update. - * Fixed many uncaught Box2D / love.physics exceptions for Bodies and Joints. - * Fixed ChainShape:getPoints running out of Lua stack space and crashing. - * Fixed File:read reading past end of file. - * Fixed love.filesystem.setIdentity not removing read access from old directories. - * Fixed possible memory leak in utf-8 decoder. - * Fixed spacing for the last character in an ImageFont. - * Fixed line wrapping in love.graphics.printf. - * Fixed love.graphics.printf to error if the wrap limit is negative. - * Fixed love.graphics.print truncating strings with embedded zeros. - * Fixed crashes with font drawing on some ATI cards. - * Fixed artifacts when drawing lines at huge scale. - * Fixed Fonts and Canvases ignoring default image filter. - * Fixed scissor boxes when a canvas is set after love.graphics.setScissor is called. - * Fixed love.graphics.getLineWidth returning incorrect values. - * Fixed love.graphics.getColor on some Windows systems. - * Fixed alpha blend mode. - * Fixed multiplicative blend mode. - * Fixed love.graphics.getPointStyle. - * Fixed line numbers in shader errors. - * Fixed Shader:send with Images and Canvases failing sometimes. - * Fixed Shader:send to keep a reference to sent Images and Canvases. - * Fixed crash when binding SpriteBatches multiple times. - * Fixed SpriteBatches with more than 16,384 sprites. - * Fixed particle draw order for ParticleSystems. - * Fixed ParticleSystem:setSizes resetting the size variation. - * Fixed the graphics viewport not matching the window size when using an unsupported fullscreen mode. - * Fixed getMode and friends returning wrong values when using desktop size. - * Fixed keyrepeat settings being lost after (indirect) setMode. - * Fixed the icon being reset after setMode. - * Fixed memory leak in the mp3 decoder. - * Fixed sound issues with some versions of OpenAL soft, by enabling direct channels. - * Fixed 'random' hangs in audio. - * Fixed love.sound.newDecoder not accepting FileData. - * Fixed case (in)sensitivity of sound file extension parsing. - * Fixed looping support in tracker music formats. - * Fixed skipping/looping issues when playing streaming audio Sources. - * Fixed race condition in Source:play. - * Fixed WAVE sound playback. - - * Moved love's startup to modules/love. - * Moved window-related functions from love.graphics to love.window. - - * Renamed love's boot script to 'love.boot', which can be required. - * Renamed love.filesystem.mkdir to love.filesystem.createDirectory. - * Renamed love.filesystem.enumerate to love.filesystem.getDirectoryItems. - * Renamed World:setAllowSleeping to World:setSleepingAllowed. - * Renamed ChainShape:setPrevVertex to ChainShape:setPreviousVertex. - * Renamed Joint:enableMotor to Joint:setMotorEnabled. - * Renamed Joint:enableLimit and Joint:isLimitEnabled to Joint:setLimitsEnabled and Joint:hasLimitsEnabled. - * Renamed t.screen to t.window in love.conf. - * Renamed love.graphics.setCaption to love.window.setTitle. - * Renamed PixelEffect to Shader (but now with vertex shaders). - * Renamed love.graphics.setDefaultImageFilter to love.graphics.setDefaultFilter. - * Renamed ParticleSystem:setSprite to ParticleSystem:setImage. - * Renamed ParticleSystem:setGravity to ParticleSystem:setLinearAcceleration. - * Renamed ParticleSystem:setLifetime/setParticleLife to setEmitter/ParticleLifetime. - * Renamed ParticleSystem:count and all getNum* functions to get*Count. - * Renamed Source:setDistance to Source:setAttenuationDistances. - * Renamed SoundData:getBits and Decoder:getBits to SoundData:getBitDepth and Decoder:getBitDepth. - * Renamed love.mouse.setGrab to love.mouse.setGrabbed. - - * Removed release mode. - * Removed love.keyboard.getKeyRepeat (see love.keyboard.hasKeyRepeat). - * Removed the unicode argument from love.keypressed (see love.textinput). - * Removed love.graphics.drawTest. - * Removed love.graphics.quad/triangle. - * Removed love.graphics.setColorMode. - * Removed love.graphics.newStencil. - * Removed love.graphics.setLine/setPoint. - * Removed love.graphics.drawq (functionality is merged into love.graphics.draw). - * Removed SpriteBatch:addq/setq (functionality is merged into SpriteBatch:add/set). - * Removed Quad:flip. - * Removed ParticleSystem:isFull/isEmpty. - * Removed ParticleSystem:getX/getY. - * Removed love.graphics.checkMode. - * Removed love.joystick.open and friends. - * Removed love.joystick module functions which operated on individual joysticks (see Joystick objects). - * Removed joystick ball support. - * Removed thread names. - * Removed old thread messaging API (see Channels). - * Removed love.timer.getMicroTime. - - * Updated functions which return love objects to re-use the Lua-side object instead of always recreating it. - * Updated the windows console, it now tries to re-use an active one first. - * Updated error handling, error handlers now get resolved when the error occurs. - * Updated order of sleep/present in love.run (now draws, *then* sleeps). - * Updated love.filesystem to try to create the appdata directory if it doesn't exist yet. - * Updated the default filesystem identity to omit file extension. - * Updated love.filesystem.newFile to optionally open the file. - * Updated most love.filesystem functions to return nil, error on internal failure. - * Updated love.keyboard.setKeyRepeat to take a boolean argument instead of numbers. - * Updated love.keypressed's second argument to be a boolean indicating key repeat. - * Updated keyboard key constants for some more modern keyboard keys. - * Updated window code to use adaptive vsync when available, if vsync is enabled. - * updated love.graphics.print's x and y arguments to default to 0. - * Updated the setFilter and setWrap methods, the second argument is now optional. - * Updated Font and ParticleSystem rendering code, now more performant. - * Updated SpriteBatch code, now more performant when adding/setting and (un)binding. - * Updated Canvas code to support more systems. - * Updated Canvas:getImageData and love.graphics.newScreenshot to be more efficient. - * Updated love.graphics.newScreenshot to create a fully opaque image by default. - * Updated error messages when sending bad values to Shaders. - * Updated love.graphics.newParticleSystem to have a default buffer size of 1000. - * Updated ImageData:setPixel to accept a table and default to 255 alpha. - * Updated ImageData:mapPixel, is now more efficient and accepts optional x,y,w,h arguments. - * Updated love.image memory handling, improves errors and thread-safety. - * Updated all love object constructors to optionally accept FileData if they accept a filename. - * Updated allocation for SoundData, it's more efficient and less wasteful. - * Updated SoundData:set/getSample to error for invalid samples. - * Updated Source:set* functions to default z to 0. - * Updated Source:seek to error for negative offsets. - * Updated Thread:start to accept arguments which get passed to the thread. - * Updated love.timer.getFPS to be microsecond-accurate. - * Updated love.timer.getTime to be microsecond-accurate and monotonic. - * Updated Box2D to version 2.3.0. - -LOVE 0.8.0 [Rubber Piggy] -------------------------- - - Released: 2012-04-02 - - * Added release error screen. - * Added alpha to love.graphics.setBackgroundColor. - * Added Canvas:clear(r, g, b, a). - * Added Canvas support to love.graphics.drawq. - * Added Canvas:getWidth and Canvas:getHeight. - * Added love.graphics.arc. - * Added seek and tell to Source objects. - * Added color interpolation to ParticleSystem. - * Added automatic PO2 padding for systems not supporting the OpenGL extension. - * Added UTF-8 support for fonts. - * Added Box2D error handling for some commonly failing functions. - * Added ability for fused release games to have their write dir in appdata. - * Added shear transformation to drawing functions. - * Added origin to font printing. - * Added love.graphics.getMode. - * Added per-sprite colors on SpriteBatches. - * Added PixelEffects. - * Added love.graphics.isSupported. - * Added love.graphics.getCanvas. - * Added love.event.quit. - * Added stencil masks. - * Added alternative SpriteBatch provider, it should work everywhere now. - * Added a loader for binary modules. - * Added Thread:getKeys. - * Added option of fractions for Quads. - * Added PNG, JPEG and GIF support to ImageData:encode. - * Added 64-bit support for Mac OS X. - * Added premultiplied blending mode. - * Added functions to set/get default image filter modes. - * Added SpriteBatch:set. - * Added new events system, with support for custom events and long event names. - * Added sound attenuation by distance. - * Added SpriteBatch:getImage. - * Added combine color mode. - * Added automatic random seeding to love.run. - * Added support for the subtract BlendMode on older graphics cards. - * Added love._os field, which contains the OS the game is running on. - - * Fixed wrapping for single words. - * Fixed tracebacks not showing filenames. - * Fixed love.graphics.push/pop capable of causing overflows/underflows. - * Fixed setScissor on Canvases. - * Fixed several issues with audio, e.g. clicks and pops in mp3s. - * Fixed crashes when bodies were destroyed during collisions. - * Fixed bound SpriteBatches corrupting when drawing. - * Fixed thread-safety issues with ImageData. - * Fixed memory leaks in audio sources. - * Fixed thread's set (previously send) accidentally changing the type. - * Fixed SoundData allocating the wrong number of samples. - * Fixed SpriteBatch support on Intel cards. - * Fixed love.filesystem.lines() leaking. - * Fixed most leaking on unclosed File objects. - * Fixed crashes when operating on non-existent files. - * Fixed a bug where empty files on windows would never reach eof. - * Fixed crash when SoundData runs out of memory. - * Fixed ordering of loaders, love should have priority over lua. - * Fixed several miscellaneous memory leaks. - * Fixed a few cases where strings with \0 in them would not be stored correctly. - * Fixed love's startup time being in the first dt. - * Fixed internal string conversions, they are faster now. - * Fixed (bad) performance of ImageData:paste. - * Fixed love.graphics.toggleFullscreen not maintaining graphics state. - - * Renamed SpriteBatch's lock/unlock to bind/unbind. - * Renamed Framebuffer to Canvas. - * Renamed love.thread.send/receive to set/get. - * Renamed love.graphics.setRenderTarget to setCanvas. - - * Removed canvas auto-clearing. - * Removed EncodedImageData. - * Removed old syntax for require (with extension). - * Removed love.graphics.setFont([file], [size]). - * Removed Thread:kill. - - * Updated love.joystick to be 1-indexed. - * Updated Sources to update more cleanly and control more intuitively. - * Updated font engine. - * Updated line drawing to a custom system. - * Updated love.timer.sleep to use seconds, like the rest of love. - * Updated love.timer to be more accurate. - * Updated love.graphics.circle to have max(10, r) as default for segments. - * Updated ImageData:encode to write to files directly. - * Updated version compatibility system to actually do something. - * Updated love.run's order, events are checked just before update. - * Updated Box2D to version 2.2.1. - -LOVE 0.7.2 [Game Slave] ------------------------ - - Released: 2011-05-04 - - * Added Framebuffer:get/setWrap. - * Added love.event.clear. - * Added support for any number of arguments to love.keyboard.isDown, love.mouse.isDown and love.joystick.isDown. - * Added SpriteBatch:setImage(). - - * Fixed fused games not working. - * Fixed ParticleSystem:setSize ignoring the variation argument. - * Fixed some file-opening exceptions not being caught. - * Fixed files loaded by libmodplug being too loud. - * Fixed paths with periods in them not working. - * Fixed love.graphics.getBlendMode not detecting subtractive and multiplicative blend modes. - * Fixed crash when there was no memory available for newImageData(w, h). - - * Updated PhysicsFS version to 2.0.2 on Windows - * Updated OpenAL Soft version to 1.13 on Windows - * Updated libmodplug version to 0.8.8.1 on Windows - * Updated FreeType version to 2.4.4 on Windows - * Updated libmpg123 version to 1.13.2 on Windows - * Windows binary no longer depends on VC2005 runtime. - * Windows binary no longer depends on SSE2 support. - -LOVE 0.7.1 [Game Slave] ------------------------ - - Released: 2011-02-14 - - * Added source:isPaused() - * Added error when initial window can't be created. - * Added framebuffer filter modes. - * Added love.filesystem.getLastModified. - * Added filter modes for ImageFonts. - * Added dead key support by using "unknown" key with correct unicode value. - * Added 0 width and height in love.conf. (for current desktop resolution) - * Added alpha support when encoding TGA images. - - * Fixed a lot of bugs regarding zero characters in threads. - * Fixed handling of a directory named "love" in current directory. - * Fixed a few unhandled errors in setScissor. - * Fixed a bug where old physics callbacks were never dereferenced. - * Fixed loss of mouse visibility settings on setMode. - * Fixed creation of a framebuffer unbinding current framebuffer. - * Fixed several race conditions in love.thread. - * Fixed 'love .', so it won't use lovedir/. as save dir. - * Fixed setLineHeight. - * Fixed extended ascii and ImageFonts. - * Fixed printf's line wrapping. - * Fixed crash when playing sounds. - * Fixed playback of mp3s with arbitrary sample rates. - * Fixed handling of negative indices in love.joystick. - * Fixed toggleFullscreen. - * Fixed unexpected behaviour with hash tables to love.graphics.line. - * Fixed mouse coordinates being capped after setMode. - * Fixed setFont's error handling on a non-existant file. - * Fixed issue where Windows builds would hard crash on Lua errors - - * Removed custom sample rates for Decoders. - -LOVE 0.7.0 [Game Slave] ------------------------ - - Released: 2010-12-05 - - * Added love.thread. - * Added love.font. - * Added love.graphics.Framebuffer. - * Added Source:play, Source:pause, etc. - * Added Source:isStatic(). - * Added get/setPosition, get/setVelocity, and get/setDirection to Source. - * Added get/setGroupIndex to CircleShape and PolygonShape. - * Added Font:getWrap. - * Added identity field to love.conf. - * Added love.quit callback. - * Added love.focus callback. - * Added extra meter parameter to love.physics.newWorld. - * Added love.graphics.setIcon. - * Added way to make the window desktop resolution. - * Added subtractive and multiplicative blend modes. - * Added body:getAllowSleeping. - * Added shape:getBody. - * Added love.filesystem.FileData for public usage. - * Added base64 support for love.filesystem.FileData. - * Added table support for love.graphics.setColor and love.graphics.setBackgroundColor. - * Added love.graphics.hasFocus(). - * Added ?/init.lua to the loader. - - * Fixed the debug module not being an upvalue of the error handlers. (you can now override debug) - * Fixed some cases when love.audio.pause and friends, were acting on everything, not just the passed Source. - * Fixed setFixedRotation enabling other flags. - * Fixed a bug in the loader (for require). - * Fixed ParticleSystem::setSprite not retaining the new image. - * Fixed setMode removing images settings (wrapping, filters). - * Fixed shape:getBody, it's now exposed for LÖVE usage. - * Fixed DistanceJoint:getType() returning "circle" - it now returns "distance". - * Fixed SpriteBatches being unaffected by setColor - * Fixed the audio bug. - * Fixed invalid FSAA values crashing LÖVE. - * Fixed a bunch of compiler warnings. - * Fixed OS X not properly using UTIs for .love files. - * Fixed the modplug decoder not properly handeling files that fail to load. - * Fixed a memory leak in setFont. - * Fixed bug where errors in threads wouldn't get picked up by demand. - * Fixed part of the bug with newlines when scaling text (rotating still messes up the lines). - * Fixed the bug where newImageFont would try to created ImageData out of ImageData. - * Fixed error handler not resetting the blend mode. - - * Changed fonts, they're now po2 safe. - * Changed the traceback in the error screen. - * Changed font origin to top-left. - * Changed linux save dir location to obey to Freedesktop.org's XDG specs. (~/.local/share/love by default.) - - * Removed font functions from love.graphics. - * Removed love.physics.newWorld(w, h). Use love.physics.newWorld(x1, y1, x2, y2) instead. - -LOVE 0.6.2 [Jiggly Juice] -------------------------- - - Released: 2010-03-06 - - * Fixed a bug causing ImageFonts to cut off some pixels. - * Fixed a bug where filled rectangles were too small. - * Fixed a bug in Image:setFilter where it would switch the parameters. - * Fixed a bug in ImageRasterizer where it wasn't using the data. - * Image filter and wrap modes now use string constants as well. - * Fixed double-transform bug in SpriteBatch. - * Errors are reported on stdout again. - * Another fix for the icons on ubuntu. - -LOVE 0.6.1 [Jiggly Juice] -------------------------- - - Released: 2010-02-07 - - * Added Shape:setGroupIndex and getGroupIndex. - * Added Body:setFixedRotation and Body:getFixedRotation. - * Added Body:setInertia. - * Added CircleShape:getLocalCenter and CircleShape:getWorldCenter. - * Added icons and file associations for the debs. - * Added the demos folder to the Mac OS X DMG. - * It's now possible to run a .love from Resources in Mac OS X, thanks to Steve Johnson. - * Fixed a bug with multiple Sources on the same Music. - * Fixed a bug so the mouse doesn't get crippled when the keyboard is disabled. - * Fixed a bug where love.graphics.rectangle drew a too large rectangle. - * Fixed a bug where memory wouldn't be released correctly. - * Fixed epic physics typo (getRestituion->getRestitution). - * Fixed crash on opening non-existent image. - * The error screen redraws when an event occurs. - * The default love.run() now gracefully handles disabled modules. - * The debian packages should now successfully include icons, file associations, etc, and should give the correct architecture. - * Added support for drawing polylines to love.graphics.line - the syntax is the same as love.graphics.polygon. - * Removed Music and Sound. There are now only sources. - * Improved the stability of love.audio/love.sound. - -LOVE 0.6.0 [Jiggly Juice] -------------------------- - - Released: 2009-12-24 - - * Lost track of 0.6.0 changes a long while ago. Don't trust the list below. - - * Added love.graphics.print()/printf(). - * Added unicode-translated parameter to love.keypressed(). - * Added love.event. - * Added love.filesystem.setIdentity(). - * Added OpenAL dependency. - - * Fixed love.fileystem problems with internal \0 in strings. - * Fixed love.filesystem.mkdir/remove not working when write directory not set. - * Fixed position of Window. - - * Changed parameter order of draws(). - * Changed origin for images to top-left. - * Changed love.filesystem.open to accept mode (removed from love.filesystem.newFile). - * Changed love.filesystem.read() which now returns two parameters (data, length). - * Changed love.filesystem.write() which now takes up to four parameters (file, data, length, mode). - * Changed default color mode to "modulate". - * Changed name of love.color_normal to "replace". - * Changed name of love.blend_normal to "alpha". - * Changed the conf file format. - - * Removed Color object. - * Removed Animation. - * Removed several constants. - * Removed love.graphics.draw() for strings. - * Removed love.system. - * Removed SWIG. - * Removed boost. - * Removed SDL_mixer. - - -LOVE 0.5.0 [Salted Nuts] ------------------------- - - Released: 2009-01-02 - - * Added love.joystick. - * Added network support via LuaSocket. - * Added support for loading of appended .love-file. - - * Added love.filesystem.lines(). - * Added a loader function to enable use of normal require(). - * Added love.filesystem.load(). - * Added love.filesystem.getSaveDirectory() - * Added love.filesystem.getWorkingDirectory() - - * Added optional explicit destruction of Box2D objects. - * Added shape:testSegment(). - * Added love.graphics.screenshot() (.bmp only). - * Added default size (12) to font-related functions. - * Added love.graphics.setFont( filename, size ) - * Added love.graphics.setLineStippe and related functions. - * Added love.graphics.setPointSize and related functions. - - * Changed love.filesystem.read() to accept file name. - * Changed love.filesystem.write() to accept file name. - * Changed love.graphics.triangle() to accept CCW and CW ordering. - - * Fixed love.graphics.read adding bogus characters at the end of string. - * Fixed epic swigfusion bug. - * Fixed love.graphics.getFont so it returns nil if no font is present. - * Fixed bug where love.graphics.getBlendMode() always returns blend_normal. - * Fixed bug which caused error screen to be scissored (when enabled). - * Fixed Body:setAngle to accept degrees like everything else. - - * Cleaned up love::File and love_physfs. - * Cleaned up love::Reference so it stores its reference in _G. - -LOVE 0.4.0 [Taco Beam] ----------------------- - - Released: 2008-08-29 - - * Added love.physics. (YES!) - * Added love.audio.setMode(). - * Added love.audio.setChannels(). - * Added love.graphics.polygon(). - * Added love.graphics.setScissor() and love.graphics.getScissor() to handle scissoring the graphical area. - * Fixed missing constants related to image optimization. - * Fixed memory leak related to love::File (thanks amnesiasoft!). - - -LOVE 0.3.2 [Lemony Fresh] -------------------------- - - Released: 2008-07-04 - - * Added love.graphics.rectangle() - * Added love.graphics.setLineWidth() - * Added love.graphics.setLineStyle() - * Added love.graphics.getLineWidth() - * Added love.graphics.getLineStyle() - * Added love.mouse.getPosition() - * Added love.audio_loop - * Added love.timer.getTime() - * Changed love.graphics.quad() to accept CCW and CW ordering. - * Fixed default color mode bug. - * Fixed line width being applied unnecessarily. - * Fixed line width bug related to fullscreen toggle. - * Fixed music not looping. - -LOVE 0.3.1 [Space Meat] ------------------------ - - Released: 2008-06-21 - - * Fixed segfault related to graphics. - * Fixed wait-forever bug related to audio. - * Fixed error reporting not working across modules. - * Fixed bug where games with a trailing "/" would not start. - * Fixed bug which caused love.timer.sleep to delay for (way) too long. - -LOVE 0.3.0 [Mutant Vermin] --------------------------- - - Released: 2008-06-17 - - * Added ParticleSystem. - * Added visual error reporting. - * Added love.system for game control needs. - * Added input grabbing. - * Added functions in love.graphics for display management. - * Added love.graphics.point(). - * Added functions in love.graphics for getting current color, font, etc. - * Added love.filesystem.enumerate() for getting folder contents. - * Added functions for setting the window caption. - * Added version checking. An error occurs if the game is incompatible. - * Fixed print() :) - * Removed all keyboard shortcuts. - * Save folders are now created only if required. - * On Windows, the new save location is %APPDATA%\LOVE\game - -LOVE 0.2.1 [Impending Doom] ---------------------------- - - Released: 2008-03-29 - - * Added many functions in love.filesystem. - * Added a dedicated save-folder for each game. - * Added timer.sleep. - * Added line heights to font objects. - * Added love.graphics.getWidth/getHeight. - * Added scaling and rotation for text. - * Added variable spacing to ImageFont. - * Added support for variable line quality when drawing primitives. - * Added several functions for drawing sections of images. (love.graphics.draws) - * Added image optimization function and padding function. - * Added love.graphics.getWidth/Height. - - * Split devices up into actual SWIG-modules. This means that: - - Functions are used like this: love.graphics.draw, not love.graphics:draw - - love.objects is no more. Objects are created by an appropriate device. - * How you draw primitives has been altered. - * draw(string, x, y, wrap, align) has become drawf(string, x, y, wrap, align) - - * Changed getFps to getFPS. - * Escape is no more ... enter: Alt+F4. - * love.filesystem.include has been renamed to love.filesystem.require. - * ImageFonts now consider the spacing as well as the glyph size. - * Fixed a massive ImageFont bug which resulted in float-positioning failure. - * Fixed a bug when loading fonts where the specified size doesn't represent the true size of the font. - - * Updated DevIL to version 1.6.8-rc2 (Windows) - * Updated FreeType to freetype-2.3.5-1 (Windows) - * Updated Lua to 5.1.3 (Windows) - * Updated SDL to 1.2.13 (Windows) - * Removed boost::filesystem. - -LOVE 0.2.0 [Mini-Moose] ------------------------ - - Released: 2008-02-06 - - * Added ImageFont - * Added Animation - * Added text formatting functions - * Added setCenter for Image and Animation. - * Added methods for rendering of scaled/rotated sprites. - * Added the drawing of basic shapes. - * Added default font and embedded resources. - * Added Ctrl+R for reload. - * Added blending and color modes. - * Fixed memory usage of Graphics. - * Fixed a bug where the set text color would change the color of any images rendered. - * Fixed CWD bug. - * Fixed titlebar. Game title is now displayed. - - -LOVE 0.1.1 [Santa-Power] ------------------------- - - Initial release! - Released: 2008-01-13 - - * Image loading and rendering. - * Sound loading and playing. - * Font loading and rendering. - * Lua-scriptable games. - * Config files. - * Stuff is loadable from archive files. - * Keyboard, mouse, display, timer, etc. (Basic devices). diff --git a/engine/love/game.ico b/engine/love/game.ico deleted file mode 100644 index ecc5c0d..0000000 Binary files a/engine/love/game.ico and /dev/null differ diff --git a/engine/love/license.txt b/engine/love/license.txt deleted file mode 100644 index 61f28e3..0000000 --- a/engine/love/license.txt +++ /dev/null @@ -1,1172 +0,0 @@ -Licensing information -===================== - -This distribution contains code from the following projects (full license text below): - - - LOVE - Website: https://love2d.org/ - License: zlib - Copyright (c) 2006-2019 LOVE Development Team - - - ENet - Website: http://enet.bespin.org/index.html - License: MIT/Expat - Copyright (c) 2002-2016 Lee Salzman - - - GLAD - Website: http://glad.dav1d.de/ - License: MIT/Expat - Copyright (c) 2013 David Herberth, modified by Alex Szpakowski - - - glslang - Website: https://github.com/KhronosGroup/glslang - License: 3-Clause BSD - Copyright (C) 2002-2005 3Dlabs Inc. Ltd. - Copyright (C) 2013-2016 LunarG, Inc. - - - Kepler Project's lua-compat-5.3 - Website: https://github.com/keplerproject/lua-compat-5.3 - License: MIT/Expat - Copyright (c) 2015 Kepler Project. - - - lua-enet - Website: http://leafo.net/lua-enet/ - License: MIT/Expat - Copyright (C) 2011 by Leaf Corcoran - - - LuaJIT - Website: http://luajit.org/ - License: MIT/Expat - LuaJIT is Copyright (c) 2005-2016 Mike Pall - - - Lua's UTF-8 module - Website: https://www.lua.org/ - License: MIT/Expat - Copyright (C) 1994-2015 Lua.org, PUC-Rio, 2015 LOVE Development Team. - - - LuaSocket - Website: http://w3.impa.br/~diego/software/luasocket/home.html - License: MIT/Expat - Copyright (C) 2004-2013 Diego Nehab - - - LZ4 - Website: https://lz4.github.io/lz4/ - License: 2-Clause BSD - Copyright (C) 2011-2015, Yann Collet. - You can contact the author at : - - LZ4 source repository : https://github.com/Cyan4973/lz4 - - LZ4 public forum : https://groups.google.com/forum/#!forum/lz4c - - - TinyEXR - Website: https://github.com/syoyo/tinyexr - License: 3-Clause BSD - Copyright (c) 2014 - 2016, Syoyo Fujita - - - UTF8-CPP - Website: https://github.com/nemtrif/utfcpp - License: Unknown, MIT/Expat-like (listed as UTF8-CPP) - Copyright 2006 Nemanja Trifunovic - - - xxHash - Website: https://cyan4973.github.io/xxHash/ - License: 2-Clause BSD - Copyright (C) 2012-2016, Yann Collet. - You can contact the author at : - - xxHash source repository : https://github.com/Cyan4973/xxHash - - - dr_flac - Website: https://github.com/mackron/dr_libs - Source download: https://github.com/mackron/dr_libs/blob/41bc0e8/dr_flac.h - License: MIT/Expat - Copyright 2018 David Reid - - - libmpg123 - Website: http://www.mpg123.de/ - Source download: http://sourceforge.net/projects/mpg123/files/latest/download - License: LGPL 2.1 - Copyright (c) 1995-2013 by Michael Hipp and others, free software under the terms of the LGPL v2.1 - Detailed information from the debian project: - Copyright 1995-2016 by the mpg123 project - Copyright 2009-2011 by Malcolm Boczek - Copyright 2008 Christian Weisgerber - Copyright 2006-2007 by Zuxy Meng - Copyright 2000-2002 David Olofson - Copyright 1998 Fabrice Bellard - Copyright 1997 Mikko Tommila - - - OpenAL Soft - Website: http://kcat.strangesoft.net/openal.html - Source download: http://kcat.strangesoft.net/openal.html#download - License: Mixed, licensing information obtained from the debian project - - Alc/backends/opensl.c - License: Apache 2.0 - Copyright 2011 The Android Open Source Project - - examples/alhrtf.c examples/allatency.c examples/alloopback.c examples/alreverb.c examples/alstream.c examples/altonegen.c examples/common/alhelpers.c examples/common/sdl_sound.c utils/openal-info.c - License: MIT/Expat - Copyright © 2010, 2015 Chris Robinson - - examples/alffplay.c - License: unclear, presumed LGPL 2.1 or higher - Copyright © 2003 Fabrice Bellard - Copyright © Martin Bohme - - Alc/bs2b.c OpenAL32/Include/bs2b.h - License: MIT/Expat - Copyright 2005 by Boris Mikhaylov - - cmake/FindALSA.cmake cmake/FindFFmpeg.cmake cmake/FindJACK.cmake cmake/FindSDL2.cmake - License: 3-Clause BSD - Copyright © 2006 Matthias Kretz - Copyright © 2008 Alexander Neundorf - Copyright © 2003-2011 Kitware, Inc. - Copyright © 2009-2011 Philip Lowman - Copyright © 2011 Michael Jansen - Copyright © 2012 Benjamin Eikel - - utils/makehrtf.c (not included in distribution) - License: GPL 2 or higher (2 listed below) - Copyright 2011-2014 Christopher Fitzgerald - - Everything else: - License: LGPL 2.0 or higher (2.1 listed below) - Copyright © 1999-2014 the OpenAL team - Copyright © 2008-2015 Christopher Fitzgerald - Copyright © 2009-2015 Chris Robinson - Copyright © 2013 Anis A. Hireche - Copyright © 2013 Nasca Octavian Paul - Copyright © 2013 Mike Gorchak - Copyright © 2014 Timothy Arceri - -License text -============ - -zlib license - This software is provided 'as-is', without any express or implied - warranty. In no event will the authors be held liable for any damages - arising from the use of this software. - - Permission is granted to anyone to use this software for any purpose, - including commercial applications, and to alter it and redistribute it - freely, subject to the following restrictions: - - 1. The origin of this software must not be misrepresented you must not - claim that you wrote the original software. If you use this software - in a product, an acknowledgment in the product documentation would be - appreciated but is not required. - - 2. Altered source versions must be plainly marked as such, and must not be - misrepresented as being the original software. - - 3. This notice may not be removed or altered from any source - distribution. - -MIT/Expat - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. - -3-Clause BSD - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - - Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - - Neither the name of 3Dlabs Inc. Ltd. nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS - FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, - INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES - LOSS OF USE, DATA, OR PROFITS OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN - ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - POSSIBILITY OF SUCH DAMAGE. - -2-Clause BSD - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are - met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following disclaimer - in the documentation and/or other materials provided with the - distribution. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES LOSS OF USE, - DATA, OR PROFITS OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -UTF8-CPP - Permission is hereby granted, free of charge, to any person or organization - obtaining a copy of the software and accompanying documentation covered by - this license (the "Software") to use, reproduce, display, distribute, - execute, and transmit the Software, and to prepare derivative works of the - Software, and to permit third-parties to whom the Software is furnished to - do so, all subject to the following: - - The copyright notices in the Software and this entire statement, including - the above license grant, this restriction and the following disclaimer, - must be included in all copies of the Software, in whole or in part, and - all derivative works of the Software, unless such copies or derivative - works are solely in the form of machine-executable object code generated by - a source language processor. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT - SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE - FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, - ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER - DEALINGS IN THE SOFTWARE. - -LGPL 2.1 - GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999 - - Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - [This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.] - - Preamble - - The licenses for most software are designed to take away your - freedom to share and change it. By contrast, the GNU General Public - Licenses are intended to guarantee your freedom to share and change - free software--to make sure the software is free for all its users. - - This license, the Lesser General Public License, applies to some - specially designated software packages--typically libraries--of the - Free Software Foundation and other authors who decide to use it. You - can use it too, but we suggest you first think carefully about whether - this license or the ordinary General Public License is the better - strategy to use in any particular case, based on the explanations below. - - When we speak of free software, we are referring to freedom of use, - not price. Our General Public Licenses are designed to make sure that - you have the freedom to distribute copies of free software (and charge - for this service if you wish) that you receive source code or can get - it if you want it that you can change the software and use pieces of - it in new free programs and that you are informed that you can do - these things. - - To protect your rights, we need to make restrictions that forbid - distributors to deny you these rights or to ask you to surrender these - rights. These restrictions translate to certain responsibilities for - you if you distribute copies of the library or if you modify it. - - For example, if you distribute copies of the library, whether gratis - or for a fee, you must give the recipients all the rights that we gave - you. You must make sure that they, too, receive or can get the source - code. If you link other code with the library, you must provide - complete object files to the recipients, so that they can relink them - with the library after making changes to the library and recompiling - it. And you must show them these terms so they know their rights. - - We protect your rights with a two-step method: (1) we copyright the - library, and (2) we offer you this license, which gives you legal - permission to copy, distribute and/or modify the library. - - To protect each distributor, we want to make it very clear that - there is no warranty for the free library. Also, if the library is - modified by someone else and passed on, the recipients should know - that what they have is not the original version, so that the original - author's reputation will not be affected by problems that might be - introduced by others. - - Finally, software patents pose a constant threat to the existence of - any free program. We wish to make sure that a company cannot - effectively restrict the users of a free program by obtaining a - restrictive license from a patent holder. Therefore, we insist that - any patent license obtained for a version of the library must be - consistent with the full freedom of use specified in this license. - - Most GNU software, including some libraries, is covered by the - ordinary GNU General Public License. This license, the GNU Lesser - General Public License, applies to certain designated libraries, and - is quite different from the ordinary General Public License. We use - this license for certain libraries in order to permit linking those - libraries into non-free programs. - - When a program is linked with a library, whether statically or using - a shared library, the combination of the two is legally speaking a - combined work, a derivative of the original library. The ordinary - General Public License therefore permits such linking only if the - entire combination fits its criteria of freedom. The Lesser General - Public License permits more lax criteria for linking other code with - the library. - - We call this license the "Lesser" General Public License because it - does Less to protect the user's freedom than the ordinary General - Public License. It also provides other free software developers Less - of an advantage over competing non-free programs. These disadvantages - are the reason we use the ordinary General Public License for many - libraries. However, the Lesser license provides advantages in certain - special circumstances. - - For example, on rare occasions, there may be a special need to - encourage the widest possible use of a certain library, so that it becomes - a de-facto standard. To achieve this, non-free programs must be - allowed to use the library. A more frequent case is that a free - library does the same job as widely used non-free libraries. In this - case, there is little to gain by limiting the free library to free - software only, so we use the Lesser General Public License. - - In other cases, permission to use a particular library in non-free - programs enables a greater number of people to use a large body of - free software. For example, permission to use the GNU C Library in - non-free programs enables many more people to use the whole GNU - operating system, as well as its variant, the GNU/Linux operating - system. - - Although the Lesser General Public License is Less protective of the - users' freedom, it does ensure that the user of a program that is - linked with the Library has the freedom and the wherewithal to run - that program using a modified version of the Library. - - The precise terms and conditions for copying, distribution and - modification follow. Pay close attention to the difference between a - "work based on the library" and a "work that uses the library". The - former contains code derived from the library, whereas the latter must - be combined with the library in order to run. - - GNU LESSER GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library or other - program which contains a notice placed by the copyright holder or - other authorized party saying it may be distributed under the terms of - this Lesser General Public License (also called "this License"). - Each licensee is addressed as "you". - - A "library" means a collection of software functions and/or data - prepared so as to be conveniently linked with application programs - (which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work - which has been distributed under these terms. A "work based on the - Library" means either the Library or any derivative work under - copyright law: that is to say, a work containing the Library or a - portion of it, either verbatim or with modifications and/or translated - straightforwardly into another language. (Hereinafter, translation is - included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for - making modifications to it. For a library, complete source code means - all the source code for all modules it contains, plus any associated - interface definition files, plus the scripts used to control compilation - and installation of the library. - - Activities other than copying, distribution and modification are not - covered by this License they are outside its scope. The act of - running a program using the Library is not restricted, and output from - such a program is covered only if its contents constitute a work based - on the Library (independent of the use of the Library in a tool for - writing it). Whether that is true depends on what the Library does - and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's - complete source code as you receive it, in any medium, provided that - you conspicuously and appropriately publish on each copy an - appropriate copyright notice and disclaimer of warranty keep intact - all the notices that refer to this License and to the absence of any - warranty and distribute a copy of this License along with the - Library. - - You may charge a fee for the physical act of transferring a copy, - and you may at your option offer warranty protection in exchange for a - fee. - - 2. You may modify your copy or copies of the Library or any portion - of it, thus forming a work based on the Library, and copy and - distribute such modifications or work under the terms of Section 1 - above, provided that you also meet all of these conditions: - - a) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - - These requirements apply to the modified work as a whole. If - identifiable sections of that work are not derived from the Library, - and can be reasonably considered independent and separate works in - themselves, then this License, and its terms, do not apply to those - sections when you distribute them as separate works. But when you - distribute the same sections as part of a whole which is a work based - on the Library, the distribution of the whole must be on the terms of - this License, whose permissions for other licensees extend to the - entire whole, and thus to each and every part regardless of who wrote - it. - - Thus, it is not the intent of this section to claim rights or contest - your rights to work written entirely by you rather, the intent is to - exercise the right to control the distribution of derivative or - collective works based on the Library. - - In addition, mere aggregation of another work not based on the Library - with the Library (or with a work based on the Library) on a volume of - a storage or distribution medium does not bring the other work under - the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public - License instead of this License to a given copy of the Library. To do - this, you must alter all the notices that refer to this License, so - that they refer to the ordinary GNU General Public License, version 2, - instead of to this License. (If a newer version than version 2 of the - ordinary GNU General Public License has appeared, then you can specify - that version instead if you wish.) Do not make any other change in - these notices. - - Once this change is made in a given copy, it is irreversible for - that copy, so the ordinary GNU General Public License applies to all - subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of - the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or - derivative of it, under Section 2) in object code or executable form - under the terms of Sections 1 and 2 above provided that you accompany - it with the complete corresponding machine-readable source code, which - must be distributed under the terms of Sections 1 and 2 above on a - medium customarily used for software interchange. - - If distribution of object code is made by offering access to copy - from a designated place, then offering equivalent access to copy the - source code from the same place satisfies the requirement to - distribute the source code, even though third parties are not - compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the - Library, but is designed to work with the Library by being compiled or - linked with it, is called a "work that uses the Library". Such a - work, in isolation, is not a derivative work of the Library, and - therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library - creates an executable that is a derivative of the Library (because it - contains portions of the Library), rather than a "work that uses the - library". The executable is therefore covered by this License. - Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file - that is part of the Library, the object code for the work may be a - derivative work of the Library even though the source code is not. - Whether this is true is especially significant if the work can be - linked without the Library, or if the work is itself a library. The - threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data - structure layouts and accessors, and small macros and small inline - functions (ten lines or less in length), then the use of the object - file is unrestricted, regardless of whether it is legally a derivative - work. (Executables containing this object code plus portions of the - Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may - distribute the object code for the work under the terms of Section 6. - Any executables containing that work also fall under Section 6, - whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also combine or - link a "work that uses the Library" with the Library to produce a - work containing portions of the Library, and distribute that work - under terms of your choice, provided that the terms permit - modification of the work for the customer's own use and reverse - engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the - Library is used in it and that the Library and its use are covered by - this License. You must supply a copy of this License. If the work - during execution displays copyright notices, you must include the - copyright notice for the Library among them, as well as a reference - directing the user to the copy of this License. Also, you must do one - of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above) and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (1) uses at run time a - copy of the library already present on the user's computer system, - rather than copying library functions into the executable, and (2) - will operate properly with a modified version of the library, if - the user installs one, as long as the modified version is - interface-compatible with the version that the work was made with. - - c) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. - - d) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - e) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the - Library" must include any data and utility programs needed for - reproducing the executable from it. However, as a special exception, - the materials to be distributed need not include anything that is - normally distributed (in either source or binary form) with the major - components (compiler, kernel, and so on) of the operating system on - which the executable runs, unless that component itself accompanies - the executable. - - It may happen that this requirement contradicts the license - restrictions of other proprietary libraries that do not normally - accompany the operating system. Such a contradiction means you cannot - use both them and the Library together in an executable that you - distribute. - - 7. You may place library facilities that are a work based on the - Library side-by-side in a single library together with other library - facilities not covered by this License, and distribute such a combined - library, provided that the separate distribution of the work based on - the Library and of the other library facilities is otherwise - permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute - the Library except as expressly provided under this License. Any - attempt otherwise to copy, modify, sublicense, link with, or - distribute the Library is void, and will automatically terminate your - rights under this License. However, parties who have received copies, - or rights, from you under this License will not have their licenses - terminated so long as such parties remain in full compliance. - - 9. You are not required to accept this License, since you have not - signed it. However, nothing else grants you permission to modify or - distribute the Library or its derivative works. These actions are - prohibited by law if you do not accept this License. Therefore, by - modifying or distributing the Library (or any work based on the - Library), you indicate your acceptance of this License to do so, and - all its terms and conditions for copying, distributing or modifying - the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the - Library), the recipient automatically receives a license from the - original licensor to copy, distribute, link with or modify the Library - subject to these terms and conditions. You may not impose any further - restrictions on the recipients' exercise of the rights granted herein. - You are not responsible for enforcing compliance by third parties with - this License. - - 11. If, as a consequence of a court judgment or allegation of patent - infringement or for any other reason (not limited to patent issues), - conditions are imposed on you (whether by court order, agreement or - otherwise) that contradict the conditions of this License, they do not - excuse you from the conditions of this License. If you cannot - distribute so as to satisfy simultaneously your obligations under this - License and any other pertinent obligations, then as a consequence you - may not distribute the Library at all. For example, if a patent - license would not permit royalty-free redistribution of the Library by - all those who receive copies directly or indirectly through you, then - the only way you could satisfy both it and this License would be to - refrain entirely from distribution of the Library. - - If any portion of this section is held invalid or unenforceable under any - particular circumstance, the balance of the section is intended to apply, - and the section as a whole is intended to apply in other circumstances. - - It is not the purpose of this section to induce you to infringe any - patents or other property right claims or to contest validity of any - such claims this section has the sole purpose of protecting the - integrity of the free software distribution system which is - implemented by public license practices. Many people have made - generous contributions to the wide range of software distributed - through that system in reliance on consistent application of that - system it is up to the author/donor to decide if he or she is willing - to distribute software through any other system and a licensee cannot - impose that choice. - - This section is intended to make thoroughly clear what is believed to - be a consequence of the rest of this License. - - 12. If the distribution and/or use of the Library is restricted in - certain countries either by patents or by copyrighted interfaces, the - original copyright holder who places the Library under this License may add - an explicit geographical distribution limitation excluding those countries, - so that distribution is permitted only in or among countries not thus - excluded. In such case, this License incorporates the limitation as if - written in the body of this License. - - 13. The Free Software Foundation may publish revised and/or new - versions of the Lesser General Public License from time to time. - Such new versions will be similar in spirit to the present version, - but may differ in detail to address new problems or concerns. - - Each version is given a distinguishing version number. If the Library - specifies a version number of this License which applies to it and - "any later version", you have the option of following the terms and - conditions either of that version or of any later version published by - the Free Software Foundation. If the Library does not specify a - license version number, you may choose any version ever published by - the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free - programs whose distribution conditions are incompatible with these, - write to the author to ask for permission. For software which is - copyrighted by the Free Software Foundation, write to the Free - Software Foundation we sometimes make exceptions for this. Our - decision will be guided by the two goals of preserving the free status - of all derivatives of our free software and of promoting the sharing - and reuse of software generally. - - NO WARRANTY - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO - WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. - EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR - OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY - KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE - LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME - THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN - WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY - AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU - FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR - CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE - LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING - RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A - FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF - SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH - DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Libraries - - If you develop a new library, and you want it to be of the greatest - possible use to the public, we recommend making it free software that - everyone can redistribute and change. You can do so by permitting - redistribution under these terms (or, alternatively, under the terms of the - ordinary General Public License). - - To apply these terms, attach the following notices to the library. It is - safest to attach them to the start of each source file to most effectively - convey the exclusion of warranty and each file should have at least the - "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This library is free software you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - - Also add information on how to contact you by electronic and paper mail. - - You should also get your employer (if you work as a programmer) or your - school, if any, to sign a "copyright disclaimer" for the library, if - necessary. Here is a sample alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the - library `Frob' (a library for tweaking knobs) written by James Random Hacker. - - , 1 April 1990 - Ty Coon, President of Vice - - That's all there is to it! - -GPL 2 - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your - freedom to share and change it. By contrast, the GNU General Public - License is intended to guarantee your freedom to share and change free - software--to make sure the software is free for all its users. This - General Public License applies to most of the Free Software - Foundation's software and to any other program whose authors commit to - using it. (Some other Free Software Foundation software is covered by - the GNU Lesser General Public License instead.) You can apply it to - your programs, too. - - When we speak of free software, we are referring to freedom, not - price. Our General Public Licenses are designed to make sure that you - have the freedom to distribute copies of free software (and charge for - this service if you wish), that you receive source code or can get it - if you want it, that you can change the software or use pieces of it - in new free programs and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid - anyone to deny you these rights or to ask you to surrender the rights. - These restrictions translate to certain responsibilities for you if you - distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether - gratis or for a fee, you must give the recipients all the rights that - you have. You must make sure that they, too, receive or can get the - source code. And you must show them these terms so they know their - rights. - - We protect your rights with two steps: (1) copyright the software, and - (2) offer you this license which gives you legal permission to copy, - distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain - that everyone understands that there is no warranty for this free - software. If the software is modified by someone else and passed on, we - want its recipients to know that what they have is not the original, so - that any problems introduced by others will not reflect on the original - authors' reputations. - - Finally, any free program is threatened constantly by software - patents. We wish to avoid the danger that redistributors of a free - program will individually obtain patent licenses, in effect making the - program proprietary. To prevent this, we have made it clear that any - patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and - modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains - a notice placed by the copyright holder saying it may be distributed - under the terms of this General Public License. The "Program", below, - refers to any such program or work, and a "work based on the Program" - means either the Program or any derivative work under copyright law: - that is to say, a work containing the Program or a portion of it, - either verbatim or with modifications and/or translated into another - language. (Hereinafter, translation is included without limitation in - the term "modification".) Each licensee is addressed as "you". - - Activities other than copying, distribution and modification are not - covered by this License they are outside its scope. The act of - running the Program is not restricted, and the output from the Program - is covered only if its contents constitute a work based on the - Program (independent of having been made by running the Program). - Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's - source code as you receive it, in any medium, provided that you - conspicuously and appropriately publish on each copy an appropriate - copyright notice and disclaimer of warranty keep intact all the - notices that refer to this License and to the absence of any warranty - and give any other recipients of the Program a copy of this License - along with the Program. - - You may charge a fee for the physical act of transferring a copy, and - you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion - of it, thus forming a work based on the Program, and copy and - distribute such modifications or work under the terms of Section 1 - above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - - These requirements apply to the modified work as a whole. If - identifiable sections of that work are not derived from the Program, - and can be reasonably considered independent and separate works in - themselves, then this License, and its terms, do not apply to those - sections when you distribute them as separate works. But when you - distribute the same sections as part of a whole which is a work based - on the Program, the distribution of the whole must be on the terms of - this License, whose permissions for other licensees extend to the - entire whole, and thus to each and every part regardless of who wrote it. - - Thus, it is not the intent of this section to claim rights or contest - your rights to work written entirely by you rather, the intent is to - exercise the right to control the distribution of derivative or - collective works based on the Program. - - In addition, mere aggregation of another work not based on the Program - with the Program (or with a work based on the Program) on a volume of - a storage or distribution medium does not bring the other work under - the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, - under Section 2) in object code or executable form under the terms of - Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - - The source code for a work means the preferred form of the work for - making modifications to it. For an executable work, complete source - code means all the source code for all modules it contains, plus any - associated interface definition files, plus the scripts used to - control compilation and installation of the executable. However, as a - special exception, the source code distributed need not include - anything that is normally distributed (in either source or binary - form) with the major components (compiler, kernel, and so on) of the - operating system on which the executable runs, unless that component - itself accompanies the executable. - - If distribution of executable or object code is made by offering - access to copy from a designated place, then offering equivalent - access to copy the source code from the same place counts as - distribution of the source code, even though third parties are not - compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program - except as expressly provided under this License. Any attempt - otherwise to copy, modify, sublicense or distribute the Program is - void, and will automatically terminate your rights under this License. - However, parties who have received copies, or rights, from you under - this License will not have their licenses terminated so long as such - parties remain in full compliance. - - 5. You are not required to accept this License, since you have not - signed it. However, nothing else grants you permission to modify or - distribute the Program or its derivative works. These actions are - prohibited by law if you do not accept this License. Therefore, by - modifying or distributing the Program (or any work based on the - Program), you indicate your acceptance of this License to do so, and - all its terms and conditions for copying, distributing or modifying - the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the - Program), the recipient automatically receives a license from the - original licensor to copy, distribute or modify the Program subject to - these terms and conditions. You may not impose any further - restrictions on the recipients' exercise of the rights granted herein. - You are not responsible for enforcing compliance by third parties to - this License. - - 7. If, as a consequence of a court judgment or allegation of patent - infringement or for any other reason (not limited to patent issues), - conditions are imposed on you (whether by court order, agreement or - otherwise) that contradict the conditions of this License, they do not - excuse you from the conditions of this License. If you cannot - distribute so as to satisfy simultaneously your obligations under this - License and any other pertinent obligations, then as a consequence you - may not distribute the Program at all. For example, if a patent - license would not permit royalty-free redistribution of the Program by - all those who receive copies directly or indirectly through you, then - the only way you could satisfy both it and this License would be to - refrain entirely from distribution of the Program. - - If any portion of this section is held invalid or unenforceable under - any particular circumstance, the balance of the section is intended to - apply and the section as a whole is intended to apply in other - circumstances. - - It is not the purpose of this section to induce you to infringe any - patents or other property right claims or to contest validity of any - such claims this section has the sole purpose of protecting the - integrity of the free software distribution system, which is - implemented by public license practices. Many people have made - generous contributions to the wide range of software distributed - through that system in reliance on consistent application of that - system it is up to the author/donor to decide if he or she is willing - to distribute software through any other system and a licensee cannot - impose that choice. - - This section is intended to make thoroughly clear what is believed to - be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in - certain countries either by patents or by copyrighted interfaces, the - original copyright holder who places the Program under this License - may add an explicit geographical distribution limitation excluding - those countries, so that distribution is permitted only in or among - countries not thus excluded. In such case, this License incorporates - the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions - of the General Public License from time to time. Such new versions will - be similar in spirit to the present version, but may differ in detail to - address new problems or concerns. - - Each version is given a distinguishing version number. If the Program - specifies a version number of this License which applies to it and "any - later version", you have the option of following the terms and conditions - either of that version or of any later version published by the Free - Software Foundation. If the Program does not specify a version number of - this License, you may choose any version ever published by the Free Software - Foundation. - - 10. If you wish to incorporate parts of the Program into other free - programs whose distribution conditions are different, write to the author - to ask for permission. For software which is copyrighted by the Free - Software Foundation, write to the Free Software Foundation we sometimes - make exceptions for this. Our decision will be guided by the two goals - of preserving the free status of all derivatives of our free software and - of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY - FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN - OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES - PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED - OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS - TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE - PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, - REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING - WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR - REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, - INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING - OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED - TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY - YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER - PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE - POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest - possible use to the public, the best way to achieve this is to make it - free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest - to attach them to the start of each source file to most effectively - convey the exclusion of warranty and each file should have at least - the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - - Also add information on how to contact you by electronic and paper mail. - - If the program is interactive, make it output a short notice like this - when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions type `show c' for details. - - The hypothetical commands `show w' and `show c' should show the appropriate - parts of the General Public License. Of course, the commands you use may - be called something other than `show w' and `show c' they could even be - mouse-clicks or menu items--whatever suits your program. - - You should also get your employer (if you work as a programmer) or your - school, if any, to sign a "copyright disclaimer" for the program, if - necessary. Here is a sample alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - - This General Public License does not permit incorporating your program into - proprietary programs. If your program is a subroutine library, you may - consider it more useful to permit linking proprietary applications with the - library. If this is what you want to do, use the GNU Lesser General - Public License instead of this License. - -Apache 2.0 - Apache License - - Version 2.0, January 2004 - - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. - - "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: - - You must give any other recipients of the Work or Derivative Works a copy of this License and - You must cause any modified files to carry prominent notices stating that You changed the files and - You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works and - If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works within the Source form or documentation, if provided along with the Derivative Works or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. - - You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - APPENDIX: How to apply the Apache License to your work - - To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License") - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/engine/love/love.dll b/engine/love/love.dll deleted file mode 100644 index 78a69e2..0000000 Binary files a/engine/love/love.dll and /dev/null differ diff --git a/engine/love/love.exe b/engine/love/love.exe deleted file mode 100644 index 58de09b..0000000 Binary files a/engine/love/love.exe and /dev/null differ diff --git a/engine/love/love.ico b/engine/love/love.ico deleted file mode 100644 index b703c98..0000000 Binary files a/engine/love/love.ico and /dev/null differ diff --git a/engine/love/lovec.exe b/engine/love/lovec.exe deleted file mode 100644 index 0e7962c..0000000 Binary files a/engine/love/lovec.exe and /dev/null differ diff --git a/engine/love/lua51.dll b/engine/love/lua51.dll deleted file mode 100644 index d3a6892..0000000 Binary files a/engine/love/lua51.dll and /dev/null differ diff --git a/engine/love/luasteam.dll b/engine/love/luasteam.dll deleted file mode 100644 index 0c97435..0000000 Binary files a/engine/love/luasteam.dll and /dev/null differ diff --git a/engine/love/mpg123.dll b/engine/love/mpg123.dll deleted file mode 100644 index cd7a2a0..0000000 Binary files a/engine/love/mpg123.dll and /dev/null differ diff --git a/engine/love/msvcp120.dll b/engine/love/msvcp120.dll deleted file mode 100644 index 4ea1efa..0000000 Binary files a/engine/love/msvcp120.dll and /dev/null differ diff --git a/engine/love/msvcr120.dll b/engine/love/msvcr120.dll deleted file mode 100644 index d711c92..0000000 Binary files a/engine/love/msvcr120.dll and /dev/null differ diff --git a/engine/love/polyclipping.dll b/engine/love/polyclipping.dll deleted file mode 100644 index 0ca4218..0000000 Binary files a/engine/love/polyclipping.dll and /dev/null differ diff --git a/engine/love/readme.txt b/engine/love/readme.txt deleted file mode 100644 index 75030ab..0000000 --- a/engine/love/readme.txt +++ /dev/null @@ -1,98 +0,0 @@ -LÖVE is an *awesome* framework you can use to make 2D games in Lua. It's free, open-source, and works on Windows, Mac OS X, Linux, Android, and iOS. - -[![Build Status: Windows](https://ci.appveyor.com/api/projects/status/u1a69u5o5ej1pus4?svg=true)](https://ci.appveyor.com/project/AlexSzpakowski/love) - -Documentation -------------- - -We use our [wiki][wiki] for documentation. -If you need further help, feel free to ask on our [forums][forums], our [Discord server][discord], or our IRC channel [#love on OFTC][irc]. - -Compilation ------------ - -### Windows -Follow the instructions at the [megasource][megasource] repository page. - -### *nix -Run `platform/unix/automagic` from the repository root, then run ./configure and make. - - $ platform/unix/automagic - $ ./configure - $ make - -When using a source release, automagic has already been run, and the first step can be skipped. - -### macOS -Download the required frameworks from [here][dependencies] and place them in `/Library/Frameworks/`. - -Then use the Xcode project found at `platform/xcode/love.xcodeproj` to build the `love-macosx` target. - -### iOS -Download the `ios-libraries` zip file corresponding to the LÖVE version being used from [here][dependencies-ios], -unzip it, and place the `include` and `libraries` subfolders into LÖVE's `platform/xcode/ios` folder. - -Then use the Xcode project found at `platform/xcode/love.xcodeproj` to build the `love-ios` target. - -See `readme-iOS.rtf` for more information. - -### Android -Visit the [Android build repository][android-repository] for build instructions. - -Repository information ----------------------- - -We use the 'default' branch for development, and therefore it should not be considered stable. -Also used is the 'minor' branch, which is used for features in the next minor version and it is -not our development target (which would be the next revision - version numbers are formatted major.minor.revision.) - -We tag all our releases (since we started using mercurial), and have binary downloads available for them. - -Experimental changes are developed in the separate [love-experiments][love-experiments] repository. - -Contributing ------------- - -The best places to contribute are through the Bitbucket issue tracker and the official Discord server or IRC channel. -For code contributions, pull requests and patches are welcome. Be sure to read the [source code style guide][codestyle]. - -Builds ------- - -Releases are found in the 'downloads' section on bitbucket, are linked on [the site][site], -and there's a ppa for ubuntu, [ppa:bartbes/love-stable][stableppa]. - -There are also unstable/nightly builds: - -- Most can be found [here][builds]. -- For ubuntu linux they are in [ppa:bartbes/love-unstable][unstableppa] -- For arch linux there's [love-hg][aur] in the AUR. - -Dependencies ------------- - -- SDL2 -- OpenGL 2.1+ / OpenGL ES 2+ -- OpenAL -- Lua / LuaJIT / LLVM-lua -- FreeType -- ModPlug -- mpg123 -- Vorbisfile -- Theora - -[site]: http://love2d.org -[wiki]: http://love2d.org/wiki -[forums]: http://love2d.org/forums -[discord]: https://discord.gg/rhUets9 -[irc]: irc://irc.oftc.net/love -[dependencies]: http://love2d.org/sdk -[dependencies-ios]: https://bitbucket.org/rude/love/downloads/ -[megasource]: https://bitbucket.org/rude/megasource -[builds]: http://love2d.org/builds -[stableppa]: https://launchpad.net/~bartbes/+archive/love-stable -[unstableppa]: https://launchpad.net/~bartbes/+archive/love-unstable -[aur]: http://aur.archlinux.org/packages/love-hg -[love-experiments]: https://bitbucket.org/bartbes/love-experiments -[codestyle]: https://love2d.org/wiki/Code_Style -[android-repository]: https://bitbucket.org/MartinFelis/love-android-sdl2 diff --git a/engine/love/steam_api64.dll b/engine/love/steam_api64.dll deleted file mode 100644 index c6e55cf..0000000 Binary files a/engine/love/steam_api64.dll and /dev/null differ diff --git a/engine/love/steam_appid.txt b/engine/love/steam_appid.txt deleted file mode 100644 index 63f2a1c..0000000 --- a/engine/love/steam_appid.txt +++ /dev/null @@ -1 +0,0 @@ -915310 diff --git a/engine/love/steam_rich_presence.txt b/engine/love/steam_rich_presence.txt deleted file mode 100644 index 223999f..0000000 --- a/engine/love/steam_rich_presence.txt +++ /dev/null @@ -1,10 +0,0 @@ -"lang" -{ - "english" - { - "tokens" - { - "#StatusFull" "%text%" - } - } -} \ No newline at end of file diff --git a/main.lua b/main.lua index 65a6cc9..767b4bf 100644 --- a/main.lua +++ b/main.lua @@ -1696,7 +1696,6 @@ function init() 'magnetism', 'insurance', 'dividends', 'haste', 'rearm', 'ceremonial_dagger', 'burning_strike', 'lucky_strike', 'healing_strike', 'psycholeak', 'divine_blessing', 'hardening', } - steam.userStats.requestCurrentStats() new_game_plus = state.new_game_plus or 0 if not state.new_game_plus then state.new_game_plus = new_game_plus end current_new_game_plus = state.current_new_game_plus or new_game_plus @@ -1708,12 +1707,6 @@ function init() main:add(MainMenu'mainmenu') main:go_to('mainmenu') - - --[[ - main:add(BuyScreen'buy_screen') - main:go_to('buy_screen', run.level or 1, run.units or {}, passives, run.shop_level or 1, run.shop_xp or 0) - -- main:go_to('buy_screen', 7, run.units or {}, {'unleash'}) - ]]-- --[[ gold = 10 @@ -1823,13 +1816,6 @@ function update(dt) state.sx, state.sy = sx, sy state.fullscreen = false end - - --[[ - if input.f11.pressed then - steam.userStats.resetAllStats(true) - steam.userStats.storeStats() - end - ]]-- end @@ -1910,10 +1896,8 @@ function open_options(self) 'silencing_strike', 'culling_strike', 'lightning_strike', 'psycholeak', 'divine_blessing', 'hardening', 'kinetic_strike', } max_units = math.clamp(7 + current_new_game_plus, 7, 12) - main:add(BuyScreen'buy_screen') locked_state = nil system.save_run() - main:go_to('buy_screen', 1, 0, {}, passives, 1, 0) end, text = Text({{text = '[wavy, ' .. tostring(state.dark_transitions and 'fg' or 'bg') .. ']restarting...', font = pixul_font, alignment = 'center'}}, global_text_tags)} end} end @@ -2095,7 +2079,6 @@ function open_options(self) self.quit_button = Button{group = self.ui, x = gw/2, y = gh - 25, force_update = true, button_text = 'quit', fg_color = 'bg10', bg_color = 'bg', action = function() system.save_state() - steam.shutdown() love.event.quit() end} end, 'pause') diff --git a/mainmenu.lua b/mainmenu.lua index 8aee8b2..9a6bb3f 100644 --- a/mainmenu.lua +++ b/mainmenu.lua @@ -11,9 +11,6 @@ function MainMenu:on_enter(from) slow_amount = 1 trigger:tween(2, main_song_instance, {volume = 0.5, pitch = 1}, math.linear) - steam.friends.setRichPresence('steam_display', '#StatusFull') - steam.friends.setRichPresence('text', 'Main Menu') - self.floor = Group() self.main = Group():set_as_physics_world(32, 0, 0, {'player', 'enemy', 'projectile', 'enemy_projectile', 'force_field', 'ghost'}) self.post_main = Group() @@ -118,7 +115,6 @@ function MainMenu:on_enter(from) end} self.quit_button = Button{group = self.main_ui, x = 37, y = gh/2 + 34, force_update = true, button_text = 'quit', fg_color = 'bg10', bg_color = 'bg', action = function(b) system.save_state() - steam.shutdown() love.event.quit() end} self.t:every(2, function() self.soundtrack_button.spring:pull(0.025, 200, 10) end) diff --git a/run.sh b/run.sh old mode 100644 new mode 100755 index 85e850f..0ecdab1 --- a/run.sh +++ b/run.sh @@ -1,4 +1,3 @@ #!/bin/bash -cd E:/a327ex/SNKRX -engine/love/love.exe --console . +love .