Commit graph

659 commits

Author SHA1 Message Date
97d19c1b37 Add shared/include.src, so we touch gamename/include.src less for global
changes.
2020-10-30 12:21:00 +01:00
c100554dcc Gamerules: Make sure player is always passed as type 'base_player' via
parameters instead of just 'entity'.
2020-10-30 11:28:59 +01:00
6502eeddc0 Server: Added sv_levelexec, which when enabled reads a map-specific config
on boot.
2020-10-28 08:29:24 +01:00
624a68bf7f Menu-FN: Use the new search_begin flag on the playermodel search paths.
So we can stop looking for just .bmp files. Requires latest FTE.
2020-10-27 05:02:41 +01:00
a536f7b6cc light_dynamic: Respect the right radius key 2020-10-27 04:49:38 +01:00
90478acec4 Menu-FN: Make the Internet server browser refresh more useful 2020-10-27 00:21:53 +01:00
c8db45bc67 Fix a typo... 2020-10-25 13:01:43 +01:00
2601ebce06 trigger_multiple: Add support for the flag that allows pushables to trigger 2020-10-25 12:50:52 +01:00
3adbedb5aa Fill up the entity QER/Radiant QUAKED comments with first-appearance info. 2020-10-25 12:38:41 +01:00
4aa8a70063 CBaseVehicle: Added vehicleflags, make sure each vehicle has the ability
to suppress movement and/or fire while the 'driver' is using the vehicle.
2020-10-25 12:06:22 +01:00
8cbbeaae24 Platform: Add gl_stipplealpha support to models. 2020-10-25 11:50:15 +01:00
4962f82f89 Move entity-update/event definitions for game-specific cases out of root
src/shared.
2020-10-24 13:11:02 +02:00
cce2429308 Added gl_stipplealpha for fun, as well as rm_unlit_additive and rm_unlit_texture
to override the expected behaviour of rendering additive/texture rendermode
surfaces fullbright.
2020-10-24 07:04:30 +02:00
2daf3da59f env_sprite: Change default scale to 0.25, make sure that when no targetname
is set, we force-enable the sprite because toggles wouldn't work.
2020-10-24 06:36:08 +02:00
ed4f972a19 Fix some typos. 2020-10-24 05:24:40 +02:00
24a753edce env_sprite: Fix that sprites marked as PLAYONCE may be networked in some
semi-visible form
2020-10-24 05:02:14 +02:00
00a8ee2a00 env_hudhint: Initial basic implementation, plus a way for the game-logic to send hints. 2020-10-24 03:32:34 +02:00
b31ab5761a Simplified some rendering code for CBaseEntity/glows 2020-10-24 02:58:19 +02:00
d39fb1cdc2 env_glow: Tweak the rendering a little bit. This should make them more
visible and more like as seen in other games.
2020-10-24 02:38:19 +02:00
a67c50c202 Decals: Implemented client-side PVS culling optimisation 2020-10-23 20:41:02 +02:00
689ffe14bc Small cleanup in some client-side gs-entbase code. 2020-10-23 20:13:27 +02:00
0cfa4df68a Decals: Make sure tempdecal materials are recached upon vid_reload 2020-10-23 20:12:43 +02:00
0f50c46623 Platform: Added blood decal for non-Q3BSP.
GS-Entbase: Add mitigations for possible unwanted adddecal() calls, remove decals upon CSQC_Shutdown()
2020-10-23 05:15:59 +02:00
d9dababe65 Moved all possibly game-specific flags (such as FL_FLASHLIGHT) into gflags,
this affects mods. Please check the diff to see what you'll need to adjust.
2020-10-22 16:30:37 +02:00
065dd926cd light_dynamic: Override ParentUpdate() to make sure we update origin/angles
over the network.
2020-10-22 03:48:15 +02:00
cb57a95d4b light_dynamic: Fixed server-side PVS culling. 2020-10-22 03:44:10 +02:00
d0342b128c light_dynamic: Initial implementation. Q3BSP maps can use 'dynamic_light'
to avoid confusing the compiler (...).
Renamed ReadEntity() to ReceiveEntity().
2020-10-22 02:23:05 +02:00
6038c04591 Fix preset lightstyles for Q3BSP, added examples to test_lightstyles. 2020-10-18 15:19:56 +02:00
2afba74a86 Added test_areaportal, to debug openportal() 2020-10-18 01:10:21 +02:00
770426e82c GS-Entbase: More work done on CBasePhysics 2020-10-17 21:42:32 +02:00
2b1e23a2fe Misc: Added test_lightstyles to platform's base, fixed lightmapped.glsl
not calculating styles when r_deluxemapping is 0, fixed patterns being
possibly overriden upon init.
2020-10-17 17:26:58 +02:00
e803ddbceb GS-Entbase: Expose Base* class headers at the global scope. 2020-10-17 16:30:36 +02:00
88f490a1c5 monstermaker: Make it so monsters inherit angles. 2020-10-17 15:29:35 +02:00
0bb06af381 Client: Move Vox specific code into vox.c and out of sound.c, add Shutdown entry 2020-10-17 13:17:34 +02:00
f4ade524fe Client: Fixed some warnings and some added some paranoid free() calls. 2020-10-16 02:26:45 +02:00
074e1cc120 Client/Platform: Added some base impact decal examples for non HL BSP...
this will change a bit more to include more material types. Patience!
2020-10-15 19:02:55 +02:00
d0231eee50 Platform: Added per-wall kernel dithering, cvar gl_kdither 0/1 2020-10-08 12:03:52 +02:00
f3668f8335 Menu: Fixed CModList from lazily skipping over the current mod entry, resulting in some rough list display. 2020-10-08 02:28:26 +02:00
4bde3bbfb6 Menu: Fix music not stopping when joining a server. 2020-10-07 23:21:34 +02:00
7902ae22d5 Menu: Filter servers by gamedir. Clients shouldn't attempt to connect to mods that way. 2020-10-07 23:21:03 +02:00
b1742afb97 Menu: Play intro based on 'gameinfo_gamedir', not 'game' 2020-10-07 11:38:32 +02:00
4208bd8c9a Server: added server command trigger_ent 2020-10-06 14:42:46 +02:00
4e9be1a7bc Makefile: Apparently a target can't be called 'plugins', so we'll rename it to 'plugs'. Neat. 2020-10-06 14:34:26 +02:00
5810da8069 Menu: Switched mod switching to be fully manifest oriented, fixed menu music playback. 2020-10-06 14:27:44 +02:00
9f30a2b897 Menu: Add blacklist for maps in the Create Server menu. 2020-10-02 11:41:50 +02:00
1a0193ad3a Menu: Add input redirection verification in case we've forcefully changed menu input modes. 2020-09-29 14:24:21 +02:00
8fab5921a0 VGUILib: Fixed draw/input flag-check inconsistency in CUIMenuButton 2020-09-29 13:50:19 +02:00
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
54f0c5d24c Half-Life: Add I/O ability to ITEM_LONGJUMP 2020-09-26 12:46:40 +02:00
a9853f79cf decal:predraw: return PREDRAW_NEXT when no shader is set. 2020-09-26 12:42:32 +02:00
dbd5b5d566 Menu: Committed example Menu-VGUI... it's not ready for use but a good widget showcase nonetheless. 2020-09-24 22:31:30 +02:00
70868ddd84 env_sun: fix path of the flare textures. 2020-09-24 17:46:29 +02:00
365ac0a5fa Decals: Avoid attempting to cache and display decals with no yet-defined texture. 2020-09-24 17:43:35 +02:00
340db972be Client: Move CSQC_Ent_Update into entry.c as it's an entry function. Move Entities_ParseLump into entities.c 2020-09-24 10:19:38 +02:00
a0a593ef6b Menu: Unbind all keys for a given command when two were defined. 2020-09-21 18:52:00 +02:00
8bde44b01c CBaseTrigger: Merge UseTargets and UseTargets_Delay... to be continued. 2020-09-21 18:10:31 +02:00
5dcb79e30c Documented/commented my I/O system changes in CBaseTrigger/CBaseOutput and cleaned some things up. 2020-09-20 15:50:45 +02:00
dc47146e99 CBaseTrigger: Added CBaseOutput, in preparation to support Source styled input/output mechanisms 2020-09-20 10:43:13 +02:00
9f95fd11c2 func_wall: Clean up and make sure .frame is reset upon Respawn() 2020-09-18 15:00:24 +02:00
f5283dd94f CBaseTrigger: move all instances where we define the SpawnKey 'delay' in others ents into the parent class. 2020-09-18 14:55:13 +02:00
5131f19c04 Fix client-side sentences filehandler from not being closed, other shenanigans. 2020-09-18 09:35:59 +02:00
809966ab7b func_brush: Initial implementation. Source inspired entity. 2020-09-18 00:14:05 +02:00
fd6fe5447b trigger_multiple: Stop checking if what we touch is of MOVETYPE_WALK 2020-09-13 19:15:06 +02:00
868b9d1b04 Fix some misc warnings the new fteqcc brought up, along with some other tiny changes. 2020-09-13 19:14:28 +02:00
ac31455dd5 Nodes: Add fancy debug textures for nodes and sequences. 2020-09-13 19:11:41 +02:00
97ad8c92e7 CBaseMonster: Improve pathfinding by skipping utterly unnecessary nodes. 2020-09-13 18:35:12 +02:00
80b1a892a0 CBaseTrigger: SOLID_BSPTRIGGER has gotten stable. Use that as the default. 2020-09-11 04:55:55 +02:00
7b0d646020 CBaseNPC: Add support for 'UseSentence' and 'UnUseSentence' to specify custom sentences.txt entries for an NPC. This is used in t0a0d. 2020-09-11 04:33:42 +02:00
a7e1b3cfd9 scripted_sequence: Skip state check when forcing a .Trigger 2020-09-10 20:28:48 +02:00
9d2a561782 scripted_sequence: Further fixes involving changing of trigger-targets mid triggering. 2020-09-10 20:24:51 +02:00
0f4b31c5f1 CBaseMonster: Reset name of the entity to trigger when scripted_sequence completes. 2020-09-10 19:42:29 +02:00
44b6a3d10a Sentences: Force them to be read in uppercased. 2020-09-10 19:28:36 +02:00
22602fd96a func_wall: Fix networking of the frame/texture attribute 2020-09-10 14:57:40 +02:00
518deec5c6 scripted_sequence: Improve support for triggering via radius. This gets the retinal scanner type entities working for example. 2020-09-10 13:36:19 +02:00
f4d4e86400 CBaseEntity/CBaseMonster: Add support for server-side model events. This enables models, as they sometimes do, to actually trigger entities in the world and much more. There's seperation between client-side and server-side events as well. 2020-09-10 10:34:14 +02:00
633ef19750 func_train: Sound shader support, as well as fixing a possible division-by-zero bug when path_corners explicitly set their speed to 0. 2020-09-10 07:00:28 +02:00
f9ee04f6cf func_button: Sound shader support, yee. Also cut down on some unnecessary code. 2020-09-10 06:02:08 +02:00
0d38fc1400 func_door_rotating: This one gets the sound shader treatment as well. 2020-09-10 05:41:25 +02:00
3025ffbf16 func_breakable: Use sound shaders for impact sounds. 2020-09-10 05:35:52 +02:00
1b6e5985a4 func_door: Use sound shaders instead of hardcoding sounds. 2020-09-09 21:40:25 +02:00
90b716bd5d env_spark: Use sound shaders instead of hard-coding sfx paths. 2020-09-09 21:29:29 +02:00
4d3cace6da Menu: Fixed all 2 warnings. 2020-09-09 08:07:30 +02:00
ca5a7feede Cleaned up misc warnings. 2020-09-09 08:05:34 +02:00
d6435bb9d0 trigger_changelevel: ...aaand another one. I need sleep 2020-09-09 02:23:43 +02:00
d8fa002419 trigger_changelevel: fix transitioning bug I introduced when I added states. 2020-09-09 02:21:16 +02:00
51cf0e9f15 Went over the codebase and optimised loading of the entity lump data. I now only run through the list of entries once and pass the unknown keys to the parent class to handle. Should speed up loading significantly. 2020-09-09 01:56:46 +02:00
fd826a226d CBaseEntity: Added support for the 'scale' field in the rendering, also made the codebase use the builtin target/targetname 2020-09-08 22:49:35 +02:00
0b75388ace game_player_equip: Initial implementation. 2020-09-08 03:37:08 +02:00
7680521379 Server: Add support for game_playerspawn triggers. Basically upon any player spawning into the world, all entities named 'game_playerspawn' will be triggered with the player being set as the activator. Nifty 2020-09-08 03:29:10 +02:00
cdad44a79d Menu: Disable Training/Hazard Course when no gameinfo_trainingmap is defined. 2020-09-07 07:42:07 +02:00
e503b8b7d9 Menu: Adjusted some minor text spacing in the custom game install dialog 2020-09-06 09:10:28 +02:00
ac68be9f67 Menu: Add ability to set custom readme filenames inside the manifests. 2020-09-06 08:52:10 +02:00
58d420861f Menu: Integrated package manager functions into the Custom game menu. Mods and so on will now be installed remotely from there. 2020-09-06 08:37:36 +02:00
7064b71f1f func_mortar_field: Initial implementation. Controlled targeting seems to work accurately on sh_hdslaughterlands 2020-09-05 08:54:23 +02:00
b60fd3a6b5 Menu: Fixed crash in CUpdateList when the list starts becoming scollable 2020-09-05 06:19:39 +02:00
50ccbf4b9a Add func_tank, func_tankmortar and generally faff about with input code. 2020-09-04 21:28:06 +02:00
3ca223b673 PMove: Added a bit of a punchangle when falling/falldamage hits 2020-09-02 04:09:33 +02:00
97a651fc58 Menu: Make sure CScrollbar has a minimum height of 20px for the... what's that thing called? The thing that slides. Whatever 2020-09-01 20:11:22 +02:00
870b9e5923 Menu: Added 'Advanced controls' submenu to 'Controls' 2020-09-01 00:46:16 +02:00
5e821a5651 Removed obsolete parameter from Death() and Pain(), as those are now residing in globals. 2020-08-31 10:56:31 +02:00