Ozkan Sezer
743c983060
miniz: updates from mainstream PR/159
...
--
2022-01-27 08:10:04 +03:00
Ozkan Sezer
f260464d96
miniz: fixed a bad return introduced in previous update.
2022-01-23 10:02:02 +03:00
Ozkan Sezer
b5bb9976c2
fixed typo in changelog
2022-01-22 20:10:24 +03:00
Andrei Drexler
8f4c5b3dfa
Skip leading whitespace in Q_atoi and Q_atof
...
This matches the standard library and also fixes the following bug:
- load ad_sepulcher and move to an area where water is visible
- open up the console
- save waterbug
- load waterbug
Water is now invisible as long as the console is still active.
The issue stems from the fact that cvar_set is called at startup
with the arguments ("r_wateralpha", ftos(liquid_alpha)) [1],
and ftos pads its output (" 0.6"). Without skipping the leading
whitespace, Q_atof ends up returning 0, which then gets assigned
to r_wateralpha. This makes the water invisible until a stuffcmd
that sets r_wateralpha again is later received from the server.
With the console open at startup, however, the stuffcmd message
can be delayed indefinitely.
[1] 320f1cec45/world.qc (L641)
2022-01-09 01:25:50 +03:00
Ozkan Sezer
6071c47c91
miniz: fix shadowing warnings (from a patch by Axel Gneiting)
2022-01-07 11:03:04 +03:00
Ozkan Sezer
9c53316dcf
updates to miniz:
...
merges upstream PRs 159, 217, and 220, tweaks to MZ_FORCEINLINE macro,
tweaks to mz_int64 typedefs for older MSVC.
2022-01-03 02:56:04 +03:00
Eric Wasylishen
033c7c1867
macos: update Build_Instructions.md based on feedback
2022-01-02 13:36:29 -07:00
Eric Wasylishen
7acc173b47
mac: remove obsolete SDL1.2 Xcode project target
2022-01-02 13:30:30 -07:00
Eric Wasylishen
d51dc7a194
macos: preliminary auto-build.yml github action
...
- add build-macos.sh script
- copy Quakespasm-Spiked.txt to build artifacts folder
- create Quakespasm-Spiked-Revision.txt file
2021-12-30 01:39:47 -07:00
Eric Wasylishen
001a54d5b4
macos: add .gitignore
2021-12-29 19:53:28 -07:00
Eric Wasylishen
a2c30f212e
macos: new Build_Instructions.md
2021-12-29 19:53:28 -07:00
Eric Wasylishen
414cfd6afa
macos: Launcher.nib: change window title to QuakeSpasm-Spiked
...
also set output version to "deployment target"
2021-12-29 19:53:28 -07:00
Eric Wasylishen
79ab595caf
macos: InfoPlist.strings: change app name to QuakeSpasm-Spiked
2021-12-29 19:53:28 -07:00
Eric Wasylishen
ff7e884c44
macos: project.pbxproj: various updates
...
- add qss source files
- link with static libs from vcpkg
- update header search path for vcpkg
- define USE_ZLIB
- added --deep to OTHER_CODE_SIGN_FLAGS to fix code signing error
(https://stackoverflow.com/a/60099521 )
- use deployment target 10.9
- only build x86_64
- rename QuakeSpasm-SDL2 target to QuakeSpasm-Spiked-SDL2
2021-12-29 19:53:28 -07:00
Eric Wasylishen
0899dacbfa
macOS: setup to build some dependencies from vcpkg
...
- zlib, vorbis, ogg, opus
- build static libraries with 10.9 deployment target
(this is the lowest I can use on my 10.15 dev machine)
- build x86_64 only (I don't have an arm64 machine to test)
2021-12-29 19:53:28 -07:00
Eric Wasylishen
95bbcd6e47
macos: delete opus/opusfile/ogg/vorbis/vorbisfile in MacOSX/codecs
...
It's missing the encoder so we need to provide
a different copy for use with VOIP
2021-12-29 19:53:28 -07:00
Ozkan Sezer
1439cc0547
snd_umx: don't overzealously restrict the loader to known upkg versions.
2021-12-28 03:21:10 +03:00
Ozkan Sezer
2e0146c7fb
disable assert()s by default in miniz
2021-12-23 15:55:02 +03:00
Ozkan Sezer
09396fd9ca
bump version to 0.94.3, update documents.
2021-12-05 15:11:10 +03:00
Andrei Drexler
7f4e1c13e7
Handle sky textures with non-standard sizes
2021-12-05 14:10:50 +02:00
Ozkan Sezer
9502aaff25
SDL2-2.0.18 final windows build.
2021-12-04 12:50:00 +03:00
Andrei Drexler
e3d2fb9fd9
Check that sky texture size is 256x128
...
(taken from quakespasm-gl4 fork.)
2021-12-04 11:11:10 +03:00
Andrei Drexler
eeda766f12
Allow loading textures not aligned to 16 pixels
...
This fixes the mg1/horde2 loading error
(taken from quakespasm-gl4 fork.)
2021-12-04 11:11:10 +03:00
Ozkan Sezer
a4dcdda3d9
common.c (LOC_ParseArg): remove unused local var 'start'
2021-12-04 11:11:10 +03:00
Ozkan Sezer
0b946eda0e
merged a minor update to miniz.h from mainstream
2021-12-04 11:11:10 +03:00
Andrew J. Hesford
b311f7e231
Fix format overflow warning with 32-bit gcc
...
(taken from vkquake.)
2021-12-04 11:11:10 +03:00
Ozkan Sezer
d5e9d1270c
more parentheses around vector macro arguments.
2021-12-04 11:11:10 +03:00
Andrei Drexler
9c78f028f6
Add parentheses around vector macro arguments
...
(taken from quakespasm-gl4 fork.)
2021-12-04 11:11:10 +03:00
Ozkan Sezer
3eab2a705b
newer windows SDL2-2.0.18 build,
...
fixing mainstream SDL bug 5026 .
2021-11-29 01:24:24 +03:00
Ozkan Sezer
5ec821c274
upgrade SDL2 to 2.0.18
2021-11-28 17:00:02 +03:00
Ozkan Sezer
d8162f932b
oslibs: rebuilt SDL-1.2 from mainstream.
2021-11-28 12:55:10 +03:00
Ozkan Sezer
3f831f67e0
oslibs: updates to SDL-1.2 headers from mainstream.
2021-11-25 17:21:20 +03:00
Shpoike
5e3fadf3b5
Make sure we're acking the sequence we think we are.
2021-11-13 22:22:57 +00:00
Shpoike
e51c134d02
Fix audio pitch issues with clients that actually support it.
2021-11-13 22:21:46 +00:00
Shpoike
307828a2a2
Fix a possible crash from player skin colours.
2021-11-13 22:18:49 +00:00
Shpoike
3888a64458
Fix forced contents (the negative-skins thing).
2021-11-12 04:05:50 +00:00
Shpoike
996621b3ec
Try to tighten up when some compressed pixelformats are available a little.
2021-11-12 03:28:09 +00:00
Shpoike
4ec4cde5f4
Add support for lit water. Move 'newwater' to glsl instead.
2021-11-12 03:28:09 +00:00
Shpoike
e0bae4bce4
Fix https://github.com/Shpoike/Quakespasm/issues/90
2021-11-08 00:17:44 +00:00
Shpoike
ca7babd65e
Fix https://github.com/Shpoike/Quakespasm/issues/71
2021-11-07 15:48:14 +00:00
Shpoike
4dc8db95ac
Fixes https://github.com/Shpoike/Quakespasm/issues/89
2021-11-06 15:35:03 +00:00
Shpoike
d7ef1bf3dd
Fix up some lightmap reuse/texture-corruption issues. Fixes https://github.com/Shpoike/Quakespasm/issues/83
2021-11-06 15:23:29 +00:00
Shpoike
299cd487d9
Fix quakerally, and make remodel packs a bit more robust too. If this fix breaks stuff then its broken in FTE+vanilla+QEX, etc too.
2021-11-06 12:37:54 +00:00
Ozkan Sezer
6cf4bbc198
reverted the previous NO_WINSDKVER_H patch - not needed after latest SDL
2021-11-06 12:00:00 +03:00
Ozkan Sezer
2492689d9e
define NO_WINSDKVER_H for windows SDL2 builds
...
SDL_config_windows.h from development version of SDL added inclusion of
winsdkver.h which may not be available in old SDKs. we have no use for
the functionality provided by it, therefore disable it.
2021-11-05 10:51:10 +03:00
Shpoike
bdeddfae88
Rework QEx compat to disable QSG extensions when needed.
2021-10-14 07:12:08 +01:00
Shpoike
32015ef1e3
Merge remote-tracking branch 'sf/master' into qss
2021-10-14 06:49:15 +01:00
Shpoike
f64bd5e9d6
Add mixer rate to the extras menu, and add snd_restart command in order to be able to apply it instantly.
2021-10-14 06:18:17 +01:00
Ozkan Sezer
3fbb11b048
bump version to 0.94.2, update documents.
2021-10-10 05:11:02 +03:00
Ozkan Sezer
7ed46cc3fd
support for playing 2021 re-release latest update.
2021-10-10 05:10:50 +03:00