Commit graph

1096 commits

Author SHA1 Message Date
smallmodel
aa58bcf948
Using const_str for trigger 2023-08-09 00:54:06 +02:00
smallmodel
fa5b030522
Cleaned up trigger source file 2023-08-09 00:42:09 +02:00
smallmodel
3e44049abf
Removed unused trigger features 2023-08-08 23:51:46 +02:00
smallmodel
94c501e71b
Formatted document 2023-08-08 23:46:45 +02:00
smallmodel
484b2a8900
Implemented TriggerAll 2023-08-08 23:35:01 +02:00
smallmodel
e8ff4fb9a7
Fixed wrong TRIGGER_DAMAGE value 2023-08-08 23:06:28 +02:00
smallmodel
b89e10fd5c
Reordered conditions 2023-08-08 22:40:23 +02:00
smallmodel
d86ea606eb
Formatted source files 2023-08-04 00:21:19 +02:00
smallmodel
2135be12b8
Implemented all unimplemented conditions 2023-08-04 00:20:28 +02:00
smallmodel
ae5d51f2e9
Reworked the player class
Added player_animation.cpp and player_conditionals.cpp
Renamed conditions functions and moved them to player_conditionals.cpp
2023-08-04 00:04:29 +02:00
smallmodel
6eaf25ff80
Using const for CurrentAnim() and CurrentTime() 2023-08-04 00:03:55 +02:00
smallmodel
17c371c15e
Added Entity::BlocksAIMovement 2023-08-03 21:44:16 +02:00
smallmodel
13febc125e
Renamed weapon to dm_primary 2023-08-03 21:44:05 +02:00
smallmodel
b0f26acc18
Fixed max movement time 2023-08-03 21:43:50 +02:00
smallmodel
8ffa5f15e6
Implemented BulletAttack from mohaas/mohaab
Added more explosion effects
2023-08-03 21:43:38 +02:00
smallmodel
f6bcc1ab86
Increased MAX_WEAPONS to 64 2023-08-03 20:14:33 +02:00
smallmodel
a4d6442526
Call BulletAttack_Stat instead of putting everything in BulletAttack
Fixed some BulletAttack bugs
2023-08-02 23:09:18 +02:00
smallmodel
b7fac3a5b0
Added BulletAttack_Stat 2023-08-02 21:58:47 +02:00
smallmodel
64ebf3ed05
Implemented all landmine related functions 2023-08-02 21:50:11 +02:00
smallmodel
9933612607
Added ScriptVariableList::VariableExists 2023-08-02 21:49:03 +02:00
smallmodel
22ff072b54
Made findKeyValue and findKeyEntry const 2023-08-02 21:48:54 +02:00
smallmodel
73b0a84ad0
Added MASK_LANDMINE_PLACE 2023-08-02 21:05:49 +02:00
smallmodel
7b03f953bf
Added Level::RoundStarted 2023-08-02 21:02:19 +02:00
smallmodel
367d6ff6fc
Added and implemented TriggerNoDamage, TriggerEntity and TriggerLandmine 2023-08-02 21:00:16 +02:00
smallmodel
ca61fde54b
Added ScriptThreadLabel::Execute() with safeptr listener, and optionally another listener 2023-08-02 20:59:54 +02:00
smallmodel
f739588c73
Cleaned up Player class from all unused action anim
Added all mohaas/mohaab fields
Added m_sDmPrimary to get the player's primary weapon
2023-08-02 20:59:19 +02:00
smallmodel
ce02d782c4
Removed Player::FindEnemyInFOV and Player::FindEnemyInFOVFromTagWithOffset (unused) 2023-08-02 20:59:15 +02:00
smallmodel
a498b11e20
Added MASK_LANDMINE 2023-08-02 20:56:19 +02:00
smallmodel
ffa5a91cd2
Added Landmine and Defuse fire types for Shoot
Added GetUseCrosshair()
2023-08-02 19:53:14 +02:00
smallmodel
ae680ffd5d
Added Landmine functions from mohaab
Added more parameters for BulletAttack and FakeBulletAttack from mohaas/mohaab
2023-08-02 19:52:04 +02:00
smallmodel
4c17d12fc6
Added new fire types
Added GetFireAnim()
Using m_sTagBarrel rather than an hardcoded tag name
2023-08-01 21:18:35 +02:00
smallmodel
0259f1a251
Reworked Weapon::ReadyToFire and Weapon::PickupWeapon with mohaas/mohaab features 2023-08-01 20:36:52 +02:00
smallmodel
04708aeb67
Fixed CurrentFrame() not found error 2023-08-01 19:59:32 +02:00
smallmodel
a47eb1653e
Override animation functions from entity 2023-08-01 19:59:19 +02:00
smallmodel
10fda39430
Added animation functions 2023-08-01 19:59:05 +02:00
smallmodel
b2be03cce3
Initialize all weapon vars, including mohaas/mohaab variables 2023-08-01 19:31:25 +02:00
smallmodel
84ecf838d4
Optimized G_Command_ProcessFile a little bit 2023-08-01 19:31:08 +02:00
smallmodel
c115796137
Optimized GetValue() so it moves value instead of copying it 2023-08-01 19:30:28 +02:00
smallmodel
7e054c8beb
Implemented all mohaas/mohaab events 2023-07-31 23:41:53 +02:00
smallmodel
e8df36998e
Added mohaas/mohaab variables 2023-07-31 23:41:45 +02:00
smallmodel
0cc558f757
Added overcooked field 2023-07-31 23:41:01 +02:00
smallmodel
5c9bc074f4
Removed fov variable (was useless) 2023-07-31 23:40:39 +02:00
smallmodel
d89175ebc8
Added "always" parameter for alias registration 2023-07-30 23:02:13 +02:00
smallmodel
727eb71995
Added all mohaas/mohaab entity events 2023-07-30 21:21:00 +02:00
smallmodel
3d48c00902
Added g_realismmode 2023-07-30 20:21:18 +02:00
smallmodel
963318264c
Added SV_HitEntity from mohaab 2023-07-30 20:21:08 +02:00
smallmodel
d9123799d6
Added CONTENTS_CLAYPIDGEON 2023-07-30 19:48:43 +02:00
smallmodel
6562bcb164
Added mohaas/mohaab weapon events (unimplemented) 2023-07-30 19:41:11 +02:00
smallmodel
4fa8af3b30
Smoke system implementation from mohaas/mohaab 2023-07-30 16:09:54 +02:00
smallmodel
3f4be4f8ef
Added MASK_SMOKE_SPRITE 2023-07-30 16:09:36 +02:00