Commit graph

25 commits

Author SHA1 Message Date
smallmodel
00dbc74269
Use MAX_WEAPON_ANIM_SLOTS instead of a constant 2024-11-03 15:36:55 +01:00
smallmodel
4da099d15c
Add GetChargeFraction() 2024-10-20 22:41:21 +02:00
smallmodel
5b3ce85695
Add a method to get the spread factor 2024-10-18 19:52:49 +02:00
smallmodel
d9166478e5
Set the weapon animation back to idle when finished animating
This fixes an issue that also occur in OG, where some weapons would constantly replay the same sounds (often reload/rechamber) when the weapon entity is removed then added to the client snapshot
2024-10-17 17:50:33 +02:00
smallmodel
34c44ab2cf
Add a method to get the max fire movement 2024-10-08 21:52:43 +02:00
smallmodel
bf184fb719
Use #pragma once instead of #ifndef 2024-09-27 20:19:11 +02:00
smallmodel
b0c1d79132
Fixed AI mg42 fire delay 2024-02-20 23:29:38 +01:00
smallmodel
0167f0a3a4
Using Added in OPM comments 2023-12-28 20:35:33 +01:00
smallmodel
cb23f3bb70
Added missing weapon_class archived variable 2023-11-27 20:05:36 +01:00
smallmodel
7a1e07e72a
Made ApplyFireKickback() and ReadyToFire() virtual 2023-09-19 21:01:41 +02:00
smallmodel
e1093d0c0c
Using vec3_t instead of Vector for Weapon::GetMuzzlePosition() 2023-09-18 21:19:08 +02:00
smallmodel
acc9c241a3
Added const specifier for Weapon::IsCarryableTurret() 2023-09-17 16:27:58 +02:00
smallmodel
5db086e470
Made GetMuzzlePosition a virtual method 2023-09-10 23:54:30 +02:00
smallmodel
c4738966fe
Using g_utils.cpp from fakk 2023-08-15 01:27:35 +02:00
smallmodel
f0571385d5
Export events for AISpawnPoint 2023-08-14 19:00:16 +02:00
smallmodel
83318af532
Export EV_Weapon_SetProjectile 2023-08-14 17:43:28 +02:00
smallmodel
a175ea27d7
Cleanup weapon class
Added ShowInfo, SetItemSlot and SetIdleState
2023-08-12 00:10:47 +02:00
smallmodel
4ded5c3380
Added EV_Weapon_SetAmmoClipSize declaration 2023-08-10 17:00:51 +02:00
smallmodel
ffa5a91cd2
Added Landmine and Defuse fire types for Shoot
Added GetUseCrosshair()
2023-08-02 19:53:14 +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
e8df36998e
Added mohaas/mohaab variables 2023-07-31 23:41:45 +02:00
smallmodel
6562bcb164
Added mohaas/mohaab weapon events (unimplemented) 2023-07-30 19:41:11 +02:00
smallmodel
5333c7ff4a
Removed empty line before opening braces 2023-07-05 20:52:55 +02:00
OM
c287638f99 Reworked file inclusion (using relative path) 2023-06-17 01:24:20 +02:00
OM
e4fa0fff3a Renamed **game** to **fgame** 2023-06-15 23:44:02 +02:00
Renamed from code/game/weapon.h (Browse further)