Merge remote-tracking branch 'yquake2/master'

This commit is contained in:
Denis Pauk 2023-10-17 00:10:04 +03:00
commit 858aa85c6a
2 changed files with 40 additions and 11 deletions

View file

@ -1,3 +1,34 @@
Quake II 8.20 to 8.30:
- Use the same image loading code in all renderers. (by 0lvin)
- Use the same model loading code in all renderers. (by 0lvin)
- Remove the unused `msg` cvar and the corresponding server side
infrastructure. The cvar was never implemented in Quake II, but
existing bits clould be used for attacks against the client.
- Add `cl_audiopaused`. When set to `1` the audio stops when the
game is paused. (by David Carlier)
- Add `ogg_pausewithgame`. When set to `1` the background music stops
when the game is paused. (by apartfromtime)
- New logo files, matching the original Quake II logo. (by SirYodaJedi)
- Support for RISCV64 (by David Carlier)
- Fix resetting Mods back to baseq2 when running with `-portable`.
- Alternative playback modes for OGG/Vorbis backgrounf music: once,
sequential, random. (by apartfromtime)
- Support gyro aiming for Switch controllers with SDL < 2.0.14. (by
protocultor)
- Fixed stand-ground gladiators not attacking within a certain range.
(by BjossiAlfreds)
- Fixed monsters seeing players during intermissions. (by BjossiAlfreds)
- Several fixes to Macron. (by BjossiAlfreds)
- Optional high dpi awareness when running under Wayland. Requires a
Wayland compistor supporting fractional-scale-v1 and at least SDL
2.26. Set `vid_highdpiawareness 1` to enable.
- Fix lava surfaces not glowing.
- Add a cheat protected cvar `g_swap_speed`. Allows to skip frames of
"putting down weapon" and "raising weapon" animations, speeding them
up. (by protocultor)
- Support of RGBA png/jpg image with r_retexturing as cinematic. (by
0lvin)
Quake II 8.10 to 8.20:
- This release marks Quake IIs 25th anniversary. Happy Birthday!
- Various improvements to the menu. This includes updates to the menu

View file

@ -194,7 +194,7 @@ static qboolean CL_RemoveFromQueue(dlqueue_t *entry)
while (cur)
{
if (last->next == entry)
if (cur == entry)
{
last->next = cur->next;
free(cur);
@ -207,7 +207,6 @@ static qboolean CL_RemoveFromQueue(dlqueue_t *entry)
cur = cur->next;
}
return false;
}
@ -517,14 +516,13 @@ static void CL_ParseFileList(dlhandle_t *dl)
*/
static void CL_ReVerifyHTTPQueue (void)
{
dlqueue_t *q = &cls.downloadQueue;
dlqueue_t *q = &cls.downloadQueue.next;
pendingCount = 0;
while (q->next)
while (q)
{
q = q->next;
dlqueue_t *next = q->next;
if (q->state == DLQ_STATE_NOT_STARTED)
{
if (FS_LoadFile (q->quakePath, NULL) != -1)
@ -536,6 +534,7 @@ static void CL_ReVerifyHTTPQueue (void)
pendingCount++;
}
}
q = next;
}
}
@ -1037,16 +1036,15 @@ void CL_CancelHTTPDownloads(qboolean permKill)
abortDownloads = HTTPDL_ABORT_SOFT;
}
dlqueue_t *q = &cls.downloadQueue;
while (q->next)
dlqueue_t *q = &cls.downloadQueue.next;
while (q)
{
q = q->next;
dlqueue_t *next = q->next;
if (q->state == DLQ_STATE_NOT_STARTED)
{
CL_RemoveFromQueue(q);
}
q = next;
}
if (!pendingCount && !handleCount && abortDownloads == HTTPDL_ABORT_HARD)