Skip to content
Snippets Groups Projects
Commit 17972bb7 authored by radow's avatar radow
Browse files

adjusted of wall tile type selection behavior

parent c53bb0d9
No related branches found
No related tags found
No related merge requests found
......@@ -439,8 +439,8 @@ impl GameState {
let val = self.calc_walltype(x-1, y-1);
let mut tex :Texture = self.textures.cross.clone();
match val{
1|11110001|10000|11111|10000001|11|10000011|110000|111000|11000|10001|10011|11001|110001|10010001|11011|110011|10010011|111001|10011001|10110001|111011|10011011|10110011|10111001|10111011 => tex = self.textures.hor.clone(),
1000000|100|1000100|11000111|1111100|11000000|1100000|11100000|110|1100|1110|1000110|1001100|1100100|11000100|1001110|1100110|11000110|1101100|11001100|11100100|1101110|11001110|11100110|11101100|11101110 => tex = self.textures.vert.clone(),
11110001|11111|10001|10011|11001|110001|10010001|11011|110011|10010011|111001|10011001|10110001|111011|10011011|10110011|10111001|10111011|11111001|11110011|11111011|10011111|111111|10111111 => tex = self.textures.hor.clone(),
1000100|11000111|1111100|1000110|1001100|1100100|11000100|1001110|1100110|11000110|1101100|11001100|11100100|1101110|11001110|11100110|11101100|11101110|11100111|11001111|11101111|11111100|1111110|11111110 => tex = self.textures.vert.clone(),
11111111 => {
tex = self.textures.var_tile.clone();
color = Color::rgb(0.5,0.5,0.5);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment