Commit Graph

47 Commits

Author SHA1 Message Date
Marco Cawthorne e2f708138d
build_engine.sh: We're gonna migrate to git, whether some people want to or not. 2022-11-25 16:54:36 -08:00
Marco Cawthorne 30a482e80e
NSVehicle: add two new overridable methods. (bool)PreventPlayerMovement and (bool)PreventPlayerFire 2022-09-08 13:59:18 -07:00
Marco Cawthorne 2526751db1
Clean up some areas where float logic happens to prepare for the compiler flag 'assumeint' 2022-08-10 16:15:44 -07:00
Marco Cawthorne ff17dea01f
Initial work towards the NSWeapon class. Testing will happen in base/ under the NEW_INVENTORY define.
Comitting this early to ensure nothing breaks and it'll co-exist.
2022-07-25 09:31:37 -07:00
Marco Cawthorne 2f8b36c499
Get rid of pmove_water.qc and all that. 2022-07-14 21:29:53 -07:00
Marco Cawthorne 220b424e33
Fix some misc Damage_Apply calls in really old parts of the code. Add more useful PlayerConnect/PlayerDisconnect methods into the base gamerules. 2022-07-14 18:04:11 -07:00
Marco Cawthorne 66b09de431
Big commit fixing many regressions since crunch hit. env_sprite has been reworked.
multi_manager entities now behave correctly when calling themselves in MULTITHREADED mode.
Remove GS_RENDERFX option. Too many entities rely on its functionality anyway.
Fixed some rendermode behaviour - ladders will no longer be visible.
You can now see the playermodel (and no longer the viewmodel) in mirrors.
Fixed a lot of warnings.
2022-07-07 09:10:14 -07:00
Marco Cawthorne 25c54af62c
Spring cleaning part one. 2022-05-11 12:49:04 -07:00
Marco Cawthorne 92826b3e5a
Deprecate FL_NOATTACK, replace it with FL_FAKESPEC. 2022-04-28 16:25:51 -07:00
Marco Cawthorne 9969be8d27
Base: stop item_pickups when toucher is in a vehicle.
Also auto-call Weapons_Release() when we're without health.
2022-04-28 12:33:32 -07:00
Marco Cawthorne 9030ad82d9
Base_Player: Make sure disconnected clients get removed from other clients.
Menu-FN: Clear Rich-presence when no longer in a game.
2022-04-26 11:22:12 -07:00
Marco Cawthorne 607194957e
Player: Move UseUp/Down into the base_player class. Should now universally handle un-presses for all games. 2022-04-25 10:19:17 -07:00
Marco Cawthorne c24c8b2435
Fix a self assignment bug in Weapons_AddItem(), added userinfo spraycolor support, fix accidentally double-drawing p_ models and add cvar sv_friendlyFire 2022-04-19 21:58:13 -07:00
Marco Cawthorne 9a6897c433
Extend FX_GibHuman with a dir (euler) and force parameter. 2022-04-05 20:39:30 -07:00
Marco Cawthorne 96f3a1224a
This is a massive change. Check the full msg here:
https://icculus.org/~marco/txt/nuclide_may2022.txt
2022-03-15 19:33:11 -07:00
Marco Cawthorne bbfc8c945c
BotLib: Prematurely commit all this new nav-stuff because some people like
to compile their games.
2022-03-13 17:10:12 -07:00
Marco Cawthorne 6fb067eed3
My name has changed, so an update to the copyright to reflect it. 2022-03-11 11:40:43 -08:00
Marco Cawthorne d885e2e643
BotLib: lot of work done on recognizing weapon types, making proper use of
Weapons_IsEmpty() checks - more fixes for pathfinding; the ability to set
walk and movespeed externally via method overrides; several bugfixes in
relation to firing (and getting stuck on pressing other keys.
2022-03-08 21:50:30 -08:00
Marco Cawthorne 47a37af545
Client: Allow mods to override entity updates of gs-entbase.
prop_vehicle_drivable: Initial work towards suspension.
2022-02-11 17:09:08 -08:00
Marco Cawthorne bef8dfb117
Base: Some minor edits to facilitate the TW akimbo weapons (clean this later...) 2022-02-04 15:24:43 -08:00
Marco Cawthorne bcf9e2e758
Cleaning up some warnings. 2022-02-01 13:37:21 -08:00
Marco Cawthorne 419e89e861
Client: Some minor work towards making the textmenu/game_text code respect
actual font data handled by Nuclide via external fontdef files.
2022-01-31 13:57:30 -08:00
Marco Cawthorne 5ea389dc71
Change FX_Corpse_Spawn's header to work around a possible compiler bug that
gets triggered in cstrike.
2021-12-13 12:56:01 -08:00
Marco Cawthorne 7bfea15dd0
Add base/shared/fx_corpse.qc, change set to seta in masters.lst 2021-12-13 11:47:55 -08:00
Marco Cawthorne 736ecb61f8
TraceAttack: check surfaceflags on world traces, m_iMaterial on anything
else.
2021-10-15 09:37:51 +02:00
Marco Cawthorne 147969e8a8
Client: Add Weapons_EnableModel() and Weapons_DisableModel() so weapons can
manually control the visibility regardless of viewzoom setting
2021-10-08 21:50:04 +02:00
Marco Cawthorne 7acdd8a2d6
Base: Weapons_SetModel; make sure the viewmodel's bbox gets set to point
size every time the model changes, in case the sv_gameplayfix for setmodel
sizes hack is enabled.
2021-10-04 22:47:52 +02:00
Marco Cawthorne 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
Marco Cawthorne 2a86794d67
Add precache_cubemap() to src/client/defs.h 2021-09-02 21:11:54 +02:00
Marco Cawthorne 527318bd65
Deprecate CBaseFX, introduce .predraw for weapon functions. 2021-09-02 09:39:37 +02:00
Marco Cawthorne 1ec3cf2e8e Decouple Camera/Viewmodel effects from src/ into base/src/ 2021-08-01 08:53:21 +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 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 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 8072ba2872 Add Weapons_Sound() back, because now it'll be useful 2021-05-17 20:18:25 +02:00
Marco Cawthorne 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
Marco Cawthorne aef65b5749 Shared: Add frametime parameter to Animation_TimerUpdate(). 2021-05-10 12:22:12 +02:00
Marco Cawthorne a3ecd78f17 CBaseMonster: support for spawnflag MSF_IGNOREPLAYER (64). 2021-05-10 08:14:10 +02:00
Marco Cawthorne 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
Marco Cawthorne 7a9d50b4c9 Strip Weapons_PlaySound() from base 2021-05-07 13:30:44 +02:00
Marco Cawthorne 54be70da80 fx_spark: make it use our sound shader definitions 2021-04-07 12:57:23 +02:00
Marco Cawthorne 44ab18793c Rearrange how we execute and time our player animation logic 2021-04-06 09:18:17 +02:00
Marco Cawthorne e5ba0406fd Added pSeatLocal, which is like pSeat but games no longer break if upstream
Nuclide expects new fields. You might have to migrate some fields over.
2021-03-31 13:40:27 +02:00
Marco Cawthorne f8798d6084 Base: Merge client/input.qc and server/input.qc into shared/input.qc, as
it makes a lot more sense of prediction purposes
2021-03-09 11:39:52 +01:00
Marco Cawthorne fc75a1be11 Base, Half-Life, Counter-Strike, Opposing Force and Scientist Hunt have
now been reworked to have fully networked ammo that's also fully affected
by rollback netcode. Big diff, mods WILL break. Beware.
2021-02-28 02:31:27 +01:00
Marco Cawthorne 02efa21e3d Move game-specific sources into their respective mod-dirs. This was planned
for a while and was inevitable. Latest fteqcc required that fixes a limit
with paths. Also added src/server/mapcycle.qc
2021-02-08 13:35:15 +01:00