Commit graph

1274 commits

Author SHA1 Message Date
ChillerDragon b7dd7505be Autumn theme fix cloud animation (fixes #2953)
also remove unused tiles
2020-10-04 10:04:46 +02:00
bors[bot] 9df4299bb5
Merge #2999 #3001 #3003
2999: Add Serbian Cyrillic translation r=def- a=cobisimo

This is adding Serbian Cyrillic translation and contain complete translation with latest strings.

by Veljko Radovanovic (VekiPro)

3001: Use skin pointer directly r=def- a=Jupeyy

Can't tell if setting the hot item in gui invalidly can potentially break stuff, also a skin refresh button would make this useless anyway

3003: Update brazilian_portuguese.txt r=def- a=rffontenelle



Co-authored-by: Nikola Radovanovic <nikola.r@toptal.com>
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
2020-10-04 08:01:53 +00:00
bors[bot] 9717c4453f
Merge #2982 #2985 #2996
2982: Update french translation r=Jupeyy a=def-

by SunnyPistache & Pipou

2985: No country flag for Traditional Chinese r=Jupeyy a=def-



2996: Make types/countries fit ingame (fixes #2989) r=Jupeyy a=def-



Co-authored-by: def <dennis@felsin9.de>
2020-10-04 02:22:18 +00:00
Rafael Fontenelle 1ac04833ec
Update brazilian_portuguese.txt 2020-10-03 21:49:23 -03:00
Nikola Radovanovic da8f1ae9db Add Serbian Cyrillic translation 2020-10-03 21:11:19 +02:00
def 7a97512cdf No country flag for Traditional Chinese 2020-10-03 13:09:48 +02:00
def cbf5aceb4d Dilate speed_arrow.png 2020-10-03 12:27:36 +02:00
def 73f44c0d95 Update french translation
by SunnyPistache & Pipou
2020-10-03 10:06:08 +02:00
def a79e5de640 Update German translations 2020-10-02 20:23:22 +02:00
def 1eece9ffa2 Update translations 2020-10-02 20:22:29 +02:00
def 8b50f6d0c4 Update German translations (hard to translate) 2020-10-02 19:05:20 +02:00
def f28e2508dd Update language files 2020-10-02 19:04:39 +02:00
def 94d0c1b95b Update swedish translations (by cur.ie) 2020-09-29 22:58:17 +02:00
bors[bot] fd610e517b
Merge #2903
2903: Remove non-free skins by Moby Dog (fixes #2547) r=def- a=yangfl



Co-authored-by: yangfl <yangfl@users.noreply.github.com>
2020-09-26 07:04:18 +00:00
bors[bot] 8b399ba1be
Merge #2861
2861: Implement censoring words on server r=heinrich5991 a=def-



Co-authored-by: def <dennis@felsin9.de>
2020-09-25 23:07:15 +00:00
bors[bot] ceefdacfbc
Merge #2894
2894: Add new renderer(as streamed vertices) for editor r=def- a=Jupeyy

Does not improve performance in editor!

Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2020-09-24 08:06:42 +00:00
ChillerDragon 7fe7d12668 Remove tree from autumn icon 2020-09-23 23:38:29 +02:00
def 3e78bdc076 Remove flickering in autumn_night 2020-09-23 23:38:29 +02:00
def c0ca296c63 Add autumn theme by ChillerDragon based on heavens by Sonix- 2020-09-23 23:38:29 +02:00
Jupeyy 8235df7752 Add menu background map 2020-09-23 23:38:28 +02:00
Jupeyy 84cad658d6 Add new renderer(as streamed vertices) for editor 2020-09-23 16:45:32 +02:00
def 5f4ed14c17 Add Sunny Side Up map
Licensed by Ravie via Discord DM
2020-09-22 16:36:44 +02:00
def 1b39526ba3 Add Tsunami map
Licensed by Ravie via Discord DM
2020-09-22 15:21:18 +02:00
def c6ef987521 Add LearnToPlay so we have at least two maps
Licensed by Tridemy and Cøke via Discord DM
2020-09-22 14:22:06 +02:00
yangfl d08eca9ab3 Remove non-free skins by Moby Dog (fixes #2547) 2020-09-22 13:26:18 +08:00
Rafael Fontenelle 45454cb760
Update brazilian_portuguese.txt 2020-09-20 11:03:41 -03:00
def 591dfb0d02 Revert "Revert "Remove non-free skins by Lappi (fixes #2547)""
This reverts commit a7f5627df3.
2020-09-20 02:19:37 +02:00
def a09be98df9 Revert "Revert "Implement on-demand skin downloader (fixes #1166)""
This reverts commit cc2f05b6df.
2020-09-20 02:19:24 +02:00
def cc2f05b6df Revert "Implement on-demand skin downloader (fixes #1166)"
This reverts commit 3cc1e47ec4.
2020-09-20 01:51:23 +02:00
def a7f5627df3 Revert "Remove non-free skins by Lappi (fixes #2547)"
This reverts commit 7b2c71435d.
2020-09-20 01:49:16 +02:00
Rafael Carneiro 85f47fabc0
Merge branch 'master' into master 2020-09-19 03:36:07 +02:00
Rafael Carneiro ce96178f15
Update italian.txt 2020-09-19 02:43:39 +02:00
Rafael Carneiro 843e814dfd
Update italian.txt 2020-09-19 02:42:39 +02:00
def f11679afb2 Implement censoring words on server 2020-09-18 19:18:08 +02:00
def 6481138345 Add Russian update by gerdoe 2020-09-17 22:04:50 +02:00
def 94f307aaaf Update persian.txt too 2020-09-17 21:38:44 +02:00
def 3945ae4a63 Update German translation 2020-09-17 21:20:02 +02:00
def 5e60526c18 Update translations 2020-09-17 21:05:07 +02:00
bors[bot] 77cb30aec4
Merge #2733
2733: Implement on-demand skin downloader, remove Lappi's non-free skins (fixes #1166, fixes #2547) r=Learath2 a=def-

Seems to work on first try, I'm somewhat surprised :D

Future ideas:

- I haven't checked how the performance impact is of a new skin joining,
  might want to move the loading to a separate thread?
- Use the skins from download directory instead of redownloading? Might
  want to compare modified time.
- Make all skins load on demand only to save some memory?

Co-authored-by: def <dennis@felsin9.de>
2020-09-17 13:49:23 +00:00
清歌 75f604b316 Update simplified_chinese.txt
fix translation error and add some translation.
2020-09-15 22:21:00 +02:00
def 7b2c71435d Remove non-free skins by Lappi (fixes #2547) 2020-09-15 22:17:09 +02:00
def 3cc1e47ec4 Implement on-demand skin downloader (fixes #1166)
Seems to work on first try, I'm somewhat surprised :D

Future ideas (not for this change):

- I haven't checked how the performance impact is of a new skin joining,
  might want to move the loading to a separate thread?
- Use the skins from download directory instead of redownloading? Might
  want to compare modified time.
- Make all skins load on demand only to save some memory?
2020-09-15 22:17:08 +02:00
bors[bot] 3b0bb7d777
Merge #2816
2816: Implement context for translations (largely taken from Teeworlds) r=Learath2 a=def-

Missing: scripts/languages doesn't work yet, but the context can be
added manually, see german.txt for an example.

Co-authored-by: def <dennis@felsin9.de>
2020-09-15 17:02:00 +00:00
Jupeyy dc3580d976 0.7 cursor 2020-09-15 16:18:12 +02:00
def 887fa50d7f Update language files 2020-09-15 10:30:49 +02:00
def 7af517009c Implement context for translations (largely taken from Teeworlds)
Missing: scripts/languages doesn't work yet, but the context can be
added manually, see german.txt for an example.
2020-09-15 10:30:49 +02:00
Vlad 35e93df7e0 Update russian translation. 2020-09-14 20:56:43 +03:00
heinrich5991 ffab6292ad
Merge branch 'master' into pr-start 2020-09-11 14:25:50 +02:00
def 2f70de8ef1 Update translation files 2020-09-11 10:00:09 +02:00
bors[bot] 250b241fe3
Merge #2790
2790: Fixes two mapres by mind r=heinrich5991 a=def-

- Two missed dilate
- Two others forgot to delete white text markings

Co-authored-by: def <dennis@felsin9.de>
2020-09-10 21:16:19 +00:00
def 2ca613d982 Back -> Menu 2020-09-10 20:13:01 +02:00
def 59ae288ead Update translations, fill out German 2020-09-10 20:13:01 +02:00
def bb3509466a Add link to Chinese DDNet wiki 2020-09-10 20:13:01 +02:00
def b522bbbb96 Localize the Learn link 2020-09-10 20:13:01 +02:00
def 2cdc7d0faf Adapt 0.7 start menu
- Working Local Server button (needs fixing for Windows)
- Highlight buttons if server is running, new news is out and editor has
  unsaved changes
2020-09-10 20:13:01 +02:00
def 35c711fb84 Fixes two mapres by mind
- Two missed dilate
- Two others forgot to delete white text markings
2020-09-09 18:34:59 +02:00
MikiGamer 4680b2a549
Update bosnian.txt 2020-09-08 13:13:21 +02:00
def 1e9411829e Add generic_unhookable by mind
with redrawn border since some were transparent
2020-09-07 17:46:36 +02:00
bors[bot] cbc272fd5d
Merge #2758 #2769 #2772
2758: Remove the rudimentary fuzzing since no one uses it anyway r=heinrich5991 a=def-



2769: Update front.png by Soreu r=heinrich5991 a=def-



2772: Dont predict camera position on spectator changed r=heinrich5991 a=BannZay

No reason to predict camera position in case when we just changed spectator.
But tbh I have not found a big reason to predict it at all.

Co-authored-by: def <dennis@felsin9.de>
Co-authored-by: Andrii <bannzay3@gmail.com>
2020-09-06 23:25:16 +00:00
bors[bot] e3cfb23f28
Merge #2742 #2745
2742: Add str_utf8_copy that trim broken utf8 sequence at the end. r=heinrich5991 a=TsFreddie

Currently this replaces `str_copy` text input and clipboard paste in chat. Many places may need the same treatments, like steam names.

![image](https://user-images.githubusercontent.com/3797859/92263741-08b8e080-eed5-11ea-84a5-b7f070ded260.png)

Test string:
abcd今天是个好日子心想的事儿都能成今天是个好日子打开了家门咱迎春风今天是个好日子心想的事儿都能成今天是个好日子打开了家门咱迎春风今天是个好日子心想的事儿都能成今天是个好日子打

2745: Update mapres by mind r=heinrich5991 a=def-

Adapted from 0.7 for new renderer. Not sure if this makes sense :D

Co-authored-by: TsFreddie <tsfreddiewang@gmail.com>
Co-authored-by: def <dennis@felsin9.de>
2020-09-06 23:12:04 +00:00
def 5548be0f9f Update front.png by Soreu 2020-09-07 00:03:26 +02:00
Rafael Fontenelle 3f901ad6e5 Update brazilian_portuguese.txt 2020-09-05 19:25:54 -03:00
def f0971f51e0 Update mapres by mind
Adapted from 0.7 for new renderer

I personally can't judge if this makes sense. @Soreu @Jupeyy ?
2020-09-05 12:06:29 +02:00
def bb15031f89 Remove unused translations 2020-09-04 12:11:31 +02:00
trml 4bef0004f2 Update norwegian translation 2020-09-01 01:19:06 +02:00
def ffa955096f Add localization for texture warning, improve wording (fixes #2688) 2020-08-31 13:07:57 +02:00
Dennis Felsing 92616f1a55
Merge pull request #2664 from ddnet/pr-revert-revert
Revert "Revert Jupeyy's OpenGL changes" (fixes #2659)
2020-08-30 10:55:15 +02:00
def 3767eebead Update entities by Soreu (fixes #2652) 2020-08-30 09:39:49 +02:00
bors[bot] a6738d9fd6
Merge #2635
2635: We don't just list countries, but also regions like EU  r=heinrich5991 a=def-



Co-authored-by: def <dennis@felsin9.de>
2020-08-29 10:37:52 +00:00
def e9edca65e9 Update translations for chinese and german 2020-08-29 12:34:59 +02:00
def fa7ed8ceb9 Add new "Country / Region" word to language files 2020-08-29 12:32:08 +02:00
def c85ffb90af Revert "Revert Jupeyy's OpenGL changes"
This reverts commit 3eab3f5eb7.
2020-08-29 12:10:53 +02:00
def 3eab3f5eb7 Revert Jupeyy's OpenGL changes
Emergency-revert for 14.5.1 release, too many problems
2020-08-26 20:03:22 +02:00
Dennis Felsing 5ffcab127f Add back Vanilla maps for compatibility (fixes #2643) 2020-08-25 21:49:33 +02:00
bors[bot] 694db44ee2
Merge #2598
2598: Allow specifying an OpenGL version manually r=def- a=Jupeyy

Ofc don't merge, we'll test it first, and if we want merge it, i'd need to enable shader compability for OpenGL 4+, and general support for OpenGL 3.1 and 3.2(bcs i think they already don't allow some older GL commands).

Also i never really read in the OpenGL 1.x specification, i remember that older OpenGL versions required glBegin and stuff like that

Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2020-08-25 15:35:30 +00:00
Jupeyy a07e9ac2cf Add OpenGL 1.x, 2.x, 3.x support (fixes #2619) (fixes #2607) 2020-08-22 10:22:51 +02:00
Arda Demir 276fcf4ce7 Update turkish language 2020-08-22 01:22:03 +03:00
Dennis Felsing dbb9c662ba
Merge pull request #2617 from Jupeyy/pr_font_fallback
Font fallback
2020-08-20 20:34:48 +02:00
Arda Demir 0437f71507 Update turkish translate 2020-08-20 16:45:51 +03:00
def 178d864ec9 Switch to Source Han Sans font 2020-08-20 13:55:03 +02:00
heinrich5991 dd2662b4b8
Merge branch 'master' into pr-cert 2020-08-20 11:38:59 +02:00
def 446526486d Use two fonts, one as explicit fallback
Merging with fontforge had problems, for example for the Bei (U+5317) in
Beijing, see https://github.com/fontforge/fontforge/issues/4432
2020-08-20 11:13:08 +02:00
bors[bot] f8098ba05c
Merge #2613
2613: Update chinese translation r=def- a=TsFreddie



Co-authored-by: TsFreddie <tsfreddiewang@gmail.com>
2020-08-20 08:27:51 +00:00
TsFreddie 7f5a9726a2 update reviewed strings from Dan_cao 2020-08-20 09:16:00 +01:00
bors[bot] 60b7f8430d
Merge #2611
2611: Add bomb skin (by Ravie) r=heinrich5991 a=def-

License given publicly on Discord

Co-authored-by: def <dennis@felsin9.de>
2020-08-20 00:11:40 +00:00
TsFreddie 8a2009f586 Update chinese translation 2020-08-20 01:07:49 +01:00
def 7c65b89fd2 Add bomb skin (by Ravie)
License given publicly on Discord
2020-08-19 23:06:39 +02:00
MikiGamer 8fd016242a
Update bosnian.txt 2020-08-19 19:07:56 +02:00
MikiGamer c8504982f8
Update bosnian.txt 2020-08-19 18:56:16 +02:00
def c458ee52b0 Remove need for custom certificate
in anticipation of using CloudFlare
2020-08-19 17:54:05 +02:00
bors[bot] 607f5f0014
Merge #2594
2594: Add support for PLATFORM_SUFFIX define, Don't bother Steam users with red update text r=Learath2 a=def-



Co-authored-by: def <dennis@felsin9.de>
2020-08-19 13:33:14 +00:00
Dennis Felsing 924ed78ee4
Merge pull request #2589 from def-/pr-serbian
Update Serbian translation by Kingston
2020-08-19 14:31:19 +02:00
def 1f377469f4 Remove unused translation text 2020-08-19 13:41:52 +02:00
bors[bot] 8b41dca059
Merge #2602
2602: Merge DejaVuSansCJKName with DejavuWenQuanYiMicroHei and use it for all (fixes #2593) r=Learath2 a=def-

allows reading CJK for everyone independent of language chosen.

got them merged with fontforge, finally looks good.

Hopefully the lags are gone.

Co-authored-by: def <dennis@felsin9.de>
2020-08-19 11:35:10 +00:00
def 1394ac0fc4 Merge DejaVuSansCJKName with DejavuWenQuanYiMicroHei and use it for all (fixes #2593)
got them merged with fontforge, finally looks good.

allows reading CJK for everyone independent of language chosen.

Hopefully the lags are gone.
2020-08-19 12:31:55 +02:00
Jupeyy 7450e354de Add OpenGL 4.x support & cleanup 2020-08-19 08:42:09 +02:00
Andrii 34035eb5a8 update ukrainian localization 2020-08-18 23:49:05 +03:00
def 9b1c071396 Update Serbian translation by Kingston 2020-08-18 12:18:19 +02:00
bors[bot] ac1649d13b
Merge #2579 #2588
2579: Ship map_convert_07 executable, allow drag'n'drop and ship Gold Mine map (with sixup version) instead of Kobra 4 and Goo! r=def- a=def-



2588: Add instructions about how to kill and pause game r=def- a=def-



Co-authored-by: def <dennis@felsin9.de>
2020-08-18 08:52:26 +00:00
def 4da0592d78 Replace Kobra 4 and Goo! with Gold Mine
and add maps7 version
2020-08-18 10:47:17 +02:00
def b767564f61 Update German translation 2020-08-18 10:35:41 +02:00
def d2cdfe493b Update translation files 2020-08-18 10:35:34 +02:00
bors[bot] d04dc8a405
Merge #2574
2574: Allow PaladiN skin to use custom colors r=def- a=d3fault

Hey @def- what png optimizer did you use? The ones I tried either didn't get the file as small as yours, or mucked up the transparency :(. Feel free to optimize and push to my branch (but I'm still kinda curious which one you used)

Co-authored-by: d3fault <d3fault@d3fault.net>
2020-08-16 20:45:03 +00:00
d3fault 94d0954620 Allow PaladiN skin to use custom colors 2020-08-15 02:08:14 -07:00
heinrich5991 63c26d25ee Add back skins by Moby Dog 2020-08-14 17:43:19 +02:00
Nyte_BK201 31cbce81df Complete simplified Chinese translation; Fix some translation errors 2020-08-14 14:33:33 +08:00
def 7172305657 Update language files ("Client message")
As noticed by TortiLeq
2020-08-12 11:55:56 +02:00
bors[bot] 3108b51ff1
Merge #2555
2555: Pr chinese translation r=def- a=plsplsplslol

found some problems with chinese translation

Co-authored-by: plsplsplslol <alpootagpro@gmail.com>
2020-08-10 21:34:53 +00:00
plsplsplslol 9787f20e52 fixed translation because the original translator thought that this was supposed to mean a person left the game 2020-08-10 14:20:54 -07:00
plsplsplslol b56cd3f166 removed the s 2020-08-10 14:18:33 -07:00
def d08535684e Move skins license information to its own file 2020-08-10 18:23:31 +02:00
def 7be7160d9b Remove unlicensed skins (fixes #2518)
and mention skin licenses (fixes #2544)

Still missing: Which skin is by btd?
2020-08-09 15:07:08 +02:00
def 802c97a79d Remove IP skin
Apparently that's a pokemon, definitely can't use that one
2020-08-08 13:10:59 +02:00
def 4873536d93 Polish update by TortiLeq 2020-08-02 00:03:22 +02:00
Dennis Felsing 4d496f6774
Polish update by TortiLeq 2020-07-21 23:57:28 +02:00
def 478d7434b2 Persian update by Quick
and regenerate translation files while at it
2020-07-11 23:21:34 +02:00
def 59243c0588 Update French translations (by SunnyPistache & Pipou) 2020-07-10 00:34:17 +02:00
Edgar a5e8fc55fc
fix some spanish translations 2020-07-09 12:45:14 +02:00
bors[bot] 8a3743fa90
Merge #2474 #2476
2474: Remove IP skins r=heinrich5991 a=def-



2476: Use x instead of y in show distance (fixes #2475) r=heinrich5991 a=def-



Co-authored-by: def <dennis@felsin9.de>
2020-07-08 20:39:01 +00:00
def d9c89d4e44 Remove IP skins 2020-07-08 22:04:54 +02:00
def 5eecbeef31 Revert "Update polish 07/07/20"
This reverts commit 8940b81777.
2020-07-08 16:42:59 +02:00
heinrich5991 4e2ea97531 Fix a few inconsistencies in the French translation 2020-07-08 13:31:46 +02:00
heinrich5991 99d02b9a15 Revert "Update french 07/07/20"
This reverts commit 8d4658d112.
2020-07-08 13:18:46 +02:00
FeaRZ 8d4658d112
Update french 07/07/20
Fixed some translations, and what was missing are already translated.

Fix 1: Line 244
Fix 2: Line 241
Fix 3: Line 265
Fix 4: Line 573
Fix 5: Line 585
Fix 6: Line 609
Fix 7: Line 867
Fix 8: Line 942
Fix 9: Line 1050
Fix 10: Line 1071
Fix 11: Line 1209
2020-07-07 17:40:04 -04:00
FeaRZ 133f92c66d
Update spanish 07/07/20
Little changes.

Fix1: Line 866 (V instead of v)
Fix2: Line 869 (O instead of o)
Fix3: Line 1190 (Agarrar)
Fix4: Line 423 ("Apariencia" instead of HUD)
Fix5: Line 252 ("Mensaje del día" instead of MOTD)
2020-07-07 12:10:05 -04:00
FeaRZ 8940b81777
Update polish 07/07/20
Fix1: Finished the last two missing translations.
Fix2: Fixed 1 empty translation.
2020-07-07 11:18:52 -04:00
Edgar 7c984b5c0c
Update catalan translation 2020-07-07 10:58:55 +02:00
def c6a0698805 Add Russian translations by barsik 2020-07-07 09:11:43 +02:00
def 6fce212545 Fix typo in spanish translation 2020-07-07 09:05:13 +02:00
FeaRZ d16b46b496
Finished what was left to translate in Spanish
Translated from line 658 to line 1199. Finished what was left to translate in Spanish.
2020-07-06 23:25:03 -04:00
def 9093e9aca5 Fix polish translation typo (by TortiLeq) 2020-07-05 23:56:05 +02:00
def a451b08e11 Fix hungarian translation typo (by Cellegen) 2020-07-05 23:54:53 +02:00
heinrich5991 6ff3167a6a Add translations by Jeroen and gigi7187 2020-07-03 00:56:47 +02:00
3edcxzaq1 ab3bbc4337 Update Swedish translations 2020-07-01 11:42:49 +02:00
def 00673e53f4 Add hungarian translation by Cellegen (fixes #2428) 2020-06-30 21:43:39 +02:00
def e8feba8afd Lost some polish translations by TortiLeq, restore 2020-06-30 21:38:53 +02:00
def 73dcd08f5d Update German translation 2020-06-30 21:38:15 +02:00
def 9a87068184 Regenerate language files 2020-06-30 21:38:15 +02:00
bors[bot] de8cc79578
Merge #2389
2389: Ignore emoticon of spammy players (fixes #2387) r=heinrich5991 a=def-

Controlled with the regular ignore chat button in players menu

Co-authored-by: def <dennis@felsin9.de>
2020-06-29 12:09:48 +00:00
def cb7a8a3f5e Add gui_icons.png by Ravie 2020-06-28 09:38:39 +02:00
def 6635ce210a Switch order in gui_icons.png, add icon by barsik 2020-06-27 19:44:57 +02:00
def 7d1e67eb44 Fix first lines to start with # 2020-06-27 12:58:55 +02:00
def 7608eb67d6 Ignore emoticon of spammy players (fixes #2387)
Add ignore emoticon button in player menu.
Someone needs to draw the graphic for that.
2020-06-27 01:15:09 +02:00
def 3278002ac7 Remove comments in language files 2020-06-26 23:27:49 +02:00
def a1f9222f50 Add German translation 2020-06-26 18:42:46 +02:00
def d77bf206dc Regenerate language files 2020-06-26 18:38:41 +02:00
def 2d6e56fec8 Translation fixes
- Code didn't work with newlines, get rid of them
- Some stylistic improvements
2020-06-26 18:34:50 +02:00
def 853d312436 Update polish translation by TortiLeq 2020-06-26 13:22:30 +02:00
sven 9d0bae9769 Fix unused translation 2020-06-26 02:49:35 +02:00
sven d6ba7863c8 Update Swedish translations 2020-06-25 18:22:20 +02:00
Nyte_BK201 6d11aeec81 Add 14.0 Simplified-Chinese translation; Edit few translation errors 2020-06-25 07:17:13 +08:00
def f51a443998 Merge remote-tracking branch 'edg-l/pr_show_spec'
Update x_spec with the more minimal version by HiRavie
Fix CMakeLists.txt
2020-06-24 09:55:59 +02:00
Edgar 3f476171f1
change to white and use colors 2020-06-22 18:43:49 +02:00
Edgar f3466e05ba
Show /spec tees with a dashed skin 2020-06-21 17:48:33 +02:00
def c64691db01 Update translation files
With:

  for i in data/languages/*.txt; do scripts/languages/copy_fix.py $i $i.$$.tmp --delete-unused --append-missing && mv $i.$$.tmp $i; done
2020-06-21 01:18:42 +02:00
bors[bot] 98b448ebcc
Merge #2247
2247: Thread safe SQL interaction r=def- a=Zwelf

This PR intends to make the database interaction thread safe and optimizes some SQL queries. This is still a WIP, but since it is a rather big PR I wanted to get feedback early on.

Benefits:

* remove race conditions leading to undefined behavior and potential crashes
* logging game related database results in teehistorian would be possible

Behavior change:

* /top5team prints ranks in reverse order when passing a negative number (like /top5, /top5points)
* Optimize SQL statements for /rank /teamrank /top5 /top5team /points /top5points
* /load without parameters doesn't pass the SQL error to the user (as most other functions)
* Simplify IScore interface
* Add UUID to /save table (update of database schema necessary):
  ```
  ALTER TABLE record_saves ADD SaveID varchar(64);
  ```
* /save immediately kills team and loads it again if the database insert fails.

still TBD:
* [x] saving (team) score when finishing
* [x] loading team save
* [x] loading initial time and birthday check
* [x] /map and random map votes
* [x] RFC: generate a passphrase (2-3 word) if save-code exists or no save-code is given making /save failures much more rare and save-codes more secure
* [x] clean up code (removing now unused structs, ordering of functions in IScore)

Co-authored-by: Zwelf <zwelf@strct.cc>
2020-06-17 19:35:45 +00:00
Zwelf ea31171873 Generate passphrase for save-code
* when none is given
* if the given save-code already exist
* if the database connection fails therefore it can't be checked if the save-code already exists

Using the short word list from eff:
https://www.eff.org/deeplinks/2016/07/new-wordlists-random-passphrases
2020-06-15 11:14:15 +02:00
def 2d0340b1cd Add Entites off sign to front layer (fixes #2261) 2020-06-14 16:01:32 +02:00
MikiGamer 95c419d684 BlockWorlds Entities 2020-05-19 16:49:28 +02:00
Rafael Fontenelle 9652ef46f1
Update brazilian_portuguese.txt 2019-12-18 02:51:47 -03:00
bors[bot] 9b8675b774
Merge #1991
1991: Translate the replay feature to german (+more) r=def- a=ChillerDragon



Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-12-16 13:41:33 +00:00
清歌 72ac1a2cc8
Add/Optimize some simplified Chinese translations 2019-12-16 19:55:35 +08:00
ChillerDragon b36e010aed Translate the replay feature to german (+more) 2019-12-13 16:37:55 +01:00
Dennis Felsing 0498df2508 Update localizations (Thanks to Cellegen for report)
- Remove duplicate laser entries
- Update menus_settings.cpp comment for scripts
- Update instructions for scripts
- Run script to get updated localizations
2019-12-02 09:09:01 +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 36df86fcd2 Add toggle keyboard shortcuts button to demo player
Demo shortcuts can be annoying if you have other binds on them.

Icons made by eNJi
2019-10-05 18:06:58 +02:00
def 6394924210 Replace browse_icons (by MiM) (fixes #1880) 2019-08-04 11:17:18 +02:00
Rafael Fontenelle 55ae5e2376
Update Brazilian Portuguese translation 2019-04-06 16:54:34 -03:00
def cc1ce8699b Update language files
Is this the proper way?

for i in data/languages/*.txt; do scripts/languages/copy_fix.py $i $i.tmp --delete-unused --append-missing --delete-empty && mv $i.tmp $i; done
2019-04-06 15:19:07 +02:00
Dennis Felsing 1b34283001 Switch verified icon to checkmark again (by MiM) 2019-03-22 07:14:30 +01:00
def 0535f31bea Remove unused norank icon from browse_icons.png 2019-03-19 21:54:47 +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 6701000931 Rename Score board to Scoreboard for consistency 2019-03-12 19:00:47 +01:00
def 9452851764 Update Hungarian translations (by Cellegen) 2018-12-24 11:03:21 +01:00
Ryozuki 62dbda204e fix entities clear and remove tele-activator from gametile as it doesn't make sense. 2018-11-04 15:50:56 +01:00
Ryozuki 007eb71d2a new tele-activator tiles (edited by Ravie, based on Sonix work) 2018-11-03 10:26:20 +01:00
Ryozuki c831b5e0c1 change tele-blocker to tele-activator 2018-11-03 10:26:18 +01:00
12pm 5a5dc45368 Update GL and LY flags 2018-10-22 18:31:13 +02:00
Ryozuki 183f335606 Improve teleblocker tile, thanks to Ravie 2018-10-22 18:25:08 +02:00
Dennis Felsing a09fa562be
Merge pull request #1314 from timakro/pr_editor_entities_gametypes
Allow choosing game layer entities for different gametypes, closes #1283
2018-10-07 23:02:20 +02:00
yangfl 6ead5e6f9c Update Chinese translations 2018-10-07 20:49:30 +08:00
Tim Schumacher 3d7ee89104
Add game layer entities images 2018-10-02 23:24:22 +02:00
Tim Schumacher fd52bc7a26
List all game layer entities images in directory 2018-10-02 23:08:17 +02:00
def d92b7ef6b7 newline 2018-08-25 19:40:18 +02:00
def 23874f8ac2 grass_main automapper fix by Ravie 2018-08-25 19:39:30 +02:00
Dennis Felsing 285b6f1ca7
Merge pull request #1222 from heinrich5991/pr_ddnet_langscripts
Move language scripts and make them callable from everywhere
2018-08-09 13:03:54 +02:00
Dennis Felsing eb1b4a8b74 Add back Vanilla maps for compatibility 2018-08-07 08:39:08 +02:00
Jupeyy d7bb03ee19 don't render all border all the time 2018-08-02 18:26:12 +02:00
heinrich5991 3a8cc43e13 Move language scripts to scripts/ 2018-07-25 00:34:02 +02:00
fokkonaut b8b97eb740 added skin prefix (#1218) 2018-07-24 17:26:39 +02:00
Ryozuki 50c84a60f7 add teleport gun/grenade/laser 2018-07-15 10:21:59 +02:00
bors[bot] 861746a641 Merge #1185
1185: Port lang scripts to Python3 r=heinrich5991 a=rffontenelle

Scripts for managing translations are currently available for Python 2. DDNet already uses Python 3, so it make sense IMO to have these scripts using this version as well.

Co-authored-by: Rafael Fontenelle <rafaelff@gnome.org>
2018-07-06 12:14:46 +00:00
Rafael Fontenelle 85a15fe442 Port lang scripts to Python3 2018-07-06 08:39:08 -03:00
Rafael Fontenelle 7697f3072b
Update Brazilian Portuguese translation 2018-07-04 07:38:51 -03:00
Edgar 1a83968df2
remove warning 2018-07-04 09:22:21 +02:00
Edgar 3ca0bd4f69
Update catalan translation 2018-07-04 09:20:19 +02:00
Rafael Fontenelle 099e9faafe Remove duplicated "please translate this" comment lines 2018-07-03 20:12:23 -03:00
Rafael Fontenelle 27a15d491a Update translations 2018-07-03 20:00:31 -03:00
Rafael Fontenelle b67d2247b9 Fix Simplified Chinese
The multiple occurrences of a key string was resulting in failure
when running analyze.py.
2018-07-03 19:53:21 -03:00
ChillerDragon ba842a9672 Add new freeze automap rule 2018-06-29 15:48:52 +02:00
Dennis Felsing bf772769ad Update portuguese.txt (by Rockus) 2018-04-06 10:46:35 +02:00
Dennis Felsing a01939a6f7 Update portuguese.txt (by Rockus) 2018-04-06 07:34:37 +02:00
David-U-Tang db75df4d92 Change the wrong translation of Simplified Chinese
“Manual” here should be translated to “手动” or "手动录制" but not "手册"。
2018-04-03 17:42:07 +03:00
Dennis Felsing ed33557a97
Merge pull request #1081 from Jupeyy/master
New buffer system and text renderer to support buffering of hud, text and map components, that are displayed ingame
2018-04-03 10:12:09 +02:00
Jupeyy e642b14c88 add icon font 2018-03-13 21:43:27 +01:00
Jupeyy 91dcab6645 add new shaders for quads,text and sprites 2018-03-13 21:42:05 +01:00
Jupeyy b911ee9044 calcualte texel offset on CPU not GPU 2018-03-13 21:41:37 +01:00
Ryozuki 1230f4e016 update catalan translation 2018-03-12 19:45:55 +01:00
Emir Marincic 4264652573
Fix UI break on portuguese
This very badly overflows, just "Information" should work fine in this context.
2018-02-22 22:03:20 +01:00
清歌 360e475d74
Change the wrong translation of Chinese
Countries should mean “国家” but not "次数"。
2018-02-04 19:03:53 +08:00
def 151da9af97 Remove Emojis 2018-01-25 20:03:18 +01:00
def 1e5985a4b3 Update portuguese translations by Rockus 2018-01-21 16:50:37 +01:00
Deeper b095c0b864
Update russian.txt 2018-01-20 01:12:11 +03:00
def ae0525a027 Update hungarian translation (by Cellegen) 2018-01-04 20:02:33 +01:00
bors[bot] 27722633a3 Merge #940
940: Put shaders into the data/ directory r=Learath2 a=heinrich5991

Simplifies a lot of things
2017-11-15 23:29:55 +00:00
heinrich5991 a3f544a73e Add missing EOL at end of file to shaders 2017-11-09 11:31:13 +01:00
heinrich5991 17d3f4afa4 Put shaders into the data/ directory
Simplifies a lot of things
2017-11-08 22:19:47 +01:00
Dennis Felsing 445b0de5ec Update German translation (by Stitch626) 2017-11-07 08:01:14 +01:00
bors[bot] 8227a725d4 Merge #932
932: Update German translation (27 Oct 2017 UTC) r=heinrich5991 a=Wuzzy2

Here's my update for the German translation of the client.

I've already ran the `copy_fix` update string thingie. Have fun! :-)
2017-10-31 23:30:35 +00:00
Wuzzy 0614c03db6 Update German translation (27 Oct 2017 UTC) 2017-10-31 14:52:44 +01:00
Michał 085203abe2 Add emoji spritesheet and python list 2017-10-28 09:08:17 +02:00
Dennis Felsing 648452ca60 Update hungarian.txt (by Cellegen) 2017-10-16 15:21:26 +02:00
Dennis Felsing 943decd627 Update hungarian.txt (by Cellegen) 2017-10-16 09:34:07 +02:00
nobody1 0bd51db7cd fng2 entities 2017-09-21 21:19:10 -05:00
def a9b80e8c11 Update to Portuguese translations (by RockuS) 2017-09-21 21:55:58 +02:00
Rafael Fontenelle c93189b61a Update Brazilian Portuguese translation 2017-09-06 09:56:53 -03:00
def 16f3ddc5a7 Show if user has rank on map in browser (+filter)
UI implementation by timakro
2017-08-30 21:34:04 +02:00
Deeper 098c9101cc Update russian.txt
Corrected errors in translation
2017-08-25 14:14:39 +03:00
def e7814635fe Add jungle_midground rules by hi_leute_gll 2017-08-15 17:22:31 +02:00
Tom 549f95c741 update simplified chinese language file 2017-08-01 09:07:49 +08:00
def 8d621dfc00 Add kitty skins (by Ravie + fuzzy ninja by patwo.*) 2017-07-25 00:11:37 +02:00
def 22c3c13828 Turns out we also need Intermediate Certificates... 2017-07-16 22:02:50 +02:00
def c9b871146b Also trust Let's Encrypt Root CA 2017-07-16 11:23:55 +02:00
def a8b2bb599f Update translations and translation scripts (fixes #595) 2017-07-09 09:09:14 +02:00
Dennis Felsing 7f407aa303 Remove useless comment 2017-03-14 08:46:24 +01:00
heinrich5991 609c8db0e4 Merge pull request #618 from necropotame/pr-palestine
Add palestinian flag (completed version)
2017-02-03 12:46:53 +01:00
heinrich5991 6b9178125b Merge pull request #593 from Echchouik/master
Add palestinian flag
2017-02-03 12:46:31 +01:00
necropotame 3c8f6938b7 Add palestinian flag in countryflags index 2017-02-03 11:23:24 +01:00
def 465b61fe92 Use Taiwanese flag for Traditional Chinese 2016-12-16 21:34:21 +01:00
Jhon Doe 9c2c2a329c Add palestinian flag 2016-11-25 14:40:15 +01:00
Dennis Felsing 45ccf033ad Fix german language file a bit 2016-11-15 13:53:46 +01:00
Dennis Felsing 2de9f9c279 Merge pull request #571 from PathosEthosLogos/patch-1
More Korean translations
2016-11-07 10:17:10 +01:00
BannZay e67fc795a5 Russian localization update 2016-11-07 04:59:42 +02:00
Dennis Felsing 40da13695a Add traditional_chinese to index 2016-11-04 08:33:29 +01:00
def 5074355591 Rename traditional_chinese language file, still missing in index 2016-11-03 22:19:57 +01:00
PathosEthosLogos 68a91f3c8d More translations 2016-10-27 16:42:17 -05:00
Dennis Felsing bfd54db3f5 Merge pull request #566 from timakro/pr_brazilian_portuguese_translation_update
Update Brazilian Portuguese translation, closes #564
2016-10-24 14:18:12 +02:00
Tim Schumacher 4f88ba3c34 Update Brazilian Portuguese translation by Rafael Fontenelle, closes #564 2016-10-24 14:14:00 +02:00
Elvis 79361053d4 Create traditional_chinese
Add Traditional Chinese language
2016-10-19 17:57:57 +08:00
Tim Schumacher a5a7451590 Fix clear entities for ddrace gametype 2016-07-18 08:54:30 +02:00
Tim Schumacher d7980b56f0 language scripts can handle windows linebreaks 2016-05-21 02:47:38 +02:00
Tim Schumacher 3eeccc6149 fix some language files 2016-05-21 02:47:25 +02:00
Tim Schumacher 1fa8b8b463 change DoNe to timakro in german.txt 2016-05-21 02:29:43 +02:00
Tim Schumacher c0e3255540 update language scripts readme 2016-05-21 02:03:15 +02:00
def c583e87b90 Update entities (by Soreu) 2016-04-30 20:45:42 +02:00
Tim Schumacher 48cfea16cc better clear entities for all gametypes (by Soreu) 2016-04-30 20:19:55 +02:00
Tim Schumacher 4a22e762ff added entities clear for other gametypes 2016-04-29 19:29:19 +02:00
def 67bff95a72 Merge remote-tracking branch 'timakro/new_hookthrough' 2016-04-27 18:59:51 +02:00
def 11a07f2c69 Merge branch 'master' of https://github.com/timakro/ddnet into timakro-master 2016-04-27 16:11:14 +02:00
Dennis Felsing b3ffc947e1 Merge pull request #426 from gamertyp/master
Updated rules for latest automapper
2016-04-27 15:53:09 +02:00
def 7d63db2f44 fix permissions 2016-04-27 02:18:46 +02:00
def 847b6f3b96 Optimize PNGs 2016-04-27 01:27:57 +02:00
def 5294a834a2 Add Persian language by OneShadow (not perfect yet) 2016-03-27 14:10:59 +02:00
gamertyp 02a8b899c8 Updated rules for latest automapper 2016-03-10 22:26:59 +01:00
def ce7eb0aac1 Add UNLOCK_TEAM tile (someone draw a tile please) 2016-03-07 18:04:59 +01:00
heinrich5991 e8be975f5b Merge pull request #417 from awaysoft/add_simplified_chinese_support
Add font support for chinese, japanese, korean.
2016-03-03 16:48:28 +01:00
Tim Schumacher 6e7dbec76e made fading border in menu more customizeable 2016-02-16 17:04:46 +01:00
Ryozuki 688d42fc93 improved more the catalan translation 2016-02-14 01:21:10 +01:00
Tim Schumacher efdb5ccb5f update template entities for shortcut 2016-02-09 16:25:44 +01:00
Tom 96510284e3 Add font support for chinese, japanese, korean.
Added some character to DejaVuSans Font, so Language List can show CJK names.
Modify code to let ddnet choose DejavuWenQuanYiMicroHei when user choose CJK language, this font is merge from Dejavu and WenQuanYiMicroHei.
2016-02-06 00:13:57 +08:00
Tom 39ba4aef6c Modify Simplified Chinese Language File 2016-02-05 22:52:57 +08:00
timgame a6a4187fb1 add new hookthrough and hookblocker 2015-11-12 19:46:27 +01:00
timgame 988a8f591a remove colflags 2015-11-08 10:20:10 +01:00
def 37812d95c5 Use map config in Kobra 4 2015-08-27 14:07:11 +02:00
def 6a010bc09c Dilated countryflags for XCA and XEU (by Soreu) 2015-08-26 15:42:53 +02:00
def e0d61a4847 Fix Catalan translation file 2015-08-26 15:33:26 +02:00
def d673aa0c67 Updated jungle_main.rules (by hi_leute_gll) 2015-08-25 19:49:36 +02:00
def 8d7cd79d14 Update Goo! map 2015-08-15 19:38:36 +02:00
def 30ff1ce9c0 Add Goo! map 2015-08-12 13:44:28 +02:00
def 7cc3fde633 Ooops, restore good Kobra 4 map and cfg 2015-08-12 13:23:58 +02:00
def e3f346adba Fix flag for Catala language 2015-08-10 16:11:00 +02:00
def e310af1501 Fix Catalan translation (by Ryozuki) 2015-08-10 15:40:37 +02:00
def 94f35d6f6e Don't ignore clan of friends by default anymore 2015-08-10 15:19:11 +02:00
def fb0a33846c Add XCA and XEU flags 2015-08-07 18:53:18 +02:00
def 2d532f53d6 Fix desert_mountains_new_foreground (by hi_leute_gll) 2015-08-07 02:43:39 +02:00
def 348ac53226 Bind chat on enter/return by default as well 2015-08-05 15:34:08 +02:00
def cbd3eddc9e Ship Kobra 4 instead 2015-08-03 20:07:45 +02:00
def 526d324af4 Don't ship old maps we don't need 2015-08-03 20:07:24 +02:00
timgame 5162bd0f18 added diagonal corners automapper 2015-07-28 16:51:55 +02:00
timgame af2b43ccb2 added round corners automapper by hi_leute_gll 2015-07-28 16:39:47 +02:00
timgame 2244fc65a5 generic_clear.rules automapper by hi_leute_gll 2015-07-28 14:18:14 +02:00
timgame ea035175b3 added basic_freeze.rules automapper 2015-07-28 01:57:06 +02:00
timgame b7b7b14ecf tiny ddmax_freeze.rules "fix" 2015-07-28 01:56:10 +02:00
def 7b713576b8 desert_mountains_new_forground.png => desert_mountains_new_foreground.png 2015-07-15 01:37:54 +02:00
def ea9e1dba8c grass_doodas_0.7.png => grass_doodads_0.7.png 2015-07-15 01:25:10 +02:00
def 2247086d9e Add basic_freeze mapres by Savander 2015-07-13 19:51:29 +02:00
def b1ac1430e9 Also rename automapper rules from - to _ 2015-07-13 19:06:48 +02:00
def 528897d3e2 Rename mapres to use _ instead of - 2015-07-13 16:19:18 +02:00
def a8e5a2a51f Add more mapres: desert_background, desert_mountains_new_background, desert_mountains_new_foreground, snow_mountain, generic_clear 2015-07-13 16:15:08 +02:00
def 7ff964aa0b Add mixed-tiles by Soreu 2015-07-13 16:03:26 +02:00