1
0
Fork 0
Commit Graph

34 Commits

Author SHA1 Message Date
cora 8556226cf7 Move check to the top of the function 2022-07-24 23:38:24 +02:00
cora 323a1f6e18 Fix mcl_sprint globalstep taking long 2022-07-24 12:55:37 +02:00
Nils Dagsson Moskopp 95c4d6472b Send FOV packets only when necessary
Before this change, about 10 to 30 FOV packets were sent from the server
to each connected client each second. This patch only sends FOV packets
when the FOV actually needs to be changed, i.e. when the player starts
or stops sprinting.
2021-09-15 18:08:58 +02:00
AFCMS cd33d406b2 fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +02:00
AFCMS 9e074af07f unify code style [1] 2021-05-25 12:52:25 +02:00
AFCMS a602f64ea5 fix many warnings 2021-04-15 23:41:34 +02:00
epCode 39c357672c Add cammera zoom effect while drawing bow 2021-03-14 17:13:23 -07:00
Lizzy Fleckenstein 31441a02e5 Add CSM sprinting with double tap forward 2021-03-05 09:26:13 +01:00
Lizzy Fleckenstein d57db0444f Use mod.conf in all mods, part 1 2021-03-04 15:22:14 +01:00
Lizzy Fleckenstein 152d49ef20 Fix #1167 2021-02-22 10:41:44 +01:00
Wuzzy 47dd29c930 Sprint particle: Pick top node texture 2020-07-10 14:51:39 +02:00
Wuzzy 1bfd4ca490 Use node texture for sprint particles 2020-07-10 14:23:03 +02:00
Brandon 4a35ad3fd1 Correct issue where all items are replaced with drinking potions in creative 2020-06-26 16:55:22 -04:00
Brandon fceffa6f1c Smooth out FOV changes, add specificity to potion effects to avoid overlap 2020-06-23 21:36:55 -04:00
Brandon d632cf289c Add smooth FOV transition when sprinting 2020-06-23 18:17:30 -04:00
Wuzzy 2569eae5d8 Don't make sprint particles in liquids 2020-03-15 08:23:40 +01:00
Wuzzy 2b3922c972 Replace deprecated player attribute calls 2019-03-06 05:45:16 +01:00
Wuzzy e789801662 Replace getpos() with get_pos() 2019-02-01 06:33:07 +01:00
Wuzzy b076bafaa7 Rename mcl_playerphysics to playerphysics 2018-10-23 18:51:19 +02:00
Wuzzy 2c4eae353c Use mcl_playerphysics to handle player physics
This fixes some issues with speed overrides and gets rid of ugly workarounds.
2018-05-07 20:10:53 +02:00
Wuzzy 16bb9b8901 Localize various unneeded global variables 2018-01-26 22:37:42 +01:00
Wuzzy f71cff0468 Can't sprint and sneak at the same time 2018-01-08 04:03:28 +01:00
Wuzzy 2243ee5477 Fix deprecated vel and acc arguments of particles 2017-08-18 23:23:07 +02:00
Wuzzy 705dae46a0 Split mcl_playerplus to mcl_playerinfo for the node info 2017-08-04 19:23:06 +02:00
Wuzzy fd73c81d23 Prevent player from walking while sleeping 2017-06-11 14:44:37 +02:00
Wuzzy b8cc752e79 Rename: playerplus→mcl_playerplus, drop compat. 2017-05-23 00:53:55 +02:00
Wuzzy 83d25276a9 Fix broken hunger mod when damage disabled 2017-05-22 08:20:58 +02:00
Wuzzy 8114ecf263 Dump unused code in mcl_sprint mod 2017-05-20 19:18:37 +02:00
Wuzzy d13546246e Cause exhaustion by sprinting 2017-05-20 19:14:07 +02:00
Wuzzy c60cff8f81 Fix crash when sprinting 2017-02-22 13:28:03 +01:00
Wuzzy d36beaf64f Prevent sprinting if hunger level <= 6 2017-02-21 16:44:26 +01:00
Wuzzy 341e8fadb2 Move sprint vars into mcl_sprint table 2017-02-21 15:45:48 +01:00
Wuzzy 94eb0b19e6 Only 30% sprint speed, no higher sprint jump 2017-02-21 15:43:37 +01:00
Wuzzy dd03c2a62a Add simple sprinting mod
Based on [sprint] by GunshipPenguin
2017-02-21 15:39:22 +01:00