Commit graph

1228 commits

Author SHA1 Message Date
smallmodel
5a96d6dd96
Added snd_local_new for new local functions 2023-08-13 23:20:15 +02:00
smallmodel
8d6b3d0bd8
Added cg_archive and cg_radar (unimplemented) 2023-08-13 23:20:00 +02:00
smallmodel
1fd0cd097f
Fixed the objective index 2023-08-13 22:08:10 +02:00
smallmodel
421126db38
Optimized ScriptVM::EventGoto 2023-08-13 22:07:33 +02:00
smallmodel
7258a2e972
Fixed CG_DrawObjectives stack overflow 2023-08-13 22:07:19 +02:00
smallmodel
df66ab0339
Fixed EmitField bug
Clear the previous opcode when a new label is emitted
2023-08-13 21:55:22 +02:00
smallmodel
c49d0c7afa
Fixed iprintln(bold) not working properly with multiple arguments 2023-08-13 20:22:39 +02:00
smallmodel
421b3d6375
Fixed crouch on mohaa and mohaas/mohaab 2023-08-13 20:20:36 +02:00
smallmodel
11ef489225
Added basic implementation of sound callback
Implemented S_IsSoundPlaying
2023-08-13 20:20:17 +02:00
smallmodel
e1da6797c5
Using S_FLAG_DO_CALLBACK 2023-08-13 20:19:51 +02:00
smallmodel
430c7d1a57
Fixed ScriptCheck always failing regardless of the g_scriptcheck value 2023-08-13 20:19:40 +02:00
smallmodel
d3794c0dd9
Fixed bad event when using '$' key 2023-08-13 20:19:26 +02:00
smallmodel
eef1368083
using g_gametype variable directly instead of using Cvar_VariableValue 2023-08-13 20:19:03 +02:00
smallmodel
6dfefa04f5
Fixed SV_AllowSaveGame always returning true 2023-08-13 20:18:46 +02:00
smallmodel
8b17d81545
Fixed variables improperly used on stack under some circumstances 2023-08-13 20:17:59 +02:00
smallmodel
ec58ca0f13
Added S_FLAG_DO_CALLBACK 2023-08-13 20:17:33 +02:00
smallmodel
3fd87f90a2
Fixed objectives not showing properly 2023-08-13 20:17:23 +02:00
smallmodel
9f268b0f6a
Using Director.Pause() instead 2023-08-13 17:59:59 +02:00
smallmodel
f857116f75
Fixed script crashes 2023-08-13 17:59:49 +02:00
smallmodel
ea78d96bc3
Fixed disabled view model animation
Fixed pmove viewheight
2023-08-13 17:59:41 +02:00
smallmodel
0be9e69833
Added protocol for pmove_t for PM_CheckDuck 2023-08-13 17:59:21 +02:00
smallmodel
8171641e3a
Fixed "dmmessage" not being logged (it's a bug in all versions of mohaas/mohaab) 2023-08-13 16:13:08 +02:00
smallmodel
ee6014a30f
Fixed Player::CondCheckMovementSpeed returning wrong value (expects it to return true if below the weapon's max fire movement) 2023-08-13 16:11:59 +02:00
smallmodel
16c22a3ee5
Added "idle0", "idle1", "idle2" view model animations
Fixed respawn time after death
Fixed Sentient not switching to the primary weapon when spawning
Fixed weapon select not showing
Initialize all Player variables
Remove projectiles when switching teams
Set viewmodelanim to disabled when reaching the weapon's max fire movement
2023-08-13 16:11:25 +02:00
smallmodel
571e48fecf
Call Weapon::Charge in Sentient::ChargeWeapon
Don't charge again if sentient is already charging weapon
2023-08-13 16:07:46 +02:00
smallmodel
973d7c5f34
Implemented Weapon::Charge
Cancel overcooked events in Weapon::ReleaseFire
2023-08-13 16:07:11 +02:00
smallmodel
a1c5ca288a
Renamed m_iOwnerTeam to m_iTeam
Implemented SetFuse, ArcToTarget, BecomeBomb, and DieInwater
Fixed projectile life being wrong when charging
2023-08-13 16:06:49 +02:00
smallmodel
e330d00565
Added dmmessage monitoring 2023-08-13 14:19:14 +02:00
smallmodel
6feeb21e21
Fixed uninitialized angular delta variable 2023-08-13 14:19:05 +02:00
smallmodel
bb5cf24d5f
Fixed "isabandoned" mispelling 2023-08-13 03:34:28 +02:00
smallmodel
0dda70cca1
Fixed event parameters being wrong 2023-08-13 03:34:19 +02:00
smallmodel
5e83e03e33
Major grammar/lexer/compiler fixes 2023-08-13 03:34:09 +02:00
smallmodel
d2b3f6c12b
Added stub yacc / lex 2023-08-12 20:00:12 +02:00
smallmodel
f5af33b181
Major script engine fixes 2023-08-12 19:59:40 +02:00
smallmodel
0da1ed8764
Fixed canseenoents having the wrong name 2023-08-12 19:59:17 +02:00
smallmodel
8aa6f29c4c
Added all script functions from mohaas/mohaab 2023-08-12 14:02:43 +02:00
smallmodel
1b7a4442d3
Added no_fade parameter to G_BeginIntermission 2023-08-12 14:00:14 +02:00
smallmodel
a163df993c
Added MOD_MINE_EXPLOSION 2023-08-12 13:59:56 +02:00
smallmodel
2787007b9d
Cleaned up class 2023-08-12 03:10:10 +02:00
smallmodel
cea2c178b5
Fixed header 2023-08-12 03:05:06 +02:00
smallmodel
77a9cd5a9a
Call Director.Unpause() to execute running scripts 2023-08-12 03:04:31 +02:00
smallmodel
ec3259271e
Removed THREAD_CONTEXT_SWITCH 2023-08-12 03:03:34 +02:00
smallmodel
ae02abba3b
Cleaned up ScriptMaster 2023-08-12 03:03:26 +02:00
smallmodel
bf960f6f32
Cleaned up ScriptThread 2023-08-12 02:40:30 +02:00
smallmodel
66a1087099
Moved ScriptMaster methods here 2023-08-12 02:40:03 +02:00
smallmodel
c1a431f857
Added all mohaas/mohaab features (SetWeaponIdleState, PingForMines, ForceLandmineMeasure, ForceDropWeapon and ForceDropHealth)
Set m_fDamageMultipliers depending on whether or not g_realismmode is set
Minor fixes in the sentient constructor
2023-08-12 00:49:07 +02:00
smallmodel
dac5279a59
Archive is_paused and angular_delta 2023-08-12 00:47:39 +02:00
smallmodel
a175ea27d7
Cleanup weapon class
Added ShowInfo, SetItemSlot and SetIdleState
2023-08-12 00:10:47 +02:00
smallmodel
ddac42e21e
Call Weapon::GetZoom() instead 2023-08-11 23:54:43 +02:00
smallmodel
34535ad415
Moved AnimationEvent from Animate to a separate source file 2023-08-11 21:48:25 +02:00