Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2023-01-07 00:00:00Z and 2023-01-08 00:00:00Z
Avatar
f79daac Add page up/down, home, end hotkeys to UI - Robyt3 91a23f0 Port CListBox from upstream, smooth scrolling for all lists - Robyt3 73ce759 Merge #6240 - bors[bot]
Avatar
@Jupstar ✪ merge conflict
Avatar
This was removed by @Robyt3 in commit 31533d5e2aaa3d071668285af72997d95d631e1c, but it is still used behind #if defined(CONF_ARCH_ENDIAN_BIG) at https://github.com/ddnet/ddnet/blob/master/src/engine/shared/datafile.cpp#L145-L147 resulting in: https://buildd.debian.org/status/fetch.php?pkg=ddnet&arch=s390x&ver=16.4-1&stamp=1665528559&raw=0 ``` /<>/src/engine/shared/datafile.cpp: In member function ‘bool CDataFileReader::Open(IStorage, const char, int)’: /<>/src/engine/shared/datafi...
Avatar
man, the serverbrowser looks so sexy without a scrollbar
08:24
somehow much more modern
08:29
for some reason in the past weeks i often had this bug in github
Avatar
Smooth scrolling in server browser & using vulkan 1.1.0 is killing my FPS the longer I scroll
09:14
IPv6 addresses in the server info box in Esc -> Server info is clipping into the game info box
Avatar
some neat memory leak
09:16
indeed laggs hard when scrolling in debug mode 😄
09:16
but as soon as it stops its over for me
09:17
it looks like it reuploads something. at least the staging buffer always increases for 1-2 frames
Avatar
@Robyt3 Thanks for copy info box :)
Avatar
Avatar
murpi
Smooth scrolling in server browser & using vulkan 1.1.0 is killing my FPS the longer I scroll
@Robyt3 does the new scrollbar update the CUIRect of the rows and did the only scrollbar not do this?
09:52
i see most time is spent in rebuilding the serverbrowser text
09:52
while scrolling
09:53
09:55
i guess as long as width and height of the rects stays the same, we could just move the text call with the in built offset instead of rebuilding it based on x,y changes
Avatar
The FPS drop while scrolling is basically the same before and after if you scroll continuously for me, but now the FPS drop for the entire duration of the smooth scroll
Avatar
ah i see
09:56
but just to be sure, it's because the ui rect changes all the time?
09:56
the coordinates
09:57
c++ virtual void RenderTextContainer(int TextContainerIndex, const ColorRGBA &TextColor, const ColorRGBA &TextOutlineColor, float X, float Y) = 0; we have a rendertextcontainer that supports offsets
09:57
so this might be fixable easy
09:58
ah yeah
09:58
i think i fixed it
Avatar
Avatar
Jupstar ✪
but just to be sure, it's because the ui rect changes all the time?
yeah, the UI rect position y changes whiles scrolling
Avatar

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] 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-ad...
Avatar
nice, now there is almost no FPS drop while scrolling
Avatar
its also useful for CUIElement::SUIElementRect::Draw but if i am not blind it's dead code as of now... but i cannot remember where it was used in the past 😄
10:06
@Robyt3 maybe u remember it 😄
Avatar
abb1979 src/engine/shared/datafile.cpp: Re-add #include <base/math.h> for big endian - AdrianBunk 22a7b00 Merge #6248 - bors[bot]
Avatar
1182180 Add skin to serverbrowser player list - Jupeyy 6993133 Merge #6242 - bors[bot]
Avatar
Rust crates supporting Apple platform development. Contribute to indygreg/apple-platform-rs development by creating an account on GitHub.
Avatar
I guess it doesn't look into the SetHookedPlayer function, so it has to assume that the function could have changed m_HookState
Avatar
wrong channel above msg is deleted (for those who are from bridge)
17:06
correct channel was #bugs
Avatar
who added the smooth scrolling in the server browser? it's very nice!
Avatar
Robyt did
Avatar
elon musk did
Avatar
Ur mom didjustatest gigachad
21:51
steam reached all time onnline users
21:51
record
Avatar
32 million teeworlds players poggers2
Avatar
do invisible players also count?
23:28
or only players "conected"
Exported 55 message(s)