projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'convert-src-to-7bit'
[rocksndiamonds.git]
/
src
/
editor.c
diff --git
a/src/editor.c
b/src/editor.c
index 466231ecca0be9c014b7c74a6641940955d2d79c..cc1232f8dabbeab772d20f6d200b90273a1de409 100644
(file)
--- a/
src/editor.c
+++ b/
src/editor.c
@@
-10074,6
+10074,9
@@
static void CopyBrushExt(int from_x, int from_y, int to_x, int to_y,
else if (element >= NUM_FILE_ELEMENTS)
element_mapped = EL_UNKNOWN;
else if (element >= NUM_FILE_ELEMENTS)
element_mapped = EL_UNKNOWN;
+ // dump brush as level sketch text for the R'n'D forum:
+ // - large tiles: `xxx (0x60 ASCII)
+ // - small tiles: ¸xxx (0xb8 ISO-8859-1, 0xc2b8 UTF-8)
printf("%s%03d", (mode == CB_DUMP_BRUSH ? "`" : "¸"), element_mapped);
}
printf("%s%03d", (mode == CB_DUMP_BRUSH ? "`" : "¸"), element_mapped);
}