Sasha Szpakowski
483237ee30
Merge pull request #2018 from EngineerSmith/hash
...
Added container type argument for love.data.hash
2024-02-13 21:20:07 -04:00
EngineerSmith
2aa4e4b3ea
Updated changes.txt
2024-02-13 01:20:10 +00:00
EngineerSmith
cbf7e5680a
Added old functionality back, and marked it as deprecated
2024-02-13 01:01:18 +00:00
Sasha Szpakowski
1bdb5ded50
CI: update action versions
2024-02-12 20:32:44 -04:00
Sasha Szpakowski
ec177d51d1
deprecate love.window.close.
2024-02-12 20:06:55 -04:00
Sasha Szpakowski
25e008e20c
metal: remove a redundant memcpy when uploading pixels to a texture.
2024-02-10 23:17:10 -04:00
Sasha Szpakowski
fd2724226a
CI: Re-add step to avoid Strawberry Perl messing with the build.
2024-02-10 22:52:28 -04:00
Sasha Szpakowski
7823ed476a
Avoid non-ASCII characters in printed help text.
2024-02-10 19:01:48 -04:00
Sasha Szpakowski
7a55f5fb23
CI: remove strawberry perl deletion workaround for Windows
2024-02-10 13:44:17 -04:00
Sasha Szpakowski
4cd0360a92
CI: Windows builds use VS2022 toolchain
2024-02-10 13:28:52 -04:00
Sasha Szpakowski
6d4e812605
Update readme
2024-02-10 12:56:57 -04:00
Sasha Szpakowski
64a30f177f
Merge branch 'main' into 12.0-development
2024-02-10 12:24:48 -04:00
Sasha Szpakowski
94d5864144
update year for copyright notice
2024-02-10 12:13:22 -04:00
EngineerSmith
f00a86dc9f
Added change to changes.txt
2024-02-09 01:15:45 +00:00
EngineerSmith
666fd88631
Altered tests to account for additional container argument in love.data.hash
2024-02-09 00:55:57 +00:00
EngineerSmith
d125921c24
Added container type to w_hash
2024-02-09 00:29:12 +00:00
Sasha Szpakowski
8d73622311
Fix compilation
2024-02-04 23:18:40 -04:00
Sasha Szpakowski
d5282339a2
Merge branch 'main' into 12.0-development
2024-02-04 23:07:50 -04:00
Sasha Szpakowski
5d11b095e8
Fix loading code-signed games on Windows with non-ascii paths.
...
Use DroppedFile (renamed to NativeFile in love 12) instead of C file APIs. NativeFile properly handles unicode file paths on Windows.
2024-02-03 12:06:27 -04:00
Miku AuahDark
5acc98ce43
Remove unnecessary CMake modules.
...
* Compiling without find_package(OpenGL REQUIRED) has no side-effect because LOVE uses SDL to load OpenGL. GLAD is used to as substitute for OpenGL headers too.
* Mpg123 is no longer used in LOVE 12. Remove the respective CMake module.
* CMake has its own FindOpenAL.cmake script. There's no need to provide our own.
2024-01-29 19:13:44 +08:00
Bart van Strien
dc8391397e
Merge remote-tracking branch 'origin/12.0-development' into remove-autotools
2024-01-28 11:58:26 +01:00
Sasha Szpakowski
50b18d1ac7
Add love.mouse.getGlobalPosition. Useful for custom window dragging.
2024-01-13 18:06:37 -04:00
Sasha Szpakowski
bf6a6f1237
metal: error when generated SPIR-V shader IR can't be parsed
2024-01-09 21:29:54 -04:00
Sasha Szpakowski
7ff6f74a92
metal: improve shader resource binding code.
2024-01-09 21:11:04 -04:00
Sasha Szpakowski
fb002ee59b
opengl: fixes for default storage buffer bindings.
2024-01-09 21:10:20 -04:00
Sasha Szpakowski
8bf04df6e1
Fix uninitialized pointers leading to crashes
2024-01-08 22:31:06 -04:00
Sasha Szpakowski
3e8345280f
Move default texel and shader storage buffers to high level code.
2024-01-08 22:13:47 -04:00
Sasha Szpakowski
6feedc8222
Add love.window.getPointer, returns a SDL_Window* as lightuserdata.
2024-01-08 21:09:40 -04:00
Sasha Szpakowski
ecd9b007aa
Fix building vulkan Shader.cpp
2024-01-07 22:00:50 -04:00
Sasha Szpakowski
95fdc1c899
Linux: don't try to build web glslang files
2024-01-07 21:58:29 -04:00
Sasha Szpakowski
715858a670
Fix typo
2024-01-07 21:46:51 -04:00
Sasha Szpakowski
ddbf64d3b7
Linux: build using C++17?
2024-01-07 21:40:14 -04:00
Sasha Szpakowski
c6b3d136af
iOS: update deployment target
...
newer glslang versions require newer C++ features than the old target supported.
2024-01-07 21:26:10 -04:00
Sasha Szpakowski
904ab47d1f
Fix cmake project
2024-01-07 21:22:43 -04:00
Sasha Szpakowski
8e361aefbf
SPIRV-Cross: remove C API files
...
The spirv header for those is outdated and can cause warnings because its contents don't match the other spirv header files in SPIRV-Cross and glslang
2024-01-07 21:22:13 -04:00
Sasha Szpakowski
421cfd1a5e
update SPIRV-Cross
2024-01-07 21:17:43 -04:00
Sasha Szpakowski
a99d5afc57
update glslang
2024-01-07 21:14:01 -04:00
Sasha Szpakowski
501c41e10f
Fix compiler warning
2024-01-06 15:44:39 -04:00
Sasha Szpakowski
fffb835358
tests: fix love.graphics.setDepthMode test
2024-01-06 15:36:50 -04:00
Sasha Szpakowski
131b6c51e0
graphics: fix recursion when creating a default texture.
2024-01-06 15:22:02 -04:00
Sasha Szpakowski
aaab9791d5
Improve backbuffer depth buffer.
...
- Setting the depth buffer for the backbuffer is now done as a boolean instead of a bit depth integer, in love.conf or love.window.setMode.
- Error if depth writes are enabled when the active canvas setup or backbuffer does not have a depth buffer (now it matches stencil behaviour).
- Don't allocate a backbuffer depth-stencil buffer if they're not requested. Metal also determines the format for that buffer based on which combination of depth and stencil is requested. OpenGL still has to allocate the depth-stencil buffer for the backbuffer all the time, because changing it requires the context to be recreated.
2024-01-06 15:21:06 -04:00
Bart van Strien
e08502fafa
Update build dependencies
2024-01-06 13:04:19 +01:00
Bart van Strien
aa14bacdc9
Remove autotools build system
2024-01-06 13:04:19 +01:00
Bart van Strien
ac9ee9d3c7
Update debian package files for cmake variables
...
And automatically get the timestamp for the changelog too.
That does require an update to cmake 3.7, but as far as I can tell we never use a cmake version older than 3.16 (ubuntu 20.04).
2024-01-06 13:04:19 +01:00
Sasha Szpakowski
621a7547d2
metal: tweak initial internal uniform buffer size
2024-01-05 20:37:49 -04:00
Sasha Szpakowski
04462ece30
graphics: clean up some stencil code
2024-01-04 21:35:52 -04:00
Sasha Szpakowski
404b2f2c4e
address VS compiler suggestion about constexpr
2024-01-04 21:35:18 -04:00
Sasha Szpakowski
9b5851e039
Move current love.graphics.setStencilMode functionality to setStencilState.
...
Add new higher level love.graphics.setStencilMode function.
- Add love.graphics.setStencilMode(mode [, value = 1])
- Add love.graphics.setStencilMode().
- Add mode, value = love.graphics.getStencilMode().
The possible modes are "off" (same as no parameters), "draw", and "test".
The "draw" mode disables color writes and sets the stencil state to ("replace", "always") using the given value.
The "test" mode enables color writes and sets the stencil state to ("keep", "equal") using the given value to compare to.
2024-01-04 16:23:49 -04:00
Sasha Szpakowski
77c5ea1d6b
graphics: move buffer:clear error checking to high level code
2024-01-02 11:13:31 -04:00
Sasha Szpakowski
af840bb2cf
metal: texel buffers align their size according to device requirements
2024-01-01 16:12:24 -04:00