m_Tuning
after this change then ye, it is completely useless. i didn't check whether server is doing that, but it probably wasn't doing that when that PR was made (edited)g_Config.m_ClDummy
at all if you could make that happen tooPLAYERFLAG_CHATTING
(?)PLAYERFLAG_CHATTING
(?) VERSION_DDNET_PLAYERFLAG_SPEC_CAM = 18090,
rep movsb
ok for copying structs or is it better to manually move each field in a register and move it into dest? (edited)rep movsb
ok for copying structs or is it better to manually move each field in a register and move it into dest? (edited)outputs = {
nixpkgs,
...} : let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
devShells.${system}.default = pkgs.mkShell {
inputsFrom = [pkgs.ddnet];
packages = [
];
{
description = "A Nix-flake-based C/C++ development environment";
inputs.nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1.*.tar.gz";
outputs = { self, nixpkgs }:
let
supportedSystems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
forEachSupportedSystem = f: nixpkgs.lib.genAttrs supportedSystems (system: f {
pkgs = import nixpkgs { inherit system; };
});
in
{
devShells = forEachSupportedSystem ({ pkgs }: {
default = pkgs.mkShell.override
{
# Override stdenv in order to change compiler:
# stdenv = pkgs.clangStdenv;
}
{
packages = with pkgs; [
clang-tools
cmake
codespell
conan
cppcheck
doxygen
gtest
lcov
vcpkg
vcpkg-tool
] ++ (if system == "aarch64-darwin" then [ ] else [ gdb ]);
};
});
};
}
(edited)nix develop path:./.dev
and put a flake.nix
file into a .dev
folder under the project directory. this way nix won't copy the entire project into store somewhere.nix develop ./.dev
the .dev
directory need to be a git repository and commited with the flake.nix. i don't really like that way so path:
is kinda needed for me (edited).dev
foldernix-direnv
once you figure out the develop thing. which basically does it for you when you cd into a directory..dev
for ddnetnix build
tick
field. with it you know how many ticks of physics this tee needs to advance if(NumBans == 0)
{
pThis->Console()->Print(IConsole::OUTPUT_LEVEL_STANDARD, "net_ban", "The ban list is empty.");
return;
}
pretty easy first commit, although i did struggle a for awhile trying to figure out how to do the .empty part......