Commit Graph

50 Commits

Author SHA1 Message Date
Marco Cawthorne 9b9988232f
VGUI3DView: only setproperty VF_DRAWWORLD when MENU is not defined. 2024-03-11 20:59:06 -07:00
Marco Cawthorne 3a1a5d66f5
scripted_sentence: add support for `refire` key.
Add some more icons. Also NSPointTriggers should be SOLID_NOT now as to not
travel across levels.
2024-03-05 22:48:00 -08:00
Marco Cawthorne 30903f7683
VGUIView: add missing return 2024-01-15 16:34:09 -08:00
Marco Cawthorne da194e8eed
VGUIWindow: migrate non Window specific bits into its own class: VGUIView 2024-01-15 16:28:46 -08:00
Marco Cawthorne c59a76a53d
NSMonster: add the ability to chase path_corners and things. 2023-10-03 11:05:14 -07:00
Marco Cawthorne c1d6324153
VGUI: Redo the way input is handled, address focus changes between Windows etc. 2023-10-01 01:19:20 -07:00
Marco Cawthorne a1d8f17164
VGUIButton: in CLASSIC_VGUI mode, the alternate button frame happens on hover now instead of click. 2023-04-18 20:10:13 -07:00
Marco Cawthorne a34fd9c0e8
VGUIButton: only adjust button size on SetTitle() when button has no size 2023-04-18 19:37:46 -07:00
Marco Cawthorne 90685f2495
Introducing VGUITheme, so we can start removing the CLASSIC_VGUI ifdef and start overriding visual appearance on any widget or group of widgets. 2023-04-05 10:58:12 -07:00
Marco Cawthorne 9fc3503652
VGUIButton: add method SetKeyEquivalent() to handle hotkeys. 2023-04-03 12:59:33 -07:00
Marco Cawthorne 8c58d635d3
VGUI: Stability improvements, start allowing overrides for VGUIButton and VGUIWindow based classes. 2023-04-03 11:13:55 -07:00
Marco Cawthorne c475ee4afc
Menu-VGUI: Class VGUIWindow should not be resizable by default 2023-03-27 01:55:53 -07:00
Marco Cawthorne 5843fa3ef1
Menu-VGUI: Knew I forgot something. Thanks @Fix 2023-03-27 01:53:53 -07:00
Marco Cawthorne 338e89c06a
Add functions all about handling Message of the Day server info. Adds the `motd` console command, as well as `motdfile`. 2023-03-25 17:32:58 -07:00
Marco Cawthorne 86dfb3ff1a
Fix various compiler warnings. 2023-02-14 12:54:06 -08:00
Marco Cawthorne 46eae742cb
VGUI: Make sure defaults are filled into the attributes inside Spawned() for inherited ones. 2022-12-30 18:01:47 -08:00
Marco Cawthorne 27b0c26a12
Documentation improvements for platform, vgui etc. headers and files. 2022-12-30 00:15:10 -08:00
Marco Cawthorne e499a7d484
Documented the Nuclide System (NS) classes. 2022-10-14 13:08:47 -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 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 241c94368f
vguilib: only block inputs to engine if a widget successfully took a keypress into account 2022-06-16 21:57:53 -07:00
Marco Cawthorne 14518aabf0
UI: Misc fixes... get 'base' building again 2022-06-05 11:56:23 -07:00
Marco Cawthorne 6982043380
Added NSInteractiveSurface. Make voting display which bindings to press for yes/no. 2022-06-04 14:09:50 -07:00
Marco Cawthorne a463498f60
Huge cleanup. Add initial code for the revamped material definition system. 2022-06-01 17:38:52 -07:00
Marco Cawthorne 6bc54d4219
Menu-VGUI: Hack to get Input calls done in reverse to the drawing. 2022-05-24 13:30:58 -07:00
Marco Cawthorne db97db6820
Menu-VGUI: Fix up, change Input() method to block input from other widgets 2022-05-24 13:04:48 -07:00
Marco Cawthorne 5f3570f140
VGUI: UIButton now resizes when an image is set that's larger than the button area. Also add method SetIconColor() 2022-05-20 16:35:36 -07:00
Marco Cawthorne 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
Marco Cawthorne 06efd9495d
func_door: Add some useful inputs.
VGUI: Some misc changes related to classic mode.
2022-05-13 14:10:07 -07:00
Marco Cawthorne 25c54af62c
Spring cleaning part one. 2022-05-11 12:49:04 -07:00
Marco Cawthorne 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
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 1d9ade7319
NSEntity: Add ClientRemove() method so sub-classes can control what happens
when a SSQC ent representation is removed from the client.
prop_vehicle_drivable: All sorts of tweaks, lots subject to change.
VGUI elements now get a callback when the resolution gets resized, so they
get a chance to reposition themselves.
Deprecate function ClientGame_EntityRemove().
2022-02-17 22:16:35 -08:00
Marco Cawthorne bcf9e2e758
Cleaning up some warnings. 2022-02-01 13:37:21 -08:00
Marco Cawthorne 578da4a779
Add VGUI_Active() which returns whether or not we're drawing VGUI elements,
add SNDFL_ALERTS to sound shaders, which will alert enemy AI of suspicious
behaviour, fix a health-setting bug in NSSurfacePropEntity and remove
playerslot check in item_pickup from base/
2022-01-28 16:02:00 -08:00
Marco Cawthorne c22b001f60
Cleanup: get rid of the ancient Font_LoadFont() wrapper, pipe _all_ text
font info through our internal font_s data structure.
2021-11-04 22:48:19 +01:00
Marco Cawthorne aa0ccf4413
Add test_grenadeclip.
Add helper functions to convert RGB255 to ^x color codes.
Small fixes for fonts in vguilib.
2021-11-03 21:54:43 +01: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 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
Marco Cawthorne 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
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
Marco Cawthorne 8fab5921a0 VGUILib: Fixed draw/input flag-check inconsistency in CUIMenuButton 2020-09-29 13:50:19 +02:00
Marco Cawthorne 57cc661c86 Menu/Client/Server: Background map support for menus. This should be handled differently in that SV_ShouldPause ought to control Singleplayer as well. Engine hardcodes suck 2020-09-27 14:25:10 +02:00
Marco Cawthorne 828a41eff8 Fix new compiler warnings. 2020-05-30 23:08:11 +02:00
Marco Cawthorne fe251faf81 Physics: define stand-in values for non CSTRIKE and VALVE defined games 2020-05-08 07:44:40 +02:00
Marco Cawthorne a3ff75a4da Moved Player_Death into the Gamerule logic.
Counter-Strike's zones have been shoved into .flags, where we desperately
need some more bits.
Counter-Strike's WEAPON_C4BOMB now only works in a func_bomb_target zone.
2020-04-20 19:25:15 +02:00
Marco Cawthorne 324fadd668 Spring cleaning. Prepare for summer! Fixed lots of bugs too:
v_camroll is now working again.
Counter-Strike is finally getting somewhere again.
Counter-Strike has pseudo spray-patterns now! They're all the same.
func_button now can be programmed to use Sound-Shaders.
The menu handles the vid_conautoscale command autonomously. Set r_autoscale
to 0 if you don't like it.
The menu has an updater, requires a not-yet-pushed build of FTE.
Don't use it yet.
Moved a lot of globals into pSeat's structs to fix splitscreen with them.
Made explosion decals be handled client-side!
Added trigger_look, env_sun and light_environment entities.
2020-04-12 15:50:42 +02:00
Marco Cawthorne 80d06e7dcd Cleaned up warnings. 2020-03-25 17:42:36 +01:00
Marco Cawthorne f3f2176fc7 VGUI: Misc tweaks I've come across when doing TW 1.3 2020-03-03 22:47:44 +01:00
Marco Cawthorne b604077d0b Renamed /Source to /src 2019-09-01 04:35:37 +02:00