From 19923e81f97fe560ba102ebcbaf116634c68ccb6 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 10 Mar 2012 19:04:49 +0000 Subject: (svn r24022) -Add: CARGO_LIST control code for strings --- src/table/control_codes.h | 1 + src/table/strgen_tables.h | 1 + 2 files changed, 2 insertions(+) (limited to 'src/table') diff --git a/src/table/control_codes.h b/src/table/control_codes.h index 81b100921..50233d5f6 100644 --- a/src/table/control_codes.h +++ b/src/table/control_codes.h @@ -54,6 +54,7 @@ enum StringControlCode { SCC_CARGO_LONG, SCC_CARGO_SHORT, SCC_CARGO_TINY, + SCC_CARGO_LIST, SCC_POWER, SCC_VOLUME_LONG, SCC_VOLUME_SHORT, diff --git a/src/table/strgen_tables.h b/src/table/strgen_tables.h index 276a94cce..ed77d54ef 100644 --- a/src/table/strgen_tables.h +++ b/src/table/strgen_tables.h @@ -73,6 +73,7 @@ static const CmdStruct _cmd_structs[] = { {"CARGO_LONG", EmitSingleChar, SCC_CARGO_LONG, 2, C_NONE | C_GENDER}, {"CARGO_SHORT", EmitSingleChar, SCC_CARGO_SHORT, 2, C_NONE}, // short cargo description, only ### tons, or ### litres {"CARGO_TINY", EmitSingleChar, SCC_CARGO_TINY, 2, C_NONE}, // tiny cargo description with only the amount, not a specifier for the amount or the actual cargo name + {"CARGO_LIST", EmitSingleChar, SCC_CARGO_LIST, 1, C_CASE}, {"POWER", EmitSingleChar, SCC_POWER, 1, C_NONE}, {"VOLUME_LONG", EmitSingleChar, SCC_VOLUME_LONG, 1, C_NONE}, {"VOLUME_SHORT", EmitSingleChar, SCC_VOLUME_SHORT, 1, C_NONE}, -- cgit v1.2.3-54-g00ecf