Commit graph

1116 commits

Author SHA1 Message Date
smallmodel
40318f052a
Set GAMEVERSION to OPENMOHAA 2023-08-09 23:49:47 +02:00
smallmodel
a130f45c62
Added GetViewAngles, SetFov and GetFov
Removed SwingAngles
2023-08-09 23:49:38 +02:00
smallmodel
e687d97660
Fixed compile errors 2023-08-09 23:48:37 +02:00
smallmodel
e4a0406fc2
Removed Player::PlayerDone
Using Player::DeadBody with the event parameter
2023-08-09 23:11:39 +02:00
smallmodel
ef18c389be
Cleanup entity class
Added new parameter for CanSee
Added Entity::SafeSolid and Entity::Sink
2023-08-09 23:09:09 +02:00
smallmodel
85099801ab
Call Player::DeadBody() with the event function instead 2023-08-09 22:09:04 +02:00
smallmodel
3472657f92
Added MASK_SAFESOLID 2023-08-09 22:08:37 +02:00
smallmodel
c197513ff3
Fixed mismatched endif 2023-08-09 21:00:56 +02:00
smallmodel
9dca77c2cf
Fixed setModel() virtual function 2023-08-09 20:58:36 +02:00
smallmodel
f08a7fa21e
Removed Player::useWeapon 2023-08-09 20:58:07 +02:00
smallmodel
2df56c810d
Set Entity's entnum directly 2023-08-09 20:57:53 +02:00
smallmodel
8c6098f730
Removed SimpleEntity::SetTargetViewAngles() 2023-08-09 20:57:45 +02:00
smallmodel
1462d4f8d9
Removed StunAttack (useless) 2023-08-09 20:57:26 +02:00
smallmodel
5bd49304d7
Cleaned up SimpleEntity 2023-08-09 20:57:17 +02:00
smallmodel
f52d648d6f
Added InteractObject and ThrowObject 2023-08-09 20:49:43 +02:00
smallmodel
987af7eb81
Cleaned up Sentient class
Moved combat stuff to sentient_combat.cpp
Formatted source files
2023-08-09 19:45:39 +02:00
smallmodel
f313b6a058
Formatted item source files 2023-08-09 16:54:38 +02:00
smallmodel
99b989bb63
Added DynItem
Removed unused features
Added remaining mohaa functions
2023-08-09 16:37:08 +02:00
smallmodel
7ebbba6ce5
Made Class::warning and Class::error const methods 2023-08-09 01:53:45 +02:00
smallmodel
c2a6db15a6
Reordered and removed useless functions 2023-08-09 01:32:23 +02:00
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