diff --git a/src/simulation/SimulationData.cpp b/src/simulation/SimulationData.cpp index 8fc7b099e..d34bb39c9 100644 --- a/src/simulation/SimulationData.cpp +++ b/src/simulation/SimulationData.cpp @@ -14,30 +14,30 @@ std::vector LoadGOLMenu() { return std::vector{ - {"GOL", PIXPACK(0x0CAC00), 0, String("Game Of Life: Begin 3/Stay 23")}, - {"HLIF", PIXPACK(0xFF0000), 1, String("High Life: B36/S23")}, - {"ASIM", PIXPACK(0x0000FF), 2, String("Assimilation: B345/S4567")}, - {"2x2", PIXPACK(0xFFFF00), 3, String("2x2: B36/S125")}, - {"DANI", PIXPACK(0x00FFFF), 4, String("Day and Night: B3678/S34678")}, - {"AMOE", PIXPACK(0xFF00FF), 5, String("Amoeba: B357/S1358")}, - {"MOVE", PIXPACK(0xFFFFFF), 6, String("'Move' particles. Does not move things.. it is a life type: B368/S245")}, - {"PGOL", PIXPACK(0xE05010), 7, String("Pseudo Life: B357/S238")}, - {"DMOE", PIXPACK(0x500000), 8, String("Diamoeba: B35678/S5678")}, - {"34", PIXPACK(0x500050), 9, String("34: B34/S34")}, - {"LLIF", PIXPACK(0x505050), 10, String("Long Life: B345/S5")}, - {"STAN", PIXPACK(0x5000FF), 11, String("Stains: B3678/S235678")}, - {"SEED", PIXPACK(0xFBEC7D), 12, String("Seeds: B2/S")}, - {"MAZE", PIXPACK(0xA8E4A0), 13, String("Maze: B3/S12345")}, - {"COAG", PIXPACK(0x9ACD32), 14, String("Coagulations: B378/S235678")}, - {"WALL", PIXPACK(0x0047AB), 15, String("Walled cities: B45678/S2345")}, - {"GNAR", PIXPACK(0xE5B73B), 16, String("Gnarl: B1/S1")}, - {"REPL", PIXPACK(0x259588), 17, String("Replicator: B1357/S1357")}, - {"MYST", PIXPACK(0x0C3C00), 18, String("Mystery: B3458/S05678")}, - {"LOTE", PIXPACK(0xFF0000), 19, String("Living on the Edge: B37/S3458/4")}, - {"FRG2", PIXPACK(0x00FF00), 20, String("Like Frogs rule: B3/S124/3")}, - {"STAR", PIXPACK(0x0000FF), 21, String("Like Star Wars rule: B278/S3456/6")}, - {"FROG", PIXPACK(0x00AA00), 22, String("Frogs: B34/S12/3")}, - {"BRAN", PIXPACK(0xCCCC00), 23, String("Brian 6: B246/S6/3")} + {"GOL", PIXPACK(0x0CAC00), 0, "Game Of Life: Begin 3/Stay 23"_i18n}, + {"HLIF", PIXPACK(0xFF0000), 1, "High Life: B36/S23"_i18n}, + {"ASIM", PIXPACK(0x0000FF), 2, "Assimilation: B345/S4567"_i18n}, + {"2x2", PIXPACK(0xFFFF00), 3, "2x2: B36/S125"_i18n}, + {"DANI", PIXPACK(0x00FFFF), 4, "Day and Night: B3678/S34678"_i18n}, + {"AMOE", PIXPACK(0xFF00FF), 5, "Amoeba: B357/S1358"_i18n}, + {"MOVE", PIXPACK(0xFFFFFF), 6, "'Move' particles. Does not move things.. it is a life type: B368/S245"_i18n}, + {"PGOL", PIXPACK(0xE05010), 7, "Pseudo Life: B357/S238"_i18n}, + {"DMOE", PIXPACK(0x500000), 8, "Diamoeba: B35678/S5678"_i18n}, + {"34", PIXPACK(0x500050), 9, "34: B34/S34"_i18n}, + {"LLIF", PIXPACK(0x505050), 10, "Long Life: B345/S5"_i18n}, + {"STAN", PIXPACK(0x5000FF), 11, "Stains: B3678/S235678"_i18n}, + {"SEED", PIXPACK(0xFBEC7D), 12, "Seeds: B2/S"_i18n}, + {"MAZE", PIXPACK(0xA8E4A0), 13, "Maze: B3/S12345"_i18n}, + {"COAG", PIXPACK(0x9ACD32), 14, "Coagulations: B378/S235678"_i18n}, + {"WALL", PIXPACK(0x0047AB), 15, "Walled cities: B45678/S2345"_i18n}, + {"GNAR", PIXPACK(0xE5B73B), 16, "Gnarl: B1/S1"_i18n}, + {"REPL", PIXPACK(0x259588), 17, "Replicator: B1357/S1357"_i18n}, + {"MYST", PIXPACK(0x0C3C00), 18, "Mystery: B3458/S05678"_i18n}, + {"LOTE", PIXPACK(0xFF0000), 19, "Living on the Edge: B37/S3458/4"_i18n}, + {"FRG2", PIXPACK(0x00FF00), 20, "Like Frogs rule: B3/S124/3"_i18n}, + {"STAR", PIXPACK(0x0000FF), 21, "Like Star Wars rule: B278/S3456/6"_i18n}, + {"FROG", PIXPACK(0x00AA00), 22, "Frogs: B34/S12/3"_i18n}, + {"BRAN", PIXPACK(0xCCCC00), 23, "Brian 6: B246/S6/3"_i18n} }; } @@ -109,25 +109,25 @@ std::vector LoadWalls() { return std::vector{ - {PIXPACK(0x808080), PIXPACK(0x000000), 0, Renderer::WallIcon, String("ERASE"), "DEFAULT_WL_ERASE", String("Erases walls.")}, - {PIXPACK(0xC0C0C0), PIXPACK(0x101010), 0, Renderer::WallIcon, String("CONDUCTIVE WALL"), "DEFAULT_WL_CNDTW", String("Blocks everything. Conductive.")}, - {PIXPACK(0x808080), PIXPACK(0x808080), 0, Renderer::WallIcon, String("EWALL"), "DEFAULT_WL_EWALL", String("E-Wall. Becomes transparent when electricity is connected.")}, - {PIXPACK(0xFF8080), PIXPACK(0xFF2008), 1, Renderer::WallIcon, String("DETECTOR"), "DEFAULT_WL_DTECT", String("Detector. Generates electricity when a particle is inside.")}, - {PIXPACK(0x808080), PIXPACK(0x000000), 0, Renderer::WallIcon, String("STREAMLINE"), "DEFAULT_WL_STRM", String("Streamline. Set start point of a streamline.")}, - {PIXPACK(0x8080FF), PIXPACK(0x000000), 1, Renderer::WallIcon, String("FAN"), "DEFAULT_WL_FAN", String("Fan. Accelerates air. Use the line tool to set direction and strength.")}, - {PIXPACK(0xC0C0C0), PIXPACK(0x101010), 2, Renderer::WallIcon, String("LIQUID WALL"), "DEFAULT_WL_LIQD", String("Allows liquids, blocks all other particles. Conductive.")}, - {PIXPACK(0x808080), PIXPACK(0x000000), 1, Renderer::WallIcon, String("ABSORB WALL"), "DEFAULT_WL_ABSRB", String("Absorbs particles but lets air currents through.")}, - {PIXPACK(0x808080), PIXPACK(0x000000), 3, Renderer::WallIcon, String("WALL"), "DEFAULT_WL_WALL", String("Basic wall, blocks everything.")}, - {PIXPACK(0x3C3C3C), PIXPACK(0x000000), 1, Renderer::WallIcon, String("AIRONLY WALL"), "DEFAULT_WL_AIR", String("Allows air, but blocks all particles.")}, - {PIXPACK(0x575757), PIXPACK(0x000000), 1, Renderer::WallIcon, String("POWDER WALL"), "DEFAULT_WL_POWDR", String("Allows powders, blocks all other particles.")}, - {PIXPACK(0xFFFF22), PIXPACK(0x101010), 2, Renderer::WallIcon, String("CONDUCTOR"), "DEFAULT_WL_CNDTR", String("Conductor. Allows all particles to pass through and conducts electricity.")}, - {PIXPACK(0x242424), PIXPACK(0x101010), 0, Renderer::WallIcon, String("EHOLE"), "DEFAULT_WL_EHOLE", String("E-Hole. absorbs particles, releases them when powered.")}, - {PIXPACK(0x579777), PIXPACK(0x000000), 1, Renderer::WallIcon, String("GAS WALL"), "DEFAULT_WL_GAS", String("Allows gases, blocks all other particles.")}, - {PIXPACK(0xFFEE00), PIXPACK(0xAA9900), 4, Renderer::WallIcon, String("GRAVITY WALL"), "DEFAULT_WL_GRVTY", String("Gravity wall. Newtonian Gravity has no effect inside a box drawn with this.")}, - {PIXPACK(0xFFAA00), PIXPACK(0xAA5500), 4, Renderer::WallIcon, String("ENERGY WALL"), "DEFAULT_WL_ENRGY", String("Allows energy particles, blocks all other particles.")}, - {PIXPACK(0xDCDCDC), PIXPACK(0x000000), 1, Renderer::WallIcon, String("AIRBLOCK WALL"), "DEFAULT_WL_NOAIR", String("Allows all particles, but blocks air.")}, - {PIXPACK(0x808080), PIXPACK(0x000000), 0, Renderer::WallIcon, String("ERASEALL"), "DEFAULT_WL_ERASEA", String("Erases walls, particles, and signs.")}, - {PIXPACK(0x800080), PIXPACK(0x000000), 0, Renderer::WallIcon, String("STASIS WALL"), "DEFAULT_WL_STASIS", String("Freezes particles inside the wall in place until powered.")}, + {PIXPACK(0x808080), PIXPACK(0x000000), 0, Renderer::WallIcon, "ERASE"_ascii, "DEFAULT_WL_ERASE", "Erases walls."_i18n}, + {PIXPACK(0xC0C0C0), PIXPACK(0x101010), 0, Renderer::WallIcon, "CONDUCTIVE WALL"_ascii, "DEFAULT_WL_CNDTW", "Blocks everything. Conductive."_i18n}, + {PIXPACK(0x808080), PIXPACK(0x808080), 0, Renderer::WallIcon, "EWALL"_ascii, "DEFAULT_WL_EWALL", "E-Wall. Becomes transparent when electricity is connected."_i18n}, + {PIXPACK(0xFF8080), PIXPACK(0xFF2008), 1, Renderer::WallIcon, "DETECTOR"_ascii, "DEFAULT_WL_DTECT", "Detector. Generates electricity when a particle is inside."_i18n}, + {PIXPACK(0x808080), PIXPACK(0x000000), 0, Renderer::WallIcon, "STREAMLINE"_ascii, "DEFAULT_WL_STRM", "Streamline. Set start point of a streamline."_i18n}, + {PIXPACK(0x8080FF), PIXPACK(0x000000), 1, Renderer::WallIcon, "FAN"_ascii, "DEFAULT_WL_FAN", "Fan. Accelerates air. Use the line tool to set direction and strength."_i18n}, + {PIXPACK(0xC0C0C0), PIXPACK(0x101010), 2, Renderer::WallIcon, "LIQUID WALL"_ascii, "DEFAULT_WL_LIQD", "Allows liquids, blocks all other particles. Conductive."_i18n}, + {PIXPACK(0x808080), PIXPACK(0x000000), 1, Renderer::WallIcon, "ABSORB WALL"_ascii, "DEFAULT_WL_ABSRB", "Absorbs particles but lets air currents through."_i18n}, + {PIXPACK(0x808080), PIXPACK(0x000000), 3, Renderer::WallIcon, "WALL"_ascii, "DEFAULT_WL_WALL", "Basic wall, blocks everything."_i18n}, + {PIXPACK(0x3C3C3C), PIXPACK(0x000000), 1, Renderer::WallIcon, "AIRONLY WALL"_ascii, "DEFAULT_WL_AIR", "Allows air, but blocks all particles."_i18n}, + {PIXPACK(0x575757), PIXPACK(0x000000), 1, Renderer::WallIcon, "POWDER WALL"_ascii, "DEFAULT_WL_POWDR", "Allows powders, blocks all other particles."_i18n}, + {PIXPACK(0xFFFF22), PIXPACK(0x101010), 2, Renderer::WallIcon, "CONDUCTOR"_ascii, "DEFAULT_WL_CNDTR", "Conductor. Allows all particles to pass through and conducts electricity."_i18n}, + {PIXPACK(0x242424), PIXPACK(0x101010), 0, Renderer::WallIcon, "EHOLE"_ascii, "DEFAULT_WL_EHOLE", "E-Hole. absorbs particles, releases them when powered."_i18n}, + {PIXPACK(0x579777), PIXPACK(0x000000), 1, Renderer::WallIcon, "GAS WALL"_ascii, "DEFAULT_WL_GAS", "Allows gases, blocks all other particles."_i18n}, + {PIXPACK(0xFFEE00), PIXPACK(0xAA9900), 4, Renderer::WallIcon, "GRAVITY WALL"_ascii, "DEFAULT_WL_GRVTY", "Gravity wall. Newtonian Gravity has no effect inside a box drawn with this."_i18n}, + {PIXPACK(0xFFAA00), PIXPACK(0xAA5500), 4, Renderer::WallIcon, "ENERGY WALL"_ascii, "DEFAULT_WL_ENRGY", "Allows energy particles, blocks all other particles."_i18n}, + {PIXPACK(0xDCDCDC), PIXPACK(0x000000), 1, Renderer::WallIcon, "AIRBLOCK WALL"_ascii, "DEFAULT_WL_NOAIR", "Allows all particles, but blocks air."_i18n}, + {PIXPACK(0x808080), PIXPACK(0x000000), 0, Renderer::WallIcon, "ERASEALL"_ascii, "DEFAULT_WL_ERASEA", "Erases walls, particles, and signs."_i18n}, + {PIXPACK(0x800080), PIXPACK(0x000000), 0, Renderer::WallIcon, "STASIS WALL"_ascii, "DEFAULT_WL_STASIS", "Freezes particles inside the wall in place until powered."_i18n}, }; } @@ -135,24 +135,24 @@ std::vector LoadMenus() { return std::vector{ - {0xE041, String("Walls"), 0, 1}, - {0xE042, String("Electronics"), 0, 1}, - {0xE056, String("Powered Materials"), 0, 1}, - {0xE019, String("Sensors"), 0, 1}, - {0xE062, String("Force"), 0, 1}, - {0xE043, String("Explosives"), 0, 1}, - {0xE045, String("Gases"), 0, 1}, - {0xE044, String("Liquids"), 0, 1}, - {0xE050, String("Powders"), 0, 1}, - {0xE051, String("Solids"), 0, 1}, - {0xE046, String("Radioactive"), 0, 1}, - {0xE04C, String("Special"), 0, 1}, - {0xE052, String("Game Of Life"), 0, 1}, - {0xE057, String("Tools"), 0, 1}, - {0xE067, String("Favorites"), 0, 1}, - {0xE064, String("Decoration tools"), 0, 1}, - {0xE048, String("Cracker"), 0, 0}, - {0xE048, String("Cracker!"), 0, 0}, + {0xE041, "Walls"_i18n, 0, 1}, + {0xE042, "Electronics"_i18n, 0, 1}, + {0xE056, "Powered Materials"_i18n, 0, 1}, + {0xE019, "Sensors"_i18n, 0, 1}, + {0xE062, "Force"_i18n, 0, 1}, + {0xE043, "Explosives"_i18n, 0, 1}, + {0xE045, "Gases"_i18n, 0, 1}, + {0xE044, "Liquids"_i18n, 0, 1}, + {0xE050, "Powders"_i18n, 0, 1}, + {0xE051, "Solids"_i18n, 0, 1}, + {0xE046, "Radioactive"_i18n, 0, 1}, + {0xE04C, "Special"_i18n, 0, 1}, + {0xE052, "Game Of Life"_i18n, 0, 1}, + {0xE057, "Tools"_i18n, 0, 1}, + {0xE067, "Favorites"_i18n, 0, 1}, + {0xE064, "Decoration tools"_i18n, 0, 1}, + {0xE048, "Cracker"_i18n, 0, 0}, + {0xE048, "Cracker!"_i18n, 0, 0}, }; } diff --git a/src/simulation/elements/ACEL.cpp b/src/simulation/elements/ACEL.cpp index c0d50a053..7da023221 100644 --- a/src/simulation/elements/ACEL.cpp +++ b/src/simulation/elements/ACEL.cpp @@ -6,7 +6,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_ACEL() { Identifier = "DEFAULT_PT_ACEL"; - Name = "ACEL"; + Name = "ACEL"_ascii; Colour = PIXPACK(0x0099CC); MenuVisible = 1; MenuSection = SC_FORCE; @@ -30,7 +30,7 @@ void Element::Element_ACEL() Weight = 100; HeatConduct = 251; - Description = "Accelerator, speeds up nearby elements."; + Description = "Accelerator, speeds up nearby elements."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/ACID.cpp b/src/simulation/elements/ACID.cpp index 009c5f86a..5be789a21 100644 --- a/src/simulation/elements/ACID.cpp +++ b/src/simulation/elements/ACID.cpp @@ -6,7 +6,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_ACID() { Identifier = "DEFAULT_PT_ACID"; - Name = "ACID"; + Name = "ACID"_ascii; Colour = PIXPACK(0xED55FF); MenuVisible = 1; MenuSection = SC_LIQUID; @@ -31,7 +31,7 @@ void Element::Element_ACID() Weight = 10; HeatConduct = 34; - Description = "Dissolves almost everything."; + Description = "Dissolves almost everything."_i18n; Properties = TYPE_LIQUID|PROP_DEADLY; diff --git a/src/simulation/elements/AMTR.cpp b/src/simulation/elements/AMTR.cpp index bcf4428d4..ac2064aed 100644 --- a/src/simulation/elements/AMTR.cpp +++ b/src/simulation/elements/AMTR.cpp @@ -6,7 +6,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_AMTR() { Identifier = "DEFAULT_PT_AMTR"; - Name = "AMTR"; + Name = "AMTR"_ascii; Colour = PIXPACK(0x808080); MenuVisible = 1; MenuSection = SC_NUCLEAR; @@ -30,7 +30,7 @@ void Element::Element_AMTR() Weight = 100; HeatConduct = 70; - Description = "Anti-Matter, destroys a majority of particles."; + Description = "Anti-Matter, destroys a majority of particles."_i18n; Properties = TYPE_GAS; diff --git a/src/simulation/elements/ANAR.cpp b/src/simulation/elements/ANAR.cpp index 6864a75cf..436faa731 100644 --- a/src/simulation/elements/ANAR.cpp +++ b/src/simulation/elements/ANAR.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_ANAR() { Identifier = "DEFAULT_PT_ANAR"; - Name = "ANAR"; + Name = "ANAR"_ascii; Colour = PIXPACK(0xFFFFEE); MenuVisible = 1; MenuSection = SC_POWDERS; @@ -30,7 +30,7 @@ void Element::Element_ANAR() Weight = 85; HeatConduct = 70; - Description = "Anti-air. Very light dust, which behaves opposite gravity."; + Description = "Anti-air. Very light dust, which behaves opposite gravity."_i18n; Properties = TYPE_PART; diff --git a/src/simulation/elements/ARAY.cpp b/src/simulation/elements/ARAY.cpp index 5bc8c3de8..3958e87da 100644 --- a/src/simulation/elements/ARAY.cpp +++ b/src/simulation/elements/ARAY.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_ARAY() { Identifier = "DEFAULT_PT_ARAY"; - Name = "ARAY"; + Name = "ARAY"_ascii; Colour = PIXPACK(0xFFBB00); MenuVisible = 1; MenuSection = SC_ELEC; @@ -29,7 +29,7 @@ void Element::Element_ARAY() Weight = 100; HeatConduct = 0; - Description = "Ray Emitter. Rays create points when they collide."; + Description = "Ray Emitter. Rays create points when they collide."_i18n; Properties = TYPE_SOLID|PROP_LIFE_DEC; diff --git a/src/simulation/elements/BANG.cpp b/src/simulation/elements/BANG.cpp index 4dd5098a5..2f0e51b59 100644 --- a/src/simulation/elements/BANG.cpp +++ b/src/simulation/elements/BANG.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_BANG() { Identifier = "DEFAULT_PT_BANG"; - Name = "TNT"; + Name = "TNT"_ascii; Colour = PIXPACK(0xC05050); MenuVisible = 1; MenuSection = SC_EXPLOSIVE; @@ -29,7 +29,7 @@ void Element::Element_BANG() Weight = 100; HeatConduct = 88; - Description = "TNT, explodes all at once."; + Description = "TNT, explodes all at once."_i18n; Properties = TYPE_SOLID | PROP_NEUTPENETRATE; diff --git a/src/simulation/elements/BCLN.cpp b/src/simulation/elements/BCLN.cpp index cb0591851..426a6d0ce 100644 --- a/src/simulation/elements/BCLN.cpp +++ b/src/simulation/elements/BCLN.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_BCLN() { Identifier = "DEFAULT_PT_BCLN"; - Name = "BCLN"; + Name = "BCLN"_ascii; Colour = PIXPACK(0xFFD040); MenuVisible = 1; MenuSection = SC_SPECIAL; @@ -29,7 +29,7 @@ void Element::Element_BCLN() Weight = 100; HeatConduct = 251; - Description = "Breakable Clone."; + Description = "Breakable Clone."_i18n; Properties = TYPE_SOLID | PROP_LIFE_DEC | PROP_LIFE_KILL_DEC | PROP_NOCTYPEDRAW; diff --git a/src/simulation/elements/BCOL.cpp b/src/simulation/elements/BCOL.cpp index 2c78791ae..ce3d2fd2e 100644 --- a/src/simulation/elements/BCOL.cpp +++ b/src/simulation/elements/BCOL.cpp @@ -6,7 +6,7 @@ int Element_COAL_graphics(GRAPHICS_FUNC_ARGS); void Element::Element_BCOL() { Identifier = "DEFAULT_PT_BCOL"; - Name = "BCOL"; + Name = "BCOL"_ascii; Colour = PIXPACK(0x333333); MenuVisible = 1; MenuSection = SC_POWDERS; @@ -31,7 +31,7 @@ void Element::Element_BCOL() Weight = 90; HeatConduct = 150; - Description = "Broken Coal. Heavy particles, burns slowly."; + Description = "Broken Coal. Heavy particles, burns slowly."_i18n; Properties = TYPE_PART; diff --git a/src/simulation/elements/BGLA.cpp b/src/simulation/elements/BGLA.cpp index 66a5c7f76..d49cf68a1 100644 --- a/src/simulation/elements/BGLA.cpp +++ b/src/simulation/elements/BGLA.cpp @@ -3,7 +3,7 @@ void Element::Element_BGLA() { Identifier = "DEFAULT_PT_BGLA"; - Name = "BGLA"; + Name = "BGLA"_ascii; Colour = PIXPACK(0x606060); MenuVisible = 1; MenuSection = SC_POWDERS; @@ -27,7 +27,7 @@ void Element::Element_BGLA() Weight = 90; HeatConduct = 150; - Description = "Broken Glass, heavy particles formed when glass breaks under pressure. Meltable. Bagels."; + Description = "Broken Glass, heavy particles formed when glass breaks under pressure. Meltable. Bagels."_i18n; Properties = TYPE_PART | PROP_HOT_GLOW; diff --git a/src/simulation/elements/BHOL.cpp b/src/simulation/elements/BHOL.cpp index bad62d00b..02e84a2f2 100644 --- a/src/simulation/elements/BHOL.cpp +++ b/src/simulation/elements/BHOL.cpp @@ -3,7 +3,7 @@ void Element::Element_BHOL() { Identifier = "DEFAULT_PT_BHOL"; - Name = "VACU"; + Name = "VACU"_ascii; Colour = PIXPACK(0x303030); MenuVisible = 1; MenuSection = SC_SPECIAL; @@ -28,7 +28,7 @@ void Element::Element_BHOL() DefaultProperties.temp = R_TEMP + 70.0f + 273.15f; HeatConduct = 255; - Description = "Vacuum, sucks in other particles and heats up."; + Description = "Vacuum, sucks in other particles and heats up."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/BIZR.cpp b/src/simulation/elements/BIZR.cpp index 92eae129a..1159d8608 100644 --- a/src/simulation/elements/BIZR.cpp +++ b/src/simulation/elements/BIZR.cpp @@ -6,7 +6,7 @@ int Element_BIZR_graphics(GRAPHICS_FUNC_ARGS); void Element::Element_BIZR() { Identifier = "DEFAULT_PT_BIZR"; - Name = "BIZR"; + Name = "BIZR"_ascii; Colour = PIXPACK(0x00FF77); MenuVisible = 1; MenuSection = SC_LIQUID; @@ -30,7 +30,7 @@ void Element::Element_BIZR() Weight = 30; HeatConduct = 29; - Description = "Bizarre... contradicts the normal state changes. Paints other elements with its deco color."; + Description = "Bizarre... contradicts the normal state changes. Paints other elements with its deco color."_i18n; Properties = TYPE_LIQUID; diff --git a/src/simulation/elements/BIZRG.cpp b/src/simulation/elements/BIZRG.cpp index 33e2fd509..15c30f1b3 100644 --- a/src/simulation/elements/BIZRG.cpp +++ b/src/simulation/elements/BIZRG.cpp @@ -6,7 +6,7 @@ int Element_BIZR_graphics(GRAPHICS_FUNC_ARGS); void Element::Element_BIZRG() { Identifier = "DEFAULT_PT_BIZRG"; - Name = "BIZG"; + Name = "BIZG"_ascii; Colour = PIXPACK(0x00FFBB); MenuVisible = 1; MenuSection = SC_CRACKER2; @@ -31,7 +31,7 @@ void Element::Element_BIZRG() DefaultProperties.temp = R_TEMP - 200.0f + 273.15f; HeatConduct = 42; - Description = "Bizarre gas."; + Description = "Bizarre gas."_i18n; Properties = TYPE_GAS; diff --git a/src/simulation/elements/BIZRS.cpp b/src/simulation/elements/BIZRS.cpp index 77757e1e8..7ceb3d03b 100644 --- a/src/simulation/elements/BIZRS.cpp +++ b/src/simulation/elements/BIZRS.cpp @@ -6,7 +6,7 @@ int Element_BIZR_graphics(GRAPHICS_FUNC_ARGS); void Element::Element_BIZRS() { Identifier = "DEFAULT_PT_BIZRS"; - Name = "BIZS"; + Name = "BIZS"_ascii; Colour = PIXPACK(0x00E455); MenuVisible = 1; MenuSection = SC_CRACKER2; @@ -31,7 +31,7 @@ void Element::Element_BIZRS() DefaultProperties.temp = R_TEMP + 300.0f + 273.15f; HeatConduct = 251; - Description = "Bizarre solid."; + Description = "Bizarre solid."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/BMTL.cpp b/src/simulation/elements/BMTL.cpp index aafaf0a1c..f8e01f790 100644 --- a/src/simulation/elements/BMTL.cpp +++ b/src/simulation/elements/BMTL.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_BMTL() { Identifier = "DEFAULT_PT_BMTL"; - Name = "BMTL"; + Name = "BMTL"_ascii; Colour = PIXPACK(0x505070); MenuVisible = 1; MenuSection = SC_SOLIDS; @@ -29,7 +29,7 @@ void Element::Element_BMTL() Weight = 100; HeatConduct = 251; - Description = "Breakable metal. Common conductive building material, can melt and break under pressure."; + Description = "Breakable metal. Common conductive building material, can melt and break under pressure."_i18n; Properties = TYPE_SOLID|PROP_CONDUCTS|PROP_LIFE_DEC|PROP_HOT_GLOW; diff --git a/src/simulation/elements/BOMB.cpp b/src/simulation/elements/BOMB.cpp index a6ef4f59c..d3c8a9034 100644 --- a/src/simulation/elements/BOMB.cpp +++ b/src/simulation/elements/BOMB.cpp @@ -6,7 +6,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_BOMB() { Identifier = "DEFAULT_PT_BOMB"; - Name = "BOMB"; + Name = "BOMB"_ascii; Colour = PIXPACK(0xFFF288); MenuVisible = 1; MenuSection = SC_EXPLOSIVE; @@ -31,7 +31,7 @@ void Element::Element_BOMB() DefaultProperties.temp = R_TEMP - 2.0f + 273.15f; HeatConduct = 29; - Description = "Bomb. Explodes and destroys all surrounding particles when it touches something."; + Description = "Bomb. Explodes and destroys all surrounding particles when it touches something."_i18n; Properties = TYPE_PART|PROP_SPARKSETTLE; diff --git a/src/simulation/elements/BOYL.cpp b/src/simulation/elements/BOYL.cpp index 831970f94..8bdc8d603 100644 --- a/src/simulation/elements/BOYL.cpp +++ b/src/simulation/elements/BOYL.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_BOYL() { Identifier = "DEFAULT_PT_BOYL"; - Name = "BOYL"; + Name = "BOYL"_ascii; Colour = PIXPACK(0x0A3200); MenuVisible = 1; MenuSection = SC_GAS; @@ -30,7 +30,7 @@ void Element::Element_BOYL() DefaultProperties.temp = R_TEMP + 2.0f + 273.15f; HeatConduct = 42; - Description = "Boyle, variable pressure gas. Expands when heated."; + Description = "Boyle, variable pressure gas. Expands when heated."_i18n; Properties = TYPE_GAS; diff --git a/src/simulation/elements/BRAY.cpp b/src/simulation/elements/BRAY.cpp index e8d11546d..d9120c2b3 100644 --- a/src/simulation/elements/BRAY.cpp +++ b/src/simulation/elements/BRAY.cpp @@ -5,7 +5,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_BRAY() { Identifier = "DEFAULT_PT_BRAY"; - Name = "BRAY"; + Name = "BRAY"_ascii; Colour = PIXPACK(0xFFFFFF); MenuVisible = 0; MenuSection = SC_ELEC; @@ -29,7 +29,7 @@ void Element::Element_BRAY() Weight = 100; HeatConduct = 251; - Description = "Ray Point. Rays create points when they collide."; + Description = "Ray Point. Rays create points when they collide."_i18n; Properties = TYPE_SOLID|PROP_LIFE_DEC|PROP_LIFE_KILL; diff --git a/src/simulation/elements/BRCK.cpp b/src/simulation/elements/BRCK.cpp index 18216e40d..3f5658fde 100644 --- a/src/simulation/elements/BRCK.cpp +++ b/src/simulation/elements/BRCK.cpp @@ -5,7 +5,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_BRCK() { Identifier = "DEFAULT_PT_BRCK"; - Name = "BRCK"; + Name = "BRCK"_ascii; Colour = PIXPACK(0x808080); MenuVisible = 1; MenuSection = SC_SOLIDS; @@ -29,7 +29,7 @@ void Element::Element_BRCK() Weight = 100; HeatConduct = 251; - Description = "Brick, breakable building material."; + Description = "Brick, breakable building material."_i18n; Properties = TYPE_SOLID|PROP_HOT_GLOW; diff --git a/src/simulation/elements/BREC.cpp b/src/simulation/elements/BREC.cpp index 070514599..57e081e8c 100644 --- a/src/simulation/elements/BREC.cpp +++ b/src/simulation/elements/BREC.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_BREC() { Identifier = "DEFAULT_PT_BREC"; - Name = "BREL"; + Name = "BREL"_ascii; Colour = PIXPACK(0x707060); MenuVisible = 1; MenuSection = SC_POWDERS; @@ -29,7 +29,7 @@ void Element::Element_BREC() Weight = 90; HeatConduct = 211; - Description = "Broken electronics. Formed from EMP blasts, and when constantly sparked while under pressure, turns to EXOT."; + Description = "Broken electronics. Formed from EMP blasts, and when constantly sparked while under pressure, turns to EXOT."_i18n; Properties = TYPE_PART|PROP_CONDUCTS|PROP_LIFE_DEC|PROP_HOT_GLOW; diff --git a/src/simulation/elements/BRMT.cpp b/src/simulation/elements/BRMT.cpp index 318ea889e..491816b7a 100644 --- a/src/simulation/elements/BRMT.cpp +++ b/src/simulation/elements/BRMT.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_BRMT() { Identifier = "DEFAULT_PT_BRMT"; - Name = "BRMT"; + Name = "BRMT"_ascii; Colour = PIXPACK(0x705060); MenuVisible = 1; MenuSection = SC_POWDERS; @@ -29,7 +29,7 @@ void Element::Element_BRMT() Weight = 90; HeatConduct = 211; - Description = "Broken metal. Created when iron rusts or when metals break from pressure."; + Description = "Broken metal. Created when iron rusts or when metals break from pressure."_i18n; Properties = TYPE_PART|PROP_CONDUCTS|PROP_LIFE_DEC|PROP_HOT_GLOW; diff --git a/src/simulation/elements/BTRY.cpp b/src/simulation/elements/BTRY.cpp index f3511bac7..f2304bf17 100644 --- a/src/simulation/elements/BTRY.cpp +++ b/src/simulation/elements/BTRY.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_BTRY() { Identifier = "DEFAULT_PT_BTRY"; - Name = "BTRY"; + Name = "BTRY"_ascii; Colour = PIXPACK(0x858505); MenuVisible = 1; MenuSection = SC_ELEC; @@ -29,7 +29,7 @@ void Element::Element_BTRY() Weight = 100; HeatConduct = 251; - Description = "Battery. Generates infinite electricity."; + Description = "Battery. Generates infinite electricity."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/BVBR.cpp b/src/simulation/elements/BVBR.cpp index b32ead1e0..e65d555c1 100644 --- a/src/simulation/elements/BVBR.cpp +++ b/src/simulation/elements/BVBR.cpp @@ -6,7 +6,7 @@ int Element_VIBR_graphics(GRAPHICS_FUNC_ARGS); void Element::Element_BVBR() { Identifier = "DEFAULT_PT_BVBR"; - Name = "BVBR"; + Name = "BVBR"_ascii; Colour = PIXPACK(0x005000); MenuVisible = 1; MenuSection = SC_NUCLEAR; @@ -31,7 +31,7 @@ void Element::Element_BVBR() DefaultProperties.temp = 273.15f; HeatConduct = 164; - Description = "Broken vibranium."; + Description = "Broken vibranium."_i18n; Properties = TYPE_PART|PROP_LIFE_DEC; diff --git a/src/simulation/elements/C5.cpp b/src/simulation/elements/C5.cpp index 908eac6e9..081860f9a 100644 --- a/src/simulation/elements/C5.cpp +++ b/src/simulation/elements/C5.cpp @@ -6,7 +6,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_C5() { Identifier = "DEFAULT_PT_C5"; - Name = "C-5"; + Name = "C-5"_ascii; Colour = PIXPACK(0x2050E0); MenuVisible = 1; MenuSection = SC_EXPLOSIVE; @@ -30,7 +30,7 @@ void Element::Element_C5() Weight = 100; HeatConduct = 88; - Description = "Cold explosive, set off by anything cold."; + Description = "Cold explosive, set off by anything cold."_i18n; Properties = TYPE_SOLID | PROP_NEUTPENETRATE | PROP_LIFE_DEC; diff --git a/src/simulation/elements/CAUS.cpp b/src/simulation/elements/CAUS.cpp index 9aaec5e57..0c952d867 100644 --- a/src/simulation/elements/CAUS.cpp +++ b/src/simulation/elements/CAUS.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_CAUS() { Identifier = "DEFAULT_PT_CAUS"; - Name = "CAUS"; + Name = "CAUS"_ascii; Colour = PIXPACK(0x80FFA0); MenuVisible = 1; MenuSection = SC_GAS; @@ -29,7 +29,7 @@ void Element::Element_CAUS() Weight = 1; HeatConduct = 70; - Description = "Caustic Gas, acts like ACID."; + Description = "Caustic Gas, acts like ACID."_i18n; Properties = TYPE_GAS|PROP_DEADLY; diff --git a/src/simulation/elements/CBNW.cpp b/src/simulation/elements/CBNW.cpp index 3a9438ca5..b8747a1f4 100644 --- a/src/simulation/elements/CBNW.cpp +++ b/src/simulation/elements/CBNW.cpp @@ -6,7 +6,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_CBNW() { Identifier = "DEFAULT_PT_CBNW"; - Name = "BUBW"; + Name = "BUBW"_ascii; Colour = PIXPACK(0x2030D0); MenuVisible = 1; MenuSection = SC_LIQUID; @@ -31,7 +31,7 @@ void Element::Element_CBNW() DefaultProperties.temp = R_TEMP - 2.0f + 273.15f; HeatConduct = 29; - Description = "Carbonated water. Slowly releases CO2."; + Description = "Carbonated water. Slowly releases CO2."_i18n; Properties = TYPE_LIQUID|PROP_CONDUCTS|PROP_LIFE_DEC|PROP_NEUTPENETRATE; diff --git a/src/simulation/elements/CFLM.cpp b/src/simulation/elements/CFLM.cpp index 2ea9beca9..e961d6ab0 100644 --- a/src/simulation/elements/CFLM.cpp +++ b/src/simulation/elements/CFLM.cpp @@ -7,7 +7,7 @@ static void create(ELEMENT_CREATE_FUNC_ARGS); void Element::Element_CFLM() { Identifier = "DEFAULT_PT_HFLM"; - Name = "CFLM"; + Name = "CFLM"_ascii; Colour = PIXPACK(0x8080FF); MenuVisible = 1; MenuSection = SC_EXPLOSIVE; @@ -32,7 +32,7 @@ void Element::Element_CFLM() DefaultProperties.temp = 0.0f; HeatConduct = 88; - Description = "Sub-zero flame."; + Description = "Sub-zero flame."_i18n; Properties = TYPE_GAS|PROP_LIFE_DEC|PROP_LIFE_KILL; diff --git a/src/simulation/elements/CLNE.cpp b/src/simulation/elements/CLNE.cpp index a59353ae8..1283fbc0f 100644 --- a/src/simulation/elements/CLNE.cpp +++ b/src/simulation/elements/CLNE.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_CLNE() { Identifier = "DEFAULT_PT_CLNE"; - Name = "CLNE"; + Name = "CLNE"_ascii; Colour = PIXPACK(0xFFD010); MenuVisible = 1; MenuSection = SC_SPECIAL; @@ -29,7 +29,7 @@ void Element::Element_CLNE() Weight = 100; HeatConduct = 251; - Description = "Clone. Duplicates any particles it touches."; + Description = "Clone. Duplicates any particles it touches."_i18n; Properties = TYPE_SOLID | PROP_NOCTYPEDRAW; diff --git a/src/simulation/elements/CLST.cpp b/src/simulation/elements/CLST.cpp index 83ff51f53..1857dd551 100644 --- a/src/simulation/elements/CLST.cpp +++ b/src/simulation/elements/CLST.cpp @@ -7,7 +7,7 @@ static void create(ELEMENT_CREATE_FUNC_ARGS); void Element::Element_CLST() { Identifier = "DEFAULT_PT_CLST"; - Name = "CLST"; + Name = "CLST"_ascii; Colour = PIXPACK(0xE4A4A4); MenuVisible = 1; MenuSection = SC_POWDERS; @@ -31,7 +31,7 @@ void Element::Element_CLST() Weight = 55; HeatConduct = 70; - Description = "Clay dust. Produces paste when mixed with water."; + Description = "Clay dust. Produces paste when mixed with water."_i18n; Properties = TYPE_PART; diff --git a/src/simulation/elements/CNCT.cpp b/src/simulation/elements/CNCT.cpp index 6f8645754..35924701c 100644 --- a/src/simulation/elements/CNCT.cpp +++ b/src/simulation/elements/CNCT.cpp @@ -3,7 +3,7 @@ void Element::Element_CNCT() { Identifier = "DEFAULT_PT_CNCT"; - Name = "CNCT"; + Name = "CNCT"_ascii; Colour = PIXPACK(0xC0C0C0); MenuVisible = 1; MenuSection = SC_POWDERS; @@ -27,7 +27,7 @@ void Element::Element_CNCT() Weight = 55; HeatConduct = 100; - Description = "Concrete, stronger than stone."; + Description = "Concrete, stronger than stone."_i18n; Properties = TYPE_PART|PROP_HOT_GLOW; diff --git a/src/simulation/elements/CO2.cpp b/src/simulation/elements/CO2.cpp index ca99fe5fb..c207f7ada 100644 --- a/src/simulation/elements/CO2.cpp +++ b/src/simulation/elements/CO2.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_CO2() { Identifier = "DEFAULT_PT_CO2"; - Name = "CO2"; + Name = "CO2"_ascii; Colour = PIXPACK(0x666666); MenuVisible = 1; MenuSection = SC_GAS; @@ -29,7 +29,7 @@ void Element::Element_CO2() Weight = 1; HeatConduct = 88; - Description = "Carbon Dioxide. Heavy gas, drifts downwards. Carbonates water and turns to dry ice when cold."; + Description = "Carbon Dioxide. Heavy gas, drifts downwards. Carbonates water and turns to dry ice when cold."_i18n; Properties = TYPE_GAS; diff --git a/src/simulation/elements/COAL.cpp b/src/simulation/elements/COAL.cpp index a87930831..42a12fb57 100644 --- a/src/simulation/elements/COAL.cpp +++ b/src/simulation/elements/COAL.cpp @@ -6,7 +6,7 @@ int Element_COAL_graphics(GRAPHICS_FUNC_ARGS); void Element::Element_COAL() { Identifier = "DEFAULT_PT_COAL"; - Name = "COAL"; + Name = "COAL"_ascii; Colour = PIXPACK(0x222222); MenuVisible = 1; MenuSection = SC_SOLIDS; @@ -31,7 +31,7 @@ void Element::Element_COAL() Weight = 100; HeatConduct = 200; - Description = "Coal, Burns very slowly. Gets red when hot."; + Description = "Coal, Burns very slowly. Gets red when hot."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/CONV.cpp b/src/simulation/elements/CONV.cpp index c3be318ad..a696a8bdb 100644 --- a/src/simulation/elements/CONV.cpp +++ b/src/simulation/elements/CONV.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_CONV() { Identifier = "DEFAULT_PT_CONV"; - Name = "CONV"; + Name = "CONV"_ascii; Colour = PIXPACK(0x0AAB0A); MenuVisible = 1; MenuSection = SC_SPECIAL; @@ -29,7 +29,7 @@ void Element::Element_CONV() Weight = 100; HeatConduct = 251; - Description = "Converter. Converts everything into whatever it first touches."; + Description = "Converter. Converts everything into whatever it first touches."_i18n; Properties = TYPE_SOLID | PROP_NOCTYPEDRAW; diff --git a/src/simulation/elements/CRAY.cpp b/src/simulation/elements/CRAY.cpp index 5e8ae6d2a..72c1f359c 100644 --- a/src/simulation/elements/CRAY.cpp +++ b/src/simulation/elements/CRAY.cpp @@ -7,7 +7,7 @@ static unsigned int wavelengthToDecoColour(int wavelength); void Element::Element_CRAY() { Identifier = "DEFAULT_PT_CRAY"; - Name = "CRAY"; + Name = "CRAY"_ascii; Colour = PIXPACK(0xBBFF00); MenuVisible = 1; MenuSection = SC_ELEC; @@ -31,7 +31,7 @@ void Element::Element_CRAY() Weight = 100; HeatConduct = 0; - Description = "Particle Ray Emitter. Creates a beam of particles set by its ctype, with a range set by tmp."; + Description = "Particle Ray Emitter. Creates a beam of particles set by its ctype, with a range set by tmp."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/CRMC.cpp b/src/simulation/elements/CRMC.cpp index 452947c42..4599cac9f 100644 --- a/src/simulation/elements/CRMC.cpp +++ b/src/simulation/elements/CRMC.cpp @@ -7,7 +7,7 @@ static void create(ELEMENT_CREATE_FUNC_ARGS); void Element::Element_CRMC() { Identifier = "DEFAULT_PT_CRMC"; - Name = "CRMC"; + Name = "CRMC"_ascii; Colour = PIXPACK(0xD6D1D4); MenuVisible = 1; MenuSection = SC_SOLIDS; @@ -31,7 +31,7 @@ void Element::Element_CRMC() Weight = 100; HeatConduct = 35; - Description = "Ceramic. Gets stronger under pressure."; + Description = "Ceramic. Gets stronger under pressure."_i18n; Properties = TYPE_SOLID | PROP_NEUTPASS; diff --git a/src/simulation/elements/DCEL.cpp b/src/simulation/elements/DCEL.cpp index f23a52740..cf66b2f1e 100644 --- a/src/simulation/elements/DCEL.cpp +++ b/src/simulation/elements/DCEL.cpp @@ -6,7 +6,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_DCEL() { Identifier = "DEFAULT_PT_DCEL"; - Name = "DCEL"; + Name = "DCEL"_ascii; Colour = PIXPACK(0x99CC00); MenuVisible = 1; MenuSection = SC_FORCE; @@ -30,7 +30,7 @@ void Element::Element_DCEL() Weight = 100; HeatConduct = 251; - Description = "Decelerator, slows down nearby elements."; + Description = "Decelerator, slows down nearby elements."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/DESL.cpp b/src/simulation/elements/DESL.cpp index bf3eee9d6..6cfc0b5cb 100644 --- a/src/simulation/elements/DESL.cpp +++ b/src/simulation/elements/DESL.cpp @@ -3,7 +3,7 @@ void Element::Element_DESL() { Identifier = "DEFAULT_PT_DESL"; - Name = "DESL"; + Name = "DESL"_ascii; Colour = PIXPACK(0x440000); MenuVisible = 1; MenuSection = SC_LIQUID; @@ -27,7 +27,7 @@ void Element::Element_DESL() Weight = 15; HeatConduct = 42; - Description = "Liquid diesel. Explodes under high pressure and temperatures."; + Description = "Liquid diesel. Explodes under high pressure and temperatures."_i18n; Properties = TYPE_LIQUID; diff --git a/src/simulation/elements/DEST.cpp b/src/simulation/elements/DEST.cpp index f7331e616..a7a60a0cc 100644 --- a/src/simulation/elements/DEST.cpp +++ b/src/simulation/elements/DEST.cpp @@ -6,7 +6,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_DEST() { Identifier = "DEFAULT_PT_DEST"; - Name = "DEST"; + Name = "DEST"_ascii; Colour = PIXPACK(0xFF3311); MenuVisible = 1; MenuSection = SC_EXPLOSIVE; @@ -30,7 +30,7 @@ void Element::Element_DEST() Weight = 101; HeatConduct = 150; - Description = "More destructive Bomb, can break through virtually anything."; + Description = "More destructive Bomb, can break through virtually anything."_i18n; Properties = TYPE_PART|PROP_LIFE_DEC|PROP_LIFE_KILL_DEC; diff --git a/src/simulation/elements/DEUT.cpp b/src/simulation/elements/DEUT.cpp index 748020cca..c61e4286e 100644 --- a/src/simulation/elements/DEUT.cpp +++ b/src/simulation/elements/DEUT.cpp @@ -7,7 +7,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_DEUT() { Identifier = "DEFAULT_PT_DEUT"; - Name = "DEUT"; + Name = "DEUT"_ascii; Colour = PIXPACK(0x00153F); MenuVisible = 1; MenuSection = SC_NUCLEAR; @@ -32,7 +32,7 @@ void Element::Element_DEUT() DefaultProperties.temp = R_TEMP - 2.0f + 273.15f; HeatConduct = 251; - Description = "Deuterium oxide. Volume changes with temp, radioactive with neutrons."; + Description = "Deuterium oxide. Volume changes with temp, radioactive with neutrons."_i18n; Properties = TYPE_LIQUID|PROP_NEUTPASS; diff --git a/src/simulation/elements/DLAY.cpp b/src/simulation/elements/DLAY.cpp index ea7f73efe..c4def9f8e 100644 --- a/src/simulation/elements/DLAY.cpp +++ b/src/simulation/elements/DLAY.cpp @@ -6,7 +6,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_DLAY() { Identifier = "DEFAULT_PT_DLAY"; - Name = "DLAY"; + Name = "DLAY"_ascii; Colour = PIXPACK(0x753590); MenuVisible = 1; MenuSection = SC_POWERED; @@ -31,7 +31,7 @@ void Element::Element_DLAY() DefaultProperties.temp = 4.0f + 273.15f; HeatConduct = 0; - Description = "Conducts with temperature-dependent delay. (use HEAT/COOL)."; + Description = "Conducts with temperature-dependent delay. (use HEAT/COOL)."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/DMG.cpp b/src/simulation/elements/DMG.cpp index 86af71246..f52b58841 100644 --- a/src/simulation/elements/DMG.cpp +++ b/src/simulation/elements/DMG.cpp @@ -6,7 +6,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_DMG() { Identifier = "DEFAULT_PT_DMG"; - Name = "DMG"; + Name = "DMG"_ascii; Colour = PIXPACK(0x88FF88); MenuVisible = 1; MenuSection = SC_FORCE; @@ -31,7 +31,7 @@ void Element::Element_DMG() DefaultProperties.temp = R_TEMP - 2.0f + 273.15f; HeatConduct = 29; - Description = "Generates damaging pressure and breaks any elements it hits."; + Description = "Generates damaging pressure and breaks any elements it hits."_i18n; Properties = TYPE_PART|PROP_SPARKSETTLE; diff --git a/src/simulation/elements/DMND.cpp b/src/simulation/elements/DMND.cpp index 291e9d44e..64b294bc6 100644 --- a/src/simulation/elements/DMND.cpp +++ b/src/simulation/elements/DMND.cpp @@ -3,7 +3,7 @@ void Element::Element_DMND() { Identifier = "DEFAULT_PT_DMND"; - Name = "DMND"; + Name = "DMND"_ascii; Colour = PIXPACK(0xCCFFFF); MenuVisible = 1; MenuSection = SC_SPECIAL; @@ -27,7 +27,7 @@ void Element::Element_DMND() Weight = 100; HeatConduct = 186; - Description = "Diamond. Indestructible."; + Description = "Diamond. Indestructible."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/DRAY.cpp b/src/simulation/elements/DRAY.cpp index c543919e7..9bbfbb887 100644 --- a/src/simulation/elements/DRAY.cpp +++ b/src/simulation/elements/DRAY.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_DRAY() { Identifier = "DEFAULT_PT_DRAY"; - Name = "DRAY"; + Name = "DRAY"_ascii; Colour = PIXPACK(0xFFAA22); MenuVisible = 1; MenuSection = SC_ELEC; @@ -29,7 +29,7 @@ void Element::Element_DRAY() Weight = 100; HeatConduct = 0; - Description = "Duplicator ray. Replicates a line of particles in front of it."; + Description = "Duplicator ray. Replicates a line of particles in front of it."_i18n; Properties = TYPE_SOLID | PROP_LIFE_DEC; diff --git a/src/simulation/elements/DRIC.cpp b/src/simulation/elements/DRIC.cpp index 18e855d8a..753a7b9cc 100644 --- a/src/simulation/elements/DRIC.cpp +++ b/src/simulation/elements/DRIC.cpp @@ -3,7 +3,7 @@ void Element::Element_DRIC() { Identifier = "DEFAULT_PT_DRIC"; - Name = "DRIC"; + Name = "DRIC"_ascii; Colour = PIXPACK(0xE0E0E0); MenuVisible = 1; MenuSection = SC_SOLIDS; @@ -28,7 +28,7 @@ void Element::Element_DRIC() DefaultProperties.temp = 172.65f; HeatConduct = 2; - Description = "Dry Ice, formed when CO2 is cooled."; + Description = "Dry Ice, formed when CO2 is cooled."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/DSTW.cpp b/src/simulation/elements/DSTW.cpp index b557fbf41..cbf8a7db8 100644 --- a/src/simulation/elements/DSTW.cpp +++ b/src/simulation/elements/DSTW.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_DSTW() { Identifier = "DEFAULT_PT_DSTW"; - Name = "DSTW"; + Name = "DSTW"_ascii; Colour = PIXPACK(0x1020C0); MenuVisible = 1; MenuSection = SC_LIQUID; @@ -30,7 +30,7 @@ void Element::Element_DSTW() DefaultProperties.temp = R_TEMP - 2.0f + 273.15f; HeatConduct = 23; - Description = "Distilled water, does not conduct electricity."; + Description = "Distilled water, does not conduct electricity."_i18n; Properties = TYPE_LIQUID|PROP_NEUTPASS; diff --git a/src/simulation/elements/DTEC.cpp b/src/simulation/elements/DTEC.cpp index d6a847c9c..5c8bec602 100644 --- a/src/simulation/elements/DTEC.cpp +++ b/src/simulation/elements/DTEC.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_DTEC() { Identifier = "DEFAULT_PT_DTEC"; - Name = "DTEC"; + Name = "DTEC"_ascii; Colour = PIXPACK(0xFD9D18); MenuVisible = 1; MenuSection = SC_SENSOR; @@ -29,7 +29,7 @@ void Element::Element_DTEC() Weight = 100; HeatConduct = 0; - Description = "Detector, creates a spark when something with its ctype is nearby."; + Description = "Detector, creates a spark when something with its ctype is nearby."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/DUST.cpp b/src/simulation/elements/DUST.cpp index 3a43c7463..eb417b48c 100644 --- a/src/simulation/elements/DUST.cpp +++ b/src/simulation/elements/DUST.cpp @@ -3,7 +3,7 @@ void Element::Element_DUST() { Identifier = "DEFAULT_PT_DUST"; - Name = "DUST"; + Name = "DUST"_ascii; Colour = PIXPACK(0xFFE0A0); MenuVisible = 1; MenuSection = SC_POWDERS; @@ -28,7 +28,7 @@ void Element::Element_DUST() Weight = 85; HeatConduct = 70; - Description = "Very light dust. Flammable."; + Description = "Very light dust. Flammable."_i18n; Properties = TYPE_PART; diff --git a/src/simulation/elements/DYST.cpp b/src/simulation/elements/DYST.cpp index 0530a1d47..409b931c3 100644 --- a/src/simulation/elements/DYST.cpp +++ b/src/simulation/elements/DYST.cpp @@ -3,7 +3,7 @@ void Element::Element_DYST() { Identifier = "DEFAULT_PT_DYST"; - Name = "DYST"; + Name = "DYST"_ascii; Colour = PIXPACK(0xBBB0A0); MenuVisible = 0; MenuSection = SC_POWDERS; @@ -27,7 +27,7 @@ void Element::Element_DYST() Weight = 80; HeatConduct = 70; - Description = "Dead Yeast."; + Description = "Dead Yeast."_i18n; Properties = TYPE_PART; diff --git a/src/simulation/elements/E116.cpp b/src/simulation/elements/E116.cpp index a05476e49..d7b88e583 100644 --- a/src/simulation/elements/E116.cpp +++ b/src/simulation/elements/E116.cpp @@ -3,7 +3,7 @@ void Element::Element_E116() { Identifier = "DEFAULT_PT_116"; - Name = "EQVE"; + Name = "EQVE"_ascii; Colour = PIXPACK(0xFFE0A0); MenuVisible = 0; MenuSection = SC_CRACKER2; @@ -27,7 +27,7 @@ void Element::Element_E116() Weight = 85; HeatConduct = 70; - Description = "A failed shared velocity test."; + Description = "A failed shared velocity test."_i18n; Properties = TYPE_PART; diff --git a/src/simulation/elements/E146.cpp b/src/simulation/elements/E146.cpp index 315e2cc7b..9a1842374 100644 --- a/src/simulation/elements/E146.cpp +++ b/src/simulation/elements/E146.cpp @@ -3,7 +3,7 @@ void Element::Element_E146() { Identifier = "DEFAULT_PT_146"; - Name = "BRAN"; + Name = "BRAN"_ascii; Colour = PIXPACK(0xCCCC00); MenuVisible = 0; MenuSection = SC_LIFE; @@ -28,7 +28,7 @@ void Element::Element_E146() DefaultProperties.temp = 9000.0f; HeatConduct = 40; - Description = "Brian 6 S6/B246/3"; + Description = "Brian 6 S6/B246/3"_i18n; Properties = TYPE_SOLID|PROP_LIFE; diff --git a/src/simulation/elements/ELEC.cpp b/src/simulation/elements/ELEC.cpp index f4d9a687a..2693a6762 100644 --- a/src/simulation/elements/ELEC.cpp +++ b/src/simulation/elements/ELEC.cpp @@ -7,7 +7,7 @@ static void create(ELEMENT_CREATE_FUNC_ARGS); void Element::Element_ELEC() { Identifier = "DEFAULT_PT_ELEC"; - Name = "ELEC"; + Name = "ELEC"_ascii; Colour = PIXPACK(0xDFEFFF); MenuVisible = 1; MenuSection = SC_NUCLEAR; @@ -32,7 +32,7 @@ void Element::Element_ELEC() DefaultProperties.temp = R_TEMP + 200.0f + 273.15f; HeatConduct = 251; - Description = "Electrons. Sparks electronics, reacts with NEUT and WATR."; + Description = "Electrons. Sparks electronics, reacts with NEUT and WATR."_i18n; Properties = TYPE_ENERGY|PROP_LIFE_DEC|PROP_LIFE_KILL_DEC; diff --git a/src/simulation/elements/EMBR.cpp b/src/simulation/elements/EMBR.cpp index 5bdda6cc5..bd3f99d47 100644 --- a/src/simulation/elements/EMBR.cpp +++ b/src/simulation/elements/EMBR.cpp @@ -6,7 +6,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_EMBR() { Identifier = "DEFAULT_PT_EMBR"; - Name = "EMBR"; + Name = "EMBR"_ascii; Colour = PIXPACK(0xFFF288); MenuVisible = 0; MenuSection = SC_EXPLOSIVE; @@ -31,7 +31,7 @@ void Element::Element_EMBR() DefaultProperties.temp = 500.0f + 273.15f; HeatConduct = 29; - Description = "Sparks. Formed by explosions."; + Description = "Sparks. Formed by explosions."_i18n; Properties = TYPE_PART|PROP_LIFE_DEC|PROP_LIFE_KILL|PROP_SPARKSETTLE; diff --git a/src/simulation/elements/EMP.cpp b/src/simulation/elements/EMP.cpp index 8a9a67978..3edac3ca1 100644 --- a/src/simulation/elements/EMP.cpp +++ b/src/simulation/elements/EMP.cpp @@ -6,7 +6,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_EMP() { Identifier = "DEFAULT_PT_EMP"; - Name = "EMP"; + Name = "EMP"_ascii; Colour = PIXPACK(0x66AAFF); MenuVisible = 1; MenuSection = SC_ELEC; @@ -30,7 +30,7 @@ void Element::Element_EMP() Weight = 100; HeatConduct = 121; - Description = "Electromagnetic pulse. Breaks activated electronics."; + Description = "Electromagnetic pulse. Breaks activated electronics."_i18n; Properties = TYPE_SOLID|PROP_LIFE_DEC; diff --git a/src/simulation/elements/ETRD.cpp b/src/simulation/elements/ETRD.cpp index 37903ca07..224214e7e 100644 --- a/src/simulation/elements/ETRD.cpp +++ b/src/simulation/elements/ETRD.cpp @@ -7,7 +7,7 @@ static void changeType(ELEMENT_CHANGETYPE_FUNC_ARGS); void Element::Element_ETRD() { Identifier = "DEFAULT_PT_ETRD"; - Name = "ETRD"; + Name = "ETRD"_ascii; Colour = PIXPACK(0x404040); MenuVisible = 1; MenuSection = SC_ELEC; @@ -31,7 +31,7 @@ void Element::Element_ETRD() Weight = 100; HeatConduct = 251; - Description = "Electrode. Creates a surface that allows Plasma arcs. (Use sparingly)"; + Description = "Electrode. Creates a surface that allows Plasma arcs. (Use sparingly)"_i18n; Properties = TYPE_SOLID|PROP_CONDUCTS|PROP_LIFE_DEC; diff --git a/src/simulation/elements/EXOT.cpp b/src/simulation/elements/EXOT.cpp index 5665ae92a..2b387fb2a 100644 --- a/src/simulation/elements/EXOT.cpp +++ b/src/simulation/elements/EXOT.cpp @@ -6,7 +6,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_EXOT() { Identifier = "DEFAULT_PT_EXOT"; - Name = "EXOT"; + Name = "EXOT"_ascii; Colour = PIXPACK(0x247BFE); MenuVisible = 1; MenuSection = SC_NUCLEAR; @@ -31,7 +31,7 @@ void Element::Element_EXOT() DefaultProperties.temp = R_TEMP - 2.0f + 273.15f; HeatConduct = 250; - Description = "Exotic matter. Explodes with excess exposure to electrons. Has many other odd reactions."; + Description = "Exotic matter. Explodes with excess exposure to electrons. Has many other odd reactions."_i18n; Properties = TYPE_LIQUID|PROP_NEUTPASS; diff --git a/src/simulation/elements/FIGH.cpp b/src/simulation/elements/FIGH.cpp index bdf2a4ae7..a68b512a2 100644 --- a/src/simulation/elements/FIGH.cpp +++ b/src/simulation/elements/FIGH.cpp @@ -14,7 +14,7 @@ int Element_STKM_run_stickman(playerst *playerp, UPDATE_FUNC_ARGS); void Element::Element_FIGH() { Identifier = "DEFAULT_PT_FIGH"; - Name = "FIGH"; + Name = "FIGH"_ascii; Colour = PIXPACK(0xFFE0A0); MenuVisible = 1; MenuSection = SC_SPECIAL; @@ -40,7 +40,7 @@ void Element::Element_FIGH() DefaultProperties.temp = R_TEMP + 14.6f + 273.15f; HeatConduct = 0; - Description = "Fighter. Tries to kill stickmen. You must first give it an element to kill him with."; + Description = "Fighter. Tries to kill stickmen. You must first give it an element to kill him with."_i18n; Properties = PROP_NOCTYPEDRAW; diff --git a/src/simulation/elements/FILT.cpp b/src/simulation/elements/FILT.cpp index c377396db..df16cbce2 100644 --- a/src/simulation/elements/FILT.cpp +++ b/src/simulation/elements/FILT.cpp @@ -8,7 +8,7 @@ int Element_FILT_getWavelengths(Particle* cpart); void Element::Element_FILT() { Identifier = "DEFAULT_PT_FILT"; - Name = "FILT"; + Name = "FILT"_ascii; Colour = PIXPACK(0x000056); MenuVisible = 1; MenuSection = SC_SOLIDS; @@ -32,7 +32,7 @@ void Element::Element_FILT() Weight = 100; HeatConduct = 251; - Description = "Filter for photons, changes the color."; + Description = "Filter for photons, changes the color."_i18n; Properties = TYPE_SOLID | PROP_NOAMBHEAT | PROP_LIFE_DEC; diff --git a/src/simulation/elements/FIRE.cpp b/src/simulation/elements/FIRE.cpp index 30364f60e..b738d160d 100644 --- a/src/simulation/elements/FIRE.cpp +++ b/src/simulation/elements/FIRE.cpp @@ -9,7 +9,7 @@ static void create(ELEMENT_CREATE_FUNC_ARGS); void Element::Element_FIRE() { Identifier = "DEFAULT_PT_FIRE"; - Name = "FIRE"; + Name = "FIRE"_ascii; Colour = PIXPACK(0xFF1000); MenuVisible = 1; MenuSection = SC_EXPLOSIVE; @@ -34,7 +34,7 @@ void Element::Element_FIRE() DefaultProperties.temp = R_TEMP + 400.0f + 273.15f; HeatConduct = 88; - Description = "Ignites flammable materials. Heats air."; + Description = "Ignites flammable materials. Heats air."_i18n; Properties = TYPE_GAS|PROP_LIFE_DEC|PROP_LIFE_KILL; diff --git a/src/simulation/elements/FIRW.cpp b/src/simulation/elements/FIRW.cpp index 6135f3fd3..858523355 100644 --- a/src/simulation/elements/FIRW.cpp +++ b/src/simulation/elements/FIRW.cpp @@ -7,7 +7,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_FIRW() { Identifier = "DEFAULT_PT_FIRW"; - Name = "FIRW"; + Name = "FIRW"_ascii; Colour = PIXPACK(0xFFA040); MenuVisible = 1; MenuSection = SC_EXPLOSIVE; @@ -31,7 +31,7 @@ void Element::Element_FIRW() Weight = 55; HeatConduct = 70; - Description = "Fireworks! Colorful, set off by fire."; + Description = "Fireworks! Colorful, set off by fire."_i18n; Properties = TYPE_PART|PROP_LIFE_DEC; diff --git a/src/simulation/elements/FOG.cpp b/src/simulation/elements/FOG.cpp index 9b655e1f7..950143ce6 100644 --- a/src/simulation/elements/FOG.cpp +++ b/src/simulation/elements/FOG.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_FOG() { Identifier = "DEFAULT_PT_FOG"; - Name = "FOG"; + Name = "FOG"_ascii; Colour = PIXPACK(0xAAAAAA); MenuVisible = 1; MenuSection = SC_GAS; @@ -30,7 +30,7 @@ void Element::Element_FOG() DefaultProperties.temp = 243.15f; HeatConduct = 100; - Description = "Fog, created when an electric current is passed through RIME."; + Description = "Fog, created when an electric current is passed through RIME."_i18n; Properties = TYPE_GAS|PROP_LIFE_DEC; diff --git a/src/simulation/elements/FRAY.cpp b/src/simulation/elements/FRAY.cpp index 0a678143e..c0a47aa39 100644 --- a/src/simulation/elements/FRAY.cpp +++ b/src/simulation/elements/FRAY.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_FRAY() { Identifier = "DEFAULT_PT_FRAY"; - Name = "FRAY"; + Name = "FRAY"_ascii; Colour = PIXPACK(0x00BBFF); MenuVisible = 1; MenuSection = SC_FORCE; @@ -30,7 +30,7 @@ void Element::Element_FRAY() DefaultProperties.temp = 20.0f + 273.15f; HeatConduct = 0; - Description = "Force Emitter. Pushes or pulls objects based on its temperature. Use like ARAY."; + Description = "Force Emitter. Pushes or pulls objects based on its temperature. Use like ARAY."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/FRME.cpp b/src/simulation/elements/FRME.cpp index 0f09ced90..a895eaca7 100644 --- a/src/simulation/elements/FRME.cpp +++ b/src/simulation/elements/FRME.cpp @@ -5,7 +5,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_FRME() { Identifier = "DEFAULT_PT_FRME"; - Name = "FRME"; + Name = "FRME"_ascii; Colour = PIXPACK(0x999988); MenuVisible = 1; MenuSection = SC_FORCE; @@ -29,7 +29,7 @@ void Element::Element_FRME() Weight = 100; HeatConduct = 0; - Description = "Frame, can be used with pistons to push many particles."; + Description = "Frame, can be used with pistons to push many particles."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/FRZW.cpp b/src/simulation/elements/FRZW.cpp index a5306bbae..5fe3e9f9c 100644 --- a/src/simulation/elements/FRZW.cpp +++ b/src/simulation/elements/FRZW.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_FRZW() { Identifier = "DEFAULT_PT_FRZW"; - Name = "FRZW"; + Name = "FRZW"_ascii; Colour = PIXPACK(0x1020C0); MenuVisible = 1; MenuSection = SC_CRACKER2; @@ -30,7 +30,7 @@ void Element::Element_FRZW() DefaultProperties.temp = 120.0f; HeatConduct = 29; - Description = "Freeze water. Hybrid liquid formed when Freeze powder melts."; + Description = "Freeze water. Hybrid liquid formed when Freeze powder melts."_i18n; Properties = TYPE_LIQUID | PROP_LIFE_DEC; diff --git a/src/simulation/elements/FRZZ.cpp b/src/simulation/elements/FRZZ.cpp index 2cafa88f9..a63939727 100644 --- a/src/simulation/elements/FRZZ.cpp +++ b/src/simulation/elements/FRZZ.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_FRZZ() { Identifier = "DEFAULT_PT_FRZZ"; - Name = "FRZZ"; + Name = "FRZZ"_ascii; Colour = PIXPACK(0xC0E0FF); MenuVisible = 1; MenuSection = SC_POWDERS; @@ -30,7 +30,7 @@ void Element::Element_FRZZ() DefaultProperties.temp = 253.15f; HeatConduct = 46; - Description = "Freeze powder. When melted, forms ice that always cools. Spreads with regular water."; + Description = "Freeze powder. When melted, forms ice that always cools. Spreads with regular water."_i18n; Properties = TYPE_PART; diff --git a/src/simulation/elements/FSEP.cpp b/src/simulation/elements/FSEP.cpp index e5d7b6b3b..0b73d1654 100644 --- a/src/simulation/elements/FSEP.cpp +++ b/src/simulation/elements/FSEP.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_FSEP() { Identifier = "DEFAULT_PT_FSEP"; - Name = "FSEP"; + Name = "FSEP"_ascii; Colour = PIXPACK(0x63AD5F); MenuVisible = 1; MenuSection = SC_EXPLOSIVE; @@ -29,7 +29,7 @@ void Element::Element_FSEP() Weight = 70; HeatConduct = 70; - Description = "Fuse Powder. Burns slowly like FUSE."; + Description = "Fuse Powder. Burns slowly like FUSE."_i18n; Properties = TYPE_PART; diff --git a/src/simulation/elements/FUSE.cpp b/src/simulation/elements/FUSE.cpp index 4d00aecaa..8a8e1559f 100644 --- a/src/simulation/elements/FUSE.cpp +++ b/src/simulation/elements/FUSE.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_FUSE() { Identifier = "DEFAULT_PT_FUSE"; - Name = "FUSE"; + Name = "FUSE"_ascii; Colour = PIXPACK(0x0A5706); MenuVisible = 1; MenuSection = SC_EXPLOSIVE; @@ -29,7 +29,7 @@ void Element::Element_FUSE() Weight = 100; HeatConduct = 200; - Description = "Burns slowly. Ignites at somewhat high temperatures or with electricity."; + Description = "Burns slowly. Ignites at somewhat high temperatures or with electricity."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/FWRK.cpp b/src/simulation/elements/FWRK.cpp index 34165217e..1353ab1da 100644 --- a/src/simulation/elements/FWRK.cpp +++ b/src/simulation/elements/FWRK.cpp @@ -6,7 +6,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_FWRK() { Identifier = "DEFAULT_PT_FWRK"; - Name = "FWRK"; + Name = "FWRK"_ascii; Colour = PIXPACK(0x666666); MenuVisible = 1; MenuSection = SC_EXPLOSIVE; @@ -30,7 +30,7 @@ void Element::Element_FWRK() Weight = 97; HeatConduct = 100; - Description = "Original version of fireworks, activated by heat/neutrons."; + Description = "Original version of fireworks, activated by heat/neutrons."_i18n; Properties = TYPE_PART|PROP_LIFE_DEC; diff --git a/src/simulation/elements/GAS.cpp b/src/simulation/elements/GAS.cpp index 2c68e6039..dbdec8701 100644 --- a/src/simulation/elements/GAS.cpp +++ b/src/simulation/elements/GAS.cpp @@ -3,7 +3,7 @@ void Element::Element_GAS() { Identifier = "DEFAULT_PT_GAS"; - Name = "GAS"; + Name = "GAS"_ascii; Colour = PIXPACK(0xE0FF20); MenuVisible = 1; MenuSection = SC_GAS; @@ -28,7 +28,7 @@ void Element::Element_GAS() DefaultProperties.temp = R_TEMP + 2.0f + 273.15f; HeatConduct = 42; - Description = "Diffuses quickly and is flammable. Liquefies into OIL under pressure."; + Description = "Diffuses quickly and is flammable. Liquefies into OIL under pressure."_i18n; Properties = TYPE_GAS | PROP_NEUTPASS; diff --git a/src/simulation/elements/GBMB.cpp b/src/simulation/elements/GBMB.cpp index b99c9678e..dd4506108 100644 --- a/src/simulation/elements/GBMB.cpp +++ b/src/simulation/elements/GBMB.cpp @@ -6,7 +6,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_GBMB() { Identifier = "DEFAULT_PT_GBMB"; - Name = "GBMB"; + Name = "GBMB"_ascii; Colour = PIXPACK(0x1144BB); MenuVisible = 1; MenuSection = SC_FORCE; @@ -31,7 +31,7 @@ void Element::Element_GBMB() DefaultProperties.temp = R_TEMP - 2.0f + 273.15f; HeatConduct = 29; - Description = "Gravity bomb. Sticks to the first object it touches then produces a strong gravity push."; + Description = "Gravity bomb. Sticks to the first object it touches then produces a strong gravity push."_i18n; Properties = TYPE_PART|PROP_LIFE_DEC|PROP_LIFE_KILL_DEC; diff --git a/src/simulation/elements/GEL.cpp b/src/simulation/elements/GEL.cpp index bf4c7f0e6..ac135a036 100644 --- a/src/simulation/elements/GEL.cpp +++ b/src/simulation/elements/GEL.cpp @@ -6,7 +6,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_GEL() { Identifier = "DEFAULT_PT_GEL"; - Name = "GEL"; + Name = "GEL"_ascii; Colour = PIXPACK(0xFF9900); MenuVisible = 1; MenuSection = SC_LIQUID; @@ -31,7 +31,7 @@ void Element::Element_GEL() DefaultProperties.temp = R_TEMP - 2.0f + 273.15f; HeatConduct = 29; - Description = "Gel. A liquid with variable viscosity and heat conductivity."; + Description = "Gel. A liquid with variable viscosity and heat conductivity."_i18n; Properties = TYPE_LIQUID|PROP_LIFE_DEC|PROP_NEUTPENETRATE; diff --git a/src/simulation/elements/GLAS.cpp b/src/simulation/elements/GLAS.cpp index 3f8f2cbac..2afa1bea9 100644 --- a/src/simulation/elements/GLAS.cpp +++ b/src/simulation/elements/GLAS.cpp @@ -6,7 +6,7 @@ static void create(ELEMENT_CREATE_FUNC_ARGS); void Element::Element_GLAS() { Identifier = "DEFAULT_PT_GLAS"; - Name = "GLAS"; + Name = "GLAS"_ascii; Colour = PIXPACK(0x404040); MenuVisible = 1; MenuSection = SC_SOLIDS; @@ -30,7 +30,7 @@ void Element::Element_GLAS() Weight = 100; HeatConduct = 150; - Description = "Glass. Meltable. Shatters under pressure, and refracts photons."; + Description = "Glass. Meltable. Shatters under pressure, and refracts photons."_i18n; Properties = TYPE_SOLID | PROP_NEUTPASS | PROP_HOT_GLOW | PROP_SPARKSETTLE; diff --git a/src/simulation/elements/GLOW.cpp b/src/simulation/elements/GLOW.cpp index ac03a3f13..ced6b091a 100644 --- a/src/simulation/elements/GLOW.cpp +++ b/src/simulation/elements/GLOW.cpp @@ -6,7 +6,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_GLOW() { Identifier = "DEFAULT_PT_GLOW"; - Name = "GLOW"; + Name = "GLOW"_ascii; Colour = PIXPACK(0x445464); MenuVisible = 1; MenuSection = SC_LIQUID; @@ -31,7 +31,7 @@ void Element::Element_GLOW() DefaultProperties.temp = R_TEMP + 20.0f + 273.15f; HeatConduct = 44; - Description = "Glow, Glows under pressure."; + Description = "Glow, Glows under pressure."_i18n; Properties = TYPE_LIQUID | PROP_LIFE_DEC; diff --git a/src/simulation/elements/GOLD.cpp b/src/simulation/elements/GOLD.cpp index 3908bba13..febfc5270 100644 --- a/src/simulation/elements/GOLD.cpp +++ b/src/simulation/elements/GOLD.cpp @@ -7,7 +7,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_GOLD() { Identifier = "DEFAULT_PT_GOLD"; - Name = "GOLD"; + Name = "GOLD"_ascii; Colour = PIXPACK(0xDCAD2C); MenuVisible = 1; MenuSection = SC_SOLIDS; @@ -32,7 +32,7 @@ void Element::Element_GOLD() Weight = 100; HeatConduct = 251; - Description = "Corrosion resistant metal, will reverse corrosion of iron."; + Description = "Corrosion resistant metal, will reverse corrosion of iron."_i18n; Properties = TYPE_SOLID|PROP_CONDUCTS|PROP_HOT_GLOW|PROP_LIFE_DEC|PROP_NEUTPASS; diff --git a/src/simulation/elements/GOO.cpp b/src/simulation/elements/GOO.cpp index 2916c9ba0..5c5a518e7 100644 --- a/src/simulation/elements/GOO.cpp +++ b/src/simulation/elements/GOO.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_GOO() { Identifier = "DEFAULT_PT_GOO"; - Name = "GOO"; + Name = "GOO"_ascii; Colour = PIXPACK(0x804000); MenuVisible = 1; MenuSection = SC_SOLIDS; @@ -30,7 +30,7 @@ void Element::Element_GOO() Weight = 100; HeatConduct = 75; - Description = "Deforms and disappears under pressure."; + Description = "Deforms and disappears under pressure."_i18n; Properties = TYPE_SOLID | PROP_NEUTPENETRATE|PROP_LIFE_DEC|PROP_LIFE_KILL_DEC; diff --git a/src/simulation/elements/GPMP.cpp b/src/simulation/elements/GPMP.cpp index 845baa9b2..67e35d7aa 100644 --- a/src/simulation/elements/GPMP.cpp +++ b/src/simulation/elements/GPMP.cpp @@ -6,7 +6,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_GPMP() { Identifier = "DEFAULT_PT_GPMP"; - Name = "GPMP"; + Name = "GPMP"_ascii; Colour = PIXPACK(0x0A3B3B); MenuVisible = 1; MenuSection = SC_POWERED; @@ -30,7 +30,7 @@ void Element::Element_GPMP() Weight = 100; HeatConduct = 0; - Description = "Gravity pump. Changes gravity to its temp when activated. (use HEAT/COOL)"; + Description = "Gravity pump. Changes gravity to its temp when activated. (use HEAT/COOL)"_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/GRAV.cpp b/src/simulation/elements/GRAV.cpp index 51bc907bd..8a074bfdb 100644 --- a/src/simulation/elements/GRAV.cpp +++ b/src/simulation/elements/GRAV.cpp @@ -7,7 +7,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_GRAV() { Identifier = "DEFAULT_PT_GRAV"; - Name = "GRAV"; + Name = "GRAV"_ascii; Colour = PIXPACK(0x202020); MenuVisible = 1; MenuSection = SC_POWDERS; @@ -31,7 +31,7 @@ void Element::Element_GRAV() Weight = 85; HeatConduct = 70; - Description = "Very light dust. Changes colour based on velocity."; + Description = "Very light dust. Changes colour based on velocity."_i18n; Properties = TYPE_PART | PROP_LIFE_DEC; diff --git a/src/simulation/elements/GRVT.cpp b/src/simulation/elements/GRVT.cpp index c12e90898..9f694dcf6 100644 --- a/src/simulation/elements/GRVT.cpp +++ b/src/simulation/elements/GRVT.cpp @@ -7,7 +7,7 @@ static void create(ELEMENT_CREATE_FUNC_ARGS); void Element::Element_GRVT() { Identifier = "DEFAULT_PT_GRVT"; - Name = "GRVT"; + Name = "GRVT"_ascii; Colour = PIXPACK(0x00EE76); MenuVisible = 1; MenuSection = SC_NUCLEAR; @@ -31,7 +31,7 @@ void Element::Element_GRVT() Weight = -1; HeatConduct = 61; - Description = "Gravitons. Create Newtonian Gravity."; + Description = "Gravitons. Create Newtonian Gravity."_i18n; Properties = TYPE_ENERGY|PROP_LIFE_DEC|PROP_LIFE_KILL_DEC; diff --git a/src/simulation/elements/GUNP.cpp b/src/simulation/elements/GUNP.cpp index 63cbe96ce..c679bbdfe 100644 --- a/src/simulation/elements/GUNP.cpp +++ b/src/simulation/elements/GUNP.cpp @@ -3,7 +3,7 @@ void Element::Element_GUNP() { Identifier = "DEFAULT_PT_GUNP"; - Name = "GUN"; + Name = "GUN"_ascii; Colour = PIXPACK(0xC0C0D0); MenuVisible = 1; MenuSection = SC_EXPLOSIVE; @@ -27,7 +27,7 @@ void Element::Element_GUNP() Weight = 85; HeatConduct = 97; - Description = "Gunpowder. Light dust, explodes on contact with fire or spark."; + Description = "Gunpowder. Light dust, explodes on contact with fire or spark."_i18n; Properties = TYPE_PART; diff --git a/src/simulation/elements/H2.cpp b/src/simulation/elements/H2.cpp index 35004ae59..60f4fe8fd 100644 --- a/src/simulation/elements/H2.cpp +++ b/src/simulation/elements/H2.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_H2() { Identifier = "DEFAULT_PT_H2"; - Name = "HYGN"; + Name = "HYGN"_ascii; Colour = PIXPACK(0x5070FF); MenuVisible = 1; MenuSection = SC_GAS; @@ -29,7 +29,7 @@ void Element::Element_H2() Weight = 1; HeatConduct = 251; - Description = "Hydrogen. Combusts with OXYG to make WATR. Undergoes fusion at high temperature and pressure."; + Description = "Hydrogen. Combusts with OXYG to make WATR. Undergoes fusion at high temperature and pressure."_i18n; Properties = TYPE_GAS; diff --git a/src/simulation/elements/HEAC.cpp b/src/simulation/elements/HEAC.cpp index 0a11cee77..b1c774b0d 100644 --- a/src/simulation/elements/HEAC.cpp +++ b/src/simulation/elements/HEAC.cpp @@ -6,7 +6,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_HEAC() { Identifier = "DEFAULT_PT_HEAC"; - Name = "HEAC"; + Name = "HEAC"_ascii; Colour = PIXPACK(0xCB6351); MenuVisible = 1; MenuSection = SC_SOLIDS; @@ -30,7 +30,7 @@ void Element::Element_HEAC() Weight = 100; HeatConduct = 251; - Description = "Rapid heat conductor."; + Description = "Rapid heat conductor."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/HSWC.cpp b/src/simulation/elements/HSWC.cpp index 8f4b34dd1..3966286ac 100644 --- a/src/simulation/elements/HSWC.cpp +++ b/src/simulation/elements/HSWC.cpp @@ -6,7 +6,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_HSWC() { Identifier = "DEFAULT_PT_HSWC"; - Name = "HSWC"; + Name = "HSWC"_ascii; Colour = PIXPACK(0x3B0A0A); MenuVisible = 1; MenuSection = SC_POWERED; @@ -30,7 +30,7 @@ void Element::Element_HSWC() Weight = 100; HeatConduct = 251; - Description = "Heat switch. Conducts heat only when activated."; + Description = "Heat switch. Conducts heat only when activated."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/ICEI.cpp b/src/simulation/elements/ICEI.cpp index 5445783f8..8a2cfa926 100644 --- a/src/simulation/elements/ICEI.cpp +++ b/src/simulation/elements/ICEI.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_ICEI() { Identifier = "DEFAULT_PT_ICEI"; - Name = "ICE"; + Name = "ICE"_ascii; Colour = PIXPACK(0xA0C0FF); MenuVisible = 1; MenuSection = SC_SOLIDS; @@ -30,7 +30,7 @@ void Element::Element_ICEI() DefaultProperties.temp = R_TEMP - 50.0f + 273.15f; HeatConduct = 46; - Description = "Crushes under pressure. Cools down air."; + Description = "Crushes under pressure. Cools down air."_i18n; Properties = TYPE_SOLID|PROP_LIFE_DEC|PROP_NEUTPASS; diff --git a/src/simulation/elements/IGNT.cpp b/src/simulation/elements/IGNT.cpp index 6f8e8ec6e..1300f7df4 100644 --- a/src/simulation/elements/IGNT.cpp +++ b/src/simulation/elements/IGNT.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_IGNT() { Identifier = "DEFAULT_PT_IGNT"; - Name = "IGNC"; + Name = "IGNC"_ascii; Colour = PIXPACK(0xC0B050); MenuVisible = 1; MenuSection = SC_EXPLOSIVE; @@ -29,7 +29,7 @@ void Element::Element_IGNT() Weight = 100; HeatConduct = 88; - Description = "Ignition cord. Burns slowly with fire and sparks."; + Description = "Ignition cord. Burns slowly with fire and sparks."_i18n; Properties = TYPE_SOLID | PROP_NEUTPENETRATE | PROP_SPARKSETTLE | PROP_LIFE_KILL; diff --git a/src/simulation/elements/INSL.cpp b/src/simulation/elements/INSL.cpp index 980edbed2..19ba29658 100644 --- a/src/simulation/elements/INSL.cpp +++ b/src/simulation/elements/INSL.cpp @@ -3,7 +3,7 @@ void Element::Element_INSL() { Identifier = "DEFAULT_PT_INSL"; - Name = "INSL"; + Name = "INSL"_ascii; Colour = PIXPACK(0x9EA3B6); MenuVisible = 1; MenuSection = SC_ELEC; @@ -27,7 +27,7 @@ void Element::Element_INSL() Weight = 100; HeatConduct = 0; - Description = "Insulator, does not conduct heat and blocks electricity."; + Description = "Insulator, does not conduct heat and blocks electricity."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/INST.cpp b/src/simulation/elements/INST.cpp index 3e50ceeb1..97794ee3b 100644 --- a/src/simulation/elements/INST.cpp +++ b/src/simulation/elements/INST.cpp @@ -3,7 +3,7 @@ void Element::Element_INST() { Identifier = "DEFAULT_PT_INST"; - Name = "INST"; + Name = "INST"_ascii; Colour = PIXPACK(0x404039); MenuVisible = 1; MenuSection = SC_ELEC; @@ -27,7 +27,7 @@ void Element::Element_INST() Weight = 100; HeatConduct = 251; - Description = "Instantly conducts, PSCN to charge, NSCN to take."; + Description = "Instantly conducts, PSCN to charge, NSCN to take."_i18n; Properties = TYPE_SOLID|PROP_LIFE_DEC; diff --git a/src/simulation/elements/INVIS.cpp b/src/simulation/elements/INVIS.cpp index d03373de1..85968854c 100644 --- a/src/simulation/elements/INVIS.cpp +++ b/src/simulation/elements/INVIS.cpp @@ -6,7 +6,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_INVIS() { Identifier = "DEFAULT_PT_INVIS"; - Name = "INVS"; + Name = "INVS"_ascii; Colour = PIXPACK(0x00CCCC); MenuVisible = 1; MenuSection = SC_SENSOR; @@ -30,7 +30,7 @@ void Element::Element_INVIS() Weight = 100; HeatConduct = 164; - Description = "Invisible to particles while under pressure."; + Description = "Invisible to particles while under pressure."_i18n; Properties = TYPE_SOLID | PROP_NEUTPASS; diff --git a/src/simulation/elements/INWR.cpp b/src/simulation/elements/INWR.cpp index 9d1137ec8..740e7cb6f 100644 --- a/src/simulation/elements/INWR.cpp +++ b/src/simulation/elements/INWR.cpp @@ -3,7 +3,7 @@ void Element::Element_INWR() { Identifier = "DEFAULT_PT_INWR"; - Name = "INWR"; + Name = "INWR"_ascii; Colour = PIXPACK(0x544141); MenuVisible = 1; MenuSection = SC_ELEC; @@ -27,7 +27,7 @@ void Element::Element_INWR() Weight = 100; HeatConduct = 251; - Description = "Insulated Wire. Doesn't conduct to metal or semiconductors."; + Description = "Insulated Wire. Doesn't conduct to metal or semiconductors."_i18n; Properties = TYPE_SOLID|PROP_CONDUCTS|PROP_LIFE_DEC; diff --git a/src/simulation/elements/IRON.cpp b/src/simulation/elements/IRON.cpp index 45ef6c76d..283d494ee 100644 --- a/src/simulation/elements/IRON.cpp +++ b/src/simulation/elements/IRON.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_IRON() { Identifier = "DEFAULT_PT_IRON"; - Name = "IRON"; + Name = "IRON"_ascii; Colour = PIXPACK(0x707070); MenuVisible = 1; MenuSection = SC_SOLIDS; @@ -29,7 +29,7 @@ void Element::Element_IRON() Weight = 100; HeatConduct = 251; - Description = "Rusts with salt, can be used for electrolysis of WATR."; + Description = "Rusts with salt, can be used for electrolysis of WATR."_i18n; Properties = TYPE_SOLID|PROP_CONDUCTS|PROP_LIFE_DEC|PROP_HOT_GLOW; diff --git a/src/simulation/elements/ISOZ.cpp b/src/simulation/elements/ISOZ.cpp index 63ee50ace..7d967255d 100644 --- a/src/simulation/elements/ISOZ.cpp +++ b/src/simulation/elements/ISOZ.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_ISOZ() { Identifier = "DEFAULT_PT_ISOZ"; - Name = "ISOZ"; + Name = "ISOZ"_ascii; Colour = PIXPACK(0xAA30D0); MenuVisible = 1; MenuSection = SC_NUCLEAR; @@ -30,7 +30,7 @@ void Element::Element_ISOZ() DefaultProperties.temp = R_TEMP - 2.0f + 273.15f; HeatConduct = 29; - Description = "Isotope-Z. Radioactive liquid, decays into photons when touching PHOT or under negative pressure."; + Description = "Isotope-Z. Radioactive liquid, decays into photons when touching PHOT or under negative pressure."_i18n; Properties = TYPE_LIQUID|PROP_NEUTPENETRATE; diff --git a/src/simulation/elements/ISZS.cpp b/src/simulation/elements/ISZS.cpp index 61cbe0e63..4007bf55b 100644 --- a/src/simulation/elements/ISZS.cpp +++ b/src/simulation/elements/ISZS.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_ISZS() { Identifier = "DEFAULT_PT_ISZS"; - Name = "ISZS"; + Name = "ISZS"_ascii; Colour = PIXPACK(0x662089); MenuVisible = 1; MenuSection = SC_NUCLEAR; @@ -30,7 +30,7 @@ void Element::Element_ISZS() DefaultProperties.temp = 140.00f; HeatConduct = 251; - Description = "Solid form of ISOZ, slowly decays into PHOT."; + Description = "Solid form of ISOZ, slowly decays into PHOT."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/LAVA.cpp b/src/simulation/elements/LAVA.cpp index be5cf197f..03020356a 100644 --- a/src/simulation/elements/LAVA.cpp +++ b/src/simulation/elements/LAVA.cpp @@ -7,7 +7,7 @@ static void create(ELEMENT_CREATE_FUNC_ARGS); void Element::Element_LAVA() { Identifier = "DEFAULT_PT_LAVA"; - Name = "LAVA"; + Name = "LAVA"_ascii; Colour = PIXPACK(0xE05010); MenuVisible = 1; MenuSection = SC_LIQUID; @@ -33,7 +33,7 @@ void Element::Element_LAVA() DefaultProperties.temp = R_TEMP + 1500.0f + 273.15f; HeatConduct = 60; - Description = "Molten lava. Ignites flammable materials. Generated when metals and other materials melt, solidifies when cold."; + Description = "Molten lava. Ignites flammable materials. Generated when metals and other materials melt, solidifies when cold."_i18n; Properties = TYPE_LIQUID|PROP_LIFE_DEC; diff --git a/src/simulation/elements/LCRY.cpp b/src/simulation/elements/LCRY.cpp index 2c1891009..eaed93bb7 100644 --- a/src/simulation/elements/LCRY.cpp +++ b/src/simulation/elements/LCRY.cpp @@ -6,7 +6,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_LCRY() { Identifier = "DEFAULT_PT_LCRY"; - Name = "LCRY"; + Name = "LCRY"_ascii; Colour = PIXPACK(0x505050); MenuVisible = 1; MenuSection = SC_POWERED; @@ -30,7 +30,7 @@ void Element::Element_LCRY() Weight = 100; HeatConduct = 251; - Description = "Liquid Crystal. Changes colour when charged. (PSCN Charges, NSCN Discharges)"; + Description = "Liquid Crystal. Changes colour when charged. (PSCN Charges, NSCN Discharges)"_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/LDTC.cpp b/src/simulation/elements/LDTC.cpp index 260a9e839..1b6b3b68f 100644 --- a/src/simulation/elements/LDTC.cpp +++ b/src/simulation/elements/LDTC.cpp @@ -6,7 +6,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_LDTC() { Identifier = "DEFAULT_PT_LDTC"; - Name = "LDTC"; + Name = "LDTC"_ascii; Colour = PIXPACK(0x66ff66); MenuVisible = 1; MenuSection = SC_SENSOR; @@ -30,7 +30,7 @@ void Element::Element_LDTC() Weight = 100; HeatConduct = 0; - Description = "Linear detector. Scans in 8 directions for particles with its ctype and creates a spark on the opposite side."; + Description = "Linear detector. Scans in 8 directions for particles with its ctype and creates a spark on the opposite side."_i18n; Properties = TYPE_SOLID | PROP_NOCTYPEDRAW; diff --git a/src/simulation/elements/LIFE.cpp b/src/simulation/elements/LIFE.cpp index 566c9c982..a76f45c62 100644 --- a/src/simulation/elements/LIFE.cpp +++ b/src/simulation/elements/LIFE.cpp @@ -9,7 +9,7 @@ static void create(ELEMENT_CREATE_FUNC_ARGS); void Element::Element_LIFE() { Identifier = "DEFAULT_PT_LIFE"; - Name = "LIFE"; + Name = "LIFE"_ascii; Colour = PIXPACK(0x0CAC00); MenuVisible = 0; MenuSection = SC_LIFE; @@ -34,7 +34,7 @@ void Element::Element_LIFE() DefaultProperties.temp = 9000.0f; HeatConduct = 40; - Description = "Game Of Life! B3/S23"; + Description = "Game Of Life! B3/S23"_i18n; Properties = TYPE_SOLID|PROP_LIFE; diff --git a/src/simulation/elements/LIGH.cpp b/src/simulation/elements/LIGH.cpp index b7e1c571e..57f0f95a0 100644 --- a/src/simulation/elements/LIGH.cpp +++ b/src/simulation/elements/LIGH.cpp @@ -8,7 +8,7 @@ static void create_line_par(Simulation * sim, int x1, int y1, int x2, int y2, in void Element::Element_LIGH() { Identifier = "DEFAULT_PT_LIGH"; - Name = "LIGH"; + Name = "LIGH"_ascii; Colour = PIXPACK(0xFFFFC0); MenuVisible = 1; MenuSection = SC_EXPLOSIVE; @@ -32,7 +32,7 @@ void Element::Element_LIGH() Weight = 100; HeatConduct = 0; - Description = "Lightning. Change the brush size to set the size of the lightning."; + Description = "Lightning. Change the brush size to set the size of the lightning."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/LNTG.cpp b/src/simulation/elements/LNTG.cpp index ac566e3a3..6a7b5f71e 100644 --- a/src/simulation/elements/LNTG.cpp +++ b/src/simulation/elements/LNTG.cpp @@ -3,7 +3,7 @@ void Element::Element_LNTG() { Identifier = "DEFAULT_PT_LNTG"; - Name = "LN2"; + Name = "LN2"_ascii; Colour = PIXPACK(0x80A0DF); MenuVisible = 1; MenuSection = SC_LIQUID; @@ -28,7 +28,7 @@ void Element::Element_LNTG() DefaultProperties.temp = 70.15f; HeatConduct = 70; - Description = "Liquid Nitrogen. Very cold, disappears whenever it touches anything warmer."; + Description = "Liquid Nitrogen. Very cold, disappears whenever it touches anything warmer."_i18n; Properties = TYPE_LIQUID; diff --git a/src/simulation/elements/LO2.cpp b/src/simulation/elements/LO2.cpp index 9efc2acb7..f265f4cdd 100644 --- a/src/simulation/elements/LO2.cpp +++ b/src/simulation/elements/LO2.cpp @@ -3,7 +3,7 @@ void Element::Element_LO2() { Identifier = "DEFAULT_PT_LO2"; - Name = "LOXY"; + Name = "LOXY"_ascii; Colour = PIXPACK(0x80A0EF); MenuVisible = 1; MenuSection = SC_LIQUID; @@ -28,7 +28,7 @@ void Element::Element_LO2() DefaultProperties.temp = 80.0f; HeatConduct = 70; - Description = "Liquid Oxygen. Very cold. Reacts with fire."; + Description = "Liquid Oxygen. Very cold. Reacts with fire."_i18n; Properties = TYPE_LIQUID; diff --git a/src/simulation/elements/LOLZ.cpp b/src/simulation/elements/LOLZ.cpp index abd9d598e..d9bfc9ac8 100644 --- a/src/simulation/elements/LOLZ.cpp +++ b/src/simulation/elements/LOLZ.cpp @@ -3,7 +3,7 @@ void Element::Element_LOLZ() { Identifier = "DEFAULT_PT_LOLZ"; - Name = "LOLZ"; + Name = "LOLZ"_ascii; Colour = PIXPACK(0x569212); MenuVisible = 1; MenuSection = SC_CRACKER2; @@ -28,7 +28,7 @@ void Element::Element_LOLZ() DefaultProperties.temp = 373.0f; HeatConduct = 40; - Description = "Lolz"; + Description = "Lolz"_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/LOVE.cpp b/src/simulation/elements/LOVE.cpp index 9e1c6c040..c836b9677 100644 --- a/src/simulation/elements/LOVE.cpp +++ b/src/simulation/elements/LOVE.cpp @@ -3,7 +3,7 @@ void Element::Element_LOVE() { Identifier = "DEFAULT_PT_LOVE"; - Name = "LOVE"; + Name = "LOVE"_ascii; Colour = PIXPACK(0xFF30FF); MenuVisible = 1; MenuSection = SC_CRACKER2; @@ -28,7 +28,7 @@ void Element::Element_LOVE() DefaultProperties.temp = 373.0f; HeatConduct = 40; - Description = "Love..."; + Description = "Love..."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/LRBD.cpp b/src/simulation/elements/LRBD.cpp index b7716ac86..83f050ae5 100644 --- a/src/simulation/elements/LRBD.cpp +++ b/src/simulation/elements/LRBD.cpp @@ -3,7 +3,7 @@ void Element::Element_LRBD() { Identifier = "DEFAULT_PT_LRBD"; - Name = "LRBD"; + Name = "LRBD"_ascii; Colour = PIXPACK(0xAAAAAA); MenuVisible = 1; MenuSection = SC_EXPLOSIVE; @@ -28,7 +28,7 @@ void Element::Element_LRBD() DefaultProperties.temp = R_TEMP + 45.0f + 273.15f; HeatConduct = 170; - Description = "Liquid Rubidium."; + Description = "Liquid Rubidium."_i18n; Properties = TYPE_LIQUID|PROP_CONDUCTS|PROP_LIFE_DEC; diff --git a/src/simulation/elements/LSNS.cpp b/src/simulation/elements/LSNS.cpp index e8e2cb1ec..15f5c69c3 100644 --- a/src/simulation/elements/LSNS.cpp +++ b/src/simulation/elements/LSNS.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_LSNS() { Identifier = "DEFAULT_PT_LSNS"; - Name = "LSNS"; + Name = "LSNS"_ascii; Colour = PIXPACK(0x336699); MenuVisible = 1; MenuSection = SC_SENSOR; @@ -30,7 +30,7 @@ void Element::Element_LSNS() DefaultProperties.temp = 4.0f + 273.15f; HeatConduct = 0; - Description = "Life sensor, creates a spark when there's a nearby particle with a life higher than its temperature."; + Description = "Life sensor, creates a spark when there's a nearby particle with a life higher than its temperature."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/MERC.cpp b/src/simulation/elements/MERC.cpp index d64e5afa7..f7b150e78 100644 --- a/src/simulation/elements/MERC.cpp +++ b/src/simulation/elements/MERC.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_MERC() { Identifier = "DEFAULT_PT_MERC"; - Name = "MERC"; + Name = "MERC"_ascii; Colour = PIXPACK(0x736B6D); MenuVisible = 1; MenuSection = SC_LIQUID; @@ -29,7 +29,7 @@ void Element::Element_MERC() Weight = 91; HeatConduct = 251; - Description = "Mercury. Volume changes with temperature, Conductive."; + Description = "Mercury. Volume changes with temperature, Conductive."_i18n; Properties = TYPE_LIQUID|PROP_CONDUCTS|PROP_NEUTABSORB|PROP_LIFE_DEC; diff --git a/src/simulation/elements/METL.cpp b/src/simulation/elements/METL.cpp index 44ff6a98a..a533e0d23 100644 --- a/src/simulation/elements/METL.cpp +++ b/src/simulation/elements/METL.cpp @@ -3,7 +3,7 @@ void Element::Element_METL() { Identifier = "DEFAULT_PT_METL"; - Name = "METL"; + Name = "METL"_ascii; Colour = PIXPACK(0x404060); MenuVisible = 1; MenuSection = SC_ELEC; @@ -27,7 +27,7 @@ void Element::Element_METL() Weight = 100; HeatConduct = 251; - Description = "The basic conductor. Meltable."; + Description = "The basic conductor. Meltable."_i18n; Properties = TYPE_SOLID|PROP_CONDUCTS|PROP_LIFE_DEC|PROP_HOT_GLOW; diff --git a/src/simulation/elements/MORT.cpp b/src/simulation/elements/MORT.cpp index 925056ad6..248630844 100644 --- a/src/simulation/elements/MORT.cpp +++ b/src/simulation/elements/MORT.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_MORT() { Identifier = "DEFAULT_PT_MORT"; - Name = "MORT"; + Name = "MORT"_ascii; Colour = PIXPACK(0xE0E0E0); MenuVisible = 1; MenuSection = SC_CRACKER2; @@ -30,7 +30,7 @@ void Element::Element_MORT() DefaultProperties.temp = R_TEMP + 4.0f + 273.15f; HeatConduct = 60; - Description = "Steam Train."; + Description = "Steam Train."_i18n; Properties = TYPE_GAS; diff --git a/src/simulation/elements/MWAX.cpp b/src/simulation/elements/MWAX.cpp index 64d0d3e26..cc607601c 100644 --- a/src/simulation/elements/MWAX.cpp +++ b/src/simulation/elements/MWAX.cpp @@ -3,7 +3,7 @@ void Element::Element_MWAX() { Identifier = "DEFAULT_PT_MWAX"; - Name = "MWAX"; + Name = "MWAX"_ascii; Colour = PIXPACK(0xE0E0AA); MenuVisible = 1; MenuSection = SC_LIQUID; @@ -28,7 +28,7 @@ void Element::Element_MWAX() DefaultProperties.temp = R_TEMP + 28.0f + 273.15f; HeatConduct = 44; - Description = "Liquid Wax. Hardens into WAX at 45 degrees."; + Description = "Liquid Wax. Hardens into WAX at 45 degrees."_i18n; Properties = TYPE_LIQUID; diff --git a/src/simulation/elements/NBHL.cpp b/src/simulation/elements/NBHL.cpp index f0f7fe45d..ae1654b9c 100644 --- a/src/simulation/elements/NBHL.cpp +++ b/src/simulation/elements/NBHL.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_NBHL() { Identifier = "DEFAULT_PT_NBHL"; - Name = "BHOL"; + Name = "BHOL"_ascii; Colour = PIXPACK(0x202020); MenuVisible = 1; MenuSection = SC_SPECIAL; @@ -29,7 +29,7 @@ void Element::Element_NBHL() Weight = 100; HeatConduct = 186; - Description = "Black hole, sucks in particles using gravity. (Requires Newtonian gravity)"; + Description = "Black hole, sucks in particles using gravity. (Requires Newtonian gravity)"_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/NBLE.cpp b/src/simulation/elements/NBLE.cpp index baa6de670..cb078967e 100644 --- a/src/simulation/elements/NBLE.cpp +++ b/src/simulation/elements/NBLE.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_NBLE() { Identifier = "DEFAULT_PT_NBLE"; - Name = "NBLE"; + Name = "NBLE"_ascii; Colour = PIXPACK(0xEB4917); MenuVisible = 1; MenuSection = SC_GAS; @@ -31,7 +31,7 @@ void Element::Element_NBLE() DefaultProperties.temp = R_TEMP + 2.0f + 273.15f; HeatConduct = 106; - Description = "Noble Gas. Diffuses and conductive. Ionizes into plasma when introduced to electricity."; + Description = "Noble Gas. Diffuses and conductive. Ionizes into plasma when introduced to electricity."_i18n; Properties = TYPE_GAS|PROP_CONDUCTS|PROP_LIFE_DEC; diff --git a/src/simulation/elements/NEUT.cpp b/src/simulation/elements/NEUT.cpp index 7dbc2993a..d670ee568 100644 --- a/src/simulation/elements/NEUT.cpp +++ b/src/simulation/elements/NEUT.cpp @@ -9,7 +9,7 @@ static int DeutExplosion(Simulation * sim, int n, int x, int y, float temp, int void Element::Element_NEUT() { Identifier = "DEFAULT_PT_NEUT"; - Name = "NEUT"; + Name = "NEUT"_ascii; Colour = PIXPACK(0x20E0FF); MenuVisible = 1; MenuSection = SC_NUCLEAR; @@ -34,7 +34,7 @@ void Element::Element_NEUT() DefaultProperties.temp = R_TEMP + 4.0f + 273.15f; HeatConduct = 60; - Description = "Neutrons. Interact with matter in odd ways."; + Description = "Neutrons. Interact with matter in odd ways."_i18n; Properties = TYPE_ENERGY|PROP_LIFE_DEC|PROP_LIFE_KILL_DEC; diff --git a/src/simulation/elements/NICE.cpp b/src/simulation/elements/NICE.cpp index 5dd893f24..1d6450a3a 100644 --- a/src/simulation/elements/NICE.cpp +++ b/src/simulation/elements/NICE.cpp @@ -3,7 +3,7 @@ void Element::Element_NICE() { Identifier = "DEFAULT_PT_NICE"; - Name = "NICE"; + Name = "NICE"_ascii; Colour = PIXPACK(0xC0E0FF); MenuVisible = 1; MenuSection = SC_SOLIDS; @@ -28,7 +28,7 @@ void Element::Element_NICE() DefaultProperties.temp = 35.0f; HeatConduct = 46; - Description = "Nitrogen Ice. Very cold, will melt into LN2 when heated only slightly."; + Description = "Nitrogen Ice. Very cold, will melt into LN2 when heated only slightly."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/NITR.cpp b/src/simulation/elements/NITR.cpp index df3c1dc84..5d4c4734b 100644 --- a/src/simulation/elements/NITR.cpp +++ b/src/simulation/elements/NITR.cpp @@ -3,7 +3,7 @@ void Element::Element_NITR() { Identifier = "DEFAULT_PT_NITR"; - Name = "NITR"; + Name = "NITR"_ascii; Colour = PIXPACK(0x20E010); MenuVisible = 1; MenuSection = SC_EXPLOSIVE; @@ -28,7 +28,7 @@ void Element::Element_NITR() Weight = 23; HeatConduct = 50; - Description = "Nitroglycerin. Pressure sensitive explosive. Mix with CLST to make TNT."; + Description = "Nitroglycerin. Pressure sensitive explosive. Mix with CLST to make TNT."_i18n; Properties = TYPE_LIQUID; diff --git a/src/simulation/elements/NONE.cpp b/src/simulation/elements/NONE.cpp index c8df7a257..c38e64176 100644 --- a/src/simulation/elements/NONE.cpp +++ b/src/simulation/elements/NONE.cpp @@ -5,7 +5,7 @@ static VideoBuffer *iconGen(int wallID, int width, int height); void Element::Element_NONE() { Identifier = "DEFAULT_PT_NONE"; - Name = ""; + Name = ""_ascii; Colour = PIXPACK(0x000000); MenuVisible = 1; MenuSection = SC_SPECIAL; @@ -29,7 +29,7 @@ void Element::Element_NONE() Weight = 100; HeatConduct = 0; - Description = "Erases particles."; + Description = "Erases particles."_i18n; Properties = 0; diff --git a/src/simulation/elements/NSCN.cpp b/src/simulation/elements/NSCN.cpp index f0e45749b..f4d88bf6e 100644 --- a/src/simulation/elements/NSCN.cpp +++ b/src/simulation/elements/NSCN.cpp @@ -3,7 +3,7 @@ void Element::Element_NSCN() { Identifier = "DEFAULT_PT_NSCN"; - Name = "NSCN"; + Name = "NSCN"_ascii; Colour = PIXPACK(0x505080); MenuVisible = 1; MenuSection = SC_ELEC; @@ -28,7 +28,7 @@ void Element::Element_NSCN() Weight = 100; HeatConduct = 251; - Description = "N-Type Silicon, Will not transfer current to P-Type Silicon."; + Description = "N-Type Silicon, Will not transfer current to P-Type Silicon."_i18n; Properties = TYPE_SOLID|PROP_CONDUCTS|PROP_LIFE_DEC; diff --git a/src/simulation/elements/NTCT.cpp b/src/simulation/elements/NTCT.cpp index df7888467..112298315 100644 --- a/src/simulation/elements/NTCT.cpp +++ b/src/simulation/elements/NTCT.cpp @@ -5,7 +5,7 @@ int Element_NTCT_update(UPDATE_FUNC_ARGS); void Element::Element_NTCT() { Identifier = "DEFAULT_PT_NTCT"; - Name = "NTCT"; + Name = "NTCT"_ascii; Colour = PIXPACK(0x505040); MenuVisible = 1; MenuSection = SC_ELEC; @@ -29,7 +29,7 @@ void Element::Element_NTCT() Weight = 100; HeatConduct = 251; - Description = "Semi-conductor. Only conducts electricity when hot. (More than 100C)"; + Description = "Semi-conductor. Only conducts electricity when hot. (More than 100C)"_i18n; Properties = TYPE_SOLID|PROP_CONDUCTS|PROP_LIFE_DEC; diff --git a/src/simulation/elements/NWHL.cpp b/src/simulation/elements/NWHL.cpp index 8906b8709..642cb7ab9 100644 --- a/src/simulation/elements/NWHL.cpp +++ b/src/simulation/elements/NWHL.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_NWHL() { Identifier = "DEFAULT_PT_NWHL"; - Name = "WHOL"; + Name = "WHOL"_ascii; Colour = PIXPACK(0xFFFFFF); MenuVisible = 1; MenuSection = SC_SPECIAL; @@ -29,7 +29,7 @@ void Element::Element_NWHL() Weight = 100; HeatConduct = 186; - Description = "White hole, pushes away other particles with gravity. (Requires Newtonian gravity)"; + Description = "White hole, pushes away other particles with gravity. (Requires Newtonian gravity)"_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/O2.cpp b/src/simulation/elements/O2.cpp index 2f114de65..574f7d87a 100644 --- a/src/simulation/elements/O2.cpp +++ b/src/simulation/elements/O2.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_O2() { Identifier = "DEFAULT_PT_O2"; - Name = "OXYG"; + Name = "OXYG"_ascii; Colour = PIXPACK(0x80A0FF); MenuVisible = 1; MenuSection = SC_GAS; @@ -29,7 +29,7 @@ void Element::Element_O2() Weight = 1; HeatConduct = 70; - Description = "Oxygen gas. Ignites easily."; + Description = "Oxygen gas. Ignites easily."_i18n; Properties = TYPE_GAS; diff --git a/src/simulation/elements/OIL.cpp b/src/simulation/elements/OIL.cpp index 69d2f2983..1830650a7 100644 --- a/src/simulation/elements/OIL.cpp +++ b/src/simulation/elements/OIL.cpp @@ -3,7 +3,7 @@ void Element::Element_OIL() { Identifier = "DEFAULT_PT_OIL"; - Name = "OIL"; + Name = "OIL"_ascii; Colour = PIXPACK(0x404010); MenuVisible = 1; MenuSection = SC_LIQUID; @@ -27,7 +27,7 @@ void Element::Element_OIL() Weight = 20; HeatConduct = 42; - Description = "Flammable, turns into GAS at low pressure or high temperature. Can be formed with NEUT and NITR."; + Description = "Flammable, turns into GAS at low pressure or high temperature. Can be formed with NEUT and NITR."_i18n; Properties = TYPE_LIQUID | PROP_NEUTPASS; diff --git a/src/simulation/elements/PBCN.cpp b/src/simulation/elements/PBCN.cpp index 31b2e85dc..1b7dc6487 100644 --- a/src/simulation/elements/PBCN.cpp +++ b/src/simulation/elements/PBCN.cpp @@ -7,7 +7,7 @@ bool Element_PCLN_ctypeDraw(CTYPEDRAW_FUNC_ARGS); void Element::Element_PBCN() { Identifier = "DEFAULT_PT_PBCN"; - Name = "PBCN"; + Name = "PBCN"_ascii; Colour = PIXPACK(0x3B1D0A); MenuVisible = 1; MenuSection = SC_POWERED; @@ -31,7 +31,7 @@ void Element::Element_PBCN() Weight = 100; HeatConduct = 251; - Description = "Powered breakable clone."; + Description = "Powered breakable clone."_i18n; Properties = TYPE_SOLID | PROP_NOCTYPEDRAW; diff --git a/src/simulation/elements/PCLN.cpp b/src/simulation/elements/PCLN.cpp index af8f05b15..0a3086751 100644 --- a/src/simulation/elements/PCLN.cpp +++ b/src/simulation/elements/PCLN.cpp @@ -7,7 +7,7 @@ bool Element_PCLN_ctypeDraw(CTYPEDRAW_FUNC_ARGS); void Element::Element_PCLN() { Identifier = "DEFAULT_PT_PCLN"; - Name = "PCLN"; + Name = "PCLN"_ascii; Colour = PIXPACK(0x3B3B0A); MenuVisible = 1; MenuSection = SC_POWERED; @@ -31,7 +31,7 @@ void Element::Element_PCLN() Weight = 100; HeatConduct = 251; - Description = "Powered clone. When activated, duplicates any particles it touches."; + Description = "Powered clone. When activated, duplicates any particles it touches."_i18n; Properties = TYPE_SOLID | PROP_NOCTYPEDRAW; diff --git a/src/simulation/elements/PHOT.cpp b/src/simulation/elements/PHOT.cpp index 82d5468d9..145f5a23b 100644 --- a/src/simulation/elements/PHOT.cpp +++ b/src/simulation/elements/PHOT.cpp @@ -8,7 +8,7 @@ static void create(ELEMENT_CREATE_FUNC_ARGS); void Element::Element_PHOT() { Identifier = "DEFAULT_PT_PHOT"; - Name = "PHOT"; + Name = "PHOT"_ascii; Colour = PIXPACK(0xFFFFFF); MenuVisible = 1; MenuSection = SC_NUCLEAR; @@ -33,7 +33,7 @@ void Element::Element_PHOT() DefaultProperties.temp = R_TEMP + 900.0f + 273.15f; HeatConduct = 251; - Description = "Photons. Refracts through glass, scattered by quartz, and color-changed by different elements. Ignites flammable materials."; + Description = "Photons. Refracts through glass, scattered by quartz, and color-changed by different elements. Ignites flammable materials."_i18n; Properties = TYPE_ENERGY|PROP_LIFE_DEC|PROP_LIFE_KILL_DEC; diff --git a/src/simulation/elements/PIPE.cpp b/src/simulation/elements/PIPE.cpp index 526bcd6d7..9da6b4e27 100644 --- a/src/simulation/elements/PIPE.cpp +++ b/src/simulation/elements/PIPE.cpp @@ -13,7 +13,7 @@ void Element_SOAP_detach(Simulation * sim, int i); void Element::Element_PIPE() { Identifier = "DEFAULT_PT_PIPE"; - Name = "PIPE"; + Name = "PIPE"_ascii; Colour = PIXPACK(0x444444); MenuVisible = 1; MenuSection = SC_FORCE; @@ -38,7 +38,7 @@ void Element::Element_PIPE() DefaultProperties.temp = 273.15f; HeatConduct = 0; - Description = "PIPE, moves particles around. Once the BRCK generates, erase some for the exit. Then the PIPE generates and is usable."; + Description = "PIPE, moves particles around. Once the BRCK generates, erase some for the exit. Then the PIPE generates and is usable."_i18n; Properties = TYPE_SOLID|PROP_LIFE_DEC; diff --git a/src/simulation/elements/PLEX.cpp b/src/simulation/elements/PLEX.cpp index 579955471..17e1f0346 100644 --- a/src/simulation/elements/PLEX.cpp +++ b/src/simulation/elements/PLEX.cpp @@ -3,7 +3,7 @@ void Element::Element_PLEX() { Identifier = "DEFAULT_PT_PLEX"; - Name = "C-4"; + Name = "C-4"_ascii; Colour = PIXPACK(0xD080E0); MenuVisible = 1; MenuSection = SC_EXPLOSIVE; @@ -28,7 +28,7 @@ void Element::Element_PLEX() Weight = 100; HeatConduct = 88; - Description = "Solid pressure sensitive explosive."; + Description = "Solid pressure sensitive explosive."_i18n; Properties = TYPE_SOLID | PROP_NEUTPENETRATE; diff --git a/src/simulation/elements/PLNT.cpp b/src/simulation/elements/PLNT.cpp index 72be9aad9..747efa7b4 100644 --- a/src/simulation/elements/PLNT.cpp +++ b/src/simulation/elements/PLNT.cpp @@ -7,7 +7,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_PLNT() { Identifier = "DEFAULT_PT_PLNT"; - Name = "PLNT"; + Name = "PLNT"_ascii; Colour = PIXPACK(0x0CAC00); MenuVisible = 1; MenuSection = SC_SOLIDS; @@ -32,7 +32,7 @@ void Element::Element_PLNT() Weight = 100; HeatConduct = 65; - Description = "Plant, drinks water and grows."; + Description = "Plant, drinks water and grows."_i18n; Properties = TYPE_SOLID|PROP_NEUTPENETRATE|PROP_LIFE_DEC; diff --git a/src/simulation/elements/PLSM.cpp b/src/simulation/elements/PLSM.cpp index 660e941ee..c44d1f925 100644 --- a/src/simulation/elements/PLSM.cpp +++ b/src/simulation/elements/PLSM.cpp @@ -7,7 +7,7 @@ static void create(ELEMENT_CREATE_FUNC_ARGS); void Element::Element_PLSM() { Identifier = "DEFAULT_PT_PLSM"; - Name = "PLSM"; + Name = "PLSM"_ascii; Colour = PIXPACK(0xBB99FF); MenuVisible = 1; MenuSection = SC_GAS; @@ -32,7 +32,7 @@ void Element::Element_PLSM() DefaultProperties.temp = MAX_TEMP; HeatConduct = 5; - Description = "Plasma, extremely hot."; + Description = "Plasma, extremely hot."_i18n; Properties = TYPE_GAS|PROP_LIFE_DEC|PROP_LIFE_KILL; diff --git a/src/simulation/elements/PLUT.cpp b/src/simulation/elements/PLUT.cpp index bb2914780..b1fb9e27d 100644 --- a/src/simulation/elements/PLUT.cpp +++ b/src/simulation/elements/PLUT.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_PLUT() { Identifier = "DEFAULT_PT_PLUT"; - Name = "PLUT"; + Name = "PLUT"_ascii; Colour = PIXPACK(0x407020); MenuVisible = 1; MenuSection = SC_NUCLEAR; @@ -31,7 +31,7 @@ void Element::Element_PLUT() DefaultProperties.temp = R_TEMP + 4.0f + 273.15f; HeatConduct = 251; - Description = "Plutonium. Heavy, fissile particles. Generates neutrons under pressure."; + Description = "Plutonium. Heavy, fissile particles. Generates neutrons under pressure."_i18n; Properties = TYPE_PART|PROP_NEUTPASS|PROP_RADIOACTIVE; diff --git a/src/simulation/elements/POLO.cpp b/src/simulation/elements/POLO.cpp index fdd8ba8ca..e7f08a81c 100644 --- a/src/simulation/elements/POLO.cpp +++ b/src/simulation/elements/POLO.cpp @@ -6,7 +6,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_POLO() { Identifier = "DEFAULT_PT_POLO"; - Name = "POLO"; + Name = "POLO"_ascii; Colour = PIXPACK(0x506030); MenuVisible = 1; MenuSection = SC_NUCLEAR; @@ -32,7 +32,7 @@ void Element::Element_POLO() DefaultProperties.temp = 388.15f; HeatConduct = 251; - Description = "Polonium, highly radioactive. Decays into NEUT and heats up."; + Description = "Polonium, highly radioactive. Decays into NEUT and heats up."_i18n; Properties = TYPE_PART|PROP_NEUTPASS|PROP_RADIOACTIVE|PROP_LIFE_DEC|PROP_DEADLY; diff --git a/src/simulation/elements/PPIP.cpp b/src/simulation/elements/PPIP.cpp index 69579c465..0e9f40e94 100644 --- a/src/simulation/elements/PPIP.cpp +++ b/src/simulation/elements/PPIP.cpp @@ -6,7 +6,7 @@ int Element_PIPE_graphics(GRAPHICS_FUNC_ARGS); void Element::Element_PPIP() { Identifier = "DEFAULT_PT_PPIP"; - Name = "PPIP"; + Name = "PPIP"_ascii; Colour = PIXPACK(0x444466); MenuVisible = 1; MenuSection = SC_POWERED; @@ -31,7 +31,7 @@ void Element::Element_PPIP() DefaultProperties.temp = 273.15f; HeatConduct = 0; - Description = "Powered version of PIPE, use PSCN/NSCN to Activate/Deactivate."; + Description = "Powered version of PIPE, use PSCN/NSCN to Activate/Deactivate."_i18n; Properties = TYPE_SOLID|PROP_LIFE_DEC; diff --git a/src/simulation/elements/PQRT.cpp b/src/simulation/elements/PQRT.cpp index 99962a0f0..009c9b8c5 100644 --- a/src/simulation/elements/PQRT.cpp +++ b/src/simulation/elements/PQRT.cpp @@ -7,7 +7,7 @@ static void create(ELEMENT_CREATE_FUNC_ARGS); void Element::Element_PQRT() { Identifier = "DEFAULT_PT_PQRT"; - Name = "PQRT"; + Name = "PQRT"_ascii; Colour = PIXPACK(0x88BBBB); MenuVisible = 1; MenuSection = SC_POWDERS; @@ -31,7 +31,7 @@ void Element::Element_PQRT() Weight = 90; HeatConduct = 3; - Description = "Powdered quartz, broken form of QRTZ."; + Description = "Powdered quartz, broken form of QRTZ."_i18n; Properties = TYPE_PART| PROP_HOT_GLOW; diff --git a/src/simulation/elements/PROT.cpp b/src/simulation/elements/PROT.cpp index 992de405a..82a24da4e 100644 --- a/src/simulation/elements/PROT.cpp +++ b/src/simulation/elements/PROT.cpp @@ -8,7 +8,7 @@ static int DeutImplosion(Simulation * sim, int n, int x, int y, float temp, int void Element::Element_PROT() { Identifier = "DEFAULT_PT_PROT"; - Name = "PROT"; + Name = "PROT"_ascii; Colour = PIXPACK(0x990000); MenuVisible = 1; MenuSection = SC_NUCLEAR; @@ -32,7 +32,7 @@ void Element::Element_PROT() Weight = -1; HeatConduct = 61; - Description = "Protons. Transfer heat to materials, and removes sparks."; + Description = "Protons. Transfer heat to materials, and removes sparks."_i18n; Properties = TYPE_ENERGY; diff --git a/src/simulation/elements/PRTI.cpp b/src/simulation/elements/PRTI.cpp index 90a933409..8e0984af1 100644 --- a/src/simulation/elements/PRTI.cpp +++ b/src/simulation/elements/PRTI.cpp @@ -8,7 +8,7 @@ void Element_SOAP_detach(Simulation * sim, int i); void Element::Element_PRTI() { Identifier = "DEFAULT_PT_PRTI"; - Name = "PRTI"; + Name = "PRTI"_ascii; Colour = PIXPACK(0xEB5917); MenuVisible = 1; MenuSection = SC_SPECIAL; @@ -32,7 +32,7 @@ void Element::Element_PRTI() Weight = 100; HeatConduct = 0; - Description = "Portal IN. Particles go in here. Also has temperature dependent channels. (same as WIFI)"; + Description = "Portal IN. Particles go in here. Also has temperature dependent channels. (same as WIFI)"_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/PRTO.cpp b/src/simulation/elements/PRTO.cpp index 7dfbd38f1..d14226ef9 100644 --- a/src/simulation/elements/PRTO.cpp +++ b/src/simulation/elements/PRTO.cpp @@ -6,7 +6,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_PRTO() { Identifier = "DEFAULT_PT_PRTO"; - Name = "PRTO"; + Name = "PRTO"_ascii; Colour = PIXPACK(0x0020EB); MenuVisible = 1; MenuSection = SC_SPECIAL; @@ -30,7 +30,7 @@ void Element::Element_PRTO() Weight = 100; HeatConduct = 0; - Description = "Portal OUT. Particles come out here. Also has temperature dependent channels. (same as WIFI)"; + Description = "Portal OUT. Particles come out here. Also has temperature dependent channels. (same as WIFI)"_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/PSCN.cpp b/src/simulation/elements/PSCN.cpp index b5a5900c9..1923b5360 100644 --- a/src/simulation/elements/PSCN.cpp +++ b/src/simulation/elements/PSCN.cpp @@ -3,7 +3,7 @@ void Element::Element_PSCN() { Identifier = "DEFAULT_PT_PSCN"; - Name = "PSCN"; + Name = "PSCN"_ascii; Colour = PIXPACK(0x805050); MenuVisible = 1; MenuSection = SC_ELEC; @@ -28,7 +28,7 @@ void Element::Element_PSCN() Weight = 100; HeatConduct = 251; - Description = "P-Type Silicon, Will transfer current to any conductor."; + Description = "P-Type Silicon, Will transfer current to any conductor."_i18n; Properties = TYPE_SOLID|PROP_CONDUCTS|PROP_LIFE_DEC; diff --git a/src/simulation/elements/PSNS.cpp b/src/simulation/elements/PSNS.cpp index 371d9d4a2..c8728d670 100644 --- a/src/simulation/elements/PSNS.cpp +++ b/src/simulation/elements/PSNS.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_PSNS() { Identifier = "DEFAULT_PT_PSNS"; - Name = "PSNS"; + Name = "PSNS"_ascii; Colour = PIXPACK(0xDB2020); MenuVisible = 1; MenuSection = SC_SENSOR; @@ -30,7 +30,7 @@ void Element::Element_PSNS() DefaultProperties.temp = 4.0f + 273.15f; HeatConduct = 0; - Description = "Pressure sensor, creates a spark when the pressure is greater than its temperature."; + Description = "Pressure sensor, creates a spark when the pressure is greater than its temperature."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/PSTE.cpp b/src/simulation/elements/PSTE.cpp index 09b3791c3..4f559f8a7 100644 --- a/src/simulation/elements/PSTE.cpp +++ b/src/simulation/elements/PSTE.cpp @@ -3,7 +3,7 @@ void Element::Element_PSTE() { Identifier = "DEFAULT_PT_PSTE"; - Name = "PSTE"; + Name = "PSTE"_ascii; Colour = PIXPACK(0xAA99AA); MenuVisible = 1; MenuSection = SC_LIQUID; @@ -28,7 +28,7 @@ void Element::Element_PSTE() DefaultProperties.temp = R_TEMP - 2.0f + 273.15f; HeatConduct = 29; - Description = "Colloid, Hardens under pressure."; + Description = "Colloid, Hardens under pressure."_i18n; Properties = TYPE_LIQUID; diff --git a/src/simulation/elements/PSTN.cpp b/src/simulation/elements/PSTN.cpp index 94693d528..479261e80 100644 --- a/src/simulation/elements/PSTN.cpp +++ b/src/simulation/elements/PSTN.cpp @@ -11,7 +11,7 @@ static int MoveStack(Simulation * sim, int stackX, int stackY, int directionX, i void Element::Element_PSTN() { Identifier = "DEFAULT_PT_PSTN"; - Name = "PSTN"; + Name = "PSTN"_ascii; Colour = PIXPACK(0xAA9999); MenuVisible = 1; MenuSection = SC_FORCE; @@ -36,7 +36,7 @@ void Element::Element_PSTN() DefaultProperties.temp = 10.0f + 273.15f; HeatConduct = 0; - Description = "Piston, extends and pushes particles."; + Description = "Piston, extends and pushes particles."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/PSTS.cpp b/src/simulation/elements/PSTS.cpp index 816f046f0..c3aec1d4b 100644 --- a/src/simulation/elements/PSTS.cpp +++ b/src/simulation/elements/PSTS.cpp @@ -3,7 +3,7 @@ void Element::Element_PSTS() { Identifier = "DEFAULT_PT_PSTS"; - Name = "PSTS"; + Name = "PSTS"_ascii; Colour = PIXPACK(0x776677); MenuVisible = 0; MenuSection = SC_CRACKER; @@ -28,7 +28,7 @@ void Element::Element_PSTS() DefaultProperties.temp = R_TEMP - 2.0f + 273.15f; HeatConduct = 29; - Description = "Solid form of PSTE."; + Description = "Solid form of PSTE."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/PTCT.cpp b/src/simulation/elements/PTCT.cpp index bc5dadb69..bf7d632fb 100644 --- a/src/simulation/elements/PTCT.cpp +++ b/src/simulation/elements/PTCT.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_PTCT() { Identifier = "DEFAULT_PT_PTCT"; - Name = "PTCT"; + Name = "PTCT"_ascii; Colour = PIXPACK(0x405050); MenuVisible = 1; MenuSection = SC_ELEC; @@ -29,7 +29,7 @@ void Element::Element_PTCT() Weight = 100; HeatConduct = 251; - Description = "Semi-conductor. Only conducts electricity when cold. (Less than 100C)"; + Description = "Semi-conductor. Only conducts electricity when cold. (Less than 100C)"_i18n; Properties = TYPE_SOLID|PROP_CONDUCTS|PROP_LIFE_DEC; diff --git a/src/simulation/elements/PUMP.cpp b/src/simulation/elements/PUMP.cpp index a0bef227e..138dfcc93 100644 --- a/src/simulation/elements/PUMP.cpp +++ b/src/simulation/elements/PUMP.cpp @@ -6,7 +6,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_PUMP() { Identifier = "DEFAULT_PT_PUMP"; - Name = "PUMP"; + Name = "PUMP"_ascii; Colour = PIXPACK(0x0A0A3B); MenuVisible = 1; MenuSection = SC_POWERED; @@ -31,7 +31,7 @@ void Element::Element_PUMP() DefaultProperties.temp = 273.15f; HeatConduct = 0; - Description = "Pressure pump. Changes pressure to its temp when activated. (use HEAT/COOL)."; + Description = "Pressure pump. Changes pressure to its temp when activated. (use HEAT/COOL)."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/PVOD.cpp b/src/simulation/elements/PVOD.cpp index 457c06bf9..6f49c8f34 100644 --- a/src/simulation/elements/PVOD.cpp +++ b/src/simulation/elements/PVOD.cpp @@ -6,7 +6,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_PVOD() { Identifier = "DEFAULT_PT_PVOD"; - Name = "PVOD"; + Name = "PVOD"_ascii; Colour = PIXPACK(0x792020); MenuVisible = 1; MenuSection = SC_POWERED; @@ -30,7 +30,7 @@ void Element::Element_PVOD() Weight = 100; HeatConduct = 251; - Description = "Powered VOID. When activated, destroys entering particles."; + Description = "Powered VOID. When activated, destroys entering particles."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/QRTZ.cpp b/src/simulation/elements/QRTZ.cpp index 8f49f2ba6..ebb134cee 100644 --- a/src/simulation/elements/QRTZ.cpp +++ b/src/simulation/elements/QRTZ.cpp @@ -7,7 +7,7 @@ static void create(ELEMENT_CREATE_FUNC_ARGS); void Element::Element_QRTZ() { Identifier = "DEFAULT_PT_QRTZ"; - Name = "QRTZ"; + Name = "QRTZ"_ascii; Colour = PIXPACK(0xAADDDD); MenuVisible = 1; MenuSection = SC_SOLIDS; @@ -31,7 +31,7 @@ void Element::Element_QRTZ() Weight = 100; HeatConduct = 3; - Description = "Quartz, breakable mineral. Conducts but becomes brittle at lower temperatures."; + Description = "Quartz, breakable mineral. Conducts but becomes brittle at lower temperatures."_i18n; Properties = TYPE_SOLID|PROP_HOT_GLOW|PROP_LIFE_DEC; diff --git a/src/simulation/elements/RBDM.cpp b/src/simulation/elements/RBDM.cpp index 395274b81..5b793d103 100644 --- a/src/simulation/elements/RBDM.cpp +++ b/src/simulation/elements/RBDM.cpp @@ -3,7 +3,7 @@ void Element::Element_RBDM() { Identifier = "DEFAULT_PT_RBDM"; - Name = "RBDM"; + Name = "RBDM"_ascii; Colour = PIXPACK(0xCCCCCC); MenuVisible = 1; MenuSection = SC_EXPLOSIVE; @@ -27,7 +27,7 @@ void Element::Element_RBDM() Weight = 100; HeatConduct = 240; - Description = "Rubidium. Explosive, especially on contact with water. Low melting point."; + Description = "Rubidium. Explosive, especially on contact with water. Low melting point."_i18n; Properties = TYPE_SOLID|PROP_CONDUCTS|PROP_LIFE_DEC; diff --git a/src/simulation/elements/RFGL.cpp b/src/simulation/elements/RFGL.cpp index 16a95ae69..e6adc9411 100644 --- a/src/simulation/elements/RFGL.cpp +++ b/src/simulation/elements/RFGL.cpp @@ -5,7 +5,7 @@ int Element_RFRG_update(UPDATE_FUNC_ARGS); void Element::Element_RFGL() { Identifier = "DEFAULT_PT_RFGL"; - Name = "RFGL"; + Name = "RFGL"_ascii; Colour = PIXPACK(0x84C2CF); MenuVisible = 0; MenuSection = SC_LIQUID; @@ -29,7 +29,7 @@ void Element::Element_RFGL() Weight = 10; HeatConduct = 3; - Description = "Liquid refrigerant."; + Description = "Liquid refrigerant."_i18n; Properties = TYPE_LIQUID|PROP_DEADLY; diff --git a/src/simulation/elements/RFRG.cpp b/src/simulation/elements/RFRG.cpp index f072b3a88..2e27cf292 100644 --- a/src/simulation/elements/RFRG.cpp +++ b/src/simulation/elements/RFRG.cpp @@ -5,7 +5,7 @@ int Element_RFRG_update(UPDATE_FUNC_ARGS); void Element::Element_RFRG() { Identifier = "DEFAULT_PT_RFRG"; - Name = "RFRG"; + Name = "RFRG"_ascii; Colour = PIXPACK(0x72D2D4); MenuVisible = 1; MenuSection = SC_GAS; @@ -29,7 +29,7 @@ void Element::Element_RFRG() Weight = 1; HeatConduct = 3; - Description = "Refrigerant. Heats up and liquefies under pressure."; + Description = "Refrigerant. Heats up and liquefies under pressure."_i18n; Properties = TYPE_GAS|PROP_DEADLY; diff --git a/src/simulation/elements/RIME.cpp b/src/simulation/elements/RIME.cpp index 1bee19ea1..f90d33196 100644 --- a/src/simulation/elements/RIME.cpp +++ b/src/simulation/elements/RIME.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_RIME() { Identifier = "DEFAULT_PT_RIME"; - Name = "RIME"; + Name = "RIME"_ascii; Colour = PIXPACK(0xCCCCCC); MenuVisible = 1; MenuSection = SC_SOLIDS; @@ -30,7 +30,7 @@ void Element::Element_RIME() DefaultProperties.temp = -30.0f + 273.15f; HeatConduct = 100; - Description = "Solid, created when steam cools rapidly and goes through sublimation."; + Description = "Solid, created when steam cools rapidly and goes through sublimation."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/RPEL.cpp b/src/simulation/elements/RPEL.cpp index a1dfdf351..2842c6339 100644 --- a/src/simulation/elements/RPEL.cpp +++ b/src/simulation/elements/RPEL.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_RPEL() { Identifier = "DEFAULT_PT_RPEL"; - Name = "RPEL"; + Name = "RPEL"_ascii; Colour = PIXPACK(0x99CC00); MenuVisible = 1; MenuSection = SC_FORCE; @@ -30,7 +30,7 @@ void Element::Element_RPEL() DefaultProperties.temp = 20.0f + 273.15f; HeatConduct = 0; - Description = "Repels or attracts particles based on its temperature."; + Description = "Repels or attracts particles based on its temperature."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/SALT.cpp b/src/simulation/elements/SALT.cpp index 9e4f0c89a..f9f276321 100644 --- a/src/simulation/elements/SALT.cpp +++ b/src/simulation/elements/SALT.cpp @@ -3,7 +3,7 @@ void Element::Element_SALT() { Identifier = "DEFAULT_PT_SALT"; - Name = "SALT"; + Name = "SALT"_ascii; Colour = PIXPACK(0xFFFFFF); MenuVisible = 1; MenuSection = SC_POWDERS; @@ -27,7 +27,7 @@ void Element::Element_SALT() Weight = 75; HeatConduct = 110; - Description = "Salt, dissolves in water."; + Description = "Salt, dissolves in water."_i18n; Properties = TYPE_PART; diff --git a/src/simulation/elements/SAND.cpp b/src/simulation/elements/SAND.cpp index 14c6e50db..b8b67a1d1 100644 --- a/src/simulation/elements/SAND.cpp +++ b/src/simulation/elements/SAND.cpp @@ -3,7 +3,7 @@ void Element::Element_SAND() { Identifier = "DEFAULT_PT_SAND"; - Name = "SAND"; + Name = "SAND"_ascii; Colour = PIXPACK(0xFFD090); MenuVisible = 1; MenuSection = SC_POWDERS; @@ -27,7 +27,7 @@ void Element::Element_SAND() Weight = 90; HeatConduct = 150; - Description = "Sand, Heavy particles. Melts into glass."; + Description = "Sand, Heavy particles. Melts into glass."_i18n; Properties = TYPE_PART; diff --git a/src/simulation/elements/SAWD.cpp b/src/simulation/elements/SAWD.cpp index cbbd8378d..38329b717 100644 --- a/src/simulation/elements/SAWD.cpp +++ b/src/simulation/elements/SAWD.cpp @@ -3,7 +3,7 @@ void Element::Element_SAWD() { Identifier = "DEFAULT_PT_SAWD"; - Name = "SAWD"; + Name = "SAWD"_ascii; Colour = PIXPACK(0xF0F0A0); MenuVisible = 1; MenuSection = SC_POWDERS; @@ -27,7 +27,7 @@ void Element::Element_SAWD() Weight = 18; HeatConduct = 70; - Description = "Sawdust. Floats on water."; + Description = "Sawdust. Floats on water."_i18n; Properties = TYPE_PART | PROP_NEUTPASS; diff --git a/src/simulation/elements/SHLD1.cpp b/src/simulation/elements/SHLD1.cpp index 5dc8b8ed8..676e70eea 100644 --- a/src/simulation/elements/SHLD1.cpp +++ b/src/simulation/elements/SHLD1.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_SHLD1() { Identifier = "DEFAULT_PT_SHLD1"; - Name = "SHLD"; + Name = "SHLD"_ascii; Colour = PIXPACK(0xAAAAAA); MenuVisible = 1; MenuSection = SC_SOLIDS; @@ -29,7 +29,7 @@ void Element::Element_SHLD1() Weight = 100; HeatConduct = 0; - Description = "Shield, spark it to grow."; + Description = "Shield, spark it to grow."_i18n; Properties = TYPE_SOLID|PROP_LIFE_DEC; diff --git a/src/simulation/elements/SHLD2.cpp b/src/simulation/elements/SHLD2.cpp index d9b081d1c..e06ba58ca 100644 --- a/src/simulation/elements/SHLD2.cpp +++ b/src/simulation/elements/SHLD2.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_SHLD2() { Identifier = "DEFAULT_PT_SHLD2"; - Name = "SHD2"; + Name = "SHD2"_ascii; Colour = PIXPACK(0x777777); MenuVisible = 0; MenuSection = SC_CRACKER2; @@ -29,7 +29,7 @@ void Element::Element_SHLD2() Weight = 100; HeatConduct = 0; - Description = "Shield lvl 2."; + Description = "Shield lvl 2."_i18n; Properties = TYPE_SOLID|PROP_LIFE_DEC; diff --git a/src/simulation/elements/SHLD3.cpp b/src/simulation/elements/SHLD3.cpp index 882a5f56f..15d4632ff 100644 --- a/src/simulation/elements/SHLD3.cpp +++ b/src/simulation/elements/SHLD3.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_SHLD3() { Identifier = "DEFAULT_PT_SHLD3"; - Name = "SHD3"; + Name = "SHD3"_ascii; Colour = PIXPACK(0x444444); MenuVisible = 0; MenuSection = SC_CRACKER2; @@ -29,7 +29,7 @@ void Element::Element_SHLD3() Weight = 100; HeatConduct = 0; - Description = "Shield lvl 3."; + Description = "Shield lvl 3."_i18n; Properties = TYPE_SOLID|PROP_LIFE_DEC; diff --git a/src/simulation/elements/SHLD4.cpp b/src/simulation/elements/SHLD4.cpp index e57d18c5a..cbcbce3a6 100644 --- a/src/simulation/elements/SHLD4.cpp +++ b/src/simulation/elements/SHLD4.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_SHLD4() { Identifier = "DEFAULT_PT_SHLD4"; - Name = "SHD4"; + Name = "SHD4"_ascii; Colour = PIXPACK(0x212121); MenuVisible = 0; MenuSection = SC_CRACKER2; @@ -29,7 +29,7 @@ void Element::Element_SHLD4() Weight = 100; HeatConduct = 0; - Description = "Shield lvl 4."; + Description = "Shield lvl 4."_i18n; Properties = TYPE_SOLID|PROP_LIFE_DEC; diff --git a/src/simulation/elements/SING.cpp b/src/simulation/elements/SING.cpp index 99619085f..3416bd8ae 100644 --- a/src/simulation/elements/SING.cpp +++ b/src/simulation/elements/SING.cpp @@ -6,7 +6,7 @@ static void create(ELEMENT_CREATE_FUNC_ARGS); void Element::Element_SING() { Identifier = "DEFAULT_PT_SING"; - Name = "SING"; + Name = "SING"_ascii; Colour = PIXPACK(0x242424); MenuVisible = 1; MenuSection = SC_NUCLEAR; @@ -30,7 +30,7 @@ void Element::Element_SING() Weight = 86; HeatConduct = 70; - Description = "Singularity. Creates huge amounts of negative pressure and destroys everything."; + Description = "Singularity. Creates huge amounts of negative pressure and destroys everything."_i18n; Properties = TYPE_PART|PROP_LIFE_DEC; diff --git a/src/simulation/elements/SLTW.cpp b/src/simulation/elements/SLTW.cpp index da58ba4d0..56967a8df 100644 --- a/src/simulation/elements/SLTW.cpp +++ b/src/simulation/elements/SLTW.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_SLTW() { Identifier = "DEFAULT_PT_SLTW"; - Name = "SLTW"; + Name = "SLTW"_ascii; Colour = PIXPACK(0x4050F0); MenuVisible = 1; MenuSection = SC_LIQUID; @@ -29,7 +29,7 @@ void Element::Element_SLTW() Weight = 35; HeatConduct = 75; - Description = "Saltwater, conducts electricity, difficult to freeze."; + Description = "Saltwater, conducts electricity, difficult to freeze."_i18n; Properties = TYPE_LIQUID|PROP_CONDUCTS|PROP_LIFE_DEC|PROP_NEUTPENETRATE; diff --git a/src/simulation/elements/SMKE.cpp b/src/simulation/elements/SMKE.cpp index 82fde602e..6dfa0bda0 100644 --- a/src/simulation/elements/SMKE.cpp +++ b/src/simulation/elements/SMKE.cpp @@ -5,7 +5,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_SMKE() { Identifier = "DEFAULT_PT_SMKE"; - Name = "SMKE"; + Name = "SMKE"_ascii; Colour = PIXPACK(0x222222); MenuVisible = 1; MenuSection = SC_GAS; @@ -30,7 +30,7 @@ void Element::Element_SMKE() DefaultProperties.temp = R_TEMP + 320.0f + 273.15f; HeatConduct = 88; - Description = "Smoke, created by fire."; + Description = "Smoke, created by fire."_i18n; Properties = TYPE_GAS|PROP_LIFE_DEC|PROP_LIFE_KILL_DEC; diff --git a/src/simulation/elements/SNOW.cpp b/src/simulation/elements/SNOW.cpp index 33c6be4d3..7afd324e6 100644 --- a/src/simulation/elements/SNOW.cpp +++ b/src/simulation/elements/SNOW.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_SNOW() { Identifier = "DEFAULT_PT_SNOW"; - Name = "SNOW"; + Name = "SNOW"_ascii; Colour = PIXPACK(0xC0E0FF); MenuVisible = 1; MenuSection = SC_POWDERS; @@ -31,7 +31,7 @@ void Element::Element_SNOW() DefaultProperties.temp = R_TEMP - 30.0f + 273.15f; HeatConduct = 46; - Description = "Light particles. Created when ICE breaks under pressure."; + Description = "Light particles. Created when ICE breaks under pressure."_i18n; Properties = TYPE_PART|PROP_NEUTPASS; diff --git a/src/simulation/elements/SOAP.cpp b/src/simulation/elements/SOAP.cpp index 7a183db92..397941bb7 100644 --- a/src/simulation/elements/SOAP.cpp +++ b/src/simulation/elements/SOAP.cpp @@ -7,7 +7,7 @@ static void changeType(ELEMENT_CHANGETYPE_FUNC_ARGS); void Element::Element_SOAP() { Identifier = "DEFAULT_PT_SOAP"; - Name = "SOAP"; + Name = "SOAP"_ascii; Colour = PIXPACK(0xF5F5DC); MenuVisible = 1; MenuSection = SC_LIQUID; @@ -32,7 +32,7 @@ void Element::Element_SOAP() DefaultProperties.temp = R_TEMP - 2.0f + 273.15f; HeatConduct = 29; - Description = "Soap. Creates bubbles, washes off deco color, and cures virus."; + Description = "Soap. Creates bubbles, washes off deco color, and cures virus."_i18n; Properties = TYPE_LIQUID|PROP_NEUTPENETRATE|PROP_LIFE_DEC; diff --git a/src/simulation/elements/SPAWN.cpp b/src/simulation/elements/SPAWN.cpp index 2641151ac..721cd8ed7 100644 --- a/src/simulation/elements/SPAWN.cpp +++ b/src/simulation/elements/SPAWN.cpp @@ -6,7 +6,7 @@ static void changeType(ELEMENT_CHANGETYPE_FUNC_ARGS); void Element::Element_SPAWN() { Identifier = "DEFAULT_PT_SPAWN"; - Name = "SPWN"; + Name = "SPWN"_ascii; Colour = PIXPACK(0xAAAAAA); MenuVisible = 0; MenuSection = SC_SOLIDS; @@ -30,7 +30,7 @@ void Element::Element_SPAWN() Weight = 100; HeatConduct = 0; - Description = "STKM spawn point."; + Description = "STKM spawn point."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/SPAWN2.cpp b/src/simulation/elements/SPAWN2.cpp index db5d66bd7..c0a8775f8 100644 --- a/src/simulation/elements/SPAWN2.cpp +++ b/src/simulation/elements/SPAWN2.cpp @@ -6,7 +6,7 @@ static void changeType(ELEMENT_CHANGETYPE_FUNC_ARGS); void Element::Element_SPAWN2() { Identifier = "DEFAULT_PT_SPAWN2"; - Name = "SPWN2"; + Name = "SPWN2"_ascii; Colour = PIXPACK(0xAAAAAA); MenuVisible = 0; MenuSection = SC_SOLIDS; @@ -30,7 +30,7 @@ void Element::Element_SPAWN2() Weight = 100; HeatConduct = 0; - Description = "STK2 spawn point."; + Description = "STK2 spawn point."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/SPNG.cpp b/src/simulation/elements/SPNG.cpp index e44687ad5..b7aa8256f 100644 --- a/src/simulation/elements/SPNG.cpp +++ b/src/simulation/elements/SPNG.cpp @@ -6,7 +6,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_SPNG() { Identifier = "DEFAULT_PT_SPNG"; - Name = "SPNG"; + Name = "SPNG"_ascii; Colour = PIXPACK(0xFFBE30); MenuVisible = 1; MenuSection = SC_SOLIDS; @@ -30,7 +30,7 @@ void Element::Element_SPNG() Weight = 100; HeatConduct = 251; - Description = "Sponge, absorbs water. Is not a moving solid."; + Description = "Sponge, absorbs water. Is not a moving solid."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/SPRK.cpp b/src/simulation/elements/SPRK.cpp index ebfcf8080..5ee6db8c6 100644 --- a/src/simulation/elements/SPRK.cpp +++ b/src/simulation/elements/SPRK.cpp @@ -7,7 +7,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_SPRK() { Identifier = "DEFAULT_PT_SPRK"; - Name = "SPRK"; + Name = "SPRK"_ascii; Colour = PIXPACK(0xFFFF80); MenuVisible = 1; MenuSection = SC_ELEC; @@ -32,7 +32,7 @@ void Element::Element_SPRK() Weight = 100; HeatConduct = 251; - Description = "Electricity. The basis of all electronics in TPT, travels along wires and other conductive elements."; + Description = "Electricity. The basis of all electronics in TPT, travels along wires and other conductive elements."_i18n; Properties = TYPE_SOLID|PROP_LIFE_DEC; diff --git a/src/simulation/elements/STKM.cpp b/src/simulation/elements/STKM.cpp index 7a3469aea..35adecf46 100644 --- a/src/simulation/elements/STKM.cpp +++ b/src/simulation/elements/STKM.cpp @@ -13,7 +13,7 @@ void Element_STKM_interact(Simulation *sim, playerst *playerp, int i, int x, int void Element::Element_STKM() { Identifier = "DEFAULT_PT_STKM"; - Name = "STKM"; + Name = "STKM"_ascii; Colour = PIXPACK(0xFFE0A0); MenuVisible = 1; MenuSection = SC_SPECIAL; @@ -39,7 +39,7 @@ void Element::Element_STKM() DefaultProperties.temp = R_TEMP + 14.6f + 273.15f; HeatConduct = 0; - Description = "Stickman. Don't kill him! Control with the arrow keys."; + Description = "Stickman. Don't kill him! Control with the arrow keys."_i18n; Properties = PROP_NOCTYPEDRAW; diff --git a/src/simulation/elements/STKM2.cpp b/src/simulation/elements/STKM2.cpp index dd1501ffb..861078d4d 100644 --- a/src/simulation/elements/STKM2.cpp +++ b/src/simulation/elements/STKM2.cpp @@ -11,7 +11,7 @@ int Element_STKM_run_stickman(playerst *playerp, UPDATE_FUNC_ARGS); void Element::Element_STKM2() { Identifier = "DEFAULT_PT_STKM2"; - Name = "STK2"; + Name = "STK2"_ascii; Colour = PIXPACK(0x6464FF); MenuVisible = 1; MenuSection = SC_SPECIAL; @@ -37,7 +37,7 @@ void Element::Element_STKM2() DefaultProperties.temp = R_TEMP + 14.6f + 273.15f; HeatConduct = 0; - Description = "Second stickman. Don't kill him! Control with wasd."; + Description = "Second stickman. Don't kill him! Control with wasd."_i18n; Properties = PROP_NOCTYPEDRAW; diff --git a/src/simulation/elements/STNE.cpp b/src/simulation/elements/STNE.cpp index a2cad3952..ef03a72f5 100644 --- a/src/simulation/elements/STNE.cpp +++ b/src/simulation/elements/STNE.cpp @@ -3,7 +3,7 @@ void Element::Element_STNE() { Identifier = "DEFAULT_PT_STNE"; - Name = "STNE"; + Name = "STNE"_ascii; Colour = PIXPACK(0xA0A0A0); MenuVisible = 1; MenuSection = SC_POWDERS; @@ -27,7 +27,7 @@ void Element::Element_STNE() Weight = 90; HeatConduct = 150; - Description = "Heavy particles. Meltable."; + Description = "Heavy particles. Meltable."_i18n; Properties = TYPE_PART; diff --git a/src/simulation/elements/STOR.cpp b/src/simulation/elements/STOR.cpp index cab1280e2..a7c3a6bdc 100644 --- a/src/simulation/elements/STOR.cpp +++ b/src/simulation/elements/STOR.cpp @@ -8,7 +8,7 @@ static bool ctypeDraw(CTYPEDRAW_FUNC_ARGS); void Element::Element_STOR() { Identifier = "DEFAULT_PT_STOR"; - Name = "STOR"; + Name = "STOR"_ascii; Colour = PIXPACK(0x50DFDF); MenuVisible = 1; MenuSection = SC_POWERED; @@ -32,7 +32,7 @@ void Element::Element_STOR() Weight = 100; HeatConduct = 0; - Description = "Storage. Captures and stores a single particle. Releases when charged with PSCN, also passes to PIPE."; + Description = "Storage. Captures and stores a single particle. Releases when charged with PSCN, also passes to PIPE."_i18n; Properties = TYPE_SOLID | PROP_NOCTYPEDRAW; diff --git a/src/simulation/elements/SWCH.cpp b/src/simulation/elements/SWCH.cpp index 6e84b9004..f6c037433 100644 --- a/src/simulation/elements/SWCH.cpp +++ b/src/simulation/elements/SWCH.cpp @@ -6,7 +6,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_SWCH() { Identifier = "DEFAULT_PT_SWCH"; - Name = "SWCH"; + Name = "SWCH"_ascii; Colour = PIXPACK(0x103B11); MenuVisible = 1; MenuSection = SC_ELEC; @@ -30,7 +30,7 @@ void Element::Element_SWCH() Weight = 100; HeatConduct = 251; - Description = "Only conducts when switched on. (PSCN switches on, NSCN switches off)"; + Description = "Only conducts when switched on. (PSCN switches on, NSCN switches off)"_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/TESC.cpp b/src/simulation/elements/TESC.cpp index 4333ee154..108e4adf4 100644 --- a/src/simulation/elements/TESC.cpp +++ b/src/simulation/elements/TESC.cpp @@ -5,7 +5,7 @@ static void create(ELEMENT_CREATE_FUNC_ARGS); void Element::Element_TESC() { Identifier = "DEFAULT_PT_TESC"; - Name = "TESC"; + Name = "TESC"_ascii; Colour = PIXPACK(0x707040); MenuVisible = 1; MenuSection = SC_ELEC; @@ -29,7 +29,7 @@ void Element::Element_TESC() Weight = 100; HeatConduct = 251; - Description = "Tesla coil! Creates lightning when sparked."; + Description = "Tesla coil! Creates lightning when sparked."_i18n; Properties = TYPE_SOLID|PROP_CONDUCTS|PROP_LIFE_DEC|PROP_HOT_GLOW; diff --git a/src/simulation/elements/THDR.cpp b/src/simulation/elements/THDR.cpp index e716317a2..3b74ba7f5 100644 --- a/src/simulation/elements/THDR.cpp +++ b/src/simulation/elements/THDR.cpp @@ -6,7 +6,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_THDR() { Identifier = "DEFAULT_PT_THDR"; - Name = "THDR"; + Name = "THDR"_ascii; Colour = PIXPACK(0xFFFFA0); MenuVisible = 1; MenuSection = SC_EXPLOSIVE; @@ -31,7 +31,7 @@ void Element::Element_THDR() DefaultProperties.temp = 9000.0f + 273.15f; HeatConduct = 1; - Description = "Lightning! Very hot, inflicts damage upon most materials, and transfers current to metals."; + Description = "Lightning! Very hot, inflicts damage upon most materials, and transfers current to metals."_i18n; Properties = TYPE_PART; diff --git a/src/simulation/elements/THRM.cpp b/src/simulation/elements/THRM.cpp index c421f0269..e5130a810 100644 --- a/src/simulation/elements/THRM.cpp +++ b/src/simulation/elements/THRM.cpp @@ -3,7 +3,7 @@ void Element::Element_THRM() { Identifier = "DEFAULT_PT_THRM"; - Name = "THRM"; + Name = "THRM"_ascii; Colour = PIXPACK(0xA08090); MenuVisible = 1; MenuSection = SC_EXPLOSIVE; @@ -27,7 +27,7 @@ void Element::Element_THRM() Weight = 90; HeatConduct = 211; - Description = "Thermite. Burns at extremely high temperature."; + Description = "Thermite. Burns at extremely high temperature."_i18n; Properties = TYPE_PART; diff --git a/src/simulation/elements/TRON.cpp b/src/simulation/elements/TRON.cpp index 873596edc..a03ed8361 100644 --- a/src/simulation/elements/TRON.cpp +++ b/src/simulation/elements/TRON.cpp @@ -11,7 +11,7 @@ static int new_tronhead(Simulation * sim, int x, int y, int i, int direction); void Element::Element_TRON() { Identifier = "DEFAULT_PT_TRON"; - Name = "TRON"; + Name = "TRON"_ascii; Colour = PIXPACK(0xA9FF00); MenuVisible = 1; MenuSection = SC_SPECIAL; @@ -36,7 +36,7 @@ void Element::Element_TRON() DefaultProperties.temp = 0.0f; HeatConduct = 40; - Description = "Smart particles, Travels in straight lines and avoids obstacles. Grows with time."; + Description = "Smart particles, Travels in straight lines and avoids obstacles. Grows with time."_i18n; Properties = TYPE_SOLID|PROP_LIFE_DEC|PROP_LIFE_KILL; diff --git a/src/simulation/elements/TSNS.cpp b/src/simulation/elements/TSNS.cpp index 198ab79d1..55bc05b96 100644 --- a/src/simulation/elements/TSNS.cpp +++ b/src/simulation/elements/TSNS.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_TSNS() { Identifier = "DEFAULT_PT_TSNS"; - Name = "TSNS"; + Name = "TSNS"_ascii; Colour = PIXPACK(0xFD00D5); MenuVisible = 1; MenuSection = SC_SENSOR; @@ -29,7 +29,7 @@ void Element::Element_TSNS() Weight = 100; HeatConduct = 0; - Description = "Temperature sensor, creates a spark when there's a nearby particle with a greater temperature."; + Description = "Temperature sensor, creates a spark when there's a nearby particle with a greater temperature."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/TTAN.cpp b/src/simulation/elements/TTAN.cpp index 0b9c46a00..d093cefd4 100644 --- a/src/simulation/elements/TTAN.cpp +++ b/src/simulation/elements/TTAN.cpp @@ -6,7 +6,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_TTAN() { Identifier = "DEFAULT_PT_TTAN"; - Name = "TTAN"; + Name = "TTAN"_ascii; Colour = PIXPACK(0x909090); MenuVisible = 1; MenuSection = SC_SOLIDS; @@ -30,7 +30,7 @@ void Element::Element_TTAN() Weight = 100; HeatConduct = 251; - Description = "Titanium. Higher melting temperature than most other metals, blocks all air pressure."; + Description = "Titanium. Higher melting temperature than most other metals, blocks all air pressure."_i18n; Properties = TYPE_SOLID|PROP_CONDUCTS|PROP_HOT_GLOW|PROP_LIFE_DEC; diff --git a/src/simulation/elements/TUNG.cpp b/src/simulation/elements/TUNG.cpp index b50801b04..676584844 100644 --- a/src/simulation/elements/TUNG.cpp +++ b/src/simulation/elements/TUNG.cpp @@ -7,7 +7,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_TUNG() { Identifier = "DEFAULT_PT_TUNG"; - Name = "TUNG"; + Name = "TUNG"_ascii; Colour = PIXPACK(0x505050); MenuVisible = 1; MenuSection = SC_ELEC; @@ -31,7 +31,7 @@ void Element::Element_TUNG() Weight = 100; HeatConduct = 251; - Description = "Tungsten. Brittle metal with a very high melting point."; + Description = "Tungsten. Brittle metal with a very high melting point."_i18n; Properties = TYPE_SOLID|PROP_CONDUCTS|PROP_LIFE_DEC; diff --git a/src/simulation/elements/URAN.cpp b/src/simulation/elements/URAN.cpp index e7fd50dca..72f65f26d 100644 --- a/src/simulation/elements/URAN.cpp +++ b/src/simulation/elements/URAN.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_URAN() { Identifier = "DEFAULT_PT_URAN"; - Name = "URAN"; + Name = "URAN"_ascii; Colour = PIXPACK(0x707020); MenuVisible = 1; MenuSection = SC_NUCLEAR; @@ -31,7 +31,7 @@ void Element::Element_URAN() DefaultProperties.temp = R_TEMP + 30.0f + 273.15f; HeatConduct = 251; - Description = "Uranium. Heavy particles. Generates heat under pressure."; + Description = "Uranium. Heavy particles. Generates heat under pressure."_i18n; Properties = TYPE_PART | PROP_RADIOACTIVE; diff --git a/src/simulation/elements/VIBR.cpp b/src/simulation/elements/VIBR.cpp index 7862016e9..5ec9e4cd8 100644 --- a/src/simulation/elements/VIBR.cpp +++ b/src/simulation/elements/VIBR.cpp @@ -6,7 +6,7 @@ int Element_VIBR_graphics(GRAPHICS_FUNC_ARGS); void Element::Element_VIBR() { Identifier = "DEFAULT_PT_VIBR"; - Name = "VIBR"; + Name = "VIBR"_ascii; Colour = PIXPACK(0x005000); MenuVisible = 1; MenuSection = SC_NUCLEAR; @@ -31,7 +31,7 @@ void Element::Element_VIBR() DefaultProperties.temp = 273.15f; HeatConduct = 251; - Description = "Vibranium. Stores energy and releases it in violent explosions."; + Description = "Vibranium. Stores energy and releases it in violent explosions."_i18n; Properties = TYPE_SOLID|PROP_LIFE_DEC; diff --git a/src/simulation/elements/VINE.cpp b/src/simulation/elements/VINE.cpp index 566d7c1de..4105d5c5e 100644 --- a/src/simulation/elements/VINE.cpp +++ b/src/simulation/elements/VINE.cpp @@ -7,7 +7,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_VINE() { Identifier = "DEFAULT_PT_VINE"; - Name = "VINE"; + Name = "VINE"_ascii; Colour = PIXPACK(0x079A00); MenuVisible = 1; MenuSection = SC_SOLIDS; @@ -31,7 +31,7 @@ void Element::Element_VINE() Weight = 100; HeatConduct = 65; - Description = "Vine, can grow along WOOD."; + Description = "Vine, can grow along WOOD."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/VIRS.cpp b/src/simulation/elements/VIRS.cpp index a3c820b54..9c3a14b32 100644 --- a/src/simulation/elements/VIRS.cpp +++ b/src/simulation/elements/VIRS.cpp @@ -6,7 +6,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_VIRS() { Identifier = "DEFAULT_PT_VIRS"; - Name = "VIRS"; + Name = "VIRS"_ascii; Colour = PIXPACK(0xFE11F6); MenuVisible = 1; MenuSection = SC_LIQUID; @@ -31,7 +31,7 @@ void Element::Element_VIRS() DefaultProperties.temp = 72.0f + 273.15f; HeatConduct = 251; - Description = "Virus. Turns everything it touches into virus."; + Description = "Virus. Turns everything it touches into virus."_i18n; Properties = TYPE_LIQUID|PROP_DEADLY; diff --git a/src/simulation/elements/VOID.cpp b/src/simulation/elements/VOID.cpp index 39b9d9a64..9cc5d8191 100644 --- a/src/simulation/elements/VOID.cpp +++ b/src/simulation/elements/VOID.cpp @@ -3,7 +3,7 @@ void Element::Element_VOID() { Identifier = "DEFAULT_PT_VOID"; - Name = "VOID"; + Name = "VOID"_ascii; Colour = PIXPACK(0x790B0B); MenuVisible = 1; MenuSection = SC_SPECIAL; @@ -27,7 +27,7 @@ void Element::Element_VOID() Weight = 100; HeatConduct = 251; - Description = "Hole, will drain away any particles."; + Description = "Hole, will drain away any particles."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/VRSG.cpp b/src/simulation/elements/VRSG.cpp index 189f452da..e6f9f7ae0 100644 --- a/src/simulation/elements/VRSG.cpp +++ b/src/simulation/elements/VRSG.cpp @@ -6,7 +6,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_VRSG() { Identifier = "DEFAULT_PT_VRSG"; - Name = "VRSG"; + Name = "VRSG"_ascii; Colour = PIXPACK(0xFE68FE); MenuVisible = 0; MenuSection = SC_GAS; @@ -31,7 +31,7 @@ void Element::Element_VRSG() DefaultProperties.temp = 522.0f + 273.15f; HeatConduct = 251; - Description = "Gas Virus. Turns everything it touches into virus."; + Description = "Gas Virus. Turns everything it touches into virus."_i18n; Properties = TYPE_GAS|PROP_DEADLY; diff --git a/src/simulation/elements/VRSS.cpp b/src/simulation/elements/VRSS.cpp index 42424e6f8..9e81b6c9a 100644 --- a/src/simulation/elements/VRSS.cpp +++ b/src/simulation/elements/VRSS.cpp @@ -6,7 +6,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_VRSS() { Identifier = "DEFAULT_PT_VRSS"; - Name = "VRSS"; + Name = "VRSS"_ascii; Colour = PIXPACK(0xD408CD); MenuVisible = 0; MenuSection = SC_SOLIDS; @@ -31,7 +31,7 @@ void Element::Element_VRSS() DefaultProperties.temp = R_TEMP + 273.15f; HeatConduct = 251; - Description = "Solid Virus. Turns everything it touches into virus."; + Description = "Solid Virus. Turns everything it touches into virus."_i18n; Properties = TYPE_SOLID|PROP_DEADLY; diff --git a/src/simulation/elements/WARP.cpp b/src/simulation/elements/WARP.cpp index 6aa2687f6..84fc23693 100644 --- a/src/simulation/elements/WARP.cpp +++ b/src/simulation/elements/WARP.cpp @@ -7,7 +7,7 @@ static void create(ELEMENT_CREATE_FUNC_ARGS); void Element::Element_WARP() { Identifier = "DEFAULT_PT_WARP"; - Name = "WARP"; + Name = "WARP"_ascii; Colour = PIXPACK(0x101010); MenuVisible = 1; MenuSection = SC_NUCLEAR; @@ -31,7 +31,7 @@ void Element::Element_WARP() Weight = 1; HeatConduct = 100; - Description = "Displaces other elements."; + Description = "Displaces other elements."_i18n; Properties = TYPE_GAS|PROP_LIFE_DEC|PROP_LIFE_KILL; diff --git a/src/simulation/elements/WATR.cpp b/src/simulation/elements/WATR.cpp index 8fe00c977..31bbd1c44 100644 --- a/src/simulation/elements/WATR.cpp +++ b/src/simulation/elements/WATR.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_WATR() { Identifier = "DEFAULT_PT_WATR"; - Name = "WATR"; + Name = "WATR"_ascii; Colour = PIXPACK(0x2030D0); MenuVisible = 1; MenuSection = SC_LIQUID; @@ -30,7 +30,7 @@ void Element::Element_WATR() DefaultProperties.temp = R_TEMP - 2.0f + 273.15f; HeatConduct = 29; - Description = "Water. Conducts electricity, freezes, and extinguishes fires."; + Description = "Water. Conducts electricity, freezes, and extinguishes fires."_i18n; Properties = TYPE_LIQUID|PROP_CONDUCTS|PROP_LIFE_DEC|PROP_NEUTPASS; diff --git a/src/simulation/elements/WAX.cpp b/src/simulation/elements/WAX.cpp index ba5ab7c5c..4bc1d9f82 100644 --- a/src/simulation/elements/WAX.cpp +++ b/src/simulation/elements/WAX.cpp @@ -3,7 +3,7 @@ void Element::Element_WAX() { Identifier = "DEFAULT_PT_WAX"; - Name = "WAX"; + Name = "WAX"_ascii; Colour = PIXPACK(0xF0F0BB); MenuVisible = 1; MenuSection = SC_SOLIDS; @@ -27,7 +27,7 @@ void Element::Element_WAX() Weight = 100; HeatConduct = 44; - Description = "Wax. Melts at moderately high temperatures."; + Description = "Wax. Melts at moderately high temperatures."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/WHOL.cpp b/src/simulation/elements/WHOL.cpp index bbf6f159e..380ebea11 100644 --- a/src/simulation/elements/WHOL.cpp +++ b/src/simulation/elements/WHOL.cpp @@ -3,7 +3,7 @@ void Element::Element_WHOL() { Identifier = "DEFAULT_PT_WHOL"; - Name = "VENT"; + Name = "VENT"_ascii; Colour = PIXPACK(0xEFEFEF); MenuVisible = 1; MenuSection = SC_SPECIAL; @@ -28,7 +28,7 @@ void Element::Element_WHOL() DefaultProperties.temp = R_TEMP - 16.0f + 273.15f; HeatConduct = 255; - Description = "Air vent, creates pressure and pushes other particles away."; + Description = "Air vent, creates pressure and pushes other particles away."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/WIFI.cpp b/src/simulation/elements/WIFI.cpp index f63c132ce..b3411e9c0 100644 --- a/src/simulation/elements/WIFI.cpp +++ b/src/simulation/elements/WIFI.cpp @@ -6,7 +6,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_WIFI() { Identifier = "DEFAULT_PT_WIFI"; - Name = "WIFI"; + Name = "WIFI"_ascii; Colour = PIXPACK(0x40A060); MenuVisible = 1; MenuSection = SC_ELEC; @@ -30,7 +30,7 @@ void Element::Element_WIFI() Weight = 100; HeatConduct = 0; - Description = "Wireless transmitter, transfers spark to any other wifi on the same temperature channel."; + Description = "Wireless transmitter, transfers spark to any other wifi on the same temperature channel."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/WIRE.cpp b/src/simulation/elements/WIRE.cpp index 47ee8bf11..65afb2cf2 100644 --- a/src/simulation/elements/WIRE.cpp +++ b/src/simulation/elements/WIRE.cpp @@ -6,7 +6,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_WIRE() { Identifier = "DEFAULT_PT_WIRE"; - Name = "WWLD"; + Name = "WWLD"_ascii; Colour = PIXPACK(0xFFCC00); MenuVisible = 1; MenuSection = SC_ELEC; @@ -30,7 +30,7 @@ void Element::Element_WIRE() Weight = 100; HeatConduct = 250; - Description = "WireWorld wires, conducts based on a set of GOL-like rules."; + Description = "WireWorld wires, conducts based on a set of GOL-like rules."_i18n; Properties = TYPE_SOLID; diff --git a/src/simulation/elements/WOOD.cpp b/src/simulation/elements/WOOD.cpp index 627c9f717..242a2702a 100644 --- a/src/simulation/elements/WOOD.cpp +++ b/src/simulation/elements/WOOD.cpp @@ -7,7 +7,7 @@ static int graphics(GRAPHICS_FUNC_ARGS); void Element::Element_WOOD() { Identifier = "DEFAULT_PT_WOOD"; - Name = "WOOD"; + Name = "WOOD"_ascii; Colour = PIXPACK(0xC0A040); MenuVisible = 1; MenuSection = SC_SOLIDS; @@ -31,7 +31,7 @@ void Element::Element_WOOD() Weight = 100; HeatConduct = 164; - Description = "Wood, flammable."; + Description = "Wood, flammable."_i18n; Properties = TYPE_SOLID | PROP_NEUTPENETRATE; diff --git a/src/simulation/elements/WTRV.cpp b/src/simulation/elements/WTRV.cpp index 3ea937082..c0f89dddb 100644 --- a/src/simulation/elements/WTRV.cpp +++ b/src/simulation/elements/WTRV.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_WTRV() { Identifier = "DEFAULT_PT_WTRV"; - Name = "WTRV"; + Name = "WTRV"_ascii; Colour = PIXPACK(0xA0A0FF); MenuVisible = 1; MenuSection = SC_GAS; @@ -30,7 +30,7 @@ void Element::Element_WTRV() DefaultProperties.temp = R_TEMP + 100.0f + 273.15f; HeatConduct = 48; - Description = "Steam. Produced from hot water."; + Description = "Steam. Produced from hot water."_i18n; Properties = TYPE_GAS; diff --git a/src/simulation/elements/YEST.cpp b/src/simulation/elements/YEST.cpp index 772b90175..618bd3955 100644 --- a/src/simulation/elements/YEST.cpp +++ b/src/simulation/elements/YEST.cpp @@ -5,7 +5,7 @@ static int update(UPDATE_FUNC_ARGS); void Element::Element_YEST() { Identifier = "DEFAULT_PT_YEST"; - Name = "YEST"; + Name = "YEST"_ascii; Colour = PIXPACK(0xEEE0C0); MenuVisible = 1; MenuSection = SC_POWDERS; @@ -29,7 +29,7 @@ void Element::Element_YEST() Weight = 80; HeatConduct = 70; - Description = "Yeast, grows when warm (~37C)."; + Description = "Yeast, grows when warm (~37C)."_i18n; Properties = TYPE_PART; diff --git a/src/simulation/simtools/AIR.cpp b/src/simulation/simtools/AIR.cpp index 8ecfd7f24..caeeb419b 100644 --- a/src/simulation/simtools/AIR.cpp +++ b/src/simulation/simtools/AIR.cpp @@ -6,9 +6,9 @@ static int perform(Simulation * sim, Particle * cpart, int x, int y, int brushX, void SimTool::Tool_AIR() { Identifier = "DEFAULT_TOOL_AIR"; - Name = "AIR"; + Name = "AIR"_ascii; Colour = PIXPACK(0xFFFFFF); - Description = "Air, creates airflow and pressure."; + Description = "Air, creates airflow and pressure."_i18n; Perform = &perform; } diff --git a/src/simulation/simtools/COOL.cpp b/src/simulation/simtools/COOL.cpp index 651b0827d..427cfcdbd 100644 --- a/src/simulation/simtools/COOL.cpp +++ b/src/simulation/simtools/COOL.cpp @@ -5,9 +5,9 @@ static int perform(Simulation * sim, Particle * cpart, int x, int y, int brushX, void SimTool::Tool_COOL() { Identifier = "DEFAULT_TOOL_COOL"; - Name = "COOL"; + Name = "COOL"_ascii; Colour = PIXPACK(0x00DDFF); - Description = "Cools the targeted element."; + Description = "Cools the targeted element."_i18n; Perform = &perform; } diff --git a/src/simulation/simtools/CYCL.cpp b/src/simulation/simtools/CYCL.cpp index 368ff5c0e..fa6c62f30 100644 --- a/src/simulation/simtools/CYCL.cpp +++ b/src/simulation/simtools/CYCL.cpp @@ -8,9 +8,9 @@ static int perform(Simulation * sim, Particle * cpart, int x, int y, int brushX, void SimTool::Tool_CYCL() { Identifier = "DEFAULT_TOOL_CYCL"; - Name = "CYCL"; + Name = "CYCL"_ascii; Colour = PIXPACK(0x132f5b); - Description = "Cyclone, produces swirling air currents"; + Description = "Cyclone, produces swirling air currents"_i18n; Perform = &perform; } diff --git a/src/simulation/simtools/HEAT.cpp b/src/simulation/simtools/HEAT.cpp index 417295cf0..d3167c969 100644 --- a/src/simulation/simtools/HEAT.cpp +++ b/src/simulation/simtools/HEAT.cpp @@ -5,9 +5,9 @@ static int perform(Simulation * sim, Particle * cpart, int x, int y, int brushX, void SimTool::Tool_HEAT() { Identifier = "DEFAULT_TOOL_HEAT"; - Name = "HEAT"; + Name = "HEAT"_ascii; Colour = PIXPACK(0xFFDD00); - Description = "Heats the targeted element."; + Description = "Heats the targeted element."_i18n; Perform = &perform; } diff --git a/src/simulation/simtools/MIX.cpp b/src/simulation/simtools/MIX.cpp index 71cb8ec9c..5f60991d6 100644 --- a/src/simulation/simtools/MIX.cpp +++ b/src/simulation/simtools/MIX.cpp @@ -8,9 +8,9 @@ static int perform(Simulation * sim, Particle * cpart, int x, int y, int brushX, void SimTool::Tool_MIX() { Identifier = "DEFAULT_TOOL_MIX"; - Name = "MIX"; + Name = "MIX"_ascii; Colour = PIXPACK(0xFFD090); - Description = "Mixes particles."; + Description = "Mixes particles."_i18n; Perform = &perform; } diff --git a/src/simulation/simtools/NGRV.cpp b/src/simulation/simtools/NGRV.cpp index 526aa8c90..42f73fdda 100644 --- a/src/simulation/simtools/NGRV.cpp +++ b/src/simulation/simtools/NGRV.cpp @@ -5,9 +5,9 @@ static int perform(Simulation * sim, Particle * cpart, int x, int y, int brushX, void SimTool::Tool_NGRV() { Identifier = "DEFAULT_TOOL_NGRV"; - Name = "NGRV"; + Name = "NGRV"_ascii; Colour = PIXPACK(0xAACCFF); - Description = "Creates a short-lasting negative gravity well."; + Description = "Creates a short-lasting negative gravity well."_i18n; Perform = &perform; } diff --git a/src/simulation/simtools/PGRV.cpp b/src/simulation/simtools/PGRV.cpp index a9eddbb1f..362718e59 100644 --- a/src/simulation/simtools/PGRV.cpp +++ b/src/simulation/simtools/PGRV.cpp @@ -5,9 +5,9 @@ static int perform(Simulation * sim, Particle * cpart, int x, int y, int brushX, void SimTool::Tool_PGRV() { Identifier = "DEFAULT_TOOL_PGRV"; - Name = "PGRV"; + Name = "PGRV"_ascii; Colour = PIXPACK(0xCCCCFF); - Description = "Creates a short-lasting gravity well."; + Description = "Creates a short-lasting gravity well."_i18n; Perform = &perform; } diff --git a/src/simulation/simtools/VAC.cpp b/src/simulation/simtools/VAC.cpp index 83892cbc0..c4b3933da 100644 --- a/src/simulation/simtools/VAC.cpp +++ b/src/simulation/simtools/VAC.cpp @@ -6,9 +6,9 @@ static int perform(Simulation * sim, Particle * cpart, int x, int y, int brushX, void SimTool::Tool_VAC() { Identifier = "DEFAULT_TOOL_VAC"; - Name = "VAC"; + Name = "VAC"_ascii; Colour = PIXPACK(0x303030); - Description = "Vacuum, reduces air pressure."; + Description = "Vacuum, reduces air pressure."_i18n; Perform = &perform; }