MCPcopy Create free account
hub / github.com/The-Powder-Toy/The-Powder-Toy / LoadMenus

Function LoadMenus

src/simulation/SimulationData.cpp:76–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76static std::vector<menu_section> LoadMenus()
77{
78 return
79 std::vector<menu_section>{
80 {0xE041, String("Walls"), 0, 1},
81 {0xE042, String("Electronics"), 0, 1},
82 {0xE056, String("Powered Materials"), 0, 1},
83 {0xE019, String("Sensors"), 0, 1},
84 {0xE062, String("Force"), 0, 1},
85 {0xE043, String("Explosives"), 0, 1},
86 {0xE045, String("Gases"), 0, 1},
87 {0xE044, String("Liquids"), 0, 1},
88 {0xE050, String("Powders"), 0, 1},
89 {0xE051, String("Solids"), 0, 1},
90 {0xE046, String("Radioactive"), 0, 1},
91 {0xE04C, String("Special"), 0, 1},
92 {0xE052, String("Game Of Life"), 0, 1},
93 {0xE057, String("Tools"), 0, 1},
94 {0xE067, String("Favorites"), 0, 1},
95 {0xE064, String("Decoration tools"), 0, 1},
96 };
97}
98
99void SimulationData::init_can_move()
100{

Callers 1

SimulationDataMethod · 0.85

Calls 1

StringClass · 0.85

Tested by

no test coverage detected