c599715
A Lost_Ground, M Pablik 2, M Pablik 3 - ddnet-mapsUSE="elogind dist-kernel -qt5 -kde gtk gnome -systemd fish X wayland screencast lm-sensors contrib mount alsa pipewire pulseaudio xinerama opengl vulkan udev fontconfig vorbis opus vdpau bluetooth lvm readline"
root@machine ~# cat /etc/conf.d/display-manager
# We always try and start the DM on a static VT. The various DMs normally
# default to using VT7. If you wish to use the display-manager init
# script, then you should ensure that the VT checked is the same VT your
# DM wants to use.
# We do this check to ensure that you haven't accidentally configured
# something to run on the VT in your /etc/inittab file so that
# you don't get a dead keyboard.
CHECKVT=7
# What display manager do you use ?
# [ xdm | greetd | gdm | sddm | gpe | lightdm | entrance ]
# NOTE: If this is set in /etc/rc.conf, that setting will override this one.
DISPLAYMANAGER="gdm"
dksndbhe
means xddsv_vanilla_antispoof 1
OnRender(CUIRect View)
instead of Render(bool Tileset)
.
m_MixingRate
do in sound.cpp?m_MixingRate
do in sound.cpp? MACRO_CONFIG_INT(SndRate, snd_rate, 48000, 5512, 384000, CFGFLAG_SAVE | CFGFLAG_CLIENT, "Sound mixing rate")
this mf hereMACRO_CONFIG_INT(SndRate, snd_rate, 48000, 5512, 384000, CFGFLAG_SAVE | CFGFLAG_CLIENT, "Sound mixing rate")
this mf here HISTSIZE
and HISTFILESIZE
are both over 9k and set in /etc/bash.bashrc ~/.profile and ~/.bashrc histappend
is onif(g_Config.m_SndGame)
m_pClient->m_Sounds.PlayAt(CSounds::CHN_WORLD, SOUND_PLAYER_AIRJUMP, 1.0f, Pos);
static void SdlCallback(void *pUnused, Uint8 *pStream, int Len)
{
(void)pUnused;
#if defined(CONF_VIDEORECORDER)
if(!(IVideo::Current() && g_Config.m_ClVideoSndEnable))
{
Mix((short *)pStream, Len / sizeof(short) / 2);
}
else
{
mem_zero(pStream, Len);
}
#else
Mix((short *)pStream, Len / sizeof(short) / 2);
#endif
}
// Set 16-bit stereo audio at 22Khz
Format.freq = g_Config.m_SndRate;
Format.format = AUDIO_S16;
Format.channels = 2;
Format.samples = g_Config.m_SndBufferSize;
Format.callback = SdlCallback;
Format.userdata = NULL;
// Open the audio device and start playing sound!
m_Device = SDL_OpenAudioDevice(NULL, 0, &Format, &FormatOut, 0);
sockaddr_inet
and sockaddr_inet6
?https://github.com/bschwind/opencascade-rs
which is a work in progress)
I have completed this https://dev.opencascade.org/doc/overview/html/occt__tutorial.html
which is basically like hello world for using the OCCT kernel to create a model.
I want to interact with the application mainly via code AKA code-only/code-first.
zogtib told be to interface it with Lua.
My problem is I don't know where to start
Any proposals are welcome :).#[link(wasm_import_module = "mod")]
extern { fn foo(); }
#[wasm_bindgen]
extern {
fn alert(s: &str);
}
global _start
section .text
_start: mov rax, 1 ; system call for write
mov rdi, 1 ; file handle 1 is stdout
mov rsi, message ; address of string to output
mov rdx, 13 ; number of bytes
syscall ; invoke operating system to do the write
mov rax, 60 ; system call for exit
xor rdi, rdi ; exit code 0
syscall ; invoke operating system to exit
section .data
message: db "Hello, World", 10 ; note the newline at the end
section .bss
udp_recv_buf resb 1400
The following keyword changes are necessary to proceed:
(see "package.accept_keywords" in the portage(5) man page for more details)
# required by ddnet (argument)
=games-action/ddnet-17.2.1 ~amd64
global _start
section .text
stdout equ 1
_start:
mov r8, 1 ; initial line length
mov r9, 0 ; chars written
mov rdi, buffer
line:
mov byte [rdi], '*'
inc rdi
inc r9
cmp r9, r8 ; check if number of written stars is same as needed
jne line
lineDone:
mov byte [rdi], `\n`
inc rdi
inc r8
mov r9, 0
cmp r8, maxlines
jng line
print:
mov byte [rdi], `\n`
inc rdi
mov byte [rdi], `\0`
inc rdi
mov rdx, rdi
sub rdx, buffer
mov rax, 1
mov rdi, stdout
mov rsi, buffer
syscall
mov rax, 60 ; system call for exit
xor rdi, rdi ; exit code 0
syscall
section .bss
maxlines equ 8
buffer_size equ 64
buffer: resb buffer_size
The following keyword changes are necessary to proceed:
(see "package.accept_keywords" in the portage(5) man page for more details)
# required by ddnet (argument)
=games-action/ddnet-17.2.1 ~amd64
games-action/ddnet **
src/engine/client/updater.cpp
should not #include
then I'd reply that there are already 5 game/version.h
includes in engine
.
We can refactor it and pass the version via engine, e.g.:
```diff
-IEngine *pEngine = CreateEngine(GAME_NAME, pFutureConsoleLogger, 2);
+IEngine *pEngine = CreateEngine(GAME_NAME, G...NETMSGTYPE_CL_SAY
, etc.
It is hard to track what is going on in this method, and sometimes it is even harder to merge changes here.
Note: I can't fix the code style for this MR, this is why I asked for #7033 ("please update clang-format").
let points = [{x: 1, y:2}, {x:3, y:4}];
goto((itemOf(points.x, point2 - 1)), (itemOf(points.y, point2 - 1)));
#converted to
goto(points.x[point2 - 1], points.y[point2 - 1]);
(edited)itemOf\(([^(),]*), ([^(),]*)\)