all repos — conver-tool @ cd20fd6be5fe62bfbe5977d18eacabbc063e501f

A command line tool to manage ConVer projects.

Changed size -> impact.
h3rald h3rald@h3rald.com
Fri, 12 Jun 2026 10:54:19 +0200
commit

cd20fd6be5fe62bfbe5977d18eacabbc063e501f

parent

b116e277970b30c049cdfe2dc602609b845a8c49

2 files changed, 16 insertions(+), 16 deletions(-)

jump to
M src/conver.csrc/conver.c

@@ -177,13 +177,13 @@ if (vscore >= 0x801 && vscore <= 0xC00) { return CONVER_STAGE_CONSOLIDATED; }

return CONVER_STAGE_BEDROCK; } -conver_size_t size(uint16_t version) +conver_impact_t size(uint16_t version) { uint16_t meta = metadata(version); - if (meta >= 0xC) { return CONVER_SIZE_X; } - if (meta >= 0x8) { return CONVER_SIZE_L; } - if (meta >= 0x4) { return CONVER_SIZE_M; } - return CONVER_SIZE_S; + if (meta >= 0xC) { return CONVER_IMPACT_C; } + if (meta >= 0x8) { return CONVER_IMPACT_H; } + if (meta >= 0x4) { return CONVER_IMPACT_M; } + return CONVER_IMPACT_S; } conver_compatibility_t compatibility(uint16_t version)

@@ -258,7 +258,7 @@

void print_version(uint16_t version) { printf(" v%03X-%1X (Stage: %s)\n", score(version), metadata(version), conver_stages[stage(version)]); - printf(" Size: %s - Compatibility: %s - Purpose: %s\n", conver_sizes[size(version)], conver_compatibilities[compatibility(version)], conver_purposes[purpose(version)]); + printf(" Impact: %s - Compatibility: %s - Purpose: %s\n", conver_impacts[size(version)], conver_compatibilities[compatibility(version)], conver_purposes[purpose(version)]); } int parse_history() {
M src/conver.hsrc/conver.h

@@ -69,19 +69,19 @@ "Consolidated",

"Bedrock", }; -typedef enum conver_size_t +typedef enum conver_impact_t { - CONVER_SIZE_S = 0, - CONVER_SIZE_M = 1, - CONVER_SIZE_L = 2, - CONVER_SIZE_X = 3, -} conver_size_t; + CONVER_IMPACT_S = 0, + CONVER_IMPACT_M = 1, + CONVER_IMPACT_H = 2, + CONVER_IMPACT_C = 3, +} conver_impact_t; -char *conver_sizes[4] = { - "Small", +char *conver_impacts[4] = { + "Low", "Medium", - "Large", - "Extra Large", + "High", + "Critical", }; typedef enum conver_compatibility_t