smallmodel
724aeb22ed
Fixed MM_SlideMove() velocity clip and interaction
2024-03-31 22:15:19 +02:00
smallmodel
6fdc756b59
Set terrain rendering settings to max detail by default
2024-03-17 22:38:44 +01:00
smallmodel
25418b7857
Ammo name must be case-insensitive
...
This fixes some maps like t1l3 where the player would have a pistol with 6 bullets and no ammo
2024-03-06 23:49:37 +01:00
smallmodel
b4de0b53e4
Special items must not be archived in persistent data
2024-03-06 19:43:37 +01:00
smallmodel
cacf1ca1b7
Set the unarmed flag when archiving persistent data
2024-03-06 19:35:15 +01:00
smallmodel
98c61529b9
Archive the weapon clip amount in persistent data
2024-03-06 19:33:48 +01:00
smallmodel
6675a491be
Fixed the model name when archiving persistant data
...
This fixes a crash when the next mission map is loaded and then saving/loading afterwards (fixes #237 )
2024-03-06 19:29:07 +01:00
smallmodel
b6485ad7db
Configstring optimization so that there is only one occurence of a configstring index in pending server commands
...
This fixes configstring overflow in big maps like t1l2 (fixes #289 )
2024-03-06 18:54:32 +01:00
smallmodel
9f5df368d1
Fixed infinite player team spectate
2024-03-05 23:30:25 +01:00
smallmodel
e970e29953
Use a constant expression for clarity
2024-03-05 22:59:12 +01:00
smallmodel
9fb559bdb1
Added an assertion check for lastRadarTime
2024-03-05 22:52:19 +01:00
smallmodel
61e9146385
Moved con_set entry to the header file
...
This fixes compilation issue with GCC (fixes #288 )
2024-03-05 18:30:31 +01:00
smallmodel
897c2322b9
Archive the target list
...
This fixes crashes related to scripts using entities by target name
2024-03-04 23:35:22 +01:00
smallmodel
7b8be9fed1
Added ArchiveObject() that accepts a SafePtr
2024-03-04 23:34:31 +01:00
smallmodel
cebb351505
Added and implemented TargetList
2024-03-04 23:08:22 +01:00
smallmodel
b4bce3431b
Archive LightClass object pointer instead of a Class object pointer
2024-03-04 22:51:29 +01:00
smallmodel
c6e3dfdbe6
Fixed velocity clip (sliding along plane)
...
This fixes the issue where vehicles would not be moving precisely where it should be moving (incorrect clipping of the velocity). For example, the minesweeper tank in e1l2 kept getting stuck because it didn't move appropriately (fixes #261 )
2024-03-04 22:40:49 +01:00
smallmodel
22d2790735
Fixed vehicle stepping
2024-03-04 22:27:00 +01:00
smallmodel
5d3b76b249
Cleaned up SetMoveInfo() / SetCEMoveInfo()
2024-03-04 22:26:56 +01:00
smallmodel
7b07be1502
use double instead of float
2024-03-04 22:25:31 +01:00
smallmodel
3acb796b59
Call VectorNormalize() directly in Vector::normalize()
2024-03-04 20:07:06 +01:00
smallmodel
25bbc1793d
Fixed AngleNormalize360
2024-03-04 20:06:35 +01:00
smallmodel
63456beeb0
Code clarity
2024-03-03 22:47:31 +01:00
smallmodel
2e32395cf2
VectorNormalize optimization
2024-03-03 19:51:56 +01:00
smallmodel
d04ed0aace
Made M_PI double
2024-03-03 19:46:32 +01:00
smallmodel
302f06f8d2
Clear the variable if the field cannot be found
2024-03-03 18:54:22 +01:00
smallmodel
4cf4ca2943
Fixed crash on pSoundAlias
2024-03-03 18:53:22 +01:00
smallmodel
fe35e02ed4
Fixed weapon pickup logic, like player picking up the weapon indefinitely when reaching max ammo
2024-03-03 18:09:19 +01:00
smallmodel
5fa1b98d34
Fixed vert Z coord not matching average height
...
This caused issue where verts would never be merged. This should fix #232
2024-03-03 17:52:29 +01:00
smallmodel
bebe117487
Formatted document
2024-03-03 17:34:01 +01:00
smallmodel
26495fe0f8
Refactored R_TerraTriNeighbor
2024-03-03 17:33:35 +01:00
smallmodel
4c4ac9f90e
Added more assertions for consistency
2024-03-03 16:24:09 +01:00
smallmodel
bf5fdb8f06
Fixed improper fence masks
...
This fixes #284 , fixes #280
2024-03-02 15:29:25 +01:00
smallmodel
01e68fd5ee
Fixed turret gun never being killed
...
This fixes #231
2024-03-02 15:29:08 +01:00
smallmodel
e930b5481a
Mark the trigger as dead after kill
2024-03-02 15:27:35 +01:00
smallmodel
9bd4d40f09
Formatted document
2024-03-02 15:00:56 +01:00
smallmodel
40035f4df3
Fixed multi-shaders snow
2024-03-02 14:23:32 +01:00
smallmodel
a7b3fdd70b
Added getConfigStringIdNormalized client game import to normalize config strings
2024-03-02 14:06:32 +01:00
smallmodel
b77af7fced
Implemented R_GetLightingForDecal
2024-03-01 22:59:06 +01:00
smallmodel
52c89f1de3
Fixed comparison operator
2024-03-01 22:31:33 +01:00
smallmodel
e7cd70b8ee
Enable cg_rain by default
2024-03-01 22:19:18 +01:00
smallmodel
e06ee0f26a
Bounce backwards check
2024-02-28 23:40:41 +01:00
smallmodel
76c9e4e048
Fixed pickup message appearing twice
2024-02-28 23:33:10 +01:00
smallmodel
06d8ddbfc7
Fixed AI firing multiple bullets when it should fire one
...
This fixes AI killing the player almost instantly
2024-02-28 22:56:05 +01:00
smallmodel
8b9840d37f
Implemented Game::Archive()
2024-02-28 22:52:44 +01:00
smallmodel
960469be77
Implemented MakePrimitive()
2024-02-28 22:52:25 +01:00
smallmodel
77ef0f3579
Implemented game.detail and game.skill
2024-02-28 22:21:53 +01:00
smallmodel
07c840a4a9
Don't assert for NULL owner
2024-02-28 22:10:18 +01:00
smallmodel
35a8c4edfa
g_droppeditemlife: make sure the value is non-null
2024-02-28 22:10:07 +01:00
smallmodel
36af9e6589
Fixed a very boring mistake ignored by MSVC
2024-02-27 00:02:20 +01:00