| 404 | } |
| 405 | |
| 406 | char *UTIL_SendFlagsToString(int flags, int type) |
| 407 | { |
| 408 | static char str[1024]; |
| 409 | str[0] = 0; |
| 410 | |
| 411 | if (flags & SPROP_UNSIGNED) |
| 412 | { |
| 413 | strcat(str, "Unsigned|"); |
| 414 | } |
| 415 | if (flags & SPROP_COORD) |
| 416 | { |
| 417 | strcat(str, "Coord|"); |
| 418 | } |
| 419 | if (flags & SPROP_NOSCALE) |
| 420 | { |
| 421 | strcat(str, "NoScale|"); |
| 422 | } |
| 423 | if (flags & SPROP_ROUNDDOWN) |
| 424 | { |
| 425 | strcat(str, "RoundDown|"); |
| 426 | } |
| 427 | if (flags & SPROP_ROUNDUP) |
| 428 | { |
| 429 | strcat(str, "RoundUp|"); |
| 430 | } |
| 431 | if (flags & SPROP_NORMAL) |
| 432 | { |
| 433 | if (type == DPT_Int) |
| 434 | { |
| 435 | strcat(str, "VarInt|"); |
| 436 | } |
| 437 | else |
| 438 | { |
| 439 | strcat(str, "Normal|"); |
| 440 | } |
| 441 | } |
| 442 | if (flags & SPROP_EXCLUDE) |
| 443 | { |
| 444 | strcat(str, "Exclude|"); |
| 445 | } |
| 446 | if (flags & SPROP_XYZE) |
| 447 | { |
| 448 | strcat(str, "XYZE|"); |
| 449 | } |
| 450 | if (flags & SPROP_INSIDEARRAY) |
| 451 | { |
| 452 | strcat(str, "InsideArray|"); |
| 453 | } |
| 454 | if (flags & SPROP_PROXY_ALWAYS_YES) |
| 455 | { |
| 456 | strcat(str, "AlwaysProxy|"); |
| 457 | } |
| 458 | if (flags & SPROP_CHANGES_OFTEN) |
| 459 | { |
| 460 | strcat(str, "ChangesOften|"); |
| 461 | } |
| 462 | if (flags & SPROP_IS_A_VECTOR_ELEM) |
| 463 | { |
no outgoing calls
no test coverage detected