Jupeyy
f83d528f5d
Fix vector constructor impl & remove useless operator
2020-11-20 12:14:33 +01:00
def
165857a5a8
Fix variable names manually
2020-11-02 22:40:40 +01:00
def
b1f0fd8969
Enable modernize-loop-convert clang-tidy check
...
and run clang-format afterwards
https://clang.llvm.org/extra/clang-tidy/checks/modernize-loop-convert.html
2020-11-02 22:40:24 +01:00
Jupeyy
3aef2ebfe0
Make closest_point_on_line safer
...
Does not change behaviour, all NaNs resulted in false checks
2020-10-17 20:22:13 +02:00
Jupeyy
fa8b8b9324
More Target cleanup
2020-10-17 19:58:07 +02:00
Jupeyy
6426e341f3
Fix NaNs created by bad initialization
2020-10-17 18:17:13 +02:00
def
6443e708b5
Fix clang-analyzer-core.CallAndMessage
...
/media/ddnet/src/game/editor/auto_map.cpp:94:17: warning: Called C++ object pointer is null [clang-analyzer-core.CallAndMessage]
int RunID = pCurrentConf->m_aRuns.add(NewRun);
^
2020-10-14 15:45:47 +02:00
Jupeyy
54bbf69488
Fix laser prediction for non ddrace mods
2020-10-03 03:10:54 +02:00
def
3be8a592e5
Run clang-format
...
Purely automatic change. In case of conflict with this change, apply the
other change and rerun the formatting to restore it:
$ python scripts/fix_style.py
2020-09-26 21:50:15 +02:00
Vlad
be90f3f48b
Replaced tile names.
2020-09-13 23:00:49 +03:00
trml
b354e034fc
Fix prediction when chat is enabled
2020-07-15 03:15:35 +02:00
trml
d57c8ef463
Fix desync of predicted reload timer
2020-07-15 02:47:51 +02:00
def
f4344dc420
Use (u)int64 from system.h instead of (u)int64_t from cstdint
...
src/game/client/prediction/gameworld.h:62:90: error: ‘int64_t’ has not been declared
62 | void CreateExplosion(vec2 Pos, int Owner, int Weapon, bool NoDamage, int ActivatedTeam, int64_t Mask);
| ^~~~~~~
2020-07-09 13:55:28 +02:00
def
0d9d873abf
Reset hook & collision in prediction after kill
...
Thanks to Pipou for reporting
2020-06-14 22:50:25 +02:00
trml
e5d348975b
Avoid client crash on predicted explosion
2020-06-01 21:23:18 +02:00
def
21c4df0771
Fix crash in prediction when touching switch tile with number 0 ( fixes #2182 )
...
Just took the same code that we have on server side already
2020-05-17 08:52:21 +02:00
trml
f6c44468de
Another update, fix typo
2020-05-03 00:00:27 +02:00
trml
cda99668c7
Fix antiping smoketrails
2020-05-02 18:52:09 +02:00
trml
eb1bacb969
Update prediction with latest server physics
2020-05-02 18:52:04 +02:00
trml
cae7fad901
Use freeze end tick in prediction
2020-04-19 12:50:06 +02:00
ChillerDragon
4a6a85124a
Remove some unused includes
2019-12-14 10:20:42 +01:00
bors[bot]
709681604d
Merge #1989
...
1989: Remove a few unused stdio.h's r=def- a=ChillerDragon
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-12-09 18:23:26 +00:00
ChillerDragon
01c873bcf7
Remove a few unused stdio.h's
2019-12-09 15:40:59 +01:00
Dennis Felsing
a27358806c
Revert "Support shotgun_speed 0"
...
This reverts commit 9d39ca888f
.
2019-12-09 14:59:10 +01:00
bors[bot]
c31f6303cf
Merge #1977
...
1977: Support shotgun_speed 0 r=Learath2 a=def-
for mapping stationary bullets
As requested by Im 'corneum.
Co-authored-by: def <dennis@felsin9.de>
2019-12-04 16:48:06 +00:00
def
9d39ca888f
Support shotgun_speed 0
...
for mapping stationary bullets
2019-11-27 18:29:39 +01:00
ChillerDragon
96c9b1ab73
Rename rifle to laser
...
This makes it easier to copy code from/to 0.7
23df3c609e
2019-11-22 15:37:18 +01:00
12pm
f66dc75400
Fix crash when switch (un)deep number is 0
2019-10-27 14:28:40 +01:00
Dennis Felsing
17a7e37411
Fix (thanks to Bannzay)
2019-10-16 07:08:44 +02:00
Dennis Felsing
3a3df05cca
Change sv_deepfly to work with hammer explicitly
2019-10-15 15:13:23 +02:00
12pm
b1ca920cd4
Fix IntersectCharacter
...
This makes hitting yourself when shooting through other tees work
2019-10-14 16:03:28 +02:00
heinrich5991
bcd1559c5e
Make LimitVel
a proper function
2019-09-18 14:50:27 +02:00
heinrich5991
66ccd808aa
Rewrite stopper code a bit, second try
...
Remove the whole copy-and-paste mess.
A seemingly ineffective and apparently code block has been removed.
The broken front layer from the first try has been fixed.
2019-09-18 02:04:46 +02:00
bors[bot]
1bf178614f
Merge #1904
...
1904: Add tune zone prediction r=heinrich5991 a=trml
Is enabled with cl_predict_ddrace 1.
This will predict tunings loaded from the map the first time tunezones are entered, but will also update the tunes after you receive new tunes while in a tunezone, since it's possible to change them in rcon.
Co-authored-by: trml <trml@users.noreply.github.com>
2019-09-17 13:50:18 +00:00
trml
ea9e444283
Use a single getter for tunings, add some missed cases, fix tuning update
2019-09-16 00:07:42 +02:00
trml
bb5eab0cc0
Add tunezone prediction
2019-09-09 00:53:07 +02:00
ChillerDragon
f5f07860c4
Consistent spacing for getters and setters
2019-09-08 19:22:12 +02:00
ChillerDragon
6172a9dca0
Use the float type explicitly
2019-07-08 23:08:42 +02:00
bors[bot]
b50e7ee674
Merge #1802
...
1802: Prediction fixes r=def- a=trml
I believe this fixes #1671 (uninitialized variables).
Some other things: Use new ddnetchar fields in prediction, small fix for prediction of moving pickups, fix the freeze end tick in ddnetcharacter (will add it to the client later)
Also adds a setting for choosing between new/old antiping for grenade like suggested in #1683 (cl_antiping_gunfire 0 to disable).
Co-authored-by: trml <trml@users.noreply.github.com>
2019-07-04 12:59:52 +00:00
trml
b72a16ca36
Use new ddnetchar fields, cleanup, and fix prediction for already used jumps
2019-07-01 00:50:50 +02:00
trml
18fbb10451
Fix some unitialized variables in the prediction
2019-06-18 19:08:09 +02:00
trml
25e08f13e4
Small prediction fix for laser/shotgun
2019-06-16 16:35:16 +02:00
trml
8a18cabbb1
Small fix and cleanup of prediction of teams/solo
2019-06-16 16:34:57 +02:00
trml
cf8c8534f1
Fix prediction of non-grabbed hook
2019-06-05 02:01:31 +02:00
Learath2
c7d8ca129a
Rerevert #1187
2019-05-21 10:51:43 +02:00
Learath
66b1b44e07
Style
2019-05-20 00:18:19 +02:00
Kpro998
0856fec38e
fix particles, emote wheel, zoom and score for blockworlds
2019-05-19 22:11:16 +01:00
trml
a885c64f4f
Fix ninjajetpack prediction
2019-05-13 01:46:50 +02:00
trml
bde2de2267
Improve weapon prediction on fastcap and vanilla
2019-05-13 01:46:35 +02:00
trml
339d9b05f8
Also reset hook on prediction reset
2019-05-05 14:28:39 +02:00