m_FlagMask | CFGFLAG_GAME
to the FindCommand call in ExecuteLineStroked. without this it seems like FindCommand will never find commands with CFGFLAG_GAME because the client's m_FlagMask is CFGFLAG_CLIENT by default.Console()->ResetServerGameSettings();
CFGFLAG_GAME | CFGFLAG_CLIENT,
instead of only CFGFLAG_CLIENT
because those should be all the configs it cares about. (edited)CFGFLAG_GAME
was mostly about the server when it was introduced. I think someone else tried executing the configs on the client as well later onCFGFLAG_GAME
was mostly about the server when it was introduced. I think someone else tried executing the configs on the client as well later on CFGFLAG_CLIENT
to the relevant configgcc-7 : Depends: libgcc-7-dev (=7.5.0-3ubuntu1~18.04) but it is not installable)
(edited)dpkg -r gcc-7
apt install --fix-broken
it should automatically suggest which packages to removeMouseDeltaX()
is used and the resulting value gets stored in a fixed precision number. The only solution that comes to mind is to use the absolute mouse position instead. That would still not solve this issue for high precision mode though. (edited)CFont
? Right now we seem to use two font atlases in total, one for the icon font and one for all other fonts, because there are only two CFont
objects. Fallback fonts are currently stored as part of the CFont
objects. Is it better to a) have less atlases to avoid the texture switching, or b) would it make more sense to have an atlas for every individual font, or c) only one atlas for all fonts including the icon font? Asking because I'll likely rework it for #6881.The following packages have been kept back:
gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0 libjavascriptcoregtk-4.0-18 libquazip5-1 libquazip5-dev libwebkit2gtk-4.0-37 mesa-common-dev
The following packages will be REMOVED:
apturl atril libatrilview3 libquazip5-headers nautilus-share ubuntu-desktop ubuntu-desktop-minimal xubuntu-desktop
The following packages have been kept back:
gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0 libjavascriptcoregtk-4.0-18 libwebkit2gtk-4.0-37 mesa-common-dev
The following packages will be upgraded:
libquazip5-1 libquazip5-dev
The following packages have unmet dependencies:
build-essential : Depends: g++ (>= 4:9.2) but it is not going to be installed
libglew-dev : Depends: libgl1-mesa-dev but it is not going to be installed or
libgl-dev but it is not going to be installed
Depends: libglu1-mesa-dev but it is not going to be installed or
libglu-dev
libnotify-dev : Depends: libglib2.0-dev (>= 2.26) but it is not going to be installed
Depends: libgdk-pixbuf2.0-dev but it is not going to be installed
libsdl2-dev : Depends: libegl1-mesa-dev but it is not going to be installed
Depends: libgl1-mesa-dev but it is not going to be installed
Depends: libgles2-mesa-dev but it is not going to be installed
Depends: libglu1-mesa-dev but it is not going to be installed
Depends: libibus-1.0-dev but it is not going to be installed
Depends: libpulse-dev but it is not going to be installed
gcc --version
gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0
src/game/client/prediction/entity.h
#define MACRO_ALLOC_HEAP() \
public: \
void *operator new(size_t Size) \
{ \
void *p = malloc(Size); \
mem_zero(p, Size); \
return p; \
} \
void operator delete(void *pPtr) \
{ \
free(pPtr); \
} \
\
private:
what exactly is the purpose for this?sv_banned_versions
check when there is no DDNet version for a client.4f103d5
Revert "Allow server to redirect clients" - heinrich59914f103d5
Revert "Allow server to redirect clients" - heinrich5991remote: Bypassed rule violations for refs/heads/master:
remote:
remote: - Changes must be made through the merge queue
remote:
remote: - 10 of 10 required status checks have not succeeded: .
remote:
git rebase --abort
, or after the rebase with the help of git reflog
)git rebase --abort
, or after the rebase with the help of git reflog
)
(@marmare_314)git rebase --abort
, or after the rebase with the help of git reflog
) reflog
is only useful if you know what youre doing in the first placerebase -i
is very usefulc++
// Number of CFonts is low (5-10)
// Number of ints is high (number of unicode codepoints)
// sizeof(SFontSizeChar) is roughly 48
std::unordered_map<int, std::unordered_map<CFont *, SFontSizeChar>> m_Chars1;
std::unordered_map<CFont *, std::unordered_map<int, SFontSizeChar>> m_Chars2;
std::unordered_map<std::tuple<CFont *, int>, SFontSizeChar> m_Chars3;
Which one is the best?std::unordered_map
s lying aroundпикник-0003.jpg
(edited)Content-Disposition: inline; filename="=?iso-8859-1?Q?пикник-0003.jpg?="
Content-Transfer-Encoding: base64
Content-Type: application/octet-stream; name="=?iso-8859-1?Q?пикник-0003.jpg?="