Learath
57f58cc9c7
Refactoring mishap
2019-05-01 22:57:14 +03:00
Learath
ca888c56a2
Lighten when rendering the teeselector aswell
2019-05-01 22:49:52 +03:00
Learath
5d0a1c8d0a
Unlighten colors when sending to server
2019-05-01 22:49:52 +03:00
bors[bot]
9bca330a73
Merge #1691
...
1691: Persist show_ips setting on map changes r=Learath2 a=def-
@12pm
Co-authored-by: def <dennis@felsin9.de>
2019-05-01 12:08:13 +00:00
Learath
689c7b29be
Don't check dnsbl when alone
2019-05-01 14:54:51 +03:00
Learath
a451bb15c5
Dummy colors are also colors
2019-05-01 14:19:38 +03:00
Learath
b16c0b8aaf
Lighten the default authed color
2019-05-01 14:15:00 +03:00
Learath
bfeef8f9ad
Use the color macro
2019-05-01 14:05:39 +03:00
Learath
f479f69735
Add a flag for colors with alpha
2019-05-01 13:58:51 +03:00
Learath
324c389e87
Accept negatives aswell, don't clamp
2019-05-01 13:41:58 +03:00
Learath
3cfbd8376f
Forgot default color for ui
2019-05-01 10:27:04 +03: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
Learath
f9ab06476d
Lighten tee colors of others
2019-04-30 19:49:53 +03:00
12pm
3f76e17830
Fix FillSelection with no selected brush
...
As reported by BannZay on Discord
2019-04-30 14:24:13 +02:00
bors[bot]
9699d4ef06
Merge #1694
...
1694: Fix inconsistant uppercase server in logs r=def- a=ChillerDragon
```
$ grep -nr 'IConsole::OUTPUT_LEVEL_STANDARD, "server"' src/ | wc -l
31
$ grep -nr 'IConsole::OUTPUT_LEVEL_STANDARD, "Server"' src/ | wc -l
1
```
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-04-30 07:35:26 +00:00
ChillerDragon
7a7caabbec
Fix inconsistant uppercase server in logs
2019-04-30 09:03:06 +02:00
def
a910d9eff7
Persist show_ips setting on map changes
2019-04-29 21:39:17 +02: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
bors[bot]
70b3f1db21
Merge #1675
...
1675: Remove unused vanilla code (closed #1658 ) r=def- a=ChillerDragon
Removed vanilla code from gamecontext and gamecontroller. I didn't search for the code all over the place I just remember seing it there a lot. Also removed some empty lines. Wanted to do this for a long time :)
thought there is an reason it is there. But we have git and the vanilla repo so I don't see any point keeping it there.
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-04-29 07:24:01 +00:00
12pm
8fa6dada95
Highlight same clan as dummy too
...
Fixes #1686
2019-04-29 00:48:40 +02:00
Learath
6a1ef1af62
Can't access a siblings protected members?
2019-04-28 20:34:34 +03:00
Learath
2975d6998d
Block ctrl+shift+ binds. Fixes #1490
2019-04-28 20:30:17 +03:00
Learath
66c89eafb2
Allow binding with modifiers in settings
2019-04-28 20:22:19 +03:00
Learath
1da935f4c1
Fix stuck input
2019-04-28 16:52:10 +03:00
Learath
c0c79c69c3
Fix output
2019-04-28 16:37:20 +03:00
Learath
6b815b2375
Work on compound binds
2019-04-28 16:32:49 +03:00
bors[bot]
a5096c4de0
Merge #1663
...
1663: Use freeze end tick instead of a flag. Fix #1659 r=def- a=Learath2
I used -1 for deep frozen, and 0 for not frozen. Not really sure if this is the best way.
Co-authored-by: Learath <learath2@gmail.com>
2019-04-27 08:53:38 +00:00
Learath
05b3df0afa
Add the default constructors
2019-04-27 02:07:11 +03:00
Learath
588acdda0d
Consolidate color configs, extend debugging
2019-04-27 02:02:31 +03:00
Learath
979d58f830
Use colors in CTextRender
2019-04-27 01:34:20 +03:00
Learath
6c371a9a57
Even more refactoring
2019-04-27 01:11:15 +03:00
Learath
15058330fa
Don't inherit from vector, more cleanup
2019-04-27 00:47:34 +03:00
Learath
be26789872
Remove unused function
2019-04-26 22:57:40 +03:00
Learath
929d772071
Collateral
2019-04-26 22:38:18 +03:00
Learath
93d14a1eca
Inconvenience for windows
2019-04-26 22:36:49 +03:00
Learath
1b668916f2
Fix the test, fix small bug
2019-04-26 21:01:41 +03:00
Learath
ffa07d88cb
Please -WError
2019-04-26 19:11:34 +03:00
Learath
69d78c21b4
Lighten tee colors
2019-04-26 16:38:16 +03:00
Learath
54afd2c5af
No iostream
2019-04-26 15:09:12 +03:00
Learath
65a17599e1
Add ColorHSVA, phase out more vec3's
2019-04-26 15:06:32 +03:00
Learath
987b9f69de
Only lighten if too dark
2019-04-25 23:29:31 +03:00
Learath
93265dbb9c
Please MSVC
2019-04-25 21:09:32 +03:00
Learath
f53f09339a
Default constructor
2019-04-25 19:59:04 +03:00
Learath
e637064a68
Don't store HSL separately
2019-04-25 19:49:27 +03:00
Learath
95a3a69e08
Start phasing out vectors for colors
2019-04-25 18:21:35 +03:00
Learath
cc319e0152
Fix warnings and style
2019-04-25 15:04:36 +03:00
Learath
0f781df1dd
Try handling colors in console
2019-04-25 14:48:53 +03:00
Dennis Felsing
aa5458b81d
Version 12.3.1
2019-04-25 08:20:01 +02:00
Dennis Felsing
ab8b807c5d
Shorten strings correctly ( fixes #1652 )
...
Using a string to format itself is undefined behaviour.
2019-04-25 08:19:31 +02:00
Learath
5e5def314f
Add tests
2019-04-24 23:53:38 +03:00
Learath
cc36af73be
Cleanup colors
2019-04-24 23:53:26 +03:00
ChillerDragon
ad7a2cdef2
Remove unused vanilla code ( closed #1658 )
2019-04-24 22:36:47 +02:00
def
4f99623b5e
Version 12.3
2019-04-24 19:49:00 +02:00
Dennis Felsing
a1a581ecc2
Merge pull request #1653 from Ryozuki/pr_use_ddnetnetchar
...
Use the DDNet Network Character
2019-04-24 19:47:12 +02:00
def
b6d2ed268a
another one
2019-04-24 18:33:31 +02:00
Learath
24408e6f3c
Oops
2019-04-24 19:12:46 +03:00
def
6cf8999a2f
Restore old FindEntities behaviour, make it usable to count entities
2019-04-24 18:01:30 +02:00
trml
0b5f387779
Remove unneded check
2019-04-24 17:04:51 +02:00
trml
1db0d2ff40
Don't use freeze and deepfreeze flags for prediction yet
2019-04-24 15:56:56 +02:00
trml
2f35c64e6e
Initialize array and fix warning
2019-04-24 15:56:07 +02:00
Ryozuki
502ebc5628
fix all conflicts
2019-04-23 20:45:54 +02:00
Ryozuki
42a5d7a9c1
fix conflicts
2019-04-23 20:42:07 +02:00
Dennis Felsing
dc1e638fb9
Merge pull request #1664 from Learath2/dd_pr_solofix
...
Fix solo bug
2019-04-23 20:03:58 +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
bors[bot]
526af034dd
Merge #1620
...
1620: Rewrite of prediction code, with additional prediction (updated) r=def- a=trml
This is a reworked attempt at a rewrite of the prediction code (#464 ), to allow for more client side prediction. It doesn't fix the duplication of server code, but the client code should otherwise be cleaner. This includes separating prediction code out of gamecore/gameclient, and a refactor of the rendering of predicted characters.
There is also prediction for some new things, and some other changes:
- prediction of laser, shotgun, ninja, fng hammer, pickups and ddrace tiles (freeze/unfreeze tiles with cl_predict_freeze)
- laser and bullets are rendered when you fire them and bullets don't go through walls (when both cl_antiping_grenade and cl_antiping_weapons are enabled)
- antiping for flags
- prediction of dummy input
- an additional smoothing option that attempts to make antiping less jumpy (cl_antiping_smooth)
Co-authored-by: trml <trml@users.noreply.github.com>
Co-authored-by: trml <trml@noreply.github.com>
2019-04-23 17:11:21 +00:00
Learath
5d4461981a
Fix solo bug
2019-04-23 19:46:51 +03:00
Learath
67668d7fb2
Use freeze end tick instead of a flag. Fix #1659
2019-04-23 18:57:26 +03:00
bors[bot]
34542e64b5
Merge #1655
...
1655: Add delete projectiles on death settings r=def- a=12pm
Need this for a map fix and doesn't hurt to have for grenades too I guess. Defaults are still the same
Co-authored-by: 12pm <30786226+12pm@users.noreply.github.com>
2019-04-23 14:43:23 +00:00
12pm
808bb1303a
Disable demo shortcuts in console
...
As reported here: https://forum.ddnet.tw/viewtopic.php?f=3&p=67807#p67807
2019-04-23 14:52:32 +02:00
trml
681f30950c
Remove the dummy prediction
2019-04-23 02:01:17 +02:00
trml
3d8bd174e7
Add extended data to CCharacter and improve prediction of super/solo/endless/superjump
2019-04-22 00:38:24 +02:00
12pm
a83e3e0d9a
Add delete projectiles on death settings
2019-04-21 20:17:41 +02:00
Ryozuki
d6cc94f839
fix hook col a bit
2019-04-21 19:35:07 +02:00
trml
78c8f42784
Put public members in a single block
2019-04-21 16:12:21 +02:00
trml
e88459acec
Make more variables private
2019-04-21 16:12:21 +02:00
trml
c5c837e0e3
Revert dummy input fix (which wasn't a sufficient fix)
2019-04-21 16:12:21 +02:00
trml
92ef0b0707
Collapse if statements
2019-04-21 16:12:21 +02:00
trml
0b3f3b03b5
Rewrite of prediction code, with additional prediction
2019-04-21 16:12:20 +02:00
Ryozuki
7d4fdb3322
update the core server-side
2019-04-21 15:16:28 +02:00
Ryozuki
6bfdad9771
fix super and solo
2019-04-21 14:57:45 +02:00
Ryozuki
eecdfd2af8
fix hook and colision on super
2019-04-21 10:45:11 +02:00
def
fc68f3add1
Version 12.2
2019-04-20 12:40:55 +02:00
Ryozuki
eaef31d4a0
fix wording and add/fix no col and no hook
2019-04-19 11:59:09 +02:00
Ryozuki
0f3411f8fa
fix wording
2019-04-19 11:46:54 +02:00
Ryozuki
f37f8a8268
add all character flags to ddnetnetwork character
2019-04-19 11:17:28 +02:00
bors[bot]
bbf485a9ac
Merge #1628
...
1628: Make client know about other solo players, fixes #258 r=heinrich5991 a=Ryozuki
When another player is in solo and you are not, you could notice a weird collision and also the hook moving a little towards the solo player. This as been fixed.
It also applies m_ClShowOthersAlpha to other players whenever you are on solo or others are.
It uses the protocol extension thingy.
fixes #258
Co-authored-by: Ryozuki <ryo@ryozuki.xyz>
Co-authored-by: Learath <learath2@gmail.com>
2019-04-18 23:03:52 +00:00
bors[bot]
f15dd6303e
Merge #1648
...
1648: Fix mute typo r=def- a=12pm
Co-authored-by: 12pm <30786226+12pm@users.noreply.github.com>
2019-04-18 20:00:53 +00:00
12pm
997e01bf31
Fix mute typo
2019-04-18 20:54:22 +02:00
Dennis Felsing
04ac4932c6
Merge pull request #1645 from def-/pr-str_copy_num
...
str_num_copy -> str_truncate, as in Vanilla 0.7
2019-04-18 10:25:25 +02:00
Dennis Felsing
00c87c121a
str_num_copy -> str_truncate, as in Vanilla 0.7
2019-04-18 10:25:01 +02:00
Learath
d6bfef2cc0
Use a NetObj instead of a system message
2019-04-17 23:47:32 +02:00
12pm
7901cc26ad
More reasonable layer size limits
2019-04-17 21:48:23 +02:00
12pm
50236ca45c
Add editor copy & paste
2019-04-17 21:47:52 +02:00
Dennis Felsing
6e74d9d728
remove debugging
2019-04-17 14:12:35 +02:00
Dennis Felsing
b425495f45
Fix draggers
2019-04-17 12:58:53 +02:00
def
9f3df78cae
Fix typo
2019-04-16 20:37:12 +02:00
Learath
843dc29a88
Names can include quotes :/
2019-04-16 02:39:22 +02:00
Learath
dd62629ee9
Clean statboard chat parsing a bit
2019-04-16 01:47:12 +02:00
bors[bot]
de5970579b
Merge #1642
...
1642: Add some demo player shortcuts r=def- a=12pm
Co-authored-by: 12pm <30786226+12pm@users.noreply.github.com>
2019-04-15 19:22:10 +00:00
12pm
6e880644af
Add some demo player shortcuts
2019-04-15 21:08:12 +02:00
bors[bot]
091e41206c
Merge #1635
...
1635: Editor save menu improvements r=Learath2 a=def-
Co-authored-by: def <dennis@felsin9.de>
2019-04-15 18:40:34 +00:00
def
9dddb290dd
File score: Implement negative top5 ( fixes #1631 )
2019-04-15 18:55:33 +02:00
Dennis Felsing
aad18ebb86
Merge pull request #1624 from ChillerDragon/pr_refactor_mute
...
Refactor mute and vote mute code
2019-04-13 17:52:55 +02:00
FallenKN
c69c4727ef
removed unnecessary brackets
2019-04-13 15:22:31 +02:00
FallenKN
83b385f8a5
Fix #1636
2019-04-13 14:33:25 +02:00
def
f1cf222e95
Editor: Don't enter directory name in filename in save menu
2019-04-13 13:21:05 +02:00
def
598c8cf1c6
Editor: Left align "New folder" button in save menu
2019-04-13 13:21:00 +02:00
def
87f588d8a3
Editor: Don't jump to first entry in file list when editing
...
Fixes saving a new map when a subdirectory already exists
2019-04-13 13:20:56 +02:00
ChillerDragon
deaab4bb4b
Add functions instead of goto
2019-04-12 19:50:02 +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
3556830b9a
fix solo prediction
2019-04-12 16:29:13 +02:00
Ryozuki
7e43120b6e
make the client aware of other players solo status
2019-04-12 16:16:21 +02:00
bors[bot]
826a7781ae
Merge #1621
...
1621: Actually enable -Wuseless-cast r=heinrich5991 a=def-
It's not supported in C and we only checked using a C compiler.
Co-authored-by: Dennis Felsing <dennis@felsin9.de>
2019-04-12 00:08:19 +00:00
12pm
a1dd2e45a5
Fix non destructive drawing with hookthrough shortcut
...
Fixes #1623
2019-04-11 21:43:22 +02:00
ChillerDragon
a6d00973e1
Refactor mute and vote mute code
2019-04-11 20:10:04 +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
bors[bot]
cde3781184
Merge #1616
...
1616: Minor CFileScore improvements r=heinrich5991 a=def-
It's written using STL strings and files intead of using system. Didn't change any of that because of the risk of breaking something unintentionally.
Co-authored-by: def <dennis@felsin9.de>
2019-04-11 09:41:01 +00:00
def
0a286b1d94
File score: report file opening errors
2019-04-11 08:15:14 +02:00
bors[bot]
279eeed9fc
Merge #1614
...
1614: Remove unmaintained Android code (fixes #1575 ) r=heinrich5991 a=def-
Thoughts?
Co-authored-by: def <dennis@felsin9.de>
2019-04-11 00:02:17 +00:00
bors[bot]
92a0dc8366
Merge #1618
...
1618: Implement color_to_rgb r=heinrich5991 a=def-
Co-authored-by: def <dennis@felsin9.de>
2019-04-10 23:38:29 +00:00
bors[bot]
933f938b48
Merge #1619
...
1619: Rcon console fixes r=heinrich5991 a=def-
Co-authored-by: def <dennis@felsin9.de>
2019-04-10 23:27:13 +00:00
def
b91530eedc
Console: Can't deallocate temp entries, so don't even try
2019-04-10 23:32:45 +02:00
def
ab9912c9c1
Rcon console: Don't show duplicates
...
when connecting to next server after old server shutdown
2019-04-10 23:31:06 +02:00
def
2eab795c9e
Implement color_to_rgb
2019-04-10 22:45:30 +02:00
fokkonaut
15658b3b10
removed brackets
2019-04-10 22:13:10 +02:00
def
279d6e60ca
No duplicate () on rank
2019-04-10 22:05:44 +02:00
fokkonaut
b92607eb7d
fix no score when joining when using file based score
2019-04-10 21:40:31 +02:00
def
94f3d97ddf
Remove unmaintained Android code ( fixes #1575 )
2019-04-10 19:40:50 +02:00
def
11127f9344
Release fixes
2019-04-10 17:57:56 +02:00
Dennis Felsing
93b88647eb
Merge pull request #1612 from def-/pr-12.1
...
Version 12.1
2019-04-10 17:38:37 +02:00
Dennis Felsing
ed34dcfec5
Merge pull request #1602 from def-/pr-explain-tiles
...
Explain game tiles and entities in editor (fixes #1600 )
2019-04-10 17:38:22 +02:00
Dennis Felsing
5d79c41010
Merge pull request #1603 from def-/pr-demo-open
...
Enable dragging demo file into client to play it directly
2019-04-10 17:38:00 +02:00
Dennis Felsing
2d69935a6b
Add explanations for TILE_THROUGH_CUT/ALL/DIR
2019-04-10 15:48:23 +02:00
bors[bot]
f0cce17bfc
Merge #1597
...
1597: Console command "color_from_rgb" (fixes #1581 ) r=heinrich5991 a=def-
Converts RGB colors to TW's HSL format
Co-authored-by: def <dennis@felsin9.de>
Co-authored-by: Dennis Felsing <dennis@felsin9.de>
2019-04-10 12:21:19 +00:00
Dennis Felsing
fc5810fa56
Version 12.1
2019-04-10 14:17:06 +02:00
Dennis Felsing
7c0f4c9856
Address reviewer comments
2019-04-10 09:00:06 +02:00
Dennis Felsing
bd4e3716a1
color -> color_from_rgb
2019-04-10 08:58:08 +02:00
bors[bot]
b05b268a6a
Merge #1598 #1601 #1605 #1606 #1607 #1609
...
1598: Fix home/end keys in console r=heinrich5991 a=def-
1601: 2 more tries to force DB to respond in UTF8 (fixes #1599 ) r=heinrich5991 a=def-
1605: Fix memory leak in draggers r=heinrich5991 a=def-
1606: Always initialize m_InfosLoaded r=heinrich5991 a=def-
otherwise it's uninitialized and then read, found by valgrind --tool=memcheck
1607: Enable a few more GCC warnings r=heinrich5991 a=def-
1609: Fix C90 compatibility on Windows r=heinrich5991 a=def-
Co-authored-by: def <dennis@felsin9.de>
2019-04-09 22:09:18 +00:00
def
fe432b8ae4
Enable a few more GCC warnings
2019-04-09 22:05:21 +02:00
def
0e7a514c7b
Fix C90 compatibility on Windows
2019-04-09 21:58:04 +02:00
Dennis Felsing
bdb579330d
Improve game tile explanations a bit
...
As suggested by Bojidar and jao
2019-04-09 14:23:40 +02:00
bors[bot]
d4d6ab681d
Merge #1593
...
1593: Add emacs style ctrl-a ctrl-e navigation r=def- a=ChillerDragon
Im sure im not the only one who keeps pressing ctrl-a and ctrl-e in the teewoods console and nothing happens .-.
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-04-09 10:54:04 +00:00
ChillerDragon
0b18d6eb44
Remove if nesting for compose keys in console
2019-04-09 12:11:29 +02:00
def
05fe69751d
Add jao's explanations for telegun
2019-04-08 22:36:47 +02:00
def
c3e36ee483
Always initialize m_InfosLoaded
2019-04-08 22:13:47 +02:00
def
708019c675
Grammar fix: Catched -> Caught
2019-04-08 21:54:33 +02:00
def
173b43d487
Fix memory leak in draggers
2019-04-08 21:54:12 +02:00
12pm
7b95d38bf3
Fix crash when draggers don't have a number
2019-04-08 21:47:22 +02:00