def
653c7715a5
Add readability-avoid-const-params-in-decls
2022-01-22 13:44:22 +01:00
bors[bot]
390e54f627
Merge #4625
...
4625: Use ETextAlignment enum for UI r=def- a=ChillerDragon
Replaces the magic numbers -1/0/1 for left/center/right
Based on the work done in upstream:
`@cinaera` added alignment enums
04ee8b20a1
`@TsFreddie` renamed them
67651e8122
## Checklist
- [x] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test if it works standalone, system.c especially
- [ ] Considered possible null pointers and out of bounds array indexing
- [ ] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck ) (optional)
Co-authored-by: ChillerDragon <ChillerDragon@gmail.com>
2022-01-21 15:39:36 +00:00
ChillerDragon
b770bc6988
Use ETextAlignment enum for UI
...
Replaces the magic numbers -1/0/1 for left/center/right
Based on the work done in upstream:
@cinaera added alignment enums
04ee8b20a1
@TsFreddie renamed them
67651e8122
2022-01-21 16:26:19 +01:00
ChillerDragon
e4be3f5241
Shutdown components
2022-01-20 12:20:29 +01:00
Robert Müller
2fe5464938
remove delegate functions in CMenus, fix variable names
2021-12-03 20:26:26 +01:00
Robert Müller
f334b52d94
use UIEx() consistently
2021-12-03 20:26:26 +01:00
Robert Müller
af82a20374
move ms_FontmodHeight to CUI
2021-12-03 20:26:25 +01:00
Robert Müller
053981ee4c
refactor UI scrollbars
2021-11-26 23:03:45 +01:00
Robert Müller
12699aa3e4
add functions for packing/unpacking int/unsigned using char arrays
2021-11-09 22:19:32 +01:00
Jupeyy
0d17665137
Revert "Add new mouse state"
...
This reverts commit e4cb348db2
.
2021-10-23 13:48:21 +02:00
Jupeyy
e4cb348db2
Add new mouse state
2021-10-07 16:48:25 +02:00
Jupeyy
1e07a00c3b
Refactor CUIElements
2021-09-14 00:21:20 +02:00
ChillerDragon
3eb3dcd48b
Make use of IO_MAX_PATH_LENGTH
...
Inspired by
0a7d0fee7c
2021-09-13 12:14:50 +02:00
Robert Müller
4a375242c5
fix fs_listdir and fs_listdir_fileinfo with unicode on windows
2021-08-23 12:49:15 +02:00
bors[bot]
b98263bfdb
Merge #3952
...
3952: Remove global components and global gameclient instance r=heinrich5991 a=Jupeyy
Prevents global constructors/destructors and is a bit of cleanup
would also fix the issue from #3948
## Checklist
- [x] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test if it works standalone, system.c especially
- [ ] Considered possible null pointers and out of bounds array indexing
- [ ] Changed no physics that affect existing maps
- [x] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck ) (optional)
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2021-07-25 09:49:08 +00:00
Jupeyy
8451775821
Make components member of CGameClient
2021-07-12 12:07:31 +02:00
Jupeyy
f67a0055e7
Remove unused m_LastInput
2021-07-11 17:41:22 +02:00
def
2cb3c575f5
Merge master into pr_use_cpp
2021-07-04 16:09:20 +02:00
Sefa Eyeoglu
801ebbd161
fix: switch servers after player confirms
...
When a player wants to switch servers in-game, but needs to confirm the
action because of cl_confirm_disconnect, the game used to not actually
connect to the new server.
This adds a way to still connect to that server, after the player
confirms.
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2021-06-26 14:29:06 +02:00
Jupeyy
a663799188
uint64 -> uint64_t, int64 -> int64_t
2021-06-24 17:19:17 +02:00
Jupeyy
b7adc5a690
Add UI Ex class to share common ui implementations
...
between menus and editor for example
2021-05-26 15:02:33 +02:00
Jupeyy
26880ba05e
Implement HSL sliders
2021-05-03 22:54:29 +02:00
Jupeyy
0012e72d34
Add console chain for assets, reload current asset on reload button click
2021-04-11 14:34:08 +02:00
Jupeyy
75cdd8042c
Fix out of list clip clickable/hoverable items
2021-04-01 16:48:38 +02:00
Jupeyy
f0160b5313
Differenciate better between window modes
2021-03-30 10:07:41 +02:00
def
9f58b0f608
Set search field active when opening vote menu ingame
...
As suggested by RafaelFF
2021-03-14 19:57:23 +01:00
def
fc75e95e35
Merge branch 'master' into pr_color_picker
2020-12-18 19:13:51 +01:00
Дядя Женя
9d77b8f716
Discard unnesaccery changes
2020-12-16 07:59:45 +03:00
Дядя Женя
f4b8033056
Fixes
2020-12-16 07:55:41 +03:00
Дядя Женя
d80cdd20d4
Fix merge conflicts
2020-12-14 22:18:00 +03:00
Дядя Женя
ebee286f00
Another attempt to fix Lin & Mac build
2020-12-14 04:49:24 +03:00
Дядя Женя
77f84ac831
Ready
2020-12-14 03:51:31 +03:00
Дядя Женя
9b4dfc142a
Merge branch 'master' into pr_color_picker
...
# Conflicts:
# src/game/client/components/chat.h
# src/game/client/components/menus_settings.cpp
2020-12-13 20:40:33 +03:00
Дядя Женя
e234776de2
Merge branch 'master' into pr_animations_hud
2020-12-13 20:34:53 +03:00
def
81bb7e661c
Improve list box behaviour, make it more consistent
...
Make keys work after searching in vote menu
Unify some duplicated code
2020-11-13 08:03:34 +01:00
bors[bot]
54b970b68b
Merge #3180
...
3180: Warn new players about name with points (fixes #3178 ) r=heinrich5991 a=def-
![screenshot-20201023@233252](https://user-images.githubusercontent.com/2335377/97056097-73f36a80-1588-11eb-8a43-dd42e4ef6e7d.png )
## Checklist
- [x] Tested the change ingame
- [x] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test if it works standalone, system.c especially
- [x] Considered possible null pointers and out of bounds array indexing
- [x] Changed no physics that affect existing maps
- [x] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck ) (optional)
Co-authored-by: def <dennis@felsin9.de>
2020-11-02 20:34:49 +00:00
Дядя Женя
119625d1c3
Merge branch 'master' into pr_animations_hud
2020-10-31 01:48:52 +03:00
Дядя Женя
0f0e0caab9
ColorPicker
2020-10-30 00:39:07 +03:00
Дядя Женя
94e227c8c3
Color picker: Settings UI + Picker Logic, Editboxes left
2020-10-29 03:55:01 +03:00
Дядя Женя
e817a179da
Started making color picker
2020-10-28 05:59:50 +03:00
Дядя Женя
9b3d9965fb
More UI Animation settings, more tabs animated
2020-10-26 05:48:05 +03:00
Дядя Женя
c02086a689
Fixes
2020-10-26 04:43:34 +03:00
Дядя Женя
e40539c9fd
Settings Tabs Animations
2020-10-26 04:10:55 +03:00
def
b83b4c8e33
Warn new players about name with points ( fixes #3178 )
2020-10-23 23:37:49 +02:00
Jupeyy
74515d4b95
UI Elements
2020-10-19 23:52:29 +02:00
bors[bot]
cf6ace1744
Merge #3022
...
3022: Text alignment r=def- a=Jupeyy
i think the round borders create a bit of optical illusion, e.g. the "V" in edtior is only 1 pixel of, but looks like its completly left xd
i checked at few resolutions with gimp and only saw around 1 pixel margin of error, but go ahead and test yourself :D
Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2020-10-09 14:31:25 +00:00
Jupeyy
52911e4302
Use std::sort instead of bubble_sort
2020-10-08 08:00:01 +02:00
Jupeyy
5ebabe2ece
Text alignment
2020-10-07 04:44:35 +02:00
def
10355851ca
Need to send info when updating skin in text field
...
As reported by abcqwerty on Discord
2020-09-29 22:58:09 +02:00
Jupeyy
0e71a47708
Add customization
2020-09-28 23:21:32 +02:00
def
3be8a592e5
Run clang-format
...
Purely automatic change. In case of conflict with this change, apply the
other change and rerun the formatting to restore it:
$ python scripts/fix_style.py
2020-09-26 21:50:15 +02:00
Jupeyy
8235df7752
Add menu background map
2020-09-23 23:38:28 +02:00
def
46b21020be
Kill server on quit
...
As suggested by Ryozuki
2020-09-18 00:30:31 +02:00
Jupeyy
1fe09f496c
Add some decent hover effects and colors
2020-09-17 15:47:13 +02:00
def
f7b37eaf6a
clang-format fixes
2020-09-10 20:16:09 +02:00
def
90f3199d98
Implement opening server on Windows (reading autoexec_server.log not working yet)
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
Jupeyy
b1e98b598b
Show warnings with non divisible by 16 textures(3D/2D array textures)
2020-08-29 17:04:30 +02:00
def
d147c1c7f5
Cleanup color scrollbars in menus
2020-06-27 15:08:35 +02:00
ChillerDragon
9e0f6d2ce0
Move global configuration out of client interface
2020-02-19 11:24:58 +01:00
sirius
7710b88670
Merge branch 'master' of https://github.com/ddnet/ddnet into demo_render2
2020-01-01 18:36:49 +08:00
Dennis Felsing
4171e8751f
Merge pull request #1939 from Learath2/dd_pr_demoload
...
Always try extracting map before fail. Fix #1886
2019-12-17 21:20:10 +01: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
0f76c89d8a
Save selected UI settings page
...
Inspired by @SushiTee's teeworlds commit:
65cc8f7fd9
2019-11-17 18:11:33 +01:00
Learath
7cdd050fee
Add SHA to demos. Bump Demo Version
2019-10-14 02:27:08 +02:00
sirius
605da124d4
add button to adjust render speed
2019-09-30 20:54:42 +08:00
sirius
14ed79972b
check if video exist when render
2019-09-30 20:52:25 +08:00
sirius
1375fbb95d
add a button to render whole demo
2019-09-30 20:52:24 +08:00
fokkonaut
07089be2e0
Restart required message when changing Show console
2019-07-19 01:53:27 +02:00
bors[bot]
a2f44299e0
Merge #1678
...
1678: Handle colors in console r=def- a=Learath2
DEPENDS: #1654
A better way to fix #1581 possibly deprecates #1597
Co-authored-by: Learath <learath2@gmail.com>
2019-04-30 19:39:56 +00:00
Learath
66c89eafb2
Allow binding with modifiers in settings
2019-04-28 20:22:19 +03:00
Learath
15058330fa
Don't inherit from vector, more cleanup
2019-04-27 00:47:34 +03:00
def
c0d3f5fa57
Actually disconnect dummy after confirmation ( fixes #1555 )
2019-03-30 16:59:25 +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
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
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
heinrich5991
9ff8b6e2df
Factor out clear button from four different places
2018-09-20 07:43:05 +02:00
Learath2
8cfebaa0b2
Fix #1031
2018-02-13 03:45:43 +01:00
Redix
4c8c546c35
Improved ghost start accuracy
2017-09-28 16:01:59 +02:00
Redix
5b3e9e4bbf
Improved ghost file management
2017-09-28 16:01:58 +02:00
Redix
5cc0d16029
Reworked the race recorder
2017-09-28 16:01:57 +02:00
Redix
4f57b33524
Use static array for active ghosts
...
Improve ghost file handling
2017-09-28 16:01:56 +02:00
Redix
affa3faeec
Only use integers for ghost and race demo handling
...
Ghosts still use floats internally
2017-08-31 03:22:08 +02:00
def
d50b39c530
Fix controls rectangle overlapping topbar and being clickable outside of scope
2017-07-22 17:35:30 +02:00
heinrich5991
e3f2316106
Revert "Revert "Refactor dummy input and demo filtering""
...
This reverts commit 187560c8c0
.
2017-02-28 10:08:14 +01:00
Dennis Felsing
187560c8c0
Revert "Refactor dummy input and demo filtering"
...
This reverts commit 8375f4888e
.
2017-02-28 08:15:35 +01:00
heinrich5991
8375f4888e
Refactor dummy input and demo filtering
...
Remove references to src/game/ from src/engine/
2017-02-23 14:13:14 +01:00
def
d2f5714042
Sort file names case-insensitively
2016-05-15 00:06:32 +02:00
def
c325b08087
Add inp_mouseold for warped mouse input
2016-05-07 15:59:13 +02:00
def
1b668047c8
Clean up auto reconnect and make it independent of rendering
2016-05-04 18:23:00 +02:00
def
bad26a3a8a
Pressing shift makes slider move slower ( fixes #455 )
2016-05-03 15:11:52 +02:00
def
d3a411afa6
Key up/down only change selected server, not friend list
2016-04-27 20:26:33 +02:00
def
ec7d28ed86
Change ingame menu layout a bit: Browser, Ghost directly instead of Network tab
2016-04-27 20:14:03 +02:00
def
b495b1681c
Double click works on votes (and vote window disappears after server setting vote)
2016-04-27 20:04:31 +02:00
def
ed49e3214a
Some more minor settings menu fixes
2015-08-28 20:44:07 +02:00
east
675c6eb1e0
Demo browser column listbox added
2015-08-27 15:05:24 +02:00
def
81cb8fd32d
Working call vote search ( fixes #126 )
2015-03-13 16:44:05 +01:00
Learath Lea
1f4ddfe0ba
Add some indication that the update is happening.
...
Prevent unexpected restart.
2015-03-08 19:51:13 +02:00
Learath
09ce649238
First get rid of the old autoupdate
...
Conflicts:
src/engine/client/client.cpp
src/engine/client/client.h
Conflicts:
src/engine/shared/config_variables.h
2015-02-23 20:23:35 +02:00
def
ebf331febb
Show the function of search and exclusion edit boxes when empty (Suggestion by Saavik)
2014-12-24 03:38:40 +01:00