Commit graph

2218 commits

Author SHA1 Message Date
smallmodel
990aa5cdb2
Initialize m_iBadPlaceIndex to 0 2023-11-14 00:06:26 +01:00
smallmodel
befcedcf58
Fixed OPCODE_STORE_FIELD_REF incorrectly not skipping field on exception
It would cause invalid opcode afterwards.
2023-11-14 00:06:23 +01:00
smallmodel
eeb697570d
Fixed collapse index still being processed with SKB files (would cause crashes) 2023-11-14 00:04:42 +01:00
smallmodel
6410567e9a
Initialize obfuscation mapping (still unimplemented) 2023-11-13 23:44:04 +01:00
smallmodel
e8aad97975
Fixed alignment issue on ARM CPUs 2023-11-13 23:28:42 +01:00
smallmodel
0662359776
Implemented DamageEvent() / EventGetActivator()
For example, the script in the training map waittill damage on the crate's trigger for bullets, DamageEvent() will unregister the damage event
2023-11-13 22:20:16 +01:00
smallmodel
5568d160ab
Fixed uninitialized shader variable in CG_DrawCrosshair() 2023-11-13 22:18:38 +01:00
smallmodel
defa297a56
Fixed debug lines being always drawn 2023-11-13 20:39:03 +01:00
smallmodel
782c37c4fe
Updated version number 2023-11-13 20:38:49 +01:00
smallmodel
6f03c88ad5
Formatted playerbot source file 2023-11-13 20:33:06 +01:00
smallmodel
3ec980c8ec
Fixed bots being blocked 2023-11-13 20:31:50 +01:00
smallmodel
c0a50eb2ff
Fixed infinite spectator switch loop 2023-11-13 20:31:41 +01:00
smallmodel
f73e4b6f22
Check if the turret is valid before detaching remote owner 2023-11-13 20:30:51 +01:00
smallmodel
096972827e
Fixed half of archived entities being deleted during restart 2023-11-13 19:35:46 +01:00
smallmodel
08c040d4ea
Reset smoke sprites during restart 2023-11-13 19:34:13 +01:00
smallmodel
6d8b6b5f29
Fixed objectives text 2023-11-13 19:25:52 +01:00
smallmodel
410f1c0ed8
Only include listener.h when compiling C++ 2023-11-13 18:36:20 +01:00
smallmodel
cb73cfd57b
Fixed "unknown game mode" error 2023-11-13 18:23:26 +01:00
smallmodel
8cb8a7f370
Fixed objectives being wrong 2023-11-13 18:23:15 +01:00
smallmodel
8c893acfff
Don't spawn the initial player if the game isn't single-player 2023-11-13 18:23:01 +01:00
smallmodel
e453d1fa17
Added "none" for teamwin argument 2023-11-13 18:22:35 +01:00
smallmodel
a7301ed7b6
Fixed teamwin not working on TOW and Liberation 2023-11-13 18:21:08 +01:00
smallmodel
42ebfd5394
Added ScriptSimpleStrafingGunfire and ScriptAimedStrafingGunfire from moh 2.0 and above 2023-11-13 17:46:33 +01:00
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