bors[bot]
da62510a2d
Merge #2840
...
2840: [Idea] Add some decent hover effects and colors r=def- a=Jupeyy
Generally, would be nice to have very decent hover effects and decent colors.
I just tried for fun adding hover effects to menu tabs(red for the quit button),
hover effects for the server browser items
and color for search/exclude
I'm not an artist, it doesnt look good, if someone wants to overtake, he/she would be very welcome todo so
![image](https://user-images.githubusercontent.com/6654924/93282252-44ee1a00-f7ce-11ea-8b16-5d563610c9ce.png )
![image](https://user-images.githubusercontent.com/6654924/93282271-50d9dc00-f7ce-11ea-89cf-8f1e38b4a6b7.png )
![screenshot_2020-09-16_03-38-40](https://user-images.githubusercontent.com/6654924/93282288-57685380-f7ce-11ea-8cbe-3f04f8d89bc4.png )
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2020-09-17 14:19:22 +00:00
Jupeyy
1fe09f496c
Add some decent hover effects and colors
2020-09-17 15:47:13 +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
Jupeyy
3eea399d37
Rename quality texture and compressed texture, because they should not be used
2020-09-14 21:34:56 +02:00
def
f7b37eaf6a
clang-format fixes
2020-09-10 20:16:09 +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
Jupeyy
93a86f265f
Disabling OpenGL 3.3 in settings tab should reset the OpenGL version to the configs default 3.0
2020-09-02 07:53:03 +02:00
def
9dc6a1c1c2
Remove Quality Textures & Texture Compression from graphics menu ( fixes #2676 )
...
Since people just randomly click it and then complain about bad looking
graphics
2020-08-31 13:25:16 +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
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
63c782bb46
We don't just list countries, but also regions like EU
2020-08-29 12:31:17 +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
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
heinrich5991
bfe7b3cbeb
Use player name prefixed with "[D] " for the dummy name
2020-08-25 16:22:03 +02:00
heinrich5991
5d83e9177f
Use player name from the Steam API as fallback
...
Fixes #2605 .
2020-08-25 16:21:58 +02:00
def
a388b709d6
Generalize loading fallback fonts
2020-08-20 19:48:08 +02:00
Jupeyy
c2ce132ba3
Allow specifying an OpenGL version manually
2020-08-19 07:04:54 +02:00
bors[bot]
026ac99895
Merge #2543
...
2543: Remove unlicensed skins (fixes #2518 ) r=heinrich5991 a=def-
Co-authored-by: def <dennis@felsin9.de>
2020-08-09 23:23:40 +00: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
20eb5a5d86
Add Client message color option in HUD setting
...
As requested by reo
2020-08-05 12:39:13 +02:00
Fireball
ab9b96ddb2
Backported fix for Text() incorrect parameter type (int -> float)
...
The original fix was done by @oy for 0.7.4.
2020-07-15 20:49:14 +01:00
Fireball
b1c17c3248
Backported fix for TextWidth() parameter mix-up
...
Fixes #2511 (Stack-buffer-overflows in some UIs).
The original fix was done by @oy for 0.7.4.
2020-07-15 20:48:29 +01:00
def
edba33be33
Add Show others (own team only) menu setting
2020-06-30 21:38:14 +02:00
def
4e5912909b
Improve & fix
2020-06-27 19:40:04 +02:00
def
50af2a8ed6
Show number in color scrollbars
...
As suggested by Lady Saavik
2020-06-27 15:08:50 +02:00
def
d147c1c7f5
Cleanup color scrollbars in menus
2020-06-27 15:08:35 +02:00
Learath
75e96aa5d3
Get rid of more magic constants, adapt to 0.7
2020-06-19 21:48:48 +03:00
Learath
d200ef0bb0
Remove ugly hack
2020-06-19 21:42:19 +03:00
Learath
388d792205
Add an option for highdpi
2020-04-07 23:47:15 +03: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
bors[bot]
33d88f647c
Merge #1974
...
1974: more typesafty in the graphics. introduced the IGraphics::CTextureHandle r=def- a=ChillerDragon
Edited by @ChillerDragon to fit in ddnet
(cherry picked from commit cb95e8dfe8
)
Co-authored-by: Magnus Auvinen <magnus.auvinen@gmail.com>
2019-11-27 17:55:45 +00: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
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
ChillerDragon
0f76c89d8a
Save selected UI settings page
...
Inspired by @SushiTee's teeworlds commit:
65cc8f7fd9
2019-11-17 18:11:33 +01:00
12pm
bc62167131
Add show text entities button to settings
...
Fixes #1897
2019-10-02 13:57:39 +02:00
bors[bot]
ebeeace65e
Merge #1841
...
1841: Restart required message when changing Show console r=heinrich5991 a=fokkonaut
Co-authored-by: fokkonaut <35420825+fokkonaut@users.noreply.github.com>
2019-07-19 00:16:01 +00:00
fokkonaut
3edaf4b8cd
Style fixes
2019-07-19 02:06:33 +02:00
fokkonaut
78f52629e4
fix build
2019-07-19 01:58:49 +02:00
fokkonaut
07089be2e0
Restart required message when changing Show console
2019-07-19 01:53:27 +02:00
ChillerDragon
573c46013d
Consitently mark floats as floats
2019-07-08 23:06:26 +02:00
Learath2
1993989067
Fix toggle not working with colors
2019-07-02 14:54:06 +02:00
Dennis Felsing
0d9952b32a
Merge pull request #1748 from archimede67/pr_replays
...
Replay system (demo after-the-fact)
2019-06-11 18:13:26 +02:00
archimede67
929bf57bf6
infinite length and a lot of changes including notifications are now chat messages
2019-06-05 19:17:55 +02:00
Corantin H
2e27a22927
typo + added an optional argument to save_replay + changed max replay length and fixed cl_notification_time values
2019-06-02 15:34:01 +02:00
Corantin H
bf435e8b72
coding style + added cl_notification_time
2019-05-23 23:17:12 +02:00
Corantin H
858a85e7b5
fixed some typo errors, fixed code style and added a slider setting to set the replay length
2019-05-21 23:59:57 +02:00
Corantin H
857656e8db
Implemented a small notification system, fixed some problems with removing tmp files and update the recorder status when checking/unchecking the setting "Enable replays".
2019-05-21 17:21:53 +02:00
Corantin H
ac4d7085c5
Switched to a proper new recorder instead of using the auto one
2019-05-21 12:49:19 +02:00
Corantin H
817bdaf9cd
initial work on a replay system
2019-05-20 23:55:40 +02:00
Learath
0d39eb128d
Use unsigned integers for colors
2019-05-15 18:05:19 +02:00
12pm
ea324592c6
Change col to color in variable names
2019-05-10 23:34:21 +02:00
Learath2
08e19e60f4
UI ID's need to be unique
2019-05-10 23:15:14 +02:00
Learath2
06fc970ea1
Render the correct skin in the selector
2019-05-10 01:00:24 +02:00
Learath
ca888c56a2
Lighten when rendering the teeselector aswell
2019-05-01 22:49:52 +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]
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
66c89eafb2
Allow binding with modifiers in settings
2019-04-28 20:22:19 +03:00
Learath
6b815b2375
Work on compound binds
2019-04-28 16:32:49 +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
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
e637064a68
Don't store HSL separately
2019-04-25 19:49:27 +03:00
Learath
cc36af73be
Cleanup colors
2019-04-24 23:53:26 +03:00
def
94f3d97ddf
Remove unmaintained Android code ( fixes #1575 )
2019-04-10 19:40:50 +02: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
def
9e25f4c113
Move out common font loading into method
2019-03-28 21:51:42 +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
jupeyy
619a33a7d5
text kerning fix, add new text render flags for accurate positioning
2019-01-06 06:42:57 +01:00
def
4217d5d536
Fix 5:4/4:3 skin prefix setting display
2018-12-23 22:58:41 +01:00
Shengyu Zhang
464ef9e74b
Fix crash when auto update is off
...
Since 2696ac134c
, whether to include auto
update related code should only control by macro CONF_AUTOUPDATE.
This commit should fix #1374
2018-12-05 01:06:52 +08:00
Dennis Felsing
a2e3496005
Merge pull request #1220 from heinrich5991/pr_ddnet_ui_skinprefix
...
Add some UI for the skin prefix stuff
2018-09-20 08:41:20 +02:00
heinrich5991
08b885dbbb
Just render the skin prefix suggestions line by line
...
For three items, it's not worthwhile to put two of them in the same
line.
2018-09-20 07:50:17 +02:00
heinrich5991
13e3872dca
Add clear button to skin prefix edit box
2018-09-20 07:48:14 +02:00
heinrich5991
9ff8b6e2df
Factor out clear button from four different places
2018-09-20 07:43:05 +02:00
fokkonaut
63f2a091b6
vanilla skins only list now only shows vanilla skins
2018-07-25 14:13:07 +02:00
heinrich5991
6b1a037415
Add some UI for the skin prefix stuff
...
This displays four buttons below the edit box, one for resetting the
skin prefix, and the other three for activating the shipped variants
"kitty", "coala", "santa".
The "none" string is translatable, the variants names are not because
they correspond to file names.
2018-07-25 08:16:57 +02:00
Bojidar Marinov
d08f03fecf
Changing vanila skins option no longer requires restart
...
Fixes #1216
2018-07-24 19:56:09 +03:00
fokkonaut
b8b97eb740
added skin prefix ( #1218 )
2018-07-24 17:26:39 +02:00
ChillerDragon
0ebf7b614d
Oop! forgot one
2018-07-06 11:37:33 +02:00
ChillerDragon
4e9eac432c
Better button id for dummy settings (thanks to deen)
2018-07-06 11:24:57 +02:00
ChillerDragon
e31f53f651
Fix ui for low mousesens
2018-05-01 17:51:36 +02:00
Jupeyy
c7114e734c
more ui text positioning fixes
2018-04-04 02:40:30 +02:00
Jupeyy
c1a962b870
add ui fixes to work with new text renderer
2018-03-13 21:59:07 +01:00
Jupeyy
ced0ea3f82
set the gfx refresh rate limit higher for the console
2018-03-02 03:29:02 +01:00
Learath
20cac1c2bb
Fix dyncam confusion. Closes #783
...
Remove "vanilla" dyncam toggle.
2018-02-22 20:40:14 +01:00
Learath2
8cfebaa0b2
Fix #1031
2018-02-13 03:45:43 +01:00
def
151da9af97
Remove Emojis
2018-01-25 20:03:18 +01:00
def
4682eaff56
Add option to turn off emojis ( fixes #936 ) and add options in settings menu
2018-01-13 10:37:24 +01:00
Savander
b2b82eb3dd
Localize friend message
2017-10-28 01:21:32 +02:00
def
cb00a294b8
Enable gfx_opengl3 by default
2017-10-20 22:52:38 +02:00
def
02aeae416b
Infinity = no limit
2017-10-20 22:47:59 +02:00
Jupeyy
1814fa8d19
make OpenGL 3.3 experimental option, and don't initialize it as default
2017-10-10 15:35:20 +02:00
def
c2c453bd45
Make sending name to info.ddnet.tw optional, show dialog at start and some minor fixes
2017-09-07 20:51:46 +02:00
def
278c1ee198
Add Toggle ghost control ( fixes #823 )
2017-09-03 19:23:59 +02:00
def
89ed22e8d8
Introduce ddnet-info.json
...
- Single json file containing all information for the client
- Fetched from https://info.ddnet.tw/info?name=deen
- Replaces versionsrv, news, ddnet-maps.json and ddnet-ranks.json
- Servers are sorted by most popular ones for respective player
- Always stays < 100 ms response time, compared to occasional 50 s for
old ddnet-ranks.json
2017-09-03 17:42:04 +02:00
def
0b5dcdc478
Disable vsync by default and warn about possible delay
2017-08-08 19:53:16 +02:00
def
379f060126
Version 10.7.1
2017-07-25 19:09:05 +02:00
def
8d621dfc00
Add kitty skins (by Ravie + fuzzy ninja by patwo.*)
2017-07-25 00:11:37 +02:00
def
a9498b15cb
Fat skins
2017-07-25 00:11:37 +02:00
def
bcec0f1bb1
ctrl-f to search, ctrl-x to exclude, ctrl-r to reason
2017-07-24 18:05:19 +02:00
def
ec885f3e25
Fix layout
2017-07-22 22:43:20 +02:00
def
f09a0f640f
Fix mouse sensitivity setting dialog and introduce new one for ui mouse sens (#fixes 804)
2017-07-22 22:31:14 +02:00
def
d50b39c530
Fix controls rectangle overlapping topbar and being clickable outside of scope
2017-07-22 17:35:30 +02:00
def
2d68aed009
More settings in controls menu. use listbox ( fixes #802 )
2017-07-22 13:41:18 +02:00
def
66f6f16e81
Windows DPI fixes #2
2017-07-09 09:44:07 +02:00
def
e4b3c17829
Add option to disable long pain sound (used when shooting in freeze)
2017-06-06 18:58:23 +02:00
def
8553ed727b
Replace cl_cpu_throttle with cl_refresh_rate
2017-06-02 21:33:45 +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
SheikhZayx
ea0e4948b4
CSV file instead of statboard screenshot
...
En-/Disable statboard being saved as csv
2017-04-26 05:10:31 +02:00
Learath2
55c5c3eac6
Properly calculate the width. Fixes #699
2017-03-22 12:10:22 +01:00
Learath2
9919173ceb
Just color the heart preserving team information. Fixes #606
2017-03-10 18:49:39 +01:00
Dennis Felsing
761c3c9be1
Merge pull request #646 from heinrich5991/pr_ddnet_brace_style
...
Fix the brace style in some places
2017-03-09 13:31:21 +01:00
Learath2
5317be824e
Fix coloring of team chat. Fixes #648
2017-03-06 10:24:00 +01:00
heinrich5991
ba5af42b1f
Fix the brace style in some places
2017-03-04 15:43:49 +01:00
Learath2
fa22425f26
Add a checkbox to disable friend heart
2017-02-27 23:56:22 +03:00
Learath2
c76849c51a
Add sliders for friend chat color
2017-02-27 23:39:06 +03:00
Learath2
3b2d707f31
Add a second page to HUD page
2017-02-27 23:38:24 +03:00
heinrich5991
fce9ec6cda
Replace UI elements for the timeout code
...
Now you can regenerate your timeout seed with the click of a button.
2016-10-03 13:56:15 +02:00
H-M-H
b648b530d5
Merge branch 'master' into sqlmasters
2016-05-20 23:40:29 +02:00
def
695bf346ac
Make gfx_refresh_rate functional ( fixes #255 )
2016-05-10 17:43:27 +02:00
def
f3a4069867
Set gfx_highdpi to 0 as default (needs someone to fix it on Win >= 8.1 and Mac)
2016-05-08 19:40:53 +02:00
def
9bd30ce447
Make high-dpi screen support optional
2016-05-07 17:47:05 +02:00
def
25fda2751c
Fix "vanilla skins only" setting in menu
2016-05-07 15:59:58 +02:00
def
c325b08087
Add inp_mouseold for warped mouse input
2016-05-07 15:59:13 +02:00
H-M-H
e351080dd3
removed double semicolons
2016-05-04 00:24:54 +02:00
def
13143eac23
Reconnect for timeout instead of bans, some simplification
2016-05-01 11:12:07 +02:00
def
4761608329
Input fixes from TW master for mouse wheel
2016-04-30 20:11:26 +02:00
def
1446adee2c
Window resizing only with X11 (not on Windows and Mac OS X)
2016-04-30 19:19:19 +02:00
def
644fec7e55
Resize window without restarting client
2016-04-30 17:59:58 +02:00
def
7a5b79e48a
More SDL2 graphics goodness, partially from TW master
2016-04-30 00:43:11 +02:00
def
354696afb7
switch between fullscreen and windowed mode without restarting the client (by oy)
2016-04-29 21:56:38 +02:00
def
db8a126315
Merge swick's SDL2 branch
2016-04-29 21:55:48 +02: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
Tom
ff1c6705d6
fix compile warning
2016-03-03 23:40:19 +08:00
Tim Schumacher
9e6e062793
added cl_skin_filter_string for skin quick search
2016-02-14 19:51:49 +01:00
Tom
26a1a9f331
replace strstr to str_find
2016-02-13 18:51:21 +08:00
Tim Schumacher
94f3da4a47
removed localize for search symbol
2016-02-12 21:31:58 +01:00
Tim Schumacher
438720959b
added quick search for skin selection
2016-02-12 18:52:10 +01:00
Tom
7f95961078
fix a compile problem in linux
2016-02-06 00:38:19 +08: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
Henningstone
6fa6190f84
Fix menus music playing ingame, closes #349
2015-10-16 19:31:01 +02:00
def
24f973613a
Fix menu
2015-09-26 01:15:08 +02:00
def
ed49e3214a
Some more minor settings menu fixes
2015-08-28 20:44:07 +02:00
def
ecc9cbfe99
Fix background map in settings in 5:4 resolution
2015-08-28 20:26:39 +02:00
def
ecfa185601
Fix settings positioning
2015-08-28 01:18:45 +02:00
def
8c0febdd41
Another dyncam fix
2015-08-27 21:56:41 +02:00