Commit Graph

1509 Commits

Author SHA1 Message Date
Marco Cawthorne 6edba5dad4 Build system: Use '. ' instead of the 'source' shell builtin. 2021-06-26 21:50:17 +02:00
Marco Cawthorne e42b714458 Client: Added Font_LoadFont() as a wrapper for loadfont(), which will
parse definitions located in the filesystem instead of hardcoding font
paths and sizes.
2021-06-26 21:45:46 +02:00
Marco Cawthorne 75f97827dc Add build.cfg source, for configurable builds using the build_*.sh scripts. 2021-06-26 18:09:08 +02:00
Marco Cawthorne fc63f9af55 Menu-FN: disable models/spray widgets in m_customize if we've got none. 2021-06-26 17:14:00 +02:00
Marco Cawthorne b9644915ae Platform: addd test_lightmwarmth and some generic light textures for
vmap that act as light volumes.
2021-06-26 12:13:24 +02:00
Marco Cawthorne c0050b9798 prop_static: Only MakeStatic if avelocity isn't set. 2021-06-26 10:25:46 +02:00
Marco Cawthorne c55317711c trigger_hurt: Make damage timer relative to the entity, not relative to
the trigger itself.
2021-06-18 22:59:54 +02:00
Marco Cawthorne 7f00e9354d Add shared/platform.h which will send hints as to what target platform
we're dealing with (pc, touch, web, console etc.)
2021-06-18 09:26:24 +02:00
Marco Cawthorne 75dfffaf4b func_pushable: only run physics routine when velocity is > 0 2021-06-18 09:24:58 +02:00
Marco Cawthorne de63f37a52 Call Math_FixDelta before networking a bunch of different entity angles. 2021-06-16 11:56:28 +02:00
Marco Cawthorne 12e02bd019 multi_manager: clean up the way we trigger our sub-triggers, avoid string
tokenization
2021-06-16 11:53:29 +02:00
Marco Cawthorne dabe93a9ce func_wall_toggle: Fix networking bug, we weren't using SetModelindex() 2021-06-16 11:52:59 +02:00
Marco Cawthorne ef66642c7f Server: Prevent the engine from handling spawnflags or else it'll remove
entities depending on mode/difficulty
2021-06-16 11:52:36 +02:00
Marco Cawthorne ff39eda49d Menu-FN: Keep track of where games got their gameinfo from and accomodate
the different game/mod switching methods in case of manifests
2021-06-15 10:49:57 +02:00
Marco Cawthorne 971b76f938 Menu-FN: Added support for parsing gameinfo.txt from Source Engine games 2021-06-13 09:04:29 +02:00
Marco Cawthorne 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
Marco Cawthorne 64749cddda Menu-FS: Add support for gameinfo parsing via manifests 2021-06-12 20:39:56 +02:00
Marco Cawthorne 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
Marco Cawthorne 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
Marco Cawthorne cc3a652119 GS-Entbase: Remove duplicate func_lod definition for QUAKED 2021-06-07 11:39:02 +02:00
Marco Cawthorne 3db68a9e36 Merge branch 'master' of ssh://git.code.sf.net/p/nuclide/code 2021-06-05 21:06:44 +02:00
Marco Cawthorne dd3f99e8a5 build_editor.sh: copy defaultkeys.ini 2021-06-05 21:06:32 +02:00
Marco Cawthorne 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
Marco Cawthorne 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
Marco Cawthorne b2c15d8fa4 build_editor.sh: Add check for env variable BUILD_CLEAN 2021-06-04 13:03:26 +02:00
Marco Cawthorne 0a5e254963 Menu-FN: Fix typo in strings.cpp, thanks to 'unsettled'! 2021-06-04 12:59:32 +02:00
Marco Cawthorne 7fdf579b5d build_editor.sh: specify special CFLAGS for OpenBSD 2021-06-02 14:43:01 +02:00
Marco Cawthorne 14c3669cf0 build_editor.sh: switch from cmake to make compilation, since the upstream change 2021-06-02 12:42:13 +02:00
Marco Cawthorne d4e615a075 error.mat: add pulsing alphaGen on top to aid visibility 2021-06-01 12:48:03 +02:00
Marco Cawthorne 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
Marco Cawthorne 243c875a3f CBaseTrigger: Add support for Source Engine's FireUser/OnUser 1-4 trigger
inputs/outputs.
2021-05-29 10:52:47 +02:00
Marco Cawthorne a4a40be8ae Menu-FN: Parse "minversion" command from liblist.gam.
Base: Document example liblist heavily.
2021-05-28 21:24:57 +02:00
Marco Cawthorne 407e2deb89 Menu-FN: Allow GAME_DIR to be overriden at a progs.src level 2021-05-28 19:35:41 +02:00
Marco Cawthorne 2082f1355a Menu-FN: Parse liblist.gam files instead of relying on manifests outright. 2021-05-28 10:26:42 +02:00
Marco Cawthorne 42960cda05 GS-Entbase: Initial func_pushable implementation 2021-05-27 09:44:01 +02:00
Marco Cawthorne 03b16ff905 Add Vox_Sentence_Broadcast() and Vox_Sentence_Single 2021-05-25 10:25:20 +02:00
Marco Cawthorne 4964ba3859 Shared: Give base_player class a constructor. 2021-05-25 08:35:22 +02:00
Marco Cawthorne 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
Marco Cawthorne 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
Marco Cawthorne 148c5f0e86 Base: Unset think() of the player if they're alive and switching weapons. 2021-05-22 20:37:53 +02:00
Marco Cawthorne 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
Marco Cawthorne f4f033ca3d make_dist.sh: Add check for EXCLUDE_PLATFORM env 2021-05-22 15:22:13 +02:00
Marco Cawthorne 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
Marco Cawthorne 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
Marco Cawthorne 3b36834b93 Platform: HL doesn't have concrete4 and flesh4 debris sounds 2021-05-17 22:19:29 +02:00
Marco Cawthorne 8072ba2872 Add Weapons_Sound() back, because now it'll be useful 2021-05-17 20:18:25 +02:00
Marco Cawthorne 2d17321554 Small fix to avoid spam in my inbox. 2021-05-17 20:15:49 +02:00
Marco Cawthorne 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
Marco Cawthorne 975395a8e6 build_engine.sh: Check for BUILD_CLEAN and issue gmake clean if set 2021-05-17 18:19:30 +02:00
Marco Cawthorne fbbcfd5d5f BotLib: Attempt to duck when we're between 512 and 1024 units 2021-05-16 23:08:41 +02:00