smallmodel
a529b37f25
Show some AL errors on developer mode only
2024-08-23 12:07:28 +02:00
smallmodel
f84ed6b794
Fix crash when loading from save, caused by incorrect client-game state size
...
Closes #343
2024-08-23 11:48:50 +02:00
smallmodel
5e60b89a0d
Fix linux compile error
2024-08-22 16:13:03 +02:00
smallmodel
e46625a52c
Added more verbosity
2024-08-22 15:39:28 +02:00
smallmodel
f67a7c6621
List available devices and use Generic Software if Generic Hardware is the default
2024-08-22 13:30:04 +02:00
smallmodel
4839a2026b
Fix string casting
2024-08-22 12:43:18 +02:00
smallmodel
219dbbb5b7
Open the default device by passing in the default device name instead of NULL
2024-08-22 12:39:14 +02:00
smallmodel
d78de51bc2
Bump version number
2024-08-21 19:02:23 +02:00
smallmodel
f2b49f7ccb
Fix wrong parameters
2024-08-21 18:48:16 +02:00
smallmodel
13911b051a
Use OpenAL by default
2024-08-21 18:35:06 +02:00
Trung Lê
3b2e4ff9c1
Revert to original code
2024-08-21 00:18:38 +10:00
Trung Lê
16e0dc17a8
Add implicit conversion from const-qualified pointer types to non-const-qualified var
2024-08-21 00:13:04 +10:00
Trung Lê
1f4b7718e8
Refactoring gameExport_s::ReadLevel() and gameExport_s::WriteLevel()
2024-08-20 23:41:43 +10:00
smallmodel
8c59d6020e
Backported ioquake3 fixes for https://www.cvedetails.com/cve/CVE-2017-11721/ (Buffer overflow)
2024-08-18 13:35:59 +02:00
smallmodel
377b0896c2
Fix drivable vehicle not having the death
waittill after loading from save
...
This caused some vehicles to be destroyed immediately after being handled from script (like the halftrack in t2l1)
2024-08-18 12:03:01 +02:00
smallmodel
a399fdf6cf
Removed useless comments
2024-08-17 21:07:25 +02:00
smallmodel
783c24d6f7
Fix sound never playing from entities that are not sent to clients
2024-08-17 17:24:17 +02:00
smallmodel
1254146223
Fix streamed sound stopping before end
2024-08-17 11:09:35 +02:00
smallmodel
f776d842d1
Don't load sound immediately if they must be streamed
...
This removes more hiccups
2024-08-14 19:08:20 +02:00
smallmodel
74acf35a89
Merge branch 'main' into features/oal-streaming
2024-08-13 21:07:27 +02:00
smallmodel
81b8fe3f61
Use a pointer to an array instead of accessing the tiki mesh field directly to avoid loop badly optimized due to the compiler thinking there can be only 1 element
...
This fixes #337
2024-08-13 20:55:12 +02:00
smallmodel
679bfb90ea
Fix accessing 8th leaves element before finishing the loop
...
This caused the 8th element to be taken into account when enabling optimizations with GCC (invalid pointer to the leaf)
2024-08-13 20:41:53 +02:00
smallmodel
deb18c53b7
Implement streaming support for OpenAL
...
See #333 , and #324
2024-08-12 20:26:17 +02:00
smallmodel
eb04e26823
Use the new libmad version as it seems stable enough
2024-08-09 20:33:59 +02:00
smallmodel
3af24ee0ea
Exclude new sound CPP files directly when not using the new sound system instead of using #ifdef
2024-08-09 20:30:35 +02:00
smallmodel
513fe7773f
Don't append a '\' at the beginning during autocompletion
2024-08-08 20:44:00 +02:00
smallmodel
9150d1cc44
Fix lighting grid being incorrect
...
It fixes #321 where impacts like bullets would have an incorrect color (like red, green...)
2024-08-08 20:31:19 +02:00
smallmodel
e19b72647e
Use qglGenTextures to guarantee the uniqueness of the texture number
2024-08-08 19:07:09 +02:00
smallmodel
d809975882
Use Q_snprintf because itoa is non-standard
2024-08-07 22:27:02 +02:00
smallmodel
7b92d99afa
Fix compile error
2024-08-07 22:24:52 +02:00
smallmodel
b463c905cf
Free up unused images
...
This fixes #93 where the game would hit `MAX_DRAWIMAGES` after loading a few maps
2024-08-07 21:11:16 +02:00
smallmodel
7f8a0c9931
Fix the image texture number not properly matching the image
...
It caused issues with textures being messed up sometimes, after multiple maps were loaded
2024-08-07 21:10:04 +02:00
smallmodel
53d812666c
Remove FIXME section
2024-08-07 21:02:48 +02:00
smallmodel
7b59f07181
Allow precaching image manually with r_precacheimages
2024-08-07 20:01:38 +02:00
smallmodel
d22dea5e8e
Count renderer memory
2024-08-07 19:57:09 +02:00
smallmodel
8817467216
Implement trace obfuscation
2024-08-06 22:58:16 +02:00
smallmodel
236afa7c3f
Implement obfuscation mapping setup
...
The implementation reads all obfuscation csv and return a list of visual obfuscations
2024-08-06 20:21:00 +02:00
smallmodel
cd6ec5e3a7
Fix streamed sound, use 2D instead with properly implemented panning
2024-08-06 18:43:15 +02:00
smallmodel
434aaf3eaf
Initialize last animation time
2024-08-05 23:41:17 +02:00
smallmodel
5b80ea20c7
Fix filename case sensitivity on Linux
...
This fixes #334 where some sounds wouldn't play because some scripts reference sounds without respecting the case
2024-08-05 21:11:49 +02:00
smallmodel
1d60405eaa
Fix heap corruption when taking screenshots with non-standard resolutions like 1366x768
2024-08-05 19:48:23 +02:00
smallmodel
64f4f59165
Fix vid_restart
and snd_restart
resetting the sound system (experimental sound system only)
...
This fixes #335 where one of those commands would clear all active sounds as well as the triggered music, and the soundtrack
2024-08-05 19:21:38 +02:00
smallmodel
192f9ac514
Added S_CurrentSoundtrack()
2024-08-05 19:14:30 +02:00
smallmodel
279b1413ec
Clear the active music when stopping the triggered music
2024-08-05 19:09:29 +02:00
smallmodel
9c5297882c
Renamed CHANNEL_FLAG_PLAYABLE to CHANNEL_FLAG_PLAY_DEFERRED
2024-08-05 18:49:41 +02:00
smallmodel
a6d508d791
Fix sounds replaying when unpausing
...
This caused some sounds to play again when saving
2024-08-05 18:49:16 +02:00
smallmodel
6b3402c631
Fix actor accuracy being crazy, killing the player easily
2024-08-05 18:43:56 +02:00
smallmodel
d5da32b8a9
Fix AI damage
2024-08-05 18:43:40 +02:00
smallmodel
39b3ed3d44
Fix part blend mult being incorrectly archived
...
This may have been the cause of animations not properly playing and the player being unable to climb on ladders
2024-08-03 18:40:27 +02:00
smallmodel
f8b97405ff
Fix infinite loop in DownSampleWav when s_khz
is less than 44 kHz
...
This fixes #330 where `s_khz` below 44 (the usual sample rate of mohaa wav files) would cause an infinite loop due to improper usage of the `ii` variable in the loop where another variable would be accidentally incremented instead
2024-07-30 20:59:48 +02:00