Commit graph

1618 commits

Author SHA1 Message Date
f4f033ca3d make_dist.sh: Add check for EXCLUDE_PLATFORM env 2021-05-22 15:22:13 +02:00
4e20200f46 Menu-FN: Set platform defaults upon init, in case the engine does not exec
platform_defaults.cfg - however only crucial ones that should not be
touched anyway.
2021-05-22 15:21:28 +02:00
09528c2944 Add support for top/bottom color on players and viewmodels.
Fix func_breakable's sound shader from precaching non existing sounds.
2021-05-20 16:01:07 +02:00
3b36834b93 Platform: HL doesn't have concrete4 and flesh4 debris sounds 2021-05-17 22:19:29 +02:00
8072ba2872 Add Weapons_Sound() back, because now it'll be useful 2021-05-17 20:18:25 +02:00
2d17321554 Small fix to avoid spam in my inbox. 2021-05-17 20:15:49 +02:00
5d1a48d0ad vmap: don't blindly query for nproc, as it's not available on BSD. so let's do it the right way 2021-05-17 18:23:21 +02:00
975395a8e6 build_engine.sh: Check for BUILD_CLEAN and issue gmake clean if set 2021-05-17 18:19:30 +02:00
fbbcfd5d5f BotLib: Attempt to duck when we're between 512 and 1024 units 2021-05-16 23:08:41 +02:00
448b9bd20d Client: MakeStatic func_wall ents where we can do it on.
Shared: Bench PMove_Run using the engines builtin runstandardplayerphysics
2021-05-16 23:08:08 +02:00
bccb29ce9a test_shaders: example of lightmap scale added. 2021-05-16 23:06:14 +02:00
c5cea7a162 Base: Weapons now track weight (for Weapons_SwitchBest)
BotLib: Add CreateObjective() method that can be overridden
2021-05-12 15:42:20 +02:00
eb3603335e GS-EntBase: func_ladder moved into shared/, will now avoid networking
entirely if it can be avoided.
2021-05-10 19:05:57 +02:00
728b261471 func_wall: Change MOVETYPE_NONE to MOVETYPE_PUSH 2021-05-10 14:52:41 +02:00
aef65b5749 Shared: Add frametime parameter to Animation_TimerUpdate(). 2021-05-10 12:22:12 +02:00
368e19f784 Spectator: Make sure we set spec_mode and spec_ent in the constructor to
some in-bound defaults. Fixes crash in HUD_Spectator()
2021-05-10 12:21:40 +02:00
1485544b91 Base: Get rid of g_eAttacker, which had been replaced by g_dmg_eAttacker.
Go over TraceAttack and make it combine multiple Damage_Apply calls into
one.
2021-05-10 11:33:31 +02:00
a3ecd78f17 CBaseMonster: support for spawnflag MSF_IGNOREPLAYER (64). 2021-05-10 08:14:10 +02:00
f4bbfe2e69 Revert commit 29e0e82f48 2021-05-09 22:02:19 +02:00
1de7864463 build_engine/editor.sh: Use sysctl on OpenBSD to get number of cores. 2021-05-09 22:01:13 +02:00
29e0e82f48 Server: Don't network RM_TRIGGER ents unless the developer cvar is 1. 2021-05-09 10:03:10 +02:00
e0a2f47f4d Dereference pSeat and pSeatLocal to __NULL__ instead, it's not like we ever
caught an error with the previous assignment anyway.
2021-05-08 23:06:11 +02:00
64745eb23c Overhaul prediction routines by boxing the generic client attributes away
from the game specific code. Add some helper macros... clean a whole bunch
up.
2021-05-08 17:44:16 +02:00
8e4ec974e0 Menu: Add gameinfo_steambg manifest setting, so we can support background
images for games designed for the SteamUI-era
2021-05-08 17:20:30 +02:00
76507b3e9e Client: Handle EFX_Shutdown() for OpenAL Environmental FX 2021-05-07 16:29:24 +02:00
31ae020cba Plugins: Add example plugins.txt config, add support for inline comments,
move searchpath to gamedir/plugins/
2021-05-07 14:15:08 +02:00
7a9d50b4c9 Strip Weapons_PlaySound() from base 2021-05-07 13:30:44 +02:00
df2525aae6 GS-Entbase: Add BASEFL_CHANGED_VELOCITY and make sure velocity is networked
when required.
2021-04-27 17:45:13 +02:00
eaff488dc2 Client: Add an OSD for various EFX debug info when s_al_debug is enabled. 2021-04-27 12:53:21 +02:00
69caffe91c Fix typo where flReflectionsPan isn't getting set in the EFX loader. 2021-04-23 11:43:40 +02:00
96a748f189 Server: Flush 'skyname' serverinfo before setting the .bsp one, to prevent
it from bleeding to maps that don't define 'skyname' from old configs.
2021-04-22 12:14:56 +02:00
ead2ab6a6b EFX/env_sound: Add bound checks for legacy roomtypes. 2021-04-22 11:44:53 +02:00
f09f5833e0 Introduced the new OpenAL EFX handling subsystem. It's fully user-definable
via plain-text definitions and allows even legacy/GoldSrc content to take
advantage of it.
2021-04-22 11:33:48 +02:00
74f6d1a033 Client: Remove the last reference to g_iWorldInitialized 2021-04-22 01:59:37 +02:00
2ad3069b1d vmap_tex.pk3dir: Add surfaceParm nolightmap to textures/common/*.mat where
it applies.
2021-04-21 17:36:31 +02:00
fb20b80b8f Update testmap materials to have fallback info for pre-GLSL renderers 2021-04-21 17:18:17 +02:00
ce8731079f func_door(_rotating): Support for separate sound shaders handling opening
and closing of doors. See QUAKED comment in WorldSpawn for details.
2021-04-21 10:03:18 +02:00
d37c4d9d0a env_sound: Remove antiquated check for g_iWorldInitialized and change an
ifdef'd print to a dprint.
2021-04-20 19:54:11 +02:00
8ec9960264 Revert "Materials: Support for Opposing Force its SNOW identifer for surfaces in"
This reverts commit b0bc59a49c.
2021-04-19 11:30:50 +02:00
b0bc59a49c Materials: Support for Opposing Force its SNOW identifer for surfaces in
materials.txt
2021-04-19 11:23:30 +02:00
27b5b59f0d Server: Precache step_sand.left/right, add to footsteps.sndshd.
Fix some botlib waypointing strings.
2021-04-18 08:24:55 +02:00
da62296b9c Menu-FN: Added cvar menu_helptext_size, don't expect this one to be around
forever, it'll be used to detect quirks in freetype scaling.
2021-04-15 20:46:54 +02:00
07094f1cb4 CBaseMonster: Cancel out of AttackThink if m_eEnemy is not set 2021-04-10 23:25:06 +02:00
929a8f8630 GS-Entbase: Fix missing return on SendFlags in func_wall and func_illusionary 2021-04-10 23:06:59 +02:00
25f657532c Server: Limit hitbody sound in traceattacks to entities that can actually bleed, not just take damage 2021-04-10 22:49:30 +02:00
6da1f3c4fa GS-Entbase: massive optimisation - any func_wall and illusionary without a
targetname will not be networked and handled 100% client-side.
2021-04-10 09:35:06 +02:00
9ad73615d4 platform_default.cfg: expose definitions for pmove cvars 2021-04-07 12:58:00 +02:00
54be70da80 fx_spark: make it use our sound shader definitions 2021-04-07 12:57:23 +02:00
fca8620cba Server: Physics variables are now controlled via sv_ cvars like they
usually are in idTech, however we're now checking them every frame and
updating the networked infokeys in question
2021-04-06 12:22:32 +02:00
6e38bac564 Server: add support for more ways of loading HLBSP material definitions.
Explanation is provided under docs/hlmaterials, about the ways you can go
about this and which methods provided by the community are supported
2021-04-06 10:43:38 +02:00