[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: 1778419315.png (52 KB, 1045x682)
52 KB PNG
I'm sure the C++ wizards of this server forum can improve a simple datastructure to make UZDoom more efficient and reduce the loading time
>>
there are only two genders, bear and rainbow
>>
>>108792348
why can't you just store the flag colors as a zero terminated array of uint32?
>>
Why the fuck to they feel the need to shove this shit everywhere?
And why to the faggot developers always accept this bullshit?
https://github.com/UZDoom/UZDoom/pull/1310
>>
>>108792375
Reminder that an actual performance pull request was postponed to 5.1 when you get the gay launcher in the next release immediately
https://github.com/UZDoom/UZDoom/pull/404
>>
>>108792353
Zero is a color
>>
>>108792419
use 0xDEADB00B 0xCAFEBABE or any of the rust banned numbers
>>
>>108792342
>always alternates between dec and hex number
>always starts & ends with dec number
>so array length will always be odd
>3rd element is always 1
>final element is always 0
>no other dec num is 0, tho hex nums can be 0x000000
>so final element seems to be zero terminator
Ok.
>>
>>108792518
>dec and hex numbers
this is the average computer scientist on /g/
>>
>>108792426
0xFA6607
>>
>>108792342
whats the point of uzdoom anyway? they fucked up quicksave, as in it doesn’t select "tes" by default so quicksave->enter does nothing, which is an annoyance
in return it offers… uhhh the intent of not using ai generated code? does anybody playing doom wads gives a shit about how it’s made, as long as it works well?
>>
>>108793301
>whats the point of uzdoom anyway?
It's literally just gzdoom but without graf zahl around to make trannies mad at him.
>>
>>108793332
the doom "community" celebrates pride and each one of them can select an appropriate flag for representation, Graf would never allow it
>>
>>108793301
>they fucked up quicksave
the last commit from Graf broke gzdoom brutal mod (can't shoot weapons), and he just left it there never to be fixed
>>
>>108792426
Oh my gosh. I knew they were mentally ill, but I didn't believe this post until I went and checked the source code.
What is actually wrong with Rust programmers and what is it about the language that seems to attract exclusively the most 'neurodivergent' retards on the planet?

// Intentionally written in decimal rather than hex
const ROOT_PROBLEMATIC_CONSTS: &[u32] = &[
184594741, 2880289470, 2881141438, 2965027518, 2976579765, 3203381950, 3405691582, 3405697037,
3735927486, 3735932941, 4027431614, 4276992702, 195934910, 252707358, 762133, 179681982,
173390526, 721077,
];


https://github.com/rust-lang/rust/blob/99eed207b47aca1fec5c665531db8e948a92d0ca/src/tools/tidy/src/style.rs#L126
>>
>>108793777
that's a touchy subject sorting a list of rainbow people, it you don't alphabetically sort, then someone from the bottom of the list can get mad
>>
>>108793795
sort them by marginalized status or else i will have to report you for a COC violation.
>>
File: jidf.png (20 KB, 406x211)
20 KB PNG
>>108793795
These things write themselves
>>
>>108792342
mark it const. done.
>>
File: 1778434944.png (49 KB, 787x691)
49 KB PNG
>>108793822
>>
>>108792353
i-isn't that literally pic related?
they literally use 0 as a sentinel value in the data.
>>
>>108793879
nvm I reread it. it's just a sort of half-assed tagged thing. 1 COLOR [ 1 COLOR .. ] 0.
It works I guess. cool(?)
>>
>>108793889
RLE compression by the biggest minds in the activist community
>>
>>108792342
I doubt this is in your hot loops.
either way, make it const, use std::span<uint32_5> instead of this retarded decaying c array bullshit or at least put the len of colors as the first element so you aren't constantly loading and comparing every odd to know if you need to keep going.
>>
>>108792426
>>108793777
Why are you replying to yourself.
https://en.wikipedia.org/wiki/Magic_number_(programming)#Debug_value
>>
>>108793777
they are some of the biggest weirdos on the planet and that's saying a lot
>>
>>108793777
>Intentionally written in decimal rather than hex
Genuinely why tf do they this? Do they see the word "boob", get le gender dysphoria about not having boobs and ack?
>>
>>108794412
same way with alphabetical sort, little mistake and you get cancelled
>>
>>108793719
>broke gzdoom brutal mod (can't shoot weapons)
based, brutal doom is ass
>>
>>108793858
Dead dude? In MY doom?!
>>
OK I'll bite. What is a Philadelphiasexual?
>>
File: 1775849119645901.jpg (120 KB, 766x713)
120 KB JPG
>>108792342
>Philadelphia
>>
I didn’t even know doom has flags
which sexuality are archviles btw? Asking for a friend
>>
>>108794491
something so important that it needs to live in the sourcecode and not in a philadelphia.wad
>>
>>108794518
>I didn’t even know doom has flags
play doom2 secret levels
>>
>>108793858
You left off half the list, idiot
0xDEADD00D (dead dude)
0xF00DBABE (food babe)
0xFEEDBABE (feed babe)
0x0BADBABE (bad babe)
0x0F10021E (floozy)
0x000BA115 (balls)
0x0AB5BABE (abs babe)
0x0A55BABE (ass babe)
0x000B00B5 (boobs)
>>
>>108793719
It's always a tragedy when someone like Graf who keeps the mentally ill in check checks out. Same thing happened with PolyMC. The freaks can actually write code (1 thing that's a positive from not going outside ig) but if there's no one to lead them they'll just do shit like op picrelated.
>>
>>108792342
So it's just a flag with colored stripes then?
I don't understand why you'd need to hardcode these. Just give users the option to choose how many stripes they want and which colors in a simple menu.
If pre-set flags really are necessary then allow users to do so from a separate file that is fetched at runtime, thus allowing custom presets and storing new presets from in-game. Presumably you're already storing player name and other settings somewhere so use that file, include any default presets in the default cfg.
You also definitely don't need such granular control either. 255 colors ought to be enough for everyone. I assume it's like a tiny pixel flag showing up next to player names or in a scoreboard? Shit's gonna be tiny. You're not gonna see a difference between 0xFFAEC9 and 0xFFAEC6.
>>
>>108794623
Making it actually customizable properly wouldn't be gay enough. No users actually care enough to set that themselves, if that option was there no one would use it, they just want to cum in their pants after seeing their own flavour of mental illness represented by some other freak.
>>
>>108794642
>Making it actually customizable
Furries, anime and satanists just create their own theme WADs and mods, flags are part of the engine now
>>
>>108792518
the intersex flag has 5 in stead of 1
seems a little retarded way to do it rather than just repeat the value for that one entry
why does philadelphia get its own flag lol gay capital of the world?
and why go to the effort of making a struct and then fucking cram two different values into an array.
the zero terminator takes up EXACTLY the same space as a length value might.

this really is kind of woeful.
>>
>>108794623
but then nobody looking at the source would know that you knew all the flags and colors and how important they are.
of course the risk is that you have missed out a flag which is automatic death sentence.
>>
>>108794824
>risk is that you have missed out a flag which is automatic death sentence.
>Printf("%s\nOpen an issue on our github if your flag is missing\n", avail.GetChars());
the people in charge got their asses covered
>>
File: 1778443874.png (4 KB, 299x220)
4 KB PNG
>>108794824
>you have missed out a flag
>straight flag missing
>straight ally flag is impossible to represent
>>
>>108794873
yeah i googled the intesex flag which has the 5 and its actually a circle in stead of the traditional stripe, i assume they just present it as stripes lmao. is that allowed?
never seen your example before but i was thinking about the blm x pride with the pennant on the left side which was very popular, i don't care enough about it to know if its in the list or not.
>>
>>108794873
>Ask for a "straight ally" flag
>"Oy vey you think you're good enough to have a special flag? Only REAL kid diddlers deserve to have a flag"
>>
>>108794936
In the commit duscussion they are considering SVG support for flags in the future, this is truly what doom engine needs and Graf was a problem
>>
>>108794845
>URGENT: Game does not contain Polish flag
>User BobVagene has commented on this issue: I consider it to be greatly insulting to my culture that Polish flag has been added but Indonesian flag has not been
>Changes in version 1.4.5 include: Added multiple missing flags including Italy, Romania, France and 46 other flags. Updated the LGBTQIA+ flag to reflect modern standards.
>Version 2.0 has released including a major flag overhaul! We have finally added support for non-striped flags such as UK, Sweden and toastersexual.
>Due to a recent issues regarding far right themed flags, we have made the difficult decision to remove support for all custom user content in an effort to protect our community.
Think before you act. Adding a simple flag preset to your game could be your last mistake.
>>
File: 1777625763663.png (286 KB, 758x644)
286 KB PNG
>bool isMale
>>
>>108794964
>simple flag preset to your game could be your last mistake.
adding alphabetical sort, philadelphia, "open issue if your flag is missing" is a skill you get from experience when dealing with that kind of crowd
>>
File: 1771853603.png (22 KB, 97x90)
22 KB PNG
>>108794969
>>
>>108794969
If it's a programming tool, you don't need any bits at all to describe that, as it's a compile-time constant.
>>
>>108794963
>Graf was a problem
tbf Graf was a nigger by the end and starting a new fork was a perfectly valid reaction, it's as I described in >>108794621, you need someone to make sure these mentally ill retards don't do exactly this. That's also why Blender works so well, they have a whole committee to streamline development and make sure autists don't just get to do autistic things, and other FOSS projects not having that is in my opinion why most FOSS software will never "just work" or be as intuitive as proprietary software.
>>
>>108794987
Sharty lost



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.