Commit graph

378 commits

Author SHA1 Message Date
9e675c212d
Implement 'cleardecals' client command, as well as an SVC_CGAMEPACKET for servers to request clients' clear their decal cache. 2022-08-27 22:05:31 -07:00
c67e4b5276
NSView: move constructor and set the sensitivity defaults. 2022-08-25 18:35:20 -07:00
adecdb12f3
NSView: add get/set Sensitivity methods 2022-08-25 18:31:33 -07:00
015eaa34fd
NSView: add cvar r_showView for debug information 2022-08-12 12:58:09 -07:00
bc2f56b6d1
NSView: Don't run stair smoothing code when we're going up on elevators/platforms.
Change some type names around for consistency.
2022-08-10 16:51:26 -07:00
2526751db1
Clean up some areas where float logic happens to prepare for the compiler flag 'assumeint' 2022-08-10 16:15:44 -07:00
409ee3fa1f
Client: force set r_fullbrightSkins to 0 because otherwise the engine will mess with lighting on any entity with a colormap 2022-08-07 15:03:38 -07:00
5ca96bbcd9
Add helpers across the codebase to deal with networking ents. I tried prototyped a more elegant solution the compiler didn't like - the language should really deal with this. 2022-08-07 14:12:55 -07:00
6d8273331a
Client: Replace rogue setproperty calls with ones talking to our g_view object 2022-08-05 21:15:19 -07:00
8a9c26daef
Client: Remove the game specific MUZZLE index definitions, as they're really only used in some of the sub-games. 2022-08-05 14:45:29 -07:00
8532f1264f
Util_GetKeyString: Switch to findkeysforcommandex 2022-08-05 13:38:09 -07:00
0e77bad51d
Menu-FN: Initial implementation of CComboBox 2022-08-04 11:57:26 -07:00
6ce1961792
NSView: Document our header a bit more. 2022-08-03 18:41:11 -07:00
caefb77078
NSView: Move stair smoothing etc. into our class. 2022-08-03 10:50:44 -07:00
baab5c931c
NSView: Take over some duties 2022-07-29 16:25:02 -07:00
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
2a220fb331
Move base classes out of gs-entbase. This evolution only happened because classes such as CBaseMonster that once existed were replaced and it grew from there.
Tweak g_developer prints for scripted_sequences.
2022-07-19 15:22:15 -07:00
d7418151f0
Client: Disable some expensive routines when paused. 2022-07-18 10:02:04 -07:00
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
5691fe518f
prop_rope: Minor performance boost. Add cvar rope_maxsegments. 2022-06-27 12:16:11 -07:00
c994a9ebaf
Client: Add cvar cl_crouch_toggle (Default: 0) 2022-06-27 09:30:12 -07:00
8d16c58862
NSTraceAttack: Deal better with recursion by taking damage into account on whether or not we should continue 'penetrating' 2022-06-20 23:35:24 -07:00
241c94368f
vguilib: only block inputs to engine if a widget successfully took a keypress into account 2022-06-16 21:57:53 -07:00
e6bb5a6bc3
Client: Chat now uses a text-field for handling word wrap. Also fix the alignflags in font.h 2022-06-10 09:34:06 -07:00
24c869d9aa
Client: Make sure we're respecting .viewzoom of a target that we spectate in first-person. 2022-06-09 16:46:28 -07:00
7560bc12b8
Client: unbreak viewmodel not showing up when spectating after the OpenXR update 2022-06-09 15:54:49 -07:00
e947e35cd6
Client: Make sure an K_ESCAPE input event gets forwarded to the menu regardless. 2022-06-08 17:21:20 -07:00
6982043380
Added NSInteractiveSurface. Make voting display which bindings to press for yes/no. 2022-06-04 14:09:50 -07:00
beb6f49620
Fixed dynamic lights not spawning properly, fix double init for CSQC ents. Be more specific about which ents can spawn and which won't on the client. Make sure __fullspawndata is wiped after every bsp ent init. 2022-06-03 15:22:33 -07:00
18fc98d7ec
Client: Draw chat and prints during intermission as well 2022-06-02 14:37:22 -07:00
a463498f60
Huge cleanup. Add initial code for the revamped material definition system. 2022-06-01 17:38:52 -07:00
00364ad476
Client: add helper function drawpic3d. Which instead of a screen position takes a 3d-world position as an argument. 2022-05-26 17:43:22 -07:00
db97db6820
Menu-VGUI: Fix up, change Input() method to block input from other widgets 2022-05-24 13:04:48 -07:00
bb2b7dbddf
NSClient: add method UpdateAliveCam()
UITextbox: Misc polish regarding text entry
GLSL: Detail pass support for some materials
2022-05-15 13:32:53 -07:00
80bd490127
Client: Also check if we're fake-spectator before showing scores 2022-05-13 10:50:24 -07:00
05efa415e3
Client: Display scores when client is dead. 2022-05-12 22:48:54 -07:00
a9b25c2f6f
Client: Regular prints will now use Font_DrawText. 2022-05-12 11:43:32 -07:00
25c54af62c
Spring cleaning part one. 2022-05-11 12:49:04 -07:00
77c3cf4e10 Further fixes for OpenXR 2022-05-08 11:28:33 -07:00
9e0f93c796
Initial support for OpenXR. Remember to side-load the openxr plugin and set _pext_vrinputs to 1. 2022-05-07 17:58:22 -07:00
e64e72d155
env_bubbles: Implementation. Should be complete.
NSIO: Add methods ReadBool(), SaveBool(), and PREDICTED_BOOL macro.
2022-04-30 20:18:56 -07:00
cdfae26413
ambient_generic: Restructure and network more efficiently.
Client: add support for modelevent 1008 (CHAN_VOICE sound) and 1005 (plays Sentence)
2022-04-30 14:02:25 -07:00
2e43e671a4
Base_Player: Network movetype and solid together. 2022-04-26 14:10:17 -07:00
2d403202b9
Avoid use of infokeys to communicate whether or not a client is spectating. 2022-04-25 15:25:35 -07:00
1d216918e1
Client: added cvar cl_chat_enabled, which supresses chat notifications.
Spraylogos: Fix blendFunc
VGUI: Add method Visible() for CUIWindow
2022-04-22 12:00:04 -07:00
af6412e283
Networking improvements to NSEntity, NSRenderableEntity and NSSurfacePropEntity 2022-04-20 14:29:37 -07:00
8e15f04c38
prop_physics_multiplayer: Initial implementation. Developed with the ODE plugin in mind. 2022-04-20 10:44:59 -07:00
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
274686a0df
Text/Titles: Use Font_DrawText_RGBA instead of Font_DrawText (GameText_DrawString) 2022-04-15 15:22:11 -07:00
6a658c5268
NSVehicle: Add the following methods - HidePlayermodel (for the self-driver) and DriverAnimation. The latter is a gentle request and the mod doesn't have to respect it, but should be used as a fallback. 2022-04-15 10:19:22 -07:00