Commit graph

1695 commits

Author SHA1 Message Date
971b76f938 Menu-FN: Added support for parsing gameinfo.txt from Source Engine games 2021-06-13 09:04:29 +02:00
95707a005b Menu-FN: If the engine somehow doesn't report the game we're currently
playing as a valid dir, append it at the end manually.
2021-06-13 07:55:58 +02:00
64749cddda Menu-FS: Add support for gameinfo parsing via manifests 2021-06-12 20:39:56 +02:00
17368be5e7 Moved the PMove code into the base_player class, so mods can override
sections at will
2021-06-08 15:30:47 +02:00
3efae50481 GS-Entbase: Make use of setmodelindex() instead of directly assigning
modelindex.
PMove: Hack to get stop gravity=0 from breaking runstandardplayerphysics if
CUSTOMPHYSICS is not defined
2021-06-08 09:17:35 +02:00
cc3a652119 GS-Entbase: Remove duplicate func_lod definition for QUAKED 2021-06-07 11:39:02 +02:00
3db68a9e36 Merge branch 'master' of ssh://git.code.sf.net/p/nuclide/code 2021-06-05 21:06:44 +02:00
dd3f99e8a5 build_editor.sh: copy defaultkeys.ini 2021-06-05 21:06:32 +02:00
5ae86119b0 get_gamepacks.sh: don't grab manifests when updating any more, as they're redundant for gamepacks 2021-06-05 16:17:10 +02:00
ad91caf057 README.md: Remove mention of cmake as a dependency for the editor, as that was removed upstream 2021-06-04 13:04:55 +02:00
b2c15d8fa4 build_editor.sh: Add check for env variable BUILD_CLEAN 2021-06-04 13:03:26 +02:00
0a5e254963 Menu-FN: Fix typo in strings.cpp, thanks to 'unsettled'! 2021-06-04 12:59:32 +02:00
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