specific_tune_setting
should take priority over a tune zone's specific_tune_setting
vButtonsContainersSettingsControlsJoystickAbsolute
&vec[1] == &vec[2]
&vec[1] == &vec[2]
std::vector<CButtonContainer> vButtonsContainersNamePlateKeyPresses = {{}, {}, {}, {}};
class CButtonContainer{};
sizeof(CButtonContainer) != 0
[cmake] CMake Error at CMakeLists.txt:26 (project):
[cmake] Generator
[cmake]
[cmake] Visual Studio 16 2019
[cmake]
[cmake] could not find any instance of Visual Studio.
[cmake]
[cmake]
[cmake]
VS 2022 is installed? -G "Visual Studio 16 2019"
"EBUSY: resource busy or locked, unlink 'c:\Users\User\Desktop\workspace\ddnet\build\CMakeFiles\CMakeConfigureLog.yaml'".
(edited)>cmake --version
cmake version 3.31.0
[cmake] CMake Error at CMakeLists.txt:1887 (file):
[cmake] file COPY cannot find
[cmake] "C:/Users/Marvin/Desktop/workspace/ddnet/ddnet-libs/ffmpeg/windows/lib64/avcodec-61.dll":
[cmake] No error.
git submodule update
DDNet-Server.exe (17248): Loaded 'C:\Users\Marvin\Desktop\workspace\ddnet\build\release\DDNet-Server.exe'. Module was built without symbols.
DDNet-Server.exe (17248): Loaded 'C:\Windows\System32\ntdll.dll'.
DDNet-Server.exe (17248): Loaded 'C:\Windows\System32\kernel32.dll'.
DDNet-Server.exe (17248): Loaded 'C:\Windows\System32\KernelBase.dll'.
DDNet-Server.exe (17248): Loaded 'C:\Windows\System32\apphelp.dll'.
DDNet-Server.exe (17248): Loaded 'C:\Windows\System32\shlwapi.dll'.
DDNet-Server.exe (17248): Loaded 'C:\Windows\System32\msvcrt.dll'.
DDNet-Server.exe (17248): Loaded 'C:\Windows\System32\ws2_32.dll'.
DDNet-Server.exe (17248): Loaded 'C:\Windows\System32\rpcrt4.dll'.
DDNet-Server.exe (17248): Loaded 'C:\Windows\System32\version.dll'.
DDNet-Server.exe (17248): Loaded 'C:\Windows\System32\ole32.dll'.
DDNet-Server.exe (17248): Loaded 'C:\Windows\System32\ucrtbase.dll'.
DDNet-Server.exe (17248): Loaded 'C:\Windows\System32\combase.dll'.
DDNet-Server.exe (17248): Loaded 'C:\Windows\System32\gdi32.dll'.
DDNet-Server.exe (17248): Loaded 'C:\Windows\System32\win32u.dll'.
DDNet-Server.exe (17248): Loaded 'C:\Windows\System32\gdi32full.dll'.
DDNet-Server.exe (17248): Loaded 'C:\Windows\System32\msvcp_win.dll'.
DDNet-Server.exe (17248): Loaded 'C:\Windows\System32\user32.dll'.
DDNet-Server.exe (17248): Loaded 'C:\Windows\System32\shell32.dll'.
DDNet-Server.exe (17248): Loaded 'C:\Windows\System32\advapi32.dll'.
DDNet-Server.exe (17248): Loaded 'C:\Windows\System32\sechost.dll'.
DDNet-Server.exe (17248): Loaded 'C:\winbuilds\bin\sqlite3.dll'.
DDNet-Server.exe (17248): Loaded 'C:\Windows\System32\bcrypt.dll'.
The program '[17248] DDNet-Server.exe' has exited with code -1073741515 (0xc0000135).
2025-03-02 14:30:17 E server: failed to load map. mapname='dm1'
(base)
if(IsGrounded())
Vel.y = 0;
And I am flying 1 pixel in the air#if defined(CONF_PLATFORM_ANDROID)
// Translate the Android back-button to the escape-key so it can be used to open/close the menu, close popups etc.
if(Key == KEY_AC_BACK)
{
Key = KEY_ESCAPE;
}
#endif
ac back is not android specifoc and could be generated by a funky controller or keyboard https://usb.org/sites/default/files/hut1_5.pdf#if defined(CONF_PLATFORM_ANDROID)
// Translate the Android back-button to the escape-key so it can be used to open/close the menu, close popups etc.
if(Key == KEY_AC_BACK)
{
Key = KEY_ESCAPE;
}
#endif
ac back is not android specifoc and could be generated by a funky controller or keyboard https://usb.org/sites/default/files/hut1_5.pdf candidates
doesnt seem to disable native renderingSDL_EVENT_TEXT_EDITING_CANDIDATES
waiit no way, did sdl actually implement this? SDL_DBusContext *dbus = SDL_DBus_GetContext();
if (IBus_CheckConnection(dbus)) {
Uint32 caps = IBUS_CAP_FOCUS;
if (hint && SDL_strstr(hint, "composition")) {
caps |= IBUS_CAP_PREEDIT_TEXT;
}
if (hint && SDL_strstr(hint, "candidates")) {
// FIXME, turn off native candidate rendering
}
SDL_DBus_CallVoidMethodOnConnection(ibus_conn, ibus_service, input_ctx_path, ibus_input_interface, "SetCapabilities",
DBUS_TYPE_UINT32, &caps, DBUS_TYPE_INVALID);
}
SDL_DBusContext *dbus = SDL_DBus_GetContext();
if (IBus_CheckConnection(dbus)) {
Uint32 caps = IBUS_CAP_FOCUS;
if (hint && SDL_strstr(hint, "composition")) {
caps |= IBUS_CAP_PREEDIT_TEXT;
}
if (hint && SDL_strstr(hint, "candidates")) {
// FIXME, turn off native candidate rendering
}
SDL_DBus_CallVoidMethodOnConnection(ibus_conn, ibus_service, input_ctx_path, ibus_input_interface, "SetCapabilities",
DBUS_TYPE_UINT32, &caps, DBUS_TYPE_INVALID);
}
SDL_SendEditingTextCandidates
The "show-lookup-table" signal
The "cursor-down-lookup-table" signal
The "cursor-up-lookup-table" signal
SDL_SendEditingTextCandidates
IBUS_CAP_LOOKUP_TABLE
there is this capability indicating you can render your own, maybe setting this is enough?IBUS_CAP_LOOKUP_TABLE
there is this capability indicating you can render your own, maybe setting this is enough? The panel component does nothing for an application that doesn't support focus.
update-lookup-table
signals for it?hide-lookup-table signal
to hide it?inp_ime_native_ui 1
inp_ime_native_ui 1
pData->m_NumCommands = 0;
for(CCommand *pCommand = m_pFirstCommand; pCommand; pCommand = pCommand->m_pNext)
{
if(pData->m_NumCommands < (int)(std::size(pData->m_aCommandsChecksum)))
{
FCommandCallback pfnCallback = pCommand->m_pfnCallback;
void *pUserData = pCommand->m_pUserData;
TraverseChain(&pfnCallback, &pUserData);
int CallbackBits = (uintptr_t)pfnCallback & 0xfff;
int *pTarget = &pData->m_aCommandsChecksum[pData->m_NumCommands];
*pTarget = ((uint8_t)pCommand->m_pName[0]) | ((uint8_t)pCommand->m_pName[1] << 8) | (CallbackBits << 16);
}
pData->m_NumCommands += 1;
}
is it fine if this code changesvoid CConsole::InitChecksum(CChecksumData *pData) const
to produce a different value equally as checksummy)void CConsole::InitChecksum(CChecksumData *pData) const
to produce a different value equally as checksummy) std::function
sstatic_assert(
::rust::IsRelocatable<::IConsole_FCommandCallback>::value,
"type IConsole_FCommandCallback should be trivially move constructible and trivially destructible in C++ to be used as an argument of `Register` in Rust");
everything seems to work but this.. but i removed it and it compilesstd::function
s static_assert(
::rust::IsRelocatable<::IConsole_FCommandCallback>::value,
"type IConsole_FCommandCallback should be trivially move constructible and trivially destructible in C++ to be used as an argument of `Register` in Rust");
everything seems to work but this.. but i removed it and it compiles CMenus::PopupConfirm
. Try to at most rewrite that to use a parameter object instead of a bunch of separate parameters and std::function
callbacks instead of function pointers to member functions.CMenus::PopupConfirm
. At that point you'd have to duplicate the popup (which is currently done for a lot of popups anyway)PopupConfirm
yourself, it's generic and only renders your message and buttonscontent.py
? I literally copied the code of an other tile with the same size and can't render it properly/home/runner/work/ddnet/ddnet/src/game/client/prediction/entities/character.cpp:392:48: error: Potential memory leak [clang-analyzer-unix.Malloc,-warnings-as-errors]
392 | for(int i = -ShotSpread; i <= ShotSpread; ++i)
| ^
(edited)shotgun_strength
to -10
but it does nothingshotgun_strength
to -10
but it does nothing // NOLINT(clang-analyzer-unix.Malloc)