Commit graph

1583 commits

Author SHA1 Message Date
7fdf579b5d build_editor.sh: specify special CFLAGS for OpenBSD 2021-06-02 14:43:01 +02:00
14c3669cf0 build_editor.sh: switch from cmake to make compilation, since the upstream change 2021-06-02 12:42:13 +02:00
d4e615a075 error.mat: add pulsing alphaGen on top to aid visibility 2021-06-01 12:48:03 +02:00
af139751e0 setmodel(): verify if model exists in PATH and set it to an error one if
it's not present.
2021-06-01 12:40:53 +02:00
243c875a3f CBaseTrigger: Add support for Source Engine's FireUser/OnUser 1-4 trigger
inputs/outputs.
2021-05-29 10:52:47 +02:00
a4a40be8ae Menu-FN: Parse "minversion" command from liblist.gam.
Base: Document example liblist heavily.
2021-05-28 21:24:57 +02:00
407e2deb89 Menu-FN: Allow GAME_DIR to be overriden at a progs.src level 2021-05-28 19:35:41 +02:00
2082f1355a Menu-FN: Parse liblist.gam files instead of relying on manifests outright. 2021-05-28 10:26:42 +02:00
42960cda05 GS-Entbase: Initial func_pushable implementation 2021-05-27 09:44:01 +02:00
03b16ff905 Add Vox_Sentence_Broadcast() and Vox_Sentence_Single 2021-05-25 10:25:20 +02:00
4964ba3859 Shared: Give base_player class a constructor. 2021-05-25 08:35:22 +02:00
6c59c47c93 Menu-FN: Top/Bottom color sliders should only be visible when gameinfo says
nomodels is 0.
2021-05-25 08:34:35 +02:00
19065e4810 Base Game: Adding some base weapon helper functions, will make dealing with
multi-state weapons like shotguns during reloads easier.
2021-05-25 08:33:35 +02:00
148c5f0e86 Base: Unset think() of the player if they're alive and switching weapons. 2021-05-22 20:37:53 +02:00
c821112d05 Menu-FN: Store top and bottomcolor in a global and recalculate the RGB values only
when the sliders are used.
2021-05-22 15:42:41 +02:00
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