Commit graph

1620 commits

Author SHA1 Message Date
2b377fdd79
Document the various CONTENTBITS that are relevant to us and reserve
a GRENADECLIP content bit, so levels can be optimised for nade throws.
2021-09-24 10:48:05 +02:00
565d8ad7e7
PMove: Add flag FL_ONUSABLE, which will tell us if we're looking/hovering
over something that we can +use on.
2021-09-23 01:01:59 +02:00
5439bfb59b
CBaseEntity: Mark some methods as nonvirtual, fix some regressions with
func_healthcharger/recharger, trigger_gravity
2021-09-22 20:56:20 +02:00
451beedb0c
CBasePhysics: add support for explosions upon destruction, provided via
propdata.
2021-09-21 21:11:02 +02:00
251713121c
PropData: Add support for the BreakModel info parsing. Any CBaseEntity can
now be augmented. prop_physics entities can already make use of them.
2021-09-21 20:33:09 +02:00
f34b78b11c
CBaseMonster: Fix being able to push monsters around when you're standing on them 2021-09-17 20:41:48 +02:00
3bceff6a2c
Implement and parse the propdata system from Source 2004 and make our
func_breakable entity aware of it.
2021-09-17 19:31:22 +02:00
3cc01ca512
CBaseMonster/NPC: Tweak what qu/s speed is considered falling 2021-09-17 01:24:47 +02:00
211a28692b
CBaseMonster: Add FALLING flag, and FallNoise() method so monsters/npcs can
specify what to do/play when they start falling.
2021-09-17 00:41:58 +02:00
56e07c3f06
CGameRules: Add MonstersSpawn(), now game-modes can be queried for whether
or not monster entities spawn on init.
2021-09-16 21:16:37 +02:00
1764677394
Add hacks to func_door(_rotating) that deal with 'wait' being 0. 2021-09-16 20:26:03 +02:00
2cebd560c3
multi_manager: Remove old debug prints 2021-09-16 19:19:22 +02:00
56a616ec8b
CBaseEntity: Add reliable methods to query what certain attributes where
when the entity first spawned. (e.g. GetSpawnOrigin())
2021-09-16 17:34:56 +02:00
cba54d3e2b
Added crossprint, changed input_sequence from int to float as
it's now integrated into the engine, however as a float (blame DP)
2021-09-15 22:44:31 +02:00
034575ac87
Plugins: chatsounds.dat will now look for any definitions
file named chatsounds_*.txt.
2021-09-12 12:19:28 +02:00
81116646e4
Sound_Distance: Use pointsound, because the engine may do a funny
with channels and whatnot in the OpenAL backend. It works when
no entities are involved.
2021-09-12 01:17:26 +02:00
ab34230016
GS-EntBase: func_door_rotating gets the 'locked_sound' too. That's
it for today.
2021-09-12 01:11:36 +02:00
eda2e3e751
GS-EntBase: Implement 'locked_sound' in func_door. 2021-09-12 01:06:45 +02:00
c9d502f364
GS-EntBase: env_shooter's Respawn should set .think to __NULL__
to avoid potential Respawn() calls not working as expected.
2021-09-12 00:30:37 +02:00
dfa7e32eca
CBaseNPC: Don't allow us to 'Speak' or 'Sentence' when we're dead. 2021-09-12 00:21:28 +02:00
f884b3d35d
Separate networking between CBaseEntity and CBaseMonster, needs
cleaning.
2021-09-12 00:13:24 +02:00
10b2ff1fca
Add setorigin_safe(), which is just like setorigin but pushes
entities upwards out of the ground.
2021-09-12 00:12:55 +02:00
b8de87d45c
func_pushable: Mark collision-helper as non-solid upon breaking. 2021-09-12 00:11:12 +02:00
d4fe258d62
prop_vehicle_driveable: Fix QUAKED definition classifying it as
a brush entity, oops.
2021-09-11 22:46:29 +02:00
d94a5f33eb
GS-EntBase: Add prop_vehicle_driveable, for model based 4-wheel
vehicles.
2021-09-11 22:43:14 +02:00
b7f722dae1
build_game.sh: add SKIP_UPDATE check 2021-09-09 19:18:50 +02:00
bc2fbb4a69
Implement setpos() and setang(). The engine provides setpos, but
we may want to declare it for possible future overrides.
2021-09-09 19:03:26 +02:00
5578b0e602
GS-EntBase: Add client-side prediction for func_tankmortar. 2021-09-08 20:17:13 +02:00
05fe98e0ca
vmap.sh: add VMAP_FASTLIGHT env check 2021-09-04 00:05:42 +02:00
94620ee2da
build_game.sh: separate vcs fetching from build-loop 2021-09-02 21:16:18 +02:00
2a86794d67
Add precache_cubemap() to src/client/defs.h 2021-09-02 21:11:54 +02:00
8ba5bc56d2
Sound: Added 'distshader' keyword support... which will play a
another sound definition at global attenuation (explosions like this)
2021-09-02 10:10:27 +02:00
4a2cde56cc
Clean up pseudorandom() a bit. 2021-09-02 09:47:48 +02:00
527318bd65
Deprecate CBaseFX, introduce .predraw for weapon functions. 2021-09-02 09:39:37 +02:00
9fa091db43
Reserve 3 SRC'04 rendermodes, implement RM_DONTRENDER. 2021-09-01 22:41:11 +02:00
fd05c2419c
Minor cleanup of SendFlags assignments, fix for 'sv respawn_ents' affecting players. 2021-09-01 22:11:30 +02:00
f0957141cc
CBaseEntity: Add inputs for 'Kill' and 'KillHierarchy' 2021-09-01 21:39:21 +02:00
1657ff3e29
GS-EntBase: Move I/O system into CBaseEntity, add Skin, Disable/EnableShadow inputs... 2021-09-01 21:30:10 +02:00
57f1408b8c Add UpdateView() to CBaseVehicle, to let vehicles override the
camera properties in CSQC_UpdateView before rendering.
2021-09-01 15:19:50 +02:00
0bc83d289d Menu-FN: Add r_pixelscale, to be used in combination with r_autoscale 2021-08-29 21:41:31 +02:00
2377734e60 Client: Remove drawpic and drawsubpic wrappers. 2021-08-29 19:42:45 +02:00
2066669bee build_game.sh: when gamedir parameter is specified, pull from the main repo first before pulling from gamedir 2021-08-29 19:10:55 +02:00
6cea322f6a base_player: Network v_angle[1] along with angles[1] 2021-08-29 18:28:11 +02:00
8db164adc7 make_dist.sh: bundle any script starting with install_*.sh into the game-dir 2021-08-29 16:03:48 +02:00
42b1abf668 Menu-FN/FS: Only parse sprays from logos/, not root of mod-dir
anymore. Users with giant BMP screenshots will rejoice
2021-08-29 09:53:36 +02:00
34505bcacf GS-EntBase: Fix crash with vehicles by networking them separately
from CBaseEntity, which will assign the needed client-side input
method for prediction
2021-08-28 21:25:38 +02:00
4952e7fbe0 Menu-FN & GLSL: Hack to allow for .colormap style top/bottom color
onto vertexlit entities. Requires .colormod[2] to be 2.
Used by the menu with MODEL_PREVIEW.
2021-08-27 21:52:41 +02:00
6de82ca18c Menu-FN: if a menu.dat is compiled with MODEL_PREVIEW defined,
we'll use a 3D player-model previews instead of the image based one
2021-08-27 21:15:57 +02:00
0ae6d8048b build.cfg: if BUILD_ENGINEREVISION is 0, build latest. 2021-08-27 12:31:07 +02:00
d08bc865d8 Update doc/ to include notes about the filesystem and loading multiple game-dirs in sequence 2021-08-27 12:18:50 +02:00