Learath
0d39eb128d
Use unsigned integers for colors
2019-05-15 18:05:19 +02:00
Andrii Vynychenko
0353eb94ef
fix zero fonsize
2019-05-11 18:59:47 +03:00
12pm
219d6dcd92
Explicitly filter finished maps
...
Otherwise this filters all maps in all other tabs
2019-05-11 13:45:41 +02:00
Learath2
e608e2f34f
Add Hex display
2019-05-11 02:32:37 +02:00
Learath2
0dd67c92f1
Abbreviate alpha
2019-05-11 02:16:48 +02:00
Learath2
82e6d180e4
Use % and °
2019-05-11 02:12:37 +02:00
Learath2
b059ac256e
Show Alpha only if it's relevant
2019-05-11 02:12:36 +02:00
Dennis Felsing
2396096e3b
Merge branch 'master' into pr-rename-col
2019-05-10 23:46:38 +02:00
12pm
ea324592c6
Change col to color in variable names
2019-05-10 23:34:21 +02:00
12pm
eda002993e
Restore old echo default color
2019-05-10 23:07:32 +02:00
Andrew
0fffd7705f
Cl_text_entities_size ( #1632 )
...
* new command added
* fix code duplication after merge
* merge #1632 suggestions
* align the texture to the center vertically
* refactor
* fix RenderSwitchOverlay
* Update src/engine/client/text.cpp
Co-Authored-By: BannZay <bannzay3@gmail.com>
* Apply suggestions from code review
Co-Authored-By: BannZay <bannzay3@gmail.com>
* Apply suggestions from code review
* Apply suggestions from code review
Co-Authored-By: BannZay <bannzay3@gmail.com>
* Apply suggestions from code review
2019-05-06 14:19:10 +02:00
trml
8eb4b7fd71
Add setting cl_predict_freeze 2 for having a small amount of misprediction while frozen
2019-05-05 12:32:06 +02:00
Learath
b86c457c91
Remember whether a color is lit or not
2019-05-01 23:35:29 +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
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
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]
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
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
93d14a1eca
Inconvenience for windows
2019-04-26 22:36:49 +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
65a17599e1
Add ColorHSVA, phase out more vec3's
2019-04-26 15:06:32 +03:00
Learath
93265dbb9c
Please MSVC
2019-04-25 21:09:32 +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
Learath
cc36af73be
Cleanup colors
2019-04-24 23:53:26 +03:00
trml
681f30950c
Remove the dummy prediction
2019-04-23 02:01:17 +02:00
trml
c5c837e0e3
Revert dummy input fix (which wasn't a sufficient fix)
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
12pm
6e880644af
Add some demo player shortcuts
2019-04-15 21:08:12 +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]
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
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
94f3d97ddf
Remove unmaintained Android code ( fixes #1575 )
2019-04-10 19:40:50 +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
7c0f4c9856
Address reviewer comments
2019-04-10 09:00:06 +02:00
def
cca80da554
Enable dragging demo file into client to play it directly
2019-04-08 21:43:59 +02:00
def
ea093f6d39
2 more tries to force DB to respond in UTF8 ( fixes #1599 )
2019-04-08 16:55:53 +02:00
bors[bot]
a4e2130342
Merge #1571
...
1571: show_ips r=heinrich5991 a=def-
The problem is that the same console output is sent to all right now,
not sure how to change that cleanly
Co-authored-by: def <dennis@felsin9.de>
2019-04-07 19:01:21 +00:00
bors[bot]
52c00dcc02
Merge #1573
...
1573: Handle FS failures while updating (fixes #1560 ) r=heinrich5991 a=def-
Not sure if I caught all locations
Co-authored-by: def <dennis@felsin9.de>
2019-04-07 18:50:08 +00:00
Jordy Ruiz
1e0cc51ba1
Add bound check in datafile.cpp anywhere m_ppDataPtrs is accessed as an array. Should fix #2073
...
(cherry picked from commit e086f4b35b
)
2019-04-07 13:10:07 +02:00
bors[bot]
5d9d0d7d35
Merge #1587
...
1587: Small fixxings r=heinrich5991 a=ChillerDragon
Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-04-06 21:08:40 +00:00
def
e539bbacb1
Handle FS failures while updating ( fixes #1560 )
...
Not sure if I caught all locations
2019-04-06 19:24:40 +02:00
def
25c54ef4db
Implement show_ips to protect accidental leaking of IPs
...
Marks all sensitive data with <{ }> and then filters that out when
show_ips is not set.
2019-04-06 19:22:02 +02:00
bors[bot]
b25c5275d5
Merge #1585
...
1585: Use OpenSSL md5 if it is available r=def- a=heinrich5991
Fixes #1582 .
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
2019-04-06 15:43:24 +00:00
ChillerDragon
abba71e6d6
Fix tw code style
2019-04-06 17:06:12 +02:00
12pm
98bfeb3e72
Notify about chat mentions in editor
2019-04-06 11:32:50 +02:00
heinrich5991
e3657ab2d5
Use SHA256 instead of MD5 in some places
...
This only works in places where the actual choice of hashing function
doesn't matter.
2019-04-06 02:56:29 +02:00
heinrich5991
e44b1ca986
Use OpenSSL md5 if it is available
...
Fixes #1582 .
2019-04-06 02:56:29 +02:00
Dennis Felsing
a7dabe3475
Merge pull request #1570 from 12pm/playerflags
...
Add playerflags, dnsbl, and ips for non-admins in status
2019-04-04 18:55:40 +02:00
Dennis Felsing
fc76c2219f
Merge pull request #1566 from def-/pr-demo-speed
...
Demo speed improvements
2019-04-03 19:02:42 +02:00
Dennis Felsing
1fd130cf15
Merge pull request #1564 from def-/pr-dummy-fixes
...
Some more dummy fixes (might fix #1415 )
2019-04-03 19:02:28 +02:00
12pm
a7ef921e3f
Add playerflags, dnsbl, and ips for non-admins in status
2019-04-03 15:07:05 +02:00
def
e25d43aaf6
Extend GUI options for available demo speeds up to 64
2019-04-02 23:20:44 +02:00
def
989726db00
Allow demo speeds up to 256
2019-04-02 23:16:01 +02:00
def
ad70456687
Some more dummy fixes (might fix #1415 )
2019-04-02 22:02:55 +02:00
def
392fe03844
Enable gun sound by default
2019-04-02 21:52:02 +02:00
Dennis Felsing
0b578c4330
Fix cl_confirm_disconnect/quit_time ( fixes #1550 )
...
-1 now works as described
Split into two settings
2019-03-29 14:56:02 +01:00
Dennis Felsing
5124372e9d
Merge pull request #1546 from def-/pr-glyph-missing
...
Fix text render when a glyph is missing (fixes #1543 )
2019-03-28 23:38:31 +01:00
Dennis Felsing
138a9c6ff7
Merge pull request #1545 from def-/pr-load-font
...
Move out common font loading into method
2019-03-28 23:38:24 +01:00
Dennis Felsing
95cc357dd6
Merge pull request #1540 from def-/pr-disconnect-time
...
Add cl_confirm_disconnect_quit_time (fixes #1530 )
2019-03-28 23:38:16 +01:00
def
4171db48a9
Fix text render when a glyph is missing ( fixes #1543 )
...
Instead show □ (white square, 0x25a1) as replacement character
The old behaviour was to continue when a glyph was missing, not load
the glyph and then instead fill the bitmap with random garbage that was
still in the buffer. Introduced by https://github.com/ddnet/ddnet/pull/1081
2019-03-28 22:46:08 +01:00
def
9e25f4c113
Move out common font loading into method
2019-03-28 21:51:42 +01:00
def
8908102536
Add cl_confirm_disconnect_quit_time ( fixes #1530 )
...
Number of minutes of active racing time before being asked to confirm
disconnecting, disconnecting dummy or quitting through GUI. Defaults to
20 minutes, -1 to disable, 0 to always enable.
Also removed confirmation to quit when in main menu, except when having
an unsaved map in editor.
Spectate and kill should already be safe thanks to server-side kill
protection.
2019-03-25 20:10:38 +01:00
def
bf576723a3
Add KoG tab in server browser
...
- As requested by qshar and KoG players
- Similar to DDNet tab
- Info fetched from servers-kog entry from https://info.ddnet.tw/info
- Also supports countries and types
- Doesn't inform whether map has been finished
- Generalized the code a bit but it's still ugly
- Depends on #1533 , also shows KoG servers as official/verified
2019-03-24 23:15:40 +01:00
Dennis Felsing
abe9f6f5a9
Merge pull request #1518 from ddnet/fetch-info
...
Demo browser: Make Fetch Info a checkbox instead
2019-03-20 07:45:12 +01:00
Dennis Felsing
8b68a2859a
Merge pull request #1509 from ddnet/error-checking
...
More error checking in system.c (fixes #1317 )
2019-03-20 07:44:12 +01:00
def
1e4890c499
More error checking in system.c ( fixes #1317 )
2019-03-19 23:16:29 +01:00
12pm
9f4f06e995
Make updating nameban reason work
2019-03-19 22:54:16 +01:00
def
22f278fdb8
Demo browser: Make Fetch Info a checkbot instead
...
And persist the result. Helps with the workflow described by Shyzo on
Discord:
> I mean after i press ctrl-f or fetch info. then i want to sort by marker (from ... to 0) and just delete every demo without a marker. either in a whole (not possible i think) or just one by one. but I think after deleting one demo the order of demos change again
> so i have to fetch info again, delete one. fetch info again. delete one
> and so on
2019-03-19 18:28:10 +01:00
def
ed5b08e7dc
Also recheck official server status when json gets loaded
2019-03-19 07:57:09 +01:00
def
4f515bf67e
Add symbol for official servers in server browser ( fixes #1501 )
...
- Also fix favorites checkbox when removing favorite
- Might need a nicer looking symbol
2019-03-19 07:46:50 +01:00
def
6f9cfd5af1
Increase MAX_PATH_LENGTH to support our own downloadedmaps names
2019-03-12 18:43:03 +01:00
bors[bot]
98d54263c7
Merge #1477
...
1477: Don't allow sound format changes, use preferred driver, print more debug info r=heinrich5991 a=def-
Someone should check if this works on Windows.
Co-authored-by: def <dennis@felsin9.de>
2019-03-12 12:49:48 +00:00
Dennis Felsing
b8c256b602
Merge pull request #1467 from 12pm/nameban_exact
...
Add exact name ban option
2019-03-11 22:50:39 +01:00
def
a7548511bf
Don't allow sound format changes, use preferred driver, print more debug info
2019-03-11 22:32:14 +01:00
12pm
3dcb83778f
Make name more descriptive
2019-03-11 14:48:45 +01:00
bors[bot]
d8e8a21a30
Merge #1469
...
1469: Don't use strtok. Close #1468 r=heinrich5991 a=Learath2
^
Co-authored-by: Learath <learath2@gmail.com>
2019-03-11 11:56:26 +00:00
Learath
f6c15f1de0
Style
2019-03-11 14:54:31 +03:00
Learath
9713f6c2cd
Improve interface to function
2019-03-11 14:39:54 +03:00
def
bc91659aa8
Get GAME_RELEASE_VERSION back, fix compatibility filter in server browser
2019-03-06 21:02:06 +01:00
bors[bot]
26dc51a272
Merge #1466
...
1466: Add colors for authed players. Deprecates #1299 r=def- a=Learath2
Not sure if a snap item is the best idea for this but it should help with not sending the data more then needed and keeping it properly updated. The colors aren't great now but we can fix that easily.
![image](https://user-images.githubusercontent.com/490500/53680889-607bf780-3cf2-11e9-84a0-579160e9e170.png )
Co-authored-by: Learath <learath2@gmail.com>
2019-03-06 13:44:28 +00:00
Learath
c4af290df5
Don't use strtok. Close #1468
2019-03-05 12:46:29 +03:00
def
deb2494692
Don't suggest to downgrade, clean up versioning ( fixes #1440 )
2019-03-03 20:31:23 +01:00
12pm
29592afdb5
Add exact name ban option
2019-03-03 18:29:33 +01:00
Learath
548e9969b2
Add colors for authed players. Deprecates #1299
2019-03-02 13:50:33 +03:00
def
65ce202697
Revert "More SQL fixes"
...
This reverts commit c665cabc27
.
2019-02-28 06:14:30 +01:00
def
f831f27d08
Revert "New SQL locking on each query ( fixes #1430 )"
...
This reverts commit 5ddcf8bd0c
.
2019-02-28 06:14:20 +01:00
Dennis Felsing
6701ae726f
Merge pull request #1434 from ddnet/sql-locking
...
Sql locking
2019-02-27 20:26:24 +01:00
Dennis Felsing
6f3d261b73
Merge pull request #1441 from trml/pr_sync_weapon_input
...
Sync weapon input with other input
2019-02-14 10:27:52 +01:00
Learath
37c67c00ad
Style
2019-02-13 15:13:44 +01:00
Learath
0086452757
Use str_in_list, generalize further
2019-02-11 18:52:40 +01:00
ChillerDragon
eaf61b662d
Never ban known bots
2019-02-06 14:49:41 +01:00
ChillerDragon
3f8e9613f7
Fix style
2019-02-06 13:06:28 +01:00
ChillerDragon
8ddb487e2b
Use consisten seperators (comma not semicolons)
2019-02-04 23:12:05 +01:00
ChillerDragon
ec7b525609
Default kick known bots instead of ban
2019-02-04 23:10:07 +01:00
ChillerDragon
03a20d6406
Add IServer::Ban
2019-02-04 23:09:14 +01:00
ChillerDragon
867b0a66ce
Fixings thanks to @Learath2
2019-02-04 22:16:09 +01:00
ChillerDragon
069b1763dd
Add autoban depending on client version
2019-02-04 20:46:42 +01:00
trml
3f9d30af0f
Sync weapon input with other inputs
2019-01-29 20:58:25 +01:00
jupeyy
28ba295792
Don't use compression for text rendering
2019-01-20 14:28:59 +01:00
Dennis Felsing
a5c78f85cf
Disallow sv_map_vote in map settings
2019-01-15 08:57:30 +01:00
def
5ddcf8bd0c
New SQL locking on each query ( fixes #1430 )
2019-01-14 22:28:13 +01:00
Dennis Felsing
c665cabc27
More SQL fixes
...
Should help with some crashes
Still doesn't call thread_init
Still shares statements and connections between threads
2019-01-14 22:18:37 +01:00
def
b1ef2bf864
Don't try to remove non-existing files
...
Causes annoying error messages during map change & server start.
2019-01-14 22:13:51 +01:00
bors[bot]
19aef99d0c
Merge #1432
...
1432: Merge BW support into IsDDNet r=def- a=fokkonaut
from now on Blockworlds can use this server message to tell the client not to use the DDRace (time) scoreboard.
(https://github.com/ddnet/ddnet/pull/1387 )
Co-authored-by: fokkonaut <35420825+fokkonaut@users.noreply.github.com>
2019-01-14 17:16:06 +00:00
fokkonaut
ade7b13f98
paranthese placement
2019-01-14 17:31:07 +01:00
fokkonaut
6206450e1b
moved paranthese
2019-01-14 17:28:34 +01:00
fokkonaut
cf09fbd1ea
Merge BW support into IsDDNet
2019-01-14 16:50:06 +01:00
heinrich5991
c24c6274b6
Decode extended packets for the dummy as well
2019-01-14 15:42:37 +01:00
fokkonaut
b2b6d25a92
add missing semicolon
2019-01-14 08:01:20 +01:00
fokkonaut
d156ac47b7
forgot one
2019-01-14 08:01:20 +01:00
fokkonaut
fe4426b008
fixed ddrace score (time score)
2019-01-14 08:01:20 +01:00
fokkonaut
0e842359ad
Add DDRace Score NETMSG
2019-01-14 08:01:20 +01:00
def
caa9e4ba29
Fix auto save statboard limit ( fixes #528 )
2019-01-11 12:07:12 +01:00
def
15fb7891cb
Fix FileCollection to remove the oldest file ( fixes #605 )
...
Previously it removed one entry from m_aTimestamps before having filled
it entirely, so there was a small chance that it was not the smallest
one. Only after we have filled more entries than we want to keep can we
know which ones can be deleted for sure.
2019-01-11 11:39:05 +01:00
def
6e9aa68149
Fix timestamp extraction with wildcards ( fixes #605 )
...
in CFileCollection. Previously it included the _ character.
2019-01-11 11:37:43 +01:00
def
f05c56d6ce
Fix cl_dyncam_mousesens
...
should only have an effect ingame, not in menus or editor
2019-01-11 09:40:04 +01:00
def
f9d9fee314
Demo browser: Show markers ( fixes #329 )
...
- Fetch Headers button
- Display Markers & Length columns
- Display footer info
- Don't rescan directory when not required
- Clean up code a bit
2019-01-09 08:25:03 +01:00
def
1ece46aa4e
Revert "setlocale for XOpenIM with compose key"
...
Has been fixed: https://bugzilla.libsdl.org/show_bug.cgi?id=3102
This reverts commit 6c4e6c5c44
.
2019-01-07 21:27:09 +01:00
def
8b782285ab
Fix return type of CStorage::RemoveFile
2019-01-07 14:35:11 +01:00
def
da2fe3cbbc
Revert "More SQL fixes"
...
This reverts commit a58ade137d
.
2019-01-06 10:59:29 +01:00
Dennis Felsing
afbb741910
Merge pull request #1420 from Jupeyy/master
...
Fix text kerning and add flags for better positioning
2019-01-06 10:57:16 +01:00
Dennis Felsing
dfd12fb23e
Merge pull request #1416 from ddnet/scopes
...
More SQL fixes
2019-01-06 10:51:26 +01:00
Dennis Felsing
2695cb101d
Merge pull request #1418 from ddnet/borderless
...
Disable borderless on Mac (fixes #1413 )
2019-01-06 10:51:15 +01:00
jupeyy
6fc49cbc9e
style
2019-01-06 06:45:47 +01:00
jupeyy
619a33a7d5
text kerning fix, add new text render flags for accurate positioning
2019-01-06 06:42:57 +01:00
def
a116ed3dbe
Revert "New try at not decompressing unknown packets"
...
Causes connection problems with old clients
This reverts commit a3b07dbf9c
.
2018-12-30 12:22:05 +01:00
def
aa7e6ff3e3
Disable borderless on Mac ( fixes #1413 )
2018-12-28 17:29:54 +01:00
Dennis Felsing
a58ade137d
More SQL fixes
...
Should help with some crashes
Still doesn't call thread_init
Still shares statements and connections between threads
2018-12-27 14:31:58 +01:00
def
87fa394daa
Add Christmas skin event for client
2018-12-23 22:58:30 +01:00
Dennis Felsing
8d200d1026
Try resetting m_pConnection to 0 to prevent segfault
2018-12-20 09:26:45 +01:00
Dennis Felsing
735e3c64fc
Read fifo more often
...
otherwise we lose messages since we sleep for long times when server is
empty
2018-12-20 09:18:03 +01:00
def
4b92e72763
Prevent copies
2018-12-17 22:15:41 +01:00
def
6846a6ecad
Fixes and stress improvements
2018-12-17 20:05:50 +01:00
Dennis Felsing
e9ee74a941
Merge pull request #1402 from ddnet/remove-modhelp
...
Remove /modhelp (fixes #1401 )
2018-12-17 14:42:07 +01:00
Dennis Felsing
9febf58f37
New try at recvmmsg with some improvements
2018-12-16 22:59:41 +01:00
def
a3b07dbf9c
New try at not decompressing unknown packets
2018-12-16 22:15:45 +01:00
def
d884465710
Revert "Don't decompress packets from unknown IPs"
...
This reverts commit 9089c2b35a
.
2018-12-14 17:12:49 +01:00
Dennis Felsing
0b256ff653
Allow connecting clients to compress
...
TODO: Look for better solution
2018-12-14 11:17:15 +01:00
def
c4d437bc0f
Make client launchable from browser
...
By needs from https://github.com/teeworlds/teeworlds/pull/1478/files
2018-12-13 19:57:34 +01:00
Dennis Felsing
9089c2b35a
Don't decompress packets from unknown IPs
2018-12-13 16:24:37 +01:00