smallmodel
c0d37c504a
Fix infinite loop in R_TerrainHeightForPoly
2024-09-04 20:46:10 +02:00
smallmodel
1e0195f6e3
Add variables that will be used in unimplemented functions
2024-09-04 20:29:29 +02:00
smallmodel
e806c1ddf1
Move MAX_MARK values to tr_types_new.h
2024-09-04 20:23:20 +02:00
smallmodel
78f0072c59
Update the SFX datasize when downsampling
...
This fixes #349 where the size of the AL buffer didn't match the real downsampled size, which would cause AL to read way past of end of the data buffer
2024-09-04 20:12:46 +02:00
smallmodel
1022ce531a
Fix AL buffers having sound data past end of the sound buffer
2024-09-04 20:10:56 +02:00
smallmodel
7f08a7bca8
Remove register keyword as it's deprecated since C++17
2024-09-04 20:10:21 +02:00
smallmodel
4123bef60d
Implement R_ApplyLevelDecal
2024-09-04 20:05:48 +02:00
smallmodel
c6464efa07
Implement level mark loading and updating
2024-09-04 00:02:07 +02:00
smallmodel
0a9075748e
Fix OpenAL binary name on ARM64
2024-09-02 20:38:38 +02:00
smallmodel
3733761696
Fix the reloading sound in 2.0, the behavior is different in 2.0 and 2.30
2024-09-02 19:52:32 +02:00
smallmodel
cde7cbc3a3
Implement G_ClientDrawTags
2024-09-02 19:52:32 +02:00
smallmodel
e927da56cf
Fix GetTagPositionAndOrientation() returning wrong tag axis and position
2024-09-02 19:52:31 +02:00
smallmodel
3b8bffe39c
Fix variable misspelling
2024-09-02 19:52:31 +02:00
smallmodel
19da377064
Implement G_ObfuscationForSmokeSprites
...
This is used so the player can throw a smoke grenade and hide behind it for AI
2024-09-02 19:52:30 +02:00
smallmodel
4d1380b5c4
Implement G_ClientDoBlends and FindIntermissionPoint
2024-09-02 19:52:30 +02:00
smallmodel
25c2904d66
Implement RE_MapVersion and RE_PrintBSPFileSizes
2024-09-02 19:52:30 +02:00
smallmodel
53565663d9
Add old welcome code (commented out) for when a player becomes spectator
2024-09-02 01:01:55 +02:00
smallmodel
76f0e17987
Fix bullet trace end being out of bounds, causing clients to have a strange bullet trace
2024-09-02 00:42:29 +02:00
smallmodel
5052449e38
Fix invisible bullet tracers
2024-09-02 00:25:07 +02:00
smallmodel
a539da3200
Clear velocity and avelocity in MoveDone
...
This fixes objects rotating forever like the radio tower in m1l3a
2024-09-02 00:06:12 +02:00
smallmodel
fb875501f0
Fix UI library forcing latched variables
...
This caused issues when setting render variables
2024-09-01 23:34:57 +02:00
smallmodel
89d805ab92
Fix the FireDelay always returning for FIRE_PRIMARY
2024-09-01 20:42:19 +02:00
smallmodel
7852929da3
Fix the music replaying when loading from save after it ended
2024-09-01 20:38:11 +02:00
smallmodel
595e6fcb8b
Fix AI firing forever in mohaa
2024-09-01 20:36:54 +02:00
smallmodel
a9792bd4c3
Add comments above all actor.cpp
methods
2024-09-01 20:21:44 +02:00
smallmodel
c19bc7e7a2
Add comments about new additions from 2.0 and above
2024-09-01 20:04:10 +02:00
smallmodel
3e980ed371
Unset the script goal once the AI reached the point
2024-09-01 19:38:05 +02:00
smallmodel
a9a7c7fdb8
Adjust area portal when closing before broadcasting ai events
2024-09-01 18:49:41 +02:00
smallmodel
5baf5bccf2
Notify scripts when door has closed/opened
2024-09-01 18:43:38 +02:00
smallmodel
981d72ac5a
Add assertions to check for invalid path distance
2024-09-01 18:28:01 +02:00
smallmodel
a9b8cdce64
Only print the long word error in debug mode
2024-09-01 18:10:16 +02:00
smallmodel
f3222fc36a
Set AI angles only if they don't have an enemy, otherwise let the AI set their angles
...
This prevented actors from attacking correctly because the AI cover target state expects the AI to 100% stare at the enemy and the vehicle would keep changing the AI angles
2024-09-01 17:16:09 +02:00
smallmodel
e5aee8d206
Fix the MG42 fire delay being too slow by default for AIs
2024-09-01 16:51:41 +02:00
smallmodel
96d16bcbc1
Correctly check the max yaw offset in AI_CanTarget()
...
This caused AI to exit turrets immediately
2024-09-01 16:46:24 +02:00
smallmodel
010a5ffc74
Mark entities as missing until they are received
...
This fixes a bug where the plane sound in t1l1 would stop immediately because the entity isn't received at this point
2024-09-01 16:21:56 +02:00
smallmodel
bed9bbbd05
Update classes documentation
2024-08-31 22:13:21 +02:00
smallmodel
5cc168111c
Fix class not dumping properly
2024-08-31 22:10:44 +02:00
smallmodel
bdec6aab07
Fix calls to class dumping functions
2024-08-31 22:09:50 +02:00
smallmodel
56cbab8661
Fix NumEventCommands() returning an incorrect result
2024-08-31 21:42:07 +02:00
smallmodel
29c3bece4e
Prevent players to use developer commands like lod
or view
2024-08-31 21:32:55 +02:00
smallmodel
dc24a4a067
Stop spawning if there is no entity 0 (could only happen in multiplayer)
2024-08-31 21:32:42 +02:00
smallmodel
c4683e2417
Don't execute entity events from the console if the client isn't running
...
This prevent the server from executing console commands for the first player
2024-08-31 21:18:35 +02:00
smallmodel
11f5870a8b
Add ioq3 server fixes and improvement
...
- Add a rate limit to protect against DoS attacks
- Better IPv6 support
2024-08-31 21:04:10 +02:00
smallmodel
9de71e3529
Correctly check if the AI either can see or can shoot to find the enemy
...
The AI would get stuck trying to cover otherwise
2024-08-31 18:06:02 +02:00
smallmodel
81866d96e0
Make flesh impacts properly work
2024-08-31 18:02:07 +02:00
smallmodel
70fcc70348
Fix AI turret placement
...
The AI was too much off from the turret
2024-08-31 17:34:10 +02:00
smallmodel
1911f04079
Fix strange AI turret target angles
...
The turret sometimes turned extremely fast or ignored the max yaw offset
2024-08-31 17:22:28 +02:00
smallmodel
b7288ba3f4
Don't affect the frameMsec with timescale as it causes issues with physics (like vehicles)
2024-08-31 16:50:10 +02:00
smallmodel
be655e2b9c
Fix the height of huddraw elements not being archived properly
...
A wrong variable was specified
2024-08-31 16:38:58 +02:00
smallmodel
915269e017
Fix the actor stuck targeting an enemy with really low threat (behind walls, not visible)
...
This fixes the actor being stuck aiming even if the player is near them
2024-08-31 16:24:59 +02:00