Rachael Alexanderson
6033b054e2
- bump vcpkg version in continuous integration
2023-09-14 08:45:39 -04:00
Rachael Alexanderson
e4bf6c229a
- update vcpkg base to address vulnerability [CVE-2023-4863]( https://nvd.nist.gov/vuln/detail/CVE-2023-4863 )
2023-09-14 08:36:48 -04:00
Professor Hastig
fbf7d1025a
- fixed bad clamp in software renderer
...
This one can have its upper bound below its lower bound which triggers the validation within std::clamp.
Fixes #2125
2023-09-14 05:11:02 -04:00
Christoph Oelckers
52ec2b2a5b
- listsounds CCMD
2023-09-13 21:10:08 +02:00
Christoph Oelckers
0980b53881
- fixed: MBF21's BOSS flag implies NORADIUSDMG.
2023-09-13 20:48:57 +02:00
Christoph Oelckers
2fe0a7c60d
- fixed sound issues with DSDHacked.
...
* forward declarations must be allowed.
* this must disable map-local SNDINFOs because the added sounds would get lost otherwise.
2023-09-13 18:44:14 +02:00
Christoph Oelckers
f72da434a8
- fixed: For Dehacked, A_CPosAttack needs to use a hard coded attack sound.
...
This discrepancy is ancient, so the approach used for the shotgunner does not work here and some hacks are needed to remap the function only for Dehacked.
2023-09-13 17:50:47 +02:00
Professor Hastig
8b31e0d3b6
- fix bad stringpool setup in filesystem.
...
Doing it in the constructor does not work because InitMultipleFiles will clear everything again before building up the directory so it would always be null.
This triggered another bug in file_directory.cpp which used the constructor's unvalidated parameter.
2023-09-13 16:42:22 +02:00
alexey.lysiuk
5cfdd82e0f
- ci: update to clang 10
...
versions before 9 fails to compile with the following error
/usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/stl_tree.h:701:4: error: exception specification of explicitly defaulted move constructor does not match the calculated one
clang 9 fails to link with the following errors
/usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/cmath:223: undefined reference to `__expf_finite'
src/rendering/swrenderer/drawers/r_draw_rgba.cpp:1120: undefined reference to `__log2_finite'
src/rendering/swrenderer/drawers/r_draw_rgba.cpp:1120: undefined reference to `__log2_finite'
src/rendering/swrenderer/drawers/r_draw_rgba.cpp:1120: undefined reference to `__log2_finite'
src/rendering/swrenderer/plane/r_flatplane.cpp:183: undefined reference to `__log2_finite'
src/rendering/swrenderer/viewport/r_spritedrawer.cpp:174: undefined reference to `__log2_finite'
2023-09-13 13:57:27 +03:00
alexey.lysiuk
76734201e6
- updated zlib to 1.3
...
https://www.zlib.net/zlib-1.3.tar.gz
2023-09-13 12:50:42 +03:00
Christoph Oelckers
b75a8ed8ff
- removed pointless heap allocation that never was freed.
2023-09-11 23:22:24 +02:00
Christoph Oelckers
99f17f2dce
- fixed several issues with parsing DSDhacked
2023-09-11 23:22:24 +02:00
Christoph Oelckers
7f61266621
- fixed memory leaks in file system management
2023-09-11 23:22:24 +02:00
Christoph Oelckers
bdd02d9b2c
- implemented the remaining dynamic structures of dsdhacked
2023-09-11 23:22:24 +02:00
Christoph Oelckers
24d57b58c5
- dsdhacked: Allow dynamic creation of new actors
2023-09-11 23:22:24 +02:00
Christoph Oelckers
b44741b8aa
- dsdehacked: allow dynamic creation of new states.
2023-09-11 23:22:23 +02:00
nashmuhandes
99983b37ca
Update ZDRay UDMF specs and remove deleted features.
2023-09-11 20:09:16 +02:00
Ricardo LuÃs Vaz Silva
0243efd851
Fix pointer math in FileSystem to stop debug assertions in std::vector
2023-09-11 04:41:00 -04:00
Christoph Oelckers
a44f7a72ca
- fixed voxel loader
2023-09-10 21:31:53 +02:00
Christoph Oelckers
f6c3ce6b15
- fixed several line ID functions accessing the sector tag array.
2023-09-10 11:45:23 +02:00
Ricardo LuÃs Vaz Silva
bf0e74447d
add float.equal_epsilon and double.equal_epsilon
2023-09-07 10:19:10 -04:00
mc776
86ca0cbecd
lights: update for Freedoom.
...
- new FloatingSkull light.
- use armour primary colours instead of red for both, with the red gem having its separate light.
- give subtractive pulselight to blursphere.
2023-09-07 10:18:04 -04:00
Romain Tisserand
06f13006ca
Allows building gzdoom with Vulkan with either X11 or Wayland WSI integration through CMake options
2023-09-07 10:17:12 -04:00
Christoph Oelckers
de770faeb1
- disabled nosectionmerge because it doesn't work right.
2023-09-06 21:47:20 +02:00
Christoph Oelckers
e7a79b0d44
- string conversion fixes
2023-09-06 00:19:36 +02:00
Christoph Oelckers
17ab6e851a
- make sure that FileWriter::Printf never writes null characters.
2023-09-03 23:48:42 +02:00
Christoph Oelckers
ef8fd472a8
- fixed bad virtual override in FSheetTexture.
2023-09-03 19:52:53 +02:00
Christoph Oelckers
351e0d7ed9
- removed obsolete CMake version requirements.
...
Most were still at 3.1 which prompts noisy warnings from up-to-date CMake versions.
Version requirements have been removed entirely from dependent subprojects, all others were upped to 3.16.
2023-09-03 09:04:17 +02:00
Christoph Oelckers
4baabf98c4
- use stb-image for JPEG decoding.
...
the statically provided library did not provide any advantage over it whatsoever and even libjpeg-turbo's better performance cannot really play out here so ease of use and getting rid of a dependency wins.
2023-09-03 08:34:58 +02:00
Ricardo LuÃs Vaz Silva
d0a955fef0
Allow disabling colors for NameAllKeys
2023-09-01 18:25:22 +02:00
inkoalawetrust
520b6af947
Added some null pointer checks to prevent crashes.
2023-08-31 19:51:06 +02:00
Major Cooke
44623daafe
Fixed wrong pointer being used in PlayerFinishLevel, causing wrong inventory items to be destroyed.
2023-08-28 19:33:46 +02:00
Rachael Alexanderson
5d38e4c476
- fix paths in previous commit
2023-08-25 22:46:22 -04:00
Cacodemon345
948e7cd649
Update the auto setup script to build ZMusic with vcpkg as well
2023-08-25 20:24:48 -04:00
Christoph Oelckers
ccd39d6df7
- code cleanup
2023-08-25 20:07:48 +02:00
Christoph Oelckers
afecb1ca0f
- avoid high stack usage in anmtexture.cpp
...
MSVC warned about this one.
2023-08-25 20:07:48 +02:00
Rachael Alexanderson
d93657a11d
- add auto setup script for Windows
2023-08-25 07:26:58 -04:00
alexey.lysiuk
af3afca658
- fixed game sources variable in CMake
...
CMake Error at src/CMakeLists.txt:1233 (add_executable): No SOURCES given to target: zdoom
2023-08-24 13:35:10 +03:00
Christoph Oelckers
e0b3bdaadc
- fixed directory loader.
2023-08-23 22:09:58 +02:00
Christoph Oelckers
c6e2e0add2
- fix compilation
2023-08-23 18:26:42 +02:00
Cacodemon345
7c90ea6b84
- Convert the entire image backend infrastructure to be animation-friendly
2023-08-23 18:18:45 +02:00
Christoph Oelckers
53d8a5bb2c
- Reverted JPEG XL support because the project is not really usable on vcpkg.
2023-08-23 18:18:45 +02:00
alexey.lysiuk
79be69ec4a
- implemented FS_FullPath()
function for POSIX
2023-08-23 14:57:22 +03:00
alexey.lysiuk
bfefc12427
- fixed a bunch of Linux and macOS compilation errors
2023-08-23 12:34:33 +03:00
Christoph Oelckers
e28d3b7f0b
- fix directory check in POSIX directory loader.
2023-08-22 23:15:23 +02:00
Christoph Oelckers
be2f9c8660
- added DSDA's passover/nopassover keys to the MAPINFO parser.
2023-08-22 23:15:23 +02:00
Cacodemon345
99fd354dd9
Fix copyright mistake
2023-08-22 23:11:00 +02:00
Cacodemon345
145044ea34
Check if JPEG_XL is enabled instead of just relying on library existence alone
2023-08-22 23:11:00 +02:00
Cacodemon345
44a3bd719c
JPEG XL implementation
2023-08-22 23:11:00 +02:00
Christoph Oelckers
5a1b858c0e
- added some safety checks for reading empty lumps into a std::vector.
...
These can trip the internal safety checks, even though nothing gets read in.
2023-08-22 22:59:29 +02:00