Commit graph

2195 commits

Author SHA1 Message Date
smallmodel
cdf2f84b14
Added ScriptModelRealDamage class 2023-11-13 16:33:11 +01:00
smallmodel
2592aeab8b
Fixed improper bullet path on wood and metal 2023-11-13 01:21:08 +01:00
smallmodel
34d4225ea0
Trigger must have CONTENTS_CLAYPIDGEON content mask set if it has DAMAGE spawnflag set when setting the model 2023-11-13 01:20:19 +01:00
smallmodel
17dcb4b00e
Entity's clipmask must be MASK_SOLID 2023-11-13 00:58:33 +01:00
smallmodel
eb1d096539
Fixed vehicle turret gun indefinitely shaking 2023-11-13 00:35:55 +01:00
smallmodel
05c74655be
Fixed SimpleActor::SetPath not setting path correctly 2023-11-13 00:35:32 +01:00
smallmodel
3e0e0ba3b1
Fixed FindCover() wrong algorithm 2023-11-13 00:35:11 +01:00
smallmodel
f90b6cd18c
Fixed State_Turret_Wait() not checking if enemy can shoot, and fixed last enemy visible time not being set 2023-11-13 00:34:26 +01:00
pryon
177702d027
Implement UISlider (#79)
* Implement UISlider

* Use proper enum type for the left and right arrow key constants
2023-11-12 16:39:22 +00:00
pryon
64429232f8
Add missing virtual calls to UIList methods (#80)
* Add missing virtual calls to UIList methods

* Add missing virtual call in UICheckBox::Draw
2023-11-12 16:39:04 +00:00
smallmodel
d6b7fecb69
Refactored navigation with moh 2.0 features 2023-11-09 23:44:53 +01:00
smallmodel
51a0ee56aa
Refactored FindNearestSniperNode() 2023-11-09 21:55:28 +01:00
smallmodel
2ed369568c
Fixed AllocPathNode() and FreePathNode() not working as intended 2023-11-09 21:10:43 +01:00
smallmodel
e5b7e16d1a
Added AI_CONCEALMENT_MASK and use AI_LOW_WALL_ARC 2023-11-09 21:10:20 +01:00
smallmodel
4a9f676d5d
Tidied up FindPathX methods 2023-11-09 21:01:30 +01:00
smallmodel
0e0da3d767
Added MASK_CORNER_NODE 2023-11-09 21:01:03 +01:00
smallmodel
343ce4a6a7
Using vec3_t type for start/end/position 2023-11-09 19:58:46 +01:00
smallmodel
df8b854cb7
Cleaned up GeneratePath methods 2023-11-09 19:52:53 +01:00
smallmodel
831dc770d8
Added droptofloor() 2023-11-09 19:37:25 +01:00
smallmodel
8a9285c64f
Cleaned up navigate source files and added low-wall arc 2023-11-09 19:31:20 +01:00
smallmodel
7e4e06b09d
Fixed FinishReloading not working properly 2023-11-08 22:24:07 +01:00
smallmodel
96748b3fbc
Fixed vote's last text position 2023-11-07 23:06:11 +01:00
smallmodel
f1325048e9
Fixed crosshair's endpos friend test 2023-11-07 23:05:54 +01:00
smallmodel
deee21eb68
Fixed vote string alignment position 2023-11-07 23:02:07 +01:00
smallmodel
2f43e5c5ea
Fixed crosshair friend icon on mohaa 1.11 2023-11-07 23:01:49 +01:00
smallmodel
4766067edb
Fixed crosshair incorrectly hiding 2023-11-07 22:54:05 +01:00
smallmodel
bc54f22639
Crosshair is now handled by the cgame module 2023-11-07 22:44:13 +01:00
smallmodel
20c8c87e79
Draw vote and crosshair 2023-11-07 22:43:13 +01:00
smallmodel
3a5dcd6a3c
Increased MAX_BUFFERS 2023-11-07 22:34:04 +01:00
smallmodel
a5ba02c2bb
Added crosshair variables 2023-11-07 19:30:46 +01:00
smallmodel
e1554efc08
Fixed paused icon location 2023-11-07 19:20:52 +01:00
smallmodel
9d652dd41b
Unpause if the game module doesn't allow pausing 2023-11-07 19:20:40 +01:00
smallmodel
22eadf2c08
Removed code that prevent pausing in debug builds 2023-11-07 19:20:26 +01:00
smallmodel
d3f1b62208
Added pause command 2023-11-07 19:20:07 +01:00
smallmodel
affc28ab79
Removed win32/unix folders (unused) 2023-11-07 18:57:34 +01:00
smallmodel
41be7f44ab
Added comment 2023-11-06 20:45:57 +01:00
smallmodel
646c1f0f16
Fixed lightorigin and attach offset being badly calculated 2023-11-06 19:58:36 +01:00
smallmodel
3cea097b48
Added EV_Turret_SetMaxUseAngle and EV_Turret_SetStartYaw to TurretGun's event responses 2023-11-06 19:41:34 +01:00
smallmodel
786d72575e
Fixed buggy sky rendering 2023-11-06 19:32:49 +01:00
smallmodel
6d9a794aaf
Fixed assertion failed when numskins equals MAX_TIKI_SHADER 2023-11-06 19:17:03 +01:00
smallmodel
9e69df1e94
Check for valid model and anim num in **TIKI_Anim_NameForNum()** 2023-11-06 19:09:06 +01:00
smallmodel
72d4bb0206
Added more checks to avoid crashes 2023-11-06 18:59:18 +01:00
smallmodel
f68e06a949
Use MAX_TIKI_ALIASES instead of the constant number (4095) 2023-11-06 18:30:11 +01:00
smallmodel
f4da539d95
Use vec3_t type for coordinates/angles 2023-11-06 18:11:12 +01:00
smallmodel
17af75a9bb
Formatted TIKI source files 2023-11-06 18:08:53 +01:00
smallmodel
dcbb39d640
Formatted skeletor source files 2023-11-06 17:58:58 +01:00
smallmodel
d0ba1df4e0
G_BroadcastAIEvent: ignore non-actor and non-bots 2023-11-05 21:02:07 +01:00
smallmodel
2b92869683
Moved eAIEvent enum to entity.h 2023-11-05 21:00:41 +01:00
smallmodel
379a4b0ce4
Fixed AI not being able to open doors 2023-11-05 20:58:37 +01:00
smallmodel
d4c7d4a7e1
Avoid broadcasting to AI if the entity has notarget set 2023-11-05 20:58:25 +01:00