Commit Graph

3627 Commits

Author SHA1 Message Date
Alex Szpakowski d4a1247ca3 Potentially fix a compile error.
--HG--
branch : minor
2019-12-22 23:03:30 -04:00
Alex Szpakowski 453063e20f Windows: Use a more modern API for determining the save directory.
--HG--
branch : minor
2019-12-22 22:41:13 -04:00
Alex Szpakowski bc12312f0f macOS: rename most internal uses of "macosx" to "macos".
--HG--
branch : minor
2019-12-22 17:54:20 -04:00
Alex Szpakowski a27781aa6a macOS/iOS: Use more modern APIs for determining the save directory.
--HG--
branch : minor
2019-12-22 17:42:23 -04:00
Alex Szpakowski e898d4571a Merge default into minor
--HG--
branch : minor
2019-12-20 00:46:32 -04:00
Alex Szpakowski 23db4f4a59 Remove functions that were deprecated in LÖVE 11.
--HG--
branch : minor
2019-12-20 00:45:20 -04:00
Alex Szpakowski 2a7e39d58b Rename DroppedFile to NativeFile.
--HG--
branch : minor
2019-12-20 00:32:56 -04:00
Alex Szpakowski c2ccb56117 Remove an obsolete workaround for a Windows bug in physfs 2.0.2.
--HG--
branch : minor
2019-12-19 19:56:55 -04:00
Alex Szpakowski d9ec1d8aa4 Clean up some hacky love.filesystem code.
--HG--
branch : minor
2019-12-19 17:47:46 -04:00
Paul Cercueil 0bac89e00f Fix build on MIPS
On MIPS toolchains, the 'mips' keyword is a macro defined to 1.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
2019-12-19 11:36:33 +01:00
Alex Szpakowski acf84349a9 Move some Lua code around to work around VS2013's 16kB limitation for C++ raw string literals.
--HG--
branch : minor
2019-11-23 19:16:59 -04:00
Alex Szpakowski 3a227cea37 Merge default into minor
--HG--
branch : minor
2019-11-19 21:47:48 -04:00
Alex Szpakowski 6a552d5a6f Allow Canvases to use the r16, rg16, and rgba16 pixel formats. 2019-11-18 22:45:54 -04:00
Alex Szpakowski 8512b1a8f6 Remove some dead code.
--HG--
branch : minor
2019-11-18 21:16:51 -04:00
Alex Szpakowski 3435a6bcbf Change the internal constant color from a (per-draw) vertex attribute to a uniform. Pack most built-in uniforms into a single vec4 array and update them all with a single glUniform call.
--HG--
branch : minor
2019-11-18 21:13:54 -04:00
Alex Szpakowski 37c579929b Add support for GLSL 4.30 and GLSL ES 3.10, via #pragma language glsl4.
macOS and iOS won't support glsl4 until a Metal backend is implemented.

