Commit graph

2715 commits

Author SHA1 Message Date
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
smallmodel
ea14ab5664
Implemented special func 2024-02-26 23:25:39 +01:00
smallmodel
1ed8538745
Bounds check clarity 2024-02-26 20:23:31 +01:00
smallmodel
12e36b987a
Use G_DebugRotatedBBox when drawing the entity's bounding box 2024-02-26 19:56:35 +01:00
smallmodel
8324c599de
Implemented G_DebugRotatedBBox 2024-02-26 19:56:23 +01:00
smallmodel
d972c85fba
Formatted debuglines source file 2024-02-26 19:33:52 +01:00
smallmodel
d8b9abe7f5
Fixed call to GunTarget()
It was specifying the position in the boolean parameter which lead to wrong results
2024-02-26 19:21:12 +01:00
smallmodel
4f868d9585
Fixed a collision bug with fence masks 2024-02-26 19:19:38 +01:00
smallmodel
e27ac45f44
Don't load TGA without alpha for collision 2024-02-26 19:08:21 +01:00
smallmodel
58d0e43f78
Use MASK_USE instead of MASK_SOLID 2024-02-26 17:37:38 +01:00
smallmodel
a6c1cbfd50
Added MASK_USE 2024-02-26 16:34:31 +01:00
smallmodel
e32222884d
Fixed DisguiseSalute never finishing animation 2024-02-26 15:53:38 +01:00