Guild icon
Teeworlds
IRC / bridge
One-way IRC channel bridge. If you want to be able to send messages to IRC, contact @Dune or @heinrich5991. https://www.teeworlds.com/?page=docs&wiki=rules/irc_rules
Between 2020-03-22 00:00:00Z and 2020-03-23 00:00:00Z
Avatar
https://github.com/jxsl13/TeeworldsEconDiscordModerationBot has been updated to work with vanilla. have fun. (please report bugs if you find any)
Avatar
ChillerDragon 2020-03-22 09:03:45Z
@jxsl13 love the detailed readme
09:04
Is there any way to specify config values on multiple lines? Like the Econ ip config line can get very long
Avatar
[quakenet] Dune BOT 2020-03-22 10:01:26Z
don't thikn so
Avatar
@jxsl13 this looks really nice, you can add a moderator call button, too! like !admin or !report so a post is created in the dc. Nice Project!
Avatar
you can call moderators from ingame via @mods, @admins etc.
12:11
or what do you exactpy mean witu call button Oo?
Avatar
@everyone does anybody know the developer of the ball/tabletennis mod? Or does anyone have the sourcecode for it? I want to port it to 0.7
12:30
thank you, got pm'ed ❤️
Avatar
[quakenet] Learath2 BOT 2020-03-22 12:41:32Z
We had a huge problem with bridging tw to discord, without accounts people just end up spamming discord...
Avatar
[quakenet] Dune BOT 2020-03-22 12:42:59Z
Yeah right, that doesn't sound very sane
Avatar
[quakenet] Learath2 BOT 2020-03-22 12:56:27Z
@LordSk 🦋 where is the brush selector in the new editor? I see the code but I don't see what rect it's supposed to be rendered in
Avatar
@ChillerDragon reading the used package documentation, you can actually do yaml style configs, I have not tried it, but you might do multi line with yaml.
Avatar
[quakenet] Learath2 BOT 2020-03-22 12:57:22Z
oh it's not even using m_UiCurrentPopupRect
Avatar
Yeah the popup stuff is not great at the moment, that's actually what I am working on right now
13:01
Learath2: CEditor2::RenderPopupBrushPalette()
Avatar
migjt try to add a backslash at the end of lines
Avatar
[quakenet] Learath2 BOT 2020-03-22 13:02:29Z
@LordSk 🦋 just so you know, I'm writing a file selection dialog to start fixing up #2503
Avatar
That's kinda out of the scope of this issue
13:04
but sure why not, we'll have to do it anyway
13:06
@David - SFM made a visual concept yesterday, if you could use that https://cdn.discordapp.com/attachments/510815644648865815/691030817954201670/editor_open.png
Avatar
[quakenet] Learath2 BOT 2020-03-22 13:06:58Z
Yeah sure
Avatar
nice
Avatar
hm, after etsting, it's apparently not possible to have multi line configs.
13:09
testing
13:10
😮 there is even the preview for images there (Y)
13:10
(Y) <- thumbs up
Avatar
in the concept art 😄
Avatar
yea i put features in that are not doable i think 😄
Avatar
Yeah well I was supposed to post that in an issue, and say that most of this functionality won't be available until much later (if at all)
Avatar
I have an issue open for that exact feature.
13:12
as selecting mapres/tilesets is more of a memorizing game nowadays.
Avatar
it is not a tileset/mapres preview... it is the open map dialog
Avatar
oh rip :/
Avatar
Also Learath2, one last thing: please just use the editor2 ui stuff, I know it's ugly (and purple), we'll make everything pretty in the end.
Avatar
mini map preview then
Avatar
yes
Avatar
I guess that might be hard to do.
Avatar
[quakenet] Learath2 BOT 2020-03-22 13:15:13Z
Previews are not too hard to get
Avatar
you have to load bits of the map if you select it. And show a ingame view?
Avatar
[quakenet] Learath2 BOT 2020-03-22 13:16:02Z
@LordSk 🦋 do you want the file selection thing as a dialog or do you want it fullscreen?
13:16
@David - SFM pretty much, but it'd be horrible without caching and asynchronous loading, too slow
13:17
Not sure how useful a preview of that size would be though, for images I understand but maps can get huge
Avatar
Learath2: whatever you feel is best for now
Avatar
names are often not that great to remember.. a small preview often give you the right hint to select the map you are searching (edited)
Avatar
[quakenet] Learath2 BOT 2020-03-22 13:39:05Z
I'm not familiar with what you did to the UI code in 0.7 let alone the editors UI code, I get the entire screen with UI()->Screen() right?
Avatar
That shouldn't have changed
Avatar
[quakenet] Learath2 BOT 2020-03-22 13:40:15Z
I get the entire screen, I map the graphics screen to it, I draw an overlay but it won't cover the entire screen
Avatar
you probably don't need to map it
13:41
the brush palette popup has an overlay
Avatar
[quakenet] Learath2 BOT 2020-03-22 13:43:37Z
@LordSk 🦋 one that doesn't cover the entire screen either
Avatar
Ah yes that's true
13:44
m_UiScreenRect should cover everything
Avatar
[quakenet] Learath2 BOT 2020-03-22 13:45:17Z
Yet it doesn't, I have a feeling this is a highdpi issue
Avatar
Do you have a screenshot?
Avatar
[quakenet] Learath2 BOT 2020-03-22 13:48:08Z
sure, 1sec
Avatar
Alright so either you're rendering too early and the other stuff comes on top, or you're not using the right rect
13:50
Ah great I was going to ask you about the code 🙂
Avatar
[quakenet] Learath2 BOT 2020-03-22 13:51:39Z
I'm rendering all the way at the bottom of RenderMapEditorUI(), maybe you are accidentally modifying m_UiScreenRect along the way?
Avatar
Ah I see what's happening
Avatar
[quakenet] Learath2 BOT 2020-03-22 13:53:00Z
Well I tried getting the rect from *UI()->Screen() too, that also doesn't look right
Avatar
There is a clip where you inserted your function
Avatar
[quakenet] Learath2 BOT 2020-03-22 13:53:44Z
aha, missed that
Avatar
// popups if(m_UiCurrentPopupID == POPUP_BRUSH_PALETTE) RenderPopupBrushPalette(); if(m_UiCurrentPopupID == POPUP_MENU_FILE) RenderPopupMenuFile(); UI()->ClipDisable(); // main view rect clip
13:54
which is my fault really, as I said the popup stuff is not done at all
13:54
I was going to setup an easier system and then ask people to help me on it
Avatar
[quakenet] Learath2 BOT 2020-03-22 13:55:44Z
I just assumed the popup stuff was working, didn't even think twice to check there :D
Avatar
Yeah...
Avatar
[quakenet] Learath2 BOT 2020-03-22 15:52:59Z
Immediate mode gui is really fun to work with...
15:53
15:53
Took me like 2 hours to get everything laid out
Avatar
[quakenet] Dune BOT 2020-03-22 15:55:24Z
imgui looks cool yeah :) bit overkill for teeworlds tho
Avatar
[quakenet] Learath2 BOT 2020-03-22 15:57:55Z
Well what teeworlds has is immediate mode gui, imgui is just a library that also implements the idea
Avatar
[quakenet] Dune BOT 2020-03-22 15:58:06Z
ah, nvm
15:58
so the "really fun" was sarcasm?
Avatar
[quakenet] Learath2 BOT 2020-03-22 16:12:34Z
yep :D
Avatar
[quakenet] Learath2 BOT 2020-03-22 16:54:58Z
Did you know that CTextCursor never get's it's font set ever
Avatar
[quakenet] Learath2 BOT 2020-03-22 17:14:50Z
Did you know that the text we render is actually thicker then the height of the cursor?
17:16
s/thicker/taller
Avatar
TextRendering is full of wonders I've heard
Avatar
@Learath2 very nice work
Avatar
[quakenet] Learath2 BOT 2020-03-22 17:17:11Z
How do we ever align something vertically?
Avatar
I don't know if all those features should be implemented though, looks like a lot of work
17:17
Do we ever do that?
Avatar
[quakenet] Learath2 BOT 2020-03-22 17:17:42Z
text is usually centered vertically in buttons
Avatar
Learath2: don't try too hard on these
17:18
We don't have a precise way of mesuring text bounds (yet)
Avatar
[quakenet] Learath2 BOT 2020-03-22 17:19:28Z
These things always keep getting pushed back and they just end up never getting done
Avatar
[quakenet] Dune BOT 2020-03-22 17:22:25Z
that's true, that's because there is always more important stuff to do
Avatar
you guys need hex values for the colorS?
Avatar
Well I have a text bounds thing working, perhaps I should PR it at some point
17:48
You could just use the DrawText() function Learath2 for now
17:49
@David - SFM we may need the icons, if you could make one image with all of them that'd be great
Avatar
[quakenet] Learath2 BOT 2020-03-22 17:52:53Z
@LordSk 🦋 I did, I also patched in horizontal alignment for it
17:53
I used unicode symbols for the icons, they just don't align too well vertically
Avatar
yeah ok that's fine
17:53
as I said making things pretty comes later
Avatar
i have a question... my icons are bad is tw allowed to use fontawesome? https://fontawesome.com/icons?d=gallery
Avatar
Your icons are great
Avatar
we need a lot of icons, i have to draw them all (edited)
18:24
https://fontawesome.com/license/free looks good.... stuff that is not there i will make on my own, i see no reason to spend time on making new icons for stuff that is already there
Avatar
[quakenet] Learath2 BOT 2020-03-22 18:24:46Z
We really should be making an icon font for ourselves and merging that with the font we ship at compile time
Avatar
That sounds sane yeah
18:26
Keeping it separate might be best though
18:26
You have things like chinese fonts etc that would be harder for users to insert without breaking the icons
Avatar
[quakenet] Learath2 BOT 2020-03-22 18:27:59Z
Unicode has PUAs we can use
Avatar
[quakenet] Learath2 BOT 2020-03-22 18:38:44Z
Private Use Area
Avatar
File popups should be basic imo. Favorites, sorting options, previews, etc can come later
18:39
Critical bits should be done first imo
18:39
So we have something releasable
Avatar
[quakenet] Learath2 BOT 2020-03-22 18:39:28Z
It's fairly easy to hide the parts that are not done for a release
Avatar
Yeah, true
Avatar
[quakenet] Learath2 BOT 2020-03-22 18:39:52Z
Besides I'll be done with the file dialog way before the entire editor is done
Avatar
@heinrich5991 there is someone copying my servers
Avatar
@learath2, can you add sent commands to the history, please?
Avatar
[quakenet] Learath2 BOT 2020-03-22 18:41:57Z
@fokkonaut is that really wanted?
Avatar
i find it very annoying that its not
18:42
especially if you missspell some stuff and need to retype everything for example
18:42
and just in general
18:42
its weird that its not added to history
Avatar
[quakenet] Learath2 BOT 2020-03-22 18:43:17Z
It's not exactly trivial (chat history code looks a little convoluted), so I'll only take a look if people actually want this
Avatar
i'd love it
Avatar
[quakenet] Learath2 BOT 2020-03-22 18:46:26Z
I should get the color rework in sometime, HSL would be much easier to work with when coloring the ui
Avatar
@jxsl13 do you know who that is?
18:47
let me join that server, maybe there is some info
Avatar
BTW, can we move player info to the snap again?...
18:50
these newclient and disconnect packets are so *** ...
Avatar
@Assa , stop what you are doing
Avatar
what are you crying about? You don't have any money on your bank account either way
Avatar
true :'/
18:59
xD
Avatar
[quakenet] Learath2 BOT 2020-03-22 19:15:58Z
@LordSk 🦋 I kinda like the way you set up the ui components, the components themselves having a little bit of state goes a long way
Avatar
thanks 🙂
Avatar
[quakenet] Learath2 BOT 2020-03-22 19:16:41Z
ofc it comes with the drawback of being able to accidentally get the ui and the actual state out of sync, but I think it's worth it
Avatar
yeah I'm not sure if all of that stuff will stay at the end, since we're supposed to merge with main teeworlds UI stuff
19:17
we'll see
Avatar
[quakenet] Learath2 BOT 2020-03-22 19:19:27Z
Well CUI is really not in the best state
19:20
(it is a bit better then it was in 0.6 though)
19:25
@LordSk 🦋 while you are here, how do you handle scrolling?
Avatar
Scroll regions
19:25
Check out the main teeworlds code, it has a mini doc
19:26
the editor one is the same
Avatar
[quakenet] Learath2 BOT 2020-03-22 19:28:13Z
found it, thx
Avatar
there's docs in tw?
Avatar
[quakenet] Learath2 BOT 2020-03-22 19:31:43Z
about 10 lines worth :P
19:38
https://learath2.info/sshot4.png I guess I'll take a break, get some sleep and finish it up tomorrow
Avatar
looks good!
Exported 158 message(s)