Commit Graph

32 Commits

Author SHA1 Message Date
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 297741eac1 func_breakable: Force angles to be 0. Map editors generally don't support setting angles on brush entities anyway. 2021-01-19 11:17:47 +01:00
Marco Cawthorne 6583a42a87 Change magic numbers of BSP version checks to macro defines. 2020-12-13 00:56:11 +01:00
Marco Cawthorne 3adbedb5aa Fill up the entity QER/Radiant QUAKED comments with first-appearance info. 2020-10-25 12:38:41 +01:00
Marco Cawthorne 8bde44b01c CBaseTrigger: Merge UseTargets and UseTargets_Delay... to be continued. 2020-09-21 18:10:31 +02:00
Marco Cawthorne 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
Marco Cawthorne 3025ffbf16 func_breakable: Use sound shaders for impact sounds. 2020-09-10 05:35:52 +02:00
Marco Cawthorne 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
Marco Cawthorne 5e821a5651 Removed obsolete parameter from Death() and Pain(), as those are now residing in globals. 2020-08-31 10:56:31 +02:00
Marco Cawthorne d3b488b7bf CBaseTrigger/s: Overhauled the system to keep proper track of its activators. This was important in some mods who'd e.g. call a trigger_camera over longer periods of time and expected to target the same player as before as part of a multi_manager. 2020-08-10 12:32:18 +02:00
Marco Cawthorne 80fb0aa46f func_breakable: Changing material from float to int fixed our material type always being glass - OKAY... fteqcc compiler bug? 2020-08-07 23:15:37 +02:00
Marco Cawthorne d324259e72 CBaseTrigger: Massive change that allows us to finally set states. This affected every entity that can be triggered. Things like the airlock check in c1a0d work now. 2020-08-07 14:07:38 +02:00
Marco Cawthorne bdfb040bc2 player_weaponstrip: Initial implementation; func_breakable: warn when key 'spawnobject' defines an out-of-bounds spawn id. 2020-06-12 09:46:24 +02:00
Marco Cawthorne fcb99ad427 Add support for func_breakable its spawnobject key. 2020-05-30 14:57:01 +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 d72fc4d17c FX: Cleaned up inits and organized everything into the relevant game
specific directories, so mods can now inherit/override effects easier.
2020-04-23 03:13:29 +02:00
Marco Cawthorne d0ec99b5b1 CBaseEntity: Got rid of all the net_ attributes (except origin, angles)
which should give us a lil boost since we no longer need to save that
much mem.
2020-04-22 23:33:18 +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 f43bc2cf32 update copyright dates because I've been forgetting all year. 2020-04-07 14:46:23 +02:00
Marco Cawthorne ea5851a8f5 Fixed possible recursion bug with breakables and other dead-triggers. 2020-03-29 21:39:32 +02:00
Marco Cawthorne 2bb8bd00cf Moved Death and Pain methods into CBaseEntity. 2020-03-25 22:35:05 +01:00
Marco Cawthorne f1190cd282 Fixed compiling against the latest entity-codebase 2020-03-24 07:26:49 +01:00
Marco Cawthorne 20c6a2d508 Gone over triggers to add some helpful prints. 2020-03-23 17:25:03 +01:00
Marco Cawthorne c51da15564 Made the codebase compile again... 2020-03-08 10:59:46 +01:00
Marco Cawthorne 307ba55b4e func_breakable: Add support for vvm_model, so we can show/hide models
inside the brush volume.
2020-03-03 22:50:07 +01:00
Marco Cawthorne cfe0094c28 - Added early Poke646 entries.
- Added missing Shock-Rifle particle file.
- Fixed monster_scientist behaviour in SciHunt that broke.
- Added parenting functionality for entities (The Wastes uses this.)
- More updates to BasePhysics. Requires plugins/bullet.
  I want to make it work with primitive physics however.
- Updated prop_rope entity. The Wastes uses this and requires an updated
  engine.
- Changed the way env_sound works. This may be more accurate.
2019-12-22 12:13:49 +01:00
Marco Cawthorne c5b0e0146f Some fixes to get FreeHL to compile without TW. 2019-11-09 02:09:17 +01:00
Marco Cawthorne 7048e0add0 Fix wrong hashtable creation call for materials.
Tweaked a lot of gs-entbase entities.
2019-10-19 04:30:29 +02:00
Marco Cawthorne 32b7791b2b Add internal support for damage types. still a few more useful ones to add
on a per-case basis.
2019-09-29 01:54:29 +02:00
Marco Cawthorne 18fda226f6 Updated Damage_Apply and TraceAttack functions to cache which weapon was
used to attack.

Also a few more weapon fixes. When will it ever be done???
2019-09-17 02:29:00 +02:00
Marco Cawthorne f4ced97ad0 Started documenting map entities via QUAKED style comments.
Use the mk_mapdef.sh script to generate a radiant compatible entities.def
file.
2019-09-07 05:37:06 +02:00
Marco Cawthorne b604077d0b Renamed /Source to /src 2019-09-01 04:35:37 +02:00
Renamed from Source/gs-entbase/server/func_breakable.cpp (Browse further)