smallmodel
989ec9574c
Fix too high farVal for glDepthRange
2024-11-17 16:46:21 +01:00
smallmodel
b0b82f0252
Fix incorrect start trace for Actor::DontFaceWall()
...
This fixes AI not turning from wall
2024-11-17 16:36:45 +01:00
smallmodel
80ddba1013
Fix constant string for "officer" disguise type
...
This fixes the officer think not working at all
2024-11-17 16:36:19 +01:00
smallmodel
23f776d3c7
Fix typo
2024-11-17 14:32:44 +01:00
smallmodel
880acf9120
Make com_target_game and com_target_demo write-protected (can only be set at startup)
2024-11-17 14:28:00 +01:00
smallmodel
598110477e
Archive the m_bAlwaysAway
variable
2024-11-16 22:35:55 +01:00
smallmodel
ffdfbc3c7d
Fix the bullet stopping after the first entity
2024-11-16 21:57:12 +01:00
smallmodel
a7dc8b3493
Don't archive r_fastsky variable
...
This prevents this setting to be altered by mods forever
2024-11-16 21:36:56 +01:00
smallmodel
67d8cad64d
Allow sound files from OS disk in pure mode
2024-11-16 21:34:19 +01:00
smallmodel
b007842fb4
Fix pure checksums not matching the server
2024-11-16 21:32:53 +01:00
smallmodel
2c4b5fc9ba
Rename the type variable to currentType so it doesn't take precedence over the type member
...
This fixes an issue where it was the type variable that was being set, rather than the type member
2024-11-16 20:07:26 +01:00
smallmodel
e96a3f4f59
Use c_str() instead of accessing m_data
...
c_str() will always return a valid string even if empty
2024-11-16 19:27:48 +01:00
smallmodel
8eded28efc
Fix the typename in the error message for incompatible types
2024-11-16 19:22:01 +01:00
smallmodel
b68bb4cee7
Fix integer overflow in wait command that would cause infinite loop in stock scripts
...
It was causing a rare infinite loop in anim/stand.scr where it waits for 9999999 if the actor is unarmed and medic
2024-11-16 19:10:26 +01:00
smallmodel
824cfd789c
Properly save and restore entity's children solidity
2024-11-16 18:19:45 +01:00
smallmodel
a0b80a9096
Fix string not usable for targetname
2024-11-16 18:17:19 +01:00
smallmodel
857d25825b
Remove tmvolume like other commands when shutting down OpenAL
2024-11-16 16:57:59 +01:00
smallmodel
735832829d
Don't drop the weapon if it has no ammo
2024-11-16 00:29:44 +01:00
smallmodel
5703161166
Fix grenade dropping no ammo
...
This makes the weapon drop at least 1 ammo clip
2024-11-16 00:29:13 +01:00
smallmodel
d85455e9ec
Don't export referenced paks if download is disabled on the server
2024-11-15 21:00:20 +01:00
smallmodel
f6c9de4286
Use com_basegame instead of BASEGAME macro
2024-11-15 20:58:46 +01:00
smallmodel
67b285924c
Prefix OpenAL with debug prints
2024-11-14 19:49:22 +01:00
smallmodel
0c206beb45
Expect a SimpleEntity rather than an Entity
...
The specified path in FollowPath can be a Waypoint which is a subclass of SimpleEntity
2024-11-14 19:46:16 +01:00
smallmodel
9a6472210c
Use a separate user-data location for the demo version
2024-11-13 23:15:31 +01:00
smallmodel
fb2f3bddaa
Fix the intermission screen (mission failed/success) not hiding immediately on the base game
2024-11-13 20:01:05 +01:00
smallmodel
96ca9c20e4
Rework fade sequence and make it work
2024-11-13 19:40:31 +01:00
smallmodel
d01fa33e46
Use 0.31 for Breakthrough demo
...
This makes the Breakthrough demo client compatible with Breakthrough demo servers
2024-11-13 00:07:07 +01:00
smallmodel
ab84a6ea58
Add support for the demo version of the game
...
This allows the demo version of the game to be used, both for playing on demo servers, or for hosting a demo server
2024-11-12 23:09:37 +01:00
smallmodel
b0a683c188
Don't localize if the localization hasn't been initialized
2024-11-12 23:09:32 +01:00
smallmodel
e5ef61c5d2
Abort decal loading if a shader cannot be found while loading
2024-11-12 23:00:38 +01:00
smallmodel
02af9a763d
Better support for older BSP versions
2024-11-12 20:56:26 +01:00
smallmodel
132903a843
Use different fields for protocol version 6 and 8
2024-11-12 20:56:02 +01:00
smallmodel
fe862badf6
Add printdeathmsg from moh 2.0 and above
2024-11-12 18:37:17 +01:00
smallmodel
1ad5964c2f
Implement stoploopsound from moh 2.0 and above
2024-11-12 18:21:24 +01:00
smallmodel
851a16e18c
Fix the bullet tracer scale
2024-11-12 00:09:29 +01:00
smallmodel
763a79cb74
Fix angle when in turret
2024-11-11 23:48:39 +01:00
smallmodel
c9ccb0efaf
Check for Sentient instead of Player
2024-11-11 23:48:19 +01:00
smallmodel
9e060d11b6
Allow user-created variables
2024-11-11 20:58:37 +01:00
smallmodel
50fdbaf152
Use CVAR_RESETSTRING instead of CVAR_SERVER_CREATED
2024-11-11 20:36:03 +01:00
smallmodel
ccca958ec5
Get the grid1 on each iteration in case it has been reallocated
...
This fixes a very rare crash that would occur when loading a world map
2024-11-11 19:48:49 +01:00
smallmodel
dd37ba2741
Properly archive clients
2024-11-11 19:06:05 +01:00
smallmodel
81b49236a5
Use proper types for playerState_t structure
2024-11-11 19:00:36 +01:00
smallmodel
894e1d7d66
Properly cleanup the existing owner from targets
2024-11-11 18:37:29 +01:00
smallmodel
9d83d58756
Create path only if the target is a SplinePath
2024-11-11 18:28:56 +01:00
smallmodel
54b9a0c340
Fix incorrect SKB offsets
2024-11-11 18:28:42 +01:00
smallmodel
2cf380c15d
Add scale field for skel header
2024-11-11 18:12:50 +01:00
smallmodel
d400d8927d
Fix archive data between 64-bit and 32-bit architectures
2024-11-11 17:52:24 +01:00
smallmodel
fef30ff3d5
Clear the splinepath entity flag when destroying
2024-11-11 17:35:41 +01:00
smallmodel
4023c9d863
Fix isOpen event, must return true if it's not closed
2024-11-11 16:40:43 +01:00
smallmodel
7bcb91bbb5
Don't allocate the mark if the number of allocated polys is insufficient
...
There was a very rare occurrence where it would hang trying to find a free mark poly, when the number of specified polys was more than the number of allocated polys. This bug also occurs in the original game
2024-11-11 15:14:20 +01:00