w=1
to the URL of this PR to show simpler diff (ignoring whitespace).
9ecb010
Use IO_MAX_PATH_LENGTH
in CFileCollection
- Robyt3
34df022
Use IO_MAX_PATH_LENGTH
for editor map saving and loading - Robyt3
4372932
Remove unnecessary storage argument of CEditorMap::Load
/Save
- Robyt3
e04eee9
Extract CEditor::HandleCursorMovement
function - Robyt3
72fbfaa
Fix save copy callback not called when confirmation popup used - Robyt3
bb773b9
Merge #6761 - bors[bot]-fsanitize=memory
i assumeinvalid argument '-fsanitize=address' not allowed with '-fsanitize=memory'
./map_create_pixelart ~/Downloads/map_sao.png 0 ~/.local/share/ddnet/maps/pixelart1.map 0 0 0 0 0 ~/.local/share/ddnet/maps/pixelart.map
Usage: ./map_create_pixelart <image.png> <img_pixelsize> <input_map> <layergroup_id> <layer_id> <pos_x> <pos_y> <quad_pixelsize> <output_map> [optimize=0|1] [centralize=0|1]
this is the usageNote: set img_pixelsize to 0 to consider the largest possible size.
Note: set quad_pixelsize to 0 to consider the same value of img_pixelsize.
Note: if image.png has not a perfect pixelart grid, result might be unexpected, manually fix img_pixelsize to get it better.
print(len(set(Image.open(image_path))))
maps/auto
folder (interval configurable, see below). The automatically saved map uses the filename of the original map with an additional timestamp. Per map name 10 autosaves are kept in the auto
folder before old autosaves will be deleted (number configurable, see below).
Add config variable ed_autosave_interval
(0 - 240, default 10) to configure the interval in minutes at which a copy of the current edi...set_view 10 10
cl_rec_cam 1
to record you camera movement and then playback the same demo with cl_rec_cam 2
and itll do the same move#
or $
.fs_split_file_extension
to separate filename and extension.
Add fs_filename
to extract file/folder name from path. This commit is not required for this PR, but including it reduces conflicts with #6752 and #6763, which need this commit.
I
in c# as wellI
prefix for ABCs, adding data to them is imo a little sketch, but teeworlds/ddnet does it sadlyI
prefix makes you think it's an ABC but it turns out not to be...I
as a prefix does not just apply to abstract classes; it applies to interfaces, which are pure virtual classes which intend only to define the behavior of the implementation (nothing more, nothing less) and serve as a handle for the implementation via. pointer in COM/OLEI
as a prefix does not just apply to abstract classes; it applies to interfaces, which are pure virtual classes which intend only to define the behavior of the implementation (nothing more, nothing less) and serve as a handle for the implementation via. pointer in COM/OLE I
would be appropriatevoid fn() {
//do stuff
fn(); //?
}
void fn() {
//do stuff
fn(); //?
}
void x() {
std::vector<int> y;
x();
}
become
become
guarantees tail calls and runs destructors beforehandvoid x() {
std::vector<int> y;
x();
}