Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.org/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 2025-01-13 00:00 and 2025-01-14 00:00
Avatar
Avatar
GitHub
Click to see attachment 🖼️
Is there a way to filter tiles in a CLayerTiles struct? I know that void CLayerTiles::FillGameTiles(EGameTileOp Fill) exists, but is there a more general way to take one CLayerTile and only keep the tiles requested? For example, only keeping every tile that has an index of 1.
Avatar
@heinrich5991 can you use @Patiga's tool (https://mapview.patiga.eu/) instead of tw-webgl? eastbit doesn't work anymore
Avatar
it wouldn't work that well :/ twmap is a little strict on parsing maps, and I haven't build a tool yet to apply general fixes to maps
01:00
ah I suppose it would be better than no webiste
01:02
@zhn you can already load the maps from the archive with mapview.patiga.eu like this: https://mapview.patiga.eu/?url=https://heinrich5991.de/teeworlds/maps/maps/Animations_c2aa2208a9f27fcfd8349f34cf1633c038c17bdedbc225c1cdd14d4ecc19c3c0.map note that when the map parsing errors, you'd get a white screen and an error in the console
Avatar
Avatar
Patiga
@zhn you can already load the maps from the archive with mapview.patiga.eu like this: https://mapview.patiga.eu/?url=https://heinrich5991.de/teeworlds/maps/maps/Animations_c2aa2208a9f27fcfd8349f34cf1633c038c17bdedbc225c1cdd14d4ecc19c3c0.map note that when the map parsing errors, you'd get a white screen and an error in the console
i know^^ also added bbcode for mapview on my forum
01:04
i'll move to my own instance tho, it's temporary
Avatar
oh nice :D
Avatar
should i somehow link you there?
Avatar
I'm interested, yea :)
Avatar
Avatar
Patiga
it wouldn't work that well :/ twmap is a little strict on parsing maps, and I haven't build a tool yet to apply general fixes to maps
woah I'm tired. what I meant to say is that probably like 10% of those maps won't load (rough guess)
01:06
maybe more maybe less, haven't checked in a while
Avatar
yeah, they barely open in editor, even
01:06
tons of maps with undefined images or just corrupted
Avatar
yea :/
Avatar
seems old maps are from 0.4 or 0.5, somehow they open in editor, but tilemaps are kinda messed
Avatar
huh fancy ^^
Avatar
Avatar
deen
@~Jan ツ Thanks! ^
No problem happy
Avatar
GitHub BOT 2025-01-13 07:03
4bac7d6 Add chat command afk - Pioooooo 6d09979 Merge pull request #9518 from Pioooooo/chat-afk - def-
Avatar
MilkeeyCat 2025-01-13 07:45
TIL pointers are hashed in linux kernel, I spent so much time trying to understand why mafs wasn't mafsing feelsbadman
Avatar
Damn mafs feelsbadman
Avatar
tf is mafs
Avatar
MilkeeyCat 2025-01-13 07:49
math justatest
Avatar
chillerdragon BOT 2025-01-13 08:08
Must be one of these wifi cables people keep talking about
Replying to @Ewan i have no cable plugged into this adapter
08:10
Is your forum public already? Link?
Replying to @zhn i know^^ […]
Avatar
@eidderFsT oh nice thanks for the shotout on ur project
brownbear 1
09:03
09:04
brownbear
09:04
i havent played much in 2024 sadly
09:04
gotta impove in 2025
Avatar
GitHub BOT 2025-01-13 09:21
This reverts commit 4bac7d6c4182300d035377744954754fde79c099. It was merged without even referencing the discussion about whether it should be included or not.

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 ...
💀 4
❤️ 1
Avatar
chillerdragon BOT 2025-01-13 09:48
@eidderFsT: your tool accused me of being a linear enjoyer!
Avatar
Avatar
chillerdragon
@eidderFsT: your tool accused me of being a linear enjoyer!
yes, and i stand by it
Avatar
Where tool
Avatar
#showroom
09:54
almost exactly the same one for chn really
09:55
doesn't translate well to english but i don't want to touch it more than i have to.
Avatar
I smell dev drama
Avatar
Avatar
Learath2
I smell dev drama
where
Avatar
I got mail about a merge, then a mail about a revert pr for that merge and 7 mails about comments
Avatar
I thought that was expected
10:03
greenthing
10:05
you got mail
Avatar
ws-client BOT 2025-01-13 10:09
<ChillerDragon> @Patiga is there a backwards compatible way of storing more data per tile in maps. I was thinking about adding a redirect tile and it would be nice if the mapper could specify a port the tile is redirecting to. I mean yes it would work with map configs but is there something cleaner like for example how the speedup/switch data is stored.
Avatar
Avatar
Learath2
I smell dev drama
its always new dev getting a feature fast
Avatar
ws-client BOT 2025-01-13 10:18
<ChillerDragon> fast merges always has been heinrich vs deen
10:18
<ChillerDragon> depends on who is afk while the pr is opened
kek 4
10:19
<ChillerDragon> i trained neural networks that predict deens and heinrichs afk times to get instant merges
Avatar
ws-client BOT 2025-01-13 10:20
<ChillerDragon> if heinrich now starts reverting everything he missed i am in big trouble
Avatar
тiмоха пропелер (standoff) 2025-01-13 10:23
qq all
Avatar
wow merges happening? i humbly request for #9251 and discussion on #9465
Avatar
Might be useful for trashmap servers or servers where owners want to allow /invincible, /telecursor, in team 0 by default instead of making players go into a team first. Not sure if it would be use...
😬 removes need for janky 45 deg mouse distance bind, allows this to be bound easily in settings makes snapping to 45 degrees very easy and more convenient, can make certain parts (lasers, shotguns,...
Avatar
thanks huge unnececssary github embed
Avatar
тiмоха пропелер (standoff) 2025-01-13 10:26
qq all
Avatar
ChillerDragon you can fit 4 bytes in a tile, that's enough for not one but 2 ports even
Avatar
GitHub BOT 2025-01-13 10:34
75ed9d2 Revert "Add chat command afk" - heinrich5991 d3442aa Merge pull request #9520 from heinrich5991/pr_ddnet_revert_9518 - def-
Avatar
ws-client BOT 2025-01-13 10:59
<ChillerDragon> you are refering to CTile i assume? I am not super sure how to interpret the whole thing. First I thought I only have one byte that is reserved in the CTile class.
11:00
<ChillerDragon> Then I thought the switch layer and so on somehow use more but no idea how that works
11:00
<ChillerDragon> and then i got super confused when I saw the speedup layer clearly using more than 4 bytes
11:01
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
11:02
<ChillerDragon> only one of then is reserved so if i start writing into the others older clients might interpret it wrong and everything explodes?
11:02
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
11:06
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
11:07
<ChillerDragon> here it just reads the raw data and casts it to a CSppedupTile almost seems like you can store whatever share or form you want in maps without breaking backwards compatibility somehow
Avatar
Hm, curious. I wonder if we ended up just versiongating it
11:13
Looking at the code a bit, I think it would only break the editor, curious
11:15
Though sizeof (CTile) is hardcoded in there when loading the map, weird
11:20
Ah, I remember now, we store the tiles of our own physics layers completely separately
👍 1
Avatar
@eidderFsT I love your recap page, it looks awesome owo . could you make it possible to look back on recaps of past years? that would be neat!
Avatar
Avatar
Patiga
@eidderFsT I love your recap page, it looks awesome owo . could you make it possible to look back on recaps of past years? that would be neat!
done
heartw 1
13:15
you can figure it out how i'm sure
13:16
can't promise it won't break for other years tho
13:16
i rejected 2025 and beyond just in case someone tries that and it cached the result for next year catbite
Avatar
got it brownbear
Avatar
can't find map thumbnails in 2015 i guess
Avatar
works perfect for me, I properly started back in 2019 tho
Avatar
Avatar
Patiga
works perfect for me, I properly started back in 2019 tho
Check out deen's DDNet 2015 recap: https://ddrecap.tsdo.in/?code=3gADoW6kZGVlbqF5zQffoXStRXVyb3BlL0Jlcmxpbg find the funny in this
Avatar
oh right, I missed my 10th ddnet birthday, 23. Dec 😮
13:24
heh, deen was a little too eager to finish that new map :D
13:25
2015 pog
13:26
@eidderFsT
13:26
is this ok?
Avatar
that happened on deen's page too
13:26
maybe the old release date is just clamped to a UTC date
13:26
without time?
13:26
i'm guessing
Avatar
😅 well...
Avatar
true veteran stats
Avatar
Avatar
Mr.Gh0s7
😅 well...
you have more than that, right? I think I played with you multiple times 👀
Avatar
@deen the link on ddnet.org to news shows not found https://ddnet.org/news/new-year-bigger-community
13:32
on main page
Avatar
I played, I prob just didn't finish the maps
Avatar
the timestamp looks ok
13:35
were they in GMT+1?
Avatar
idk xD
Avatar
2024 maps timesstamps are in UTC i'm pretty sure
Avatar
yixuan has 96 repositories available. Follow their code on GitHub.
13:37
lol heinrich is this your alt??
13:37
xd
Avatar
secretly chinese
13:38
sounds like jiatan to me
Avatar
I knew it, we have to check all our test code now
Avatar
i seen hein pic in lot of places
14:31
@eidderFsT if u have interesting generic queries u can send them and i add to the list
14:31
14:31
this list
Avatar
GitHub BOT 2025-01-13 14:34
Ya boi can't do maths

Original:

cpp Pos = vec2(100.0f, 0.0f); MaxDistance = 500.0f; Pos *= length(Pos) * 1000.0f / (float)MaxDistance; assert(length(Pos) * 1000.0f / (float)MaxDistance == 100.0f * 1000.0f / 500.0f); assert(length(Pos) * 1000.0f / (float)MaxDistance == 200.0f); assert(Pos == vec2(100.0f * 200.0f, 0.0f);

Fixed:

```cpp Pos = vec2(100.0f, 0.0f); MaxDistance = 500.0f; Pos *= 1000.0f / (float)MaxDistance; assert(1000.0f / (float)MaxDistance == 10...
Avatar
ws-client BOT 2025-01-13 14:36
<ChillerDragon> messing with the editor is going well ...
14:36
<ChillerDragon> i placed 2 tiles
14:36
<ChillerDragon> and got one big rectangle
14:36
<ChillerDragon> triangle
14:36
<ChillerDragon> xd
Avatar
Avatar
kebs
cammo
wrong repo D:
Avatar
Avatar
Solly
wrong repo D:
Silly Billy
Avatar
@Ryozuki can u do any queries with mappers?
14:47
or maps?
14:48
for example, map most re-ranked by players, map least re-ranked by players
Avatar
what's a re-rank
Avatar
player finishes map more than once
Avatar
so like maps with most players playing more than once? (edited)
Avatar
ye, moreso the ratio of players playing more than once / players only playing once
Avatar
Avatar
louis
@Ryozuki can u do any queries with mappers?
u can i guess im at gym getting muscles
Avatar
Avatar
Robyt3
you can read about what mmmds did with teeworlds: https://mmmds.pl/fuzzing-map-parser-part-1-teeworlds/
have you merged your fixes from upstream to ddnet btw?
Avatar
GitHub BOT 2025-01-13 15:10
Allows mappers to place tiles and specify a port to which players touching it will be redirected. I did not see another option than creating a new layer to be able to store a port in a tile while being backwards compatible. Everything seems to work. But there is a graphical glitch in the map when a redirect tile is placed. No idea where that is coming from. !screenshot_2025-01-13_16-09-08 ## Chec...
justatest 4
Avatar
the query seems completely wrong lmao
15:12
i'm really not good at SQL
Avatar
Avatar
GitHub
Click to see attachment 🖼️
is this any better than the old way?
15:15
this should be more like it
15:15
and it took over a minute to query oof
Avatar
Avatar
GitHub
Click to see attachment 🖼️
so can i replace my kill tiles with these to send players to tutorial servers if they fail my parts? 🤣
Avatar
Avatar
eidderFsT
this should be more like it
ah ye looks more correct
Avatar
ordered by percentage, the least replayed map is Flappy Bird with a whopping 0.0096% re-rank rate.
Avatar
Avatar
louis
so can i replace my kill tiles with these to send players to tutorial servers if they fail my parts? 🤣
to linear
Avatar
no sure if that is correct tho. that seems like a really replayable map
Avatar
im getting adoneraine, capricorn, hostile 3, etc/
15:24
wait i lied
Avatar
@Ryozuki SELECT m.Map, COUNT(*) as FinishesOnFirstDayOfRelease, m.Timestamp as ReleaseDate FROM race r JOIN maps m ON r.Map = m.Map AND unixepoch(r.Timestamp) - unixepoch(m.Timestamp) < 86400 AND unixepoch(r.Timestamp) - unixepoch(m.Timestamp) > 0 GROUP BY m.Map ORDER BY FinishesOnFirstDayOfRelease DESC LIMIT 10; Top 10 most popular maps on first day of release
Avatar
Avatar
eidderFsT
ordered by percentage, the least replayed map is Flappy Bird with a whopping 0.0096% re-rank rate.
that map has a special setting to not allow multiple ranks for the same name iirc
Avatar
Avatar
Patiga
that map has a special setting to not allow multiple ranks for the same name iirc
that make sense
15:33
there are three name that slipped through tho
Avatar
maybe the map was changed 😅
15:34
are the ranks on the three names old?
Avatar
didn't check
Avatar
eh not that important
Avatar
ok it must be a clean up script
15:36
15:36
these are really new
15:36
probably on some timer
Avatar
huh interesting
Avatar
Avatar
Patiga
that map has a special setting to not allow multiple ranks for the same name iirc
do u know why?
Avatar
shouldn't dvd screensaver get the same treatment tho
15:38
my guess would be it being so easy to finish and it creates too many garbage records in the database.
Avatar
Avatar
louis
do u know why?
yea
15:40
wat how did that message send
15:40
my guess is the same as freddies
15:41
flappy bird is a bit worse, as you can simply hold space and spam ranks that easily
15:41
might also be possible on dvd, not sure
Avatar
Avatar
zhn
have you merged your fixes from upstream to ddnet btw?
Some have been merged, but most not so far
justatest 2
Avatar
GitHub BOT 2025-01-13 15:53
f5eb3ad Change database setup to comfort sqlite requirements better. - Jupeyy 9dc5440 Merge pull request #59 from Jupeyy/pr_sqlite_setup - Jupeyy
Avatar
GitHub BOT 2025-01-13 17:13
I think it would be nice, sometimes sounds from other teams are a bit distracting but i like having showothers with low opacity there
Avatar
GitHub BOT 2025-01-13 18:09
0c121b0 Add workaround for sqlx binary collation bug. - Jupeyy 78c29f4 Merge pull request #60 from Jupeyy/pr_sqlx_str_workaround - Jupeyy
Avatar
Avatar
GitHub
Click to see attachment 🖼️
Bug in rust????? Wow, useless language
Avatar
Koll Potato 2025-01-13 18:10
no
18:10
rust is the best
Avatar
Jupstar ✪ 2025-01-13 18:10
sqlx generally is getting more buggy the newer the lib xD
18:10
0.6 was best yet, but it has a vulnerable
Avatar
Avatar
eidderFsT
Click to see attachment 🖼️
In the code we check for time >=, and in a script we remove time > 😄 Should probably fix it in the regular code
18:11
Also possible to finish on a server without a db connection at that time, will then later be inserted even if it might already be a duplicate
Avatar
ah
18:12
then it is amazing that this only happened 3 times it seems
Avatar
nono, the script removes them
18:13
but I only started running the script recently
Avatar
GitHub BOT 2025-01-13 18:13
Very easy to spam database with them too

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 memche...
Avatar
Oh, looks like the code was already correct.
Avatar
is the script a job that run on schedule
18:18
once a night
18:19
we have the same problem with team ranks
Avatar
Avatar
Learath2
Bug in rust????? Wow, useless language
Ikr
Avatar
Avatar
GitHub
Click to see attachment 🖼️
Blessed i never had this bug
19:12
i did get a nightly ICE that killed our coverage CI run and i now have to deal with it
Avatar
why do u have coverage with nightly
19:33
llvmcov doesnt need nightly
19:33
also i recommend setting the nightly to a date u know works
Avatar
we need it for #[coverage()] blocks
19:52
we have some runtime specific infrastructure that we can’t really test so if we don’t exempt those blocks our coverage is teriyaki
19:52
terrible XDD
19:53
ig block isn’t the word. function attribute or whatever
19:53
but yeah
Avatar
Avatar
Ryozuki
also i recommend setting the nightly to a date u know works
yea i was gonna change our CI to use a pinned rust version
19:53
and or use nix but i haven’t decided justatest
19:54
at that point we can try out fenix monthly so we can have nightly features but fewer windows for failure by only updating once a month
19:56
you build compiler. i build nightmare spaghetti SaaS-heavy tools thought up by big wigs in a boardroom
Avatar
MilkeeyCat 2025-01-13 19:59
chillerdragon: santatrollet
Avatar
is that the tiling assistant shell extension
20:07
i wish it was better feelsbadman
20:08
i wish ppl actually made gnome shell extensions but there are only like 3 good ones and when you enable more than that your desktop shits bricks anyway
Avatar
GitHub BOT 2025-01-13 20:25
See commit messages.

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 (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...
Avatar
ws-client BOT 2025-01-13 20:39
<ChillerDragon> @MilkeeyCat nice!!
Avatar
MilkeeyCat 2025-01-13 20:40
it doesn't work with common.h from ddnet_protocol lib feelsbadman
Avatar
ws-client BOT 2025-01-13 20:41
<ChillerDragon> ohno why
Avatar
MilkeeyCat 2025-01-13 20:41
it's all the booleans
20:41
they are declared in common.h and kernel stdlib header file
Avatar
ws-client BOT 2025-01-13 20:42
<ChillerDragon> shit
20:42
<ChillerDragon> just remove the typedef
Avatar
MilkeeyCat 2025-01-13 20:42
I'm planning to change BLOAT macro to be something like code space or something, so it will be either user space, or kernel space
Avatar
ws-client BOT 2025-01-13 20:42
<ChillerDragon> new C has the bool keyword anyways
Avatar
MilkeeyCat 2025-01-13 21:06
#define KERNEL_SPACE 1 #define USER_SPACE 2 #if CODE_SPACE == KERNEL_SPACE // blah blah #elif CODE_SPACE == USER_SPACE // blah blah #elif !defined(CODE_SPACE) #error \ "CODE_SPACE is not defined. Define it to `KERNEL_SPACE` or `USER_SPACE`." #else #error \ "CODE_SPACE has invalid value, it must be `KERNEL_SPACE` or `USER_SPACE`." #endif How cursed is this?
Avatar
ChillerDragon BOT 2025-01-13 21:16
can we get a moderator on 45.141.57.31:8314
Avatar
we can, just dont want to
Avatar
chiller they want you to use the ticket system for that
21:32
create an account on one of the most unfree chat platforms so you can complain to moderators of an open source game 🙃
21:32
because a webpage is too hard
Avatar
Avatar
MilkeeyCat
#define KERNEL_SPACE 1 #define USER_SPACE 2 #if CODE_SPACE == KERNEL_SPACE // blah blah #elif CODE_SPACE == USER_SPACE // blah blah #elif !defined(CODE_SPACE) #error \ "CODE_SPACE is not defined. Define it to `KERNEL_SPACE` or `USER_SPACE`." #else #error \ "CODE_SPACE has invalid value, it must be `KERNEL_SPACE` or `USER_SPACE`." #endif How cursed is this?
what are you making that’s going to be switching between kernel and user space depending on build config?
21:33
very cursed
Avatar
GitHub BOT 2025-01-13 21:33
The client previously crashed when loading a localization file with a replacement line (plus zero terminator) longer than the size of a CHeap chunk (65600 bytes) due to the line data being written outside the heap chunk. This is fixed by allowing CHeap to allocate chunks as large as necessary to contain at least one item. As an alternative the CHeap functions could be changed to return nullptr if the wanted allocation is too large, which would have to be handled explicitly when ...
Avatar
As an alternative the CHeap functions could be changed to return nullptr if the wanted allocation is too large, which would have to be handled explicitly when loading localization files.
21:34
i would assert. when is a string that large ever valid in this case
Avatar
Avatar
Ewan
what are you making that’s going to be switching between kernel and user space depending on build config?
MilkeeyCat 2025-01-13 21:35
lib users will have to set it themselves (edited)
Avatar
Jupstar ✪ 2025-01-13 21:36
@MilkeeyCat what even is ur current project? i haven't really followed anything here xd
Avatar
Avatar
MilkeeyCat
chillerdragon: santatrollet
MilkeeyCat 2025-01-13 21:37
This one is a kernel module which would do something when a player connect a dummy
Avatar
code conventions differ so strongly between codespaces that idk why you’d need this
21:37
wtf
21:37
kernel panic
21:38
so it’s a joke xD
Avatar
Avatar
MilkeeyCat
#define KERNEL_SPACE 1 #define USER_SPACE 2 #if CODE_SPACE == KERNEL_SPACE // blah blah #elif CODE_SPACE == USER_SPACE // blah blah #elif !defined(CODE_SPACE) #error \ "CODE_SPACE is not defined. Define it to `KERNEL_SPACE` or `USER_SPACE`." #else #error \ "CODE_SPACE has invalid value, it must be `KERNEL_SPACE` or `USER_SPACE`." #endif How cursed is this?
MilkeeyCat 2025-01-13 21:38
this one is trying to fix ddnet network lib I'm working on with chiller which I started because of kernel module xd
Avatar
what is that check accomplishing for that goal
Avatar
MilkeeyCat 2025-01-13 21:40
instead of blah blag it will include different header files
Avatar
for what purpose
Avatar
MilkeeyCat 2025-01-13 21:41
to make the library be able to use necessary types and functions xdd
Avatar
no like
21:42
the end goal
21:42
what are you calling differently
21:42
if ur doing kernel i’d just keep that 100% isolated
21:43
but im also probably just not understanding
Avatar
ChillerDragon BOT 2025-01-13 21:43
defines lgtm @MilkeeyCat
21:44
what am i missing
Avatar
Avatar
Ewan
but im also probably just not understanding
MilkeeyCat 2025-01-13 21:54
I have a lib, I want it to be usable from user space and kernel space. To make it possible, I made common.h file https://github.com/MilkeeyCat/ddnet_protocol/blob/master/include/ddnet_protocol/common.h, BLOAT macro means whether to use glibc header files or define used functions as extern so they can be implemented the the code base where the lib is used. But it doesn't really work, because in my kernel module I use linux/types.h header file which declares true and false enums values. And the values are declared again if BLOAT macro is not defined. I want to refactor common.h to include necessary header files to not redeclare bool values.
😃 1
Avatar
GitHub BOT 2025-01-13 22:48
Implements chat command /afk, closes #9270. Guess we need more discussion this time.

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 (especially base/) or added coverage to integration test
  • [x] Considered possible null pointers and out of bounds array indexing
  • [x] Changed no physics that affect existing maps
  • [ ] Tested the change...
Avatar
Avatar
MilkeeyCat
I have a lib, I want it to be usable from user space and kernel space. To make it possible, I made common.h file https://github.com/MilkeeyCat/ddnet_protocol/blob/master/include/ddnet_protocol/common.h, BLOAT macro means whether to use glibc header files or define used functions as extern so they can be implemented the the code base where the lib is used. But it doesn't really work, because in my kernel module I use linux/types.h header file which declares true and false enums values. And the values are declared again if BLOAT macro is not defined. I want to refactor common.h to include necessary header files to not redeclare bool values.
so it’s a library
23:04
that’s what i was missing
23:04
lol
Exported 265 message(s)
Timezone: UTC+0