Dennis Felsing
37ef24225e
Clean up color handling a bit
...
- SetAlpha should be called WithAlpha and only works for RGBA
- Fix type correctness of color_scale and introduce color_invert
- Nicer hook coll color handling in RenderPlayer
- Use CRTP to have type safe WithAlpha, otherwise this would compile:
ColorHSLA = WithAlpha(ColorRGBA(1.0f, 1.0f, 1.0f));
2019-12-03 11:32:55 +01:00
Dennis Felsing
5e8439acab
Merge pull request #1968 from d3fault/always-show-hook-coll-signaling
...
Invert hook coll colors when using cl_show_hook_coll_always and +showhookcoll is pressed
2019-12-02 09:50:34 +01:00
d3fault
5261ca25fe
Invert hook coll colors when using cl_show_hook_coll_always and +showhookcoll is pressed
...
This allows you to still see other players signaling you with their hook coll
when you have cl_show_hook_coll_always enabled.
2019-12-02 01:30:20 -07:00
Magnus Auvinen
6a6a5f00c9
more typesafty in the graphics. introduced the IGraphics::CTextureHandle
...
Edited by @ChillerDragon to fit in ddnet
(cherry picked from commit cb95e8dfe8
)
2019-11-22 18:08:37 +01:00
def
f9598c8ba8
Don't access m_aClients wiht invalid ClientID
2019-11-03 18:10:30 +01:00
d3fault
2943eb0d4f
Don't locally render your own dummy's afk emote. Other players will still see it
2019-10-19 21:03:08 -07:00
FallenKN
b2d3df8f75
Remove ClAfkMark option & rename it to ClAfkEmote
2019-07-30 20:19:46 +02:00
FallenKN
b804d3e1f2
Enhance ClAfkMark with another option
2019-07-29 14:46:21 +02:00
trml
ddfcb62caa
Apply ShowOtherAlpha to projectiles
2019-07-16 22:06:57 +02:00
ChillerDragon
6172a9dca0
Use the float type explicitly
2019-07-08 23:08:42 +02:00
trml
011d9aa26f
Add option to use new/old antiping for grenades (cl_antiping_gunfire)
2019-07-01 00:42:02 +02:00
heinrich5991
f31e081bd4
Remove all checking for the gametype in the game
...
OK, maybe not actually remove because it is kept for fallback when the
new method isn't available.
The whole gametype parsing business had the same downsides as user agent
parsing on the web, hence I removed it while keeping behavior the same.
This allows servers to explicitly opt in or out of certain bug
workarounds and other client behavior. This increases the complexity of
different configurations that are available in the client (which is a
bad thing).
2019-06-14 00:28:59 +02:00
Learath
551397117b
Last return isn't necessary
2019-05-14 14:20:36 +02:00
Learath
546016092d
Consistently determine OtherTeam
2019-05-14 00:00:28 +02:00
trml
672b4aef02
Fix ninja animation with antiping off
2019-05-13 01:46:50 +02:00
trml
53fe0a56f8
Fix predicted weapon animation
2019-05-13 01:46:50 +02:00
Learath2
def36acce1
Apply alpha properly, fix refactoring fails
2019-05-10 01:00:24 +02:00
trml
00ab99aa2e
Add prediction for weapon switches and gunfire animation
2019-05-05 12:33:26 +02:00
bors[bot]
a2f44299e0
Merge #1678
...
1678: Handle colors in console r=def- a=Learath2
DEPENDS: #1654
A better way to fix #1581 possibly deprecates #1597
Co-authored-by: Learath <learath2@gmail.com>
2019-04-30 19:39:56 +00:00
bors[bot]
d8964ceedb
Merge #1654 #1685
...
1654: Try working on colors a bit r=def- a=Learath2
There were color functions everywhere, I tried cleaning it up a little. I still couldn't get the roundtrip from Hsl to Rgb to be exactly the same, but I think this is the best possible.
1685: Work on compound binds r=def- a=Learath2
Closes #1417
Co-authored-by: Learath <learath2@gmail.com>
2019-04-29 15:56:16 +00:00
Learath
93d14a1eca
Inconvenience for windows
2019-04-26 22:36:49 +03:00
Learath
65a17599e1
Add ColorHSVA, phase out more vec3's
2019-04-26 15:06:32 +03:00
Learath
cc36af73be
Cleanup colors
2019-04-24 23:53:26 +03:00
Ryozuki
42a5d7a9c1
fix conflicts
2019-04-23 20:42:07 +02:00
Dennis Felsing
3f99dfdbcd
Merge pull request #1666 from Ryozuki/pr_fix_solo_spec
...
fix ghosts in spec
2019-04-23 20:03:01 +02:00
Ryozuki
87c797e84d
fix ghosts in spec
2019-04-23 19:22:58 +02:00
Ryozuki
d6cc94f839
fix hook col a bit
2019-04-21 19:35:07 +02:00
trml
0b3f3b03b5
Rewrite of prediction code, with additional prediction
2019-04-21 16:12:20 +02:00
Ryozuki
6bfdad9771
fix super and solo
2019-04-21 14:57:45 +02:00
Ryozuki
fb84bd1f0b
fix prediction when antiping is on
2019-04-12 17:08:06 +02:00
Ryozuki
c686ceea53
Merge branch 'master' into pr_fix_solo
2019-04-12 16:34:43 +02:00
Ryozuki
7e43120b6e
make the client aware of other players solo status
2019-04-12 16:16:21 +02:00
Dennis Felsing
cde07b420b
Implement changes suggested by -Wuseless-cast
...
But don't enable it yet because I'm not sure what the best way is.
2019-04-11 19:54:43 +02:00
Ryozuki
0138dd32e3
apply alpha to solo players
2019-04-07 19:42:26 +02:00
def
0518769500
fix cl_show_nameplates_own with antiping off ingame
2018-08-03 23:40:03 +02:00
Dennis Felsing
e561498617
fix...
2018-04-25 14:12:49 +02:00
Dennis Felsing
96ecbfcfa8
Add cl_show_hook_coll_always
2018-04-25 12:03:27 +02:00
Jupeyy
a59d7401b5
add buffering for dmg indicator, map items, particles and players
2018-03-13 21:52:44 +01:00
yangfl
1620fc9b0f
Fix typo
2018-02-07 16:10:40 +08:00
def
7ae5f33bdd
fix cl_show_direction (thanks jupeyy)
2018-01-14 20:51:02 +01:00
def
484325f493
Fix nameplates with antiping ( fixes #943 )
2018-01-12 19:24:44 +01:00
def
77a999c0b1
Add cl_showemotes
2018-01-05 20:17:22 +01:00
heinrich5991
ef0c1b266f
Fix 3 / 2
using integer division
2017-11-03 22:10:04 +01:00
Redix
491cfdb93e
A few fixes in ghost and race recorder code
2017-09-28 16:02:00 +02:00
Redix
d09e825065
Use existing code for rendering the ghost
2017-09-28 16:01:58 +02:00
heinrich5991
42934fe102
Remove statically detectable float divisions by zero
...
This should fix the warning in MSVS.
2017-09-16 18:34:26 +02:00
def
c2400c79cf
Rename cl_show_other_hook_coll to cl_show_hook_coll_other and add cl_show_hook_coll_own ( fixes #741 )
2017-05-14 12:03:09 +02:00
trml
1211746491
Don't use predicted position for the hook when spectating
2017-04-02 18:41:55 +02:00
necropotame
b8e4e5beea
Fix style in several places
2017-03-22 19:45:14 +01:00
H-M-H
e351080dd3
removed double semicolons
2016-05-04 00:24:54 +02:00