| 683 | } |
| 684 | |
| 685 | const char *formatentityattributes(const persistent_entity &e, bool withcomma) |
| 686 | { |
| 687 | static string res; |
| 688 | int t = e.type < MAXENTTYPES ? e.type : 0; |
| 689 | const char *c = withcomma ? "," : ""; |
| 690 | #define AA(x) floatstr(float(e.attr##x) / entscale[t][x - 1], true) |
| 691 | formatstring(res)("%s%s %s%s %s%s %s%s %s%s %s%s %s", AA(1), c, AA(2), c, AA(3), c, AA(4), c, AA(5), c, AA(6), c, AA(7)); |
| 692 | #undef AA |
| 693 | return res; |
| 694 | } |
no outgoing calls
no test coverage detected