grep "PLAYERFLAG_PLAYING" -r src
(edited)m_
or pfn
pub fn fib_series() -> impl Iterator<Item = u64> {
gen {
let mut a = 1;
let mut b = 0;
loop {
yield b;
let t = b;
b = a;
a += t;
}
}
}
pub fn main() {
let x: Vec<_> = fib_series().take(20).collect();
dbg!(x);
}
yield
pub fn fib_series() -> impl Iterator<Item = u64> {
gen {
let mut a = 1;
let mut b = 0;
loop {
yield b;
let t = b;
b = a;
a += t;
}
}
}
m_Core.m_Input
btwSendInput
sv_high_bandwidth 0
Con_DemoSpeed
already reads float value. I couldn't think of a good reason for the command to be limited to integers. Enables ultra-slowmo that are lower than 0.1x speed which is the lowest the UI gives.
void Update(CNamePlates &pThis, int Id, char* aName, bool FriendMark, float FontSize)
{
...
pThis.TextRender()->SetCursor(&Cursor, 0.0f, 0.0f, FontSize, TEXTFLAG_RENDER);
...
}
i need textrender but its inaccesable here, do i just make it... publicCGameClient
anymore it isnt like illegal to do this since the struct is inside the class it wasnt to access stuff from
pThis.TextRender()->TextColor(ColorRGBA(1.0f, 1.0f, 1.0f, Alpha));
pThis.TextRender()->CreateOrAppendTextContainer(m_TextContainerIndex, &Cursor, m_aName);
how does textcolor with appending to text container work if you set it before rendering?./FNG-Server > logfile 2&>1
(the 2&>1
redirects stderr to stdout) (edited)GNU screen
(screens) are terminal sessions which can be attatched and detached/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
/* If you are missing that file, acquire a complete release at teeworlds.com. */
we ever going to get rid of these?/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
/* If you are missing that file, acquire a complete release at teeworlds.com. */
we ever going to get rid of these? time_freq()
is 1 second and 1s/25 is 25 Hz or 40 ms. Looks like it was changed to 25 Hz in https://github.com/ddnet/ddnet/commit/24899a13e8863e59027e993a61e9b2ef6787b74b but the comment was not adjusted (edited)time_freq()
is 1 second and 1s/25 is 25 Hz or 40 ms. Looks like it was changed to 25 Hz in https://github.com/ddnet/ddnet/commit/24899a13e8863e59027e993a61e9b2ef6787b74b but the comment was not adjusted (edited)shell_execute
need a warning remark about what it can and cannot do correctly safely without causing arbitrary code execution for the user Introduce Parameter Object
Introduce Parameter Object