Commit graph

3602 commits

Author SHA1 Message Date
smallmodel
56f850b59d
Don't add the same world surface more than once
This fixes an issue where shaders like water, ocean would look strange or completely black, due to them blending against each other multiple times
2024-10-01 20:51:56 +02:00
smallmodel
253d4e2c4d
Fix jammed door message printed on the first client 2024-10-01 20:26:17 +02:00
smallmodel
6fef42d6e0
Localize the jammed door message 2024-10-01 20:25:51 +02:00
smallmodel
d6a00a5984
Fix IsOpen event not being used
Some multiplayer and single-player scripts rely on it
2024-10-01 20:24:12 +02:00
smallmodel
26a1e24e3a
Fix TIKI_ParseAnimations incorrectly swallowing the full animation file when the map doesn't match
This fixes missing animations
2024-10-01 19:53:33 +02:00
smallmodel
6103efa8cc
Don't set the entity angles immediately during glue
The game expects objects to glue and keep their initial angles/origin
2024-10-01 19:03:17 +02:00
smallmodel
9a7ba0786c
Set the correct number of bits for the large bullet flag in 2.0 and above
This fixes the issue where there the client (in spearhead protocol mode) would read 2 bits instead of the 1 bit the server sent, which would cause a parse error
2024-10-01 18:52:39 +02:00
smallmodel
935efaeb3a
Fix sound event being posted with incorrect arguments
The argument wouldn't contain "wait" when necessary, which would cause scripts to be stuck forever waiting for sound to be done
2024-10-01 18:09:56 +02:00
smallmodel
020a6d8b66
Fix stupid compile error mistake 2024-09-30 22:39:33 +02:00
smallmodel
9dea8fc41e
Fix wrong pointer type passed to strncmp 2024-09-30 21:59:14 +02:00
smallmodel
3a7e249edf
Refactored svflags and use the correct entity server flags 2024-09-30 19:58:41 +02:00
smallmodel
c406aaf74f
Add a feature that prevents teams from being uneven 2024-09-29 19:00:19 +02:00
smallmodel
83938471ca
Set the blue component of the temp model entity
This fixes particles having an incorrect color sometimes
2024-09-29 15:41:35 +02:00
smallmodel
db6ff8901b
Set the render effect of skyportal and skyentity when adding them to the snapshot
This fixes the issue where some entities like effects would be visible through the sky
2024-09-29 15:27:54 +02:00
smallmodel
9ea40f31e4
Clear all entities on registration 2024-09-29 13:30:56 +02:00
smallmodel
b9e9137f90
Fix the spelling for the default explosive sound 2024-09-29 13:03:10 +02:00
smallmodel
bee0bbbe90
Initialize the effect and destroyed model for the specific ThrobbingBox explosive classes 2024-09-29 13:02:56 +02:00
smallmodel
277ca0c951
Handle bigger offsets in sample_ms_offset()
This fixes an issue where when the offset was big enough, the value would overflow and start again from 0
2024-09-29 12:34:07 +02:00
smallmodel
8aa059dd21
When paused, keep in sync with the server time (#371)
This fixes an issue where a temporary lag would occur when starting a single-player map, or when pausing/unpausing the game
2024-09-29 00:10:52 +02:00
smallmodel
c39bdd246a
Correctly load DDS file on bigendian architectures 2024-09-28 20:56:55 +02:00
smallmodel
9823af9159
Fix light grid offsets endianness 2024-09-28 20:45:04 +02:00
smallmodel
9ee0e0a3c9
Correctly copy data on big-endian (#365) 2024-09-28 20:09:42 +02:00
smallmodel
bf184fb719
Use #pragma once instead of #ifndef 2024-09-27 20:19:11 +02:00
smallmodel
94f308c50f
Draw a black outline for game messages and death messages when targeting mohta or mohtt 2024-09-27 20:01:48 +02:00
smallmodel
bfa0ef64ec
Fix the letterbox not transitioning smoothly
This fixes the letterbox being shown immediately
2024-09-27 19:35:30 +02:00
smallmodel
98fc0a8cb9
Fix the letterbox not correctly rendering
When a letterbox was active, it was covering the entire screen
2024-09-27 19:33:39 +02:00
smallmodel
facabc09f5
Don't set the label shader if the specified material name is considered empty (#364)
For labels linking to a variable for the shader, this prevents the label from still being rendered, drawing the tiled square grid (notexture)
2024-09-27 18:30:03 +02:00
smallmodel
51afcd7b96 Fix loading screen being incorrectly displayed
This fixes an issue where some part of the loading screen would not be drawn correctly, due to the screen being updated recursively through UI_Update()
2024-09-27 17:59:03 +02:00
smallmodel
e43f0a9285
Add a new feature to enable/disable instant messages and text chat with a variable to set the minimum delay between messages 2024-09-26 19:29:56 +02:00
smallmodel
dbc536c6c2
Fix voice chat time not working on FFA 2024-09-26 19:10:01 +02:00
smallmodel
97c9075503
Fix a small mistake in normal calculations for MM_ClipVelocity2D
Same error as commit c76dda1523. This fixes an issue where AI would run too slowly, like the crate guy in the intro of e1l1, the crate guy was too slow that it ran through the intro vehicle
2024-09-26 18:20:25 +02:00
smallmodel
290e45062d
Set the server time before calling ge->RunFrame() in SV_SpawnServer()
This fixes an issue where some scripts wouldn't be initialized in time, like those that set AI animations. For example this caused an issue with the plane passenger in e2l1, where the animation would get reset due to a very specific chain of events
2024-09-26 01:18:11 +02:00
smallmodel
fc6bffe683
Don't post event when loading save game 2024-09-26 01:01:27 +02:00
smallmodel
1fb8327ca9
Don't let the frame msec go below 0 2024-09-25 22:14:27 +02:00
smallmodel
36208de902
Fix spawn time delta 2024-09-25 22:12:29 +02:00
smallmodel
5403577642
Fix the return value of FS_Seek
It returns a negative value on failure, so handle that properly
2024-09-25 21:04:55 +02:00
smallmodel
c76dda1523
Fix a small mistake in normal calculations for MM_ClipVelocity
This leaded to some occasional errors in AI movement, like in e3l2 where the medic gets stuck while going down the stairs
2024-09-25 20:22:42 +02:00
smallmodel
b5034e5b12
Fix the m_iSaySlot being mistakenly used for the weight cross blend, the specified slot parameter must be used instead
This fixes #266 where some AIs would lack speech animation
2024-09-25 20:04:58 +02:00
smallmodel
b039333922
Call AnimName() to get the current animation name 2024-09-25 19:48:06 +02:00
smallmodel
b504e0d109
Call CurrentAnim() to retrieve the animation index 2024-09-25 19:47:43 +02:00
smallmodel
0692b9dcdb
Fix events sometimes not being posted to entities
Fixes #253
2024-09-25 19:41:21 +02:00
smallmodel
085b72154f
Use a more modern implementation of minizip from ioquake3 2024-09-24 22:25:33 +02:00
smallmodel
639da1a4b8
Remove unused variables 2024-09-24 20:09:39 +02:00
smallmodel
931876ac77
Remove lidbad-0.15.1b 2024-09-24 20:03:30 +02:00
smallmodel
3fb699979c
Fix small equality mistake (expected assignment) 2024-09-23 22:44:11 +02:00
smallmodel
85f15a1f28
Delete spawnthings when their last temp model is freed
This fixes:
- Losing FPS in a match with a lot of players, due to a massive amount of emitters getting spawned every time a weapon fires
- Memory leaks due to emitters staying in memory forever after being spawned
2024-09-23 19:29:07 +02:00
smallmodel
758017b638
If the temp model being removed is the head one, use its sibling 2024-09-23 19:16:31 +02:00
smallmodel
724d1db9b8
Properly clear parents of orphaned entities 2024-09-22 21:38:35 +02:00
smallmodel
c6675f2013
Remove special features code to avoid any confusion 2024-09-22 20:06:31 +02:00
smallmodel
1fd6c2bd52
Merge pull request #360 from pryon/UINotepad-fixes
UINotepad fixes and improvements
2024-09-22 19:35:52 +02:00