--HG--
branch : minor
2019-11-16 14:33:48 -04:00
Alex Szpakowski 8801161f09 Merge default into minor
--HG--
branch : minor
2019-11-16 14:24:20 -04:00
Alex Szpakowski c3be5c4682 Fix a crash when Canvas:newImageData is called and the width multiplied by the canvas format's pixel byte size is not a multiple of 4, for example a 3x3 r16f canvas (thanks Max!) 2019-11-12 21:27:46 -04:00
Alex Szpakowski fe2c204a2c Use Data:getFFIPointer instead of Data:getPointer for internal ImageData and SoundData FFI code. 2019-10-27 19:07:58 -03:00
Alex Szpakowski 98b55238b4 Added tag 11.3 for changeset 8c6f6a0ca1f0 2019-10-27 12:16:11 -03:00
Alex Szpakowski 6fa5edf5b1 Add release date for 11.3. 11.3 2019-10-27 12:15:26 -03:00
Alex Szpakowski 0fd49907f2 iOS: Fix a compile warning - LÖVE doesn't support opening .love files in-place on iOS. 2019-10-27 11:54:52 -03:00
Alex Szpakowski a36dfd900a Update the changelog. 2019-10-26 02:02:31 -03:00
Alex Szpakowski 899a220ef4 Merged in AuahDark/love/android-mk (pull request #127)
Android.mk update
2019-10-07 14:17:17 +00:00
Miku AuahDark ca7de89fdf Remove GLee-related lines.
--HG--
branch : android-mk
2019-10-07 21:31:58 +08:00
Miku AuahDark 11daa9c467 Remove unnecessary flags
--HG--
branch : android-mk
2019-10-07 20:47:40 +08:00
Miku AuahDark 20bb2a13b9 Android.mk update
--HG--
branch : android-mk
2019-10-07 20:20:02 +08:00
Alex Szpakowski 1e0a7cad67 Fix instanced vertex attributes. 2019-10-04 19:28:55 -03:00
Alex Szpakowski 5dfcf90e66 Fix Text:set(" ") not properly clearing the internal buffer (resolves issue #1518). 2019-10-01 19:02:16 -03:00
Alex Szpakowski cc5afbacdd Possibly fix a compile error on some Linux systems. 2019-10-01 18:54:16 -03:00
Alex Szpakowski 5789a0b1b1 Merged in AuahDark/love/androidmic (pull request #126)
Recording support for Android (C++ side)
2019-09-29 12:30:13 +00:00
Alex Szpakowski 16dd33b1ff Fix a typo in the love.window.getNativeDPIScale function name. 2019-09-29 09:29:34 -03:00
Miku AuahDark 5d63211b93 Fix t.audio.mixwithsystem defaults to false when absent from conf.lua
--HG--
branch : androidmic
2019-09-29 16:21:17 +08:00
Miku AuahDark c8a2978697 Make sure to empty the capture and return that instead.
--HG--
branch : androidmic
2019-09-29 15:54:45 +08:00
Miku AuahDark dda24bb98a Fix typo
--HG--
branch : androidmic
2019-09-29 15:54:27 +08:00
Miku AuahDark 051f1e9830 Add t.audio.mic (boolean) setting to conf.lua
--HG--
branch : androidmic
2019-09-29 12:18:47 +08:00
Miku AuahDark 0d9081ff22 Export love._requestRecordingPermission
--HG--
branch : androidmic
2019-09-29 12:09:39 +08:00
Miku AuahDark 0f23b0e4a0 Initial working on mic recording support for Android.
--HG--
branch : androidmic
2019-09-29 11:47:13 +08:00
Alex Szpakowski 594b45cfb5 Clean up internal vector code. Add an (internal) vector4 struct. 2019-09-28 19:31:02 -03:00
Alex Szpakowski ed537c4f6a lines can render more than 65k vertices (resolves issue #1356). 2019-09-28 18:34:56 -03:00
Alex Szpakowski 157282ec7e Fix a typo causing mesh attribute instancing to behave weirdly. 2019-09-28 00:31:44 -03:00
Alex Szpakowski da046b39f0 possibly fix a Windows compile error 2019-09-26 20:38:02 -03:00
Alex Szpakowski 271f0af7b7 Avoid lua_pushlightuserdata in enet's wrapper code (issue #1515). 2019-09-26 20:11:25 -03:00
Alex Szpakowski 83e74e5e6c Fix setRandomSeed and setRandomState not fully invalidating the state used by randomNormal (resolves issue #1516). 2019-09-26 19:38:36 -03:00
Alex Szpakowski 2eefa859e3 Attempt to fix VS2013 compatibility. 2019-09-25 15:52:12 -03:00
Alex Szpakowski 93802a3247 Use doubles instead of lightuserdata for keys into love's internal object registry (issue #1515). 2019-09-25 15:30:22 -03:00
Alex Szpakowski 3cadd50bec macOS: Add entitlements for Apple's hardened runtime. 2019-09-23 18:00:11 -03:00
Alex Szpakowski 4f093a0b6b Support loading BGRA8 dds files into RGBA8 images. 2019-09-22 12:47:49 -03:00
Alex Szpakowski a5ccfe4394 More clamping and rounding instead of truncating in ImageData:paste format conversion code, to match the behaviour of other color conversion code. 2019-09-21 22:20:16 -03:00
Alex Szpakowski 42a8107b07 Fix a compile error 2019-09-21 22:13:36 -03:00