mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-07-04 06:39:07 +02:00
resource: rename BlockColor to Color
The same struct will be used for biomes.
This commit is contained in:
parent
f2b7808e84
commit
e462e17ee2
3 changed files with 941 additions and 941 deletions
|
@ -36,7 +36,7 @@ with open(sys.argv[2], 'w') as f:
|
|||
flags.append('Water')
|
||||
flags = 'make_bitflags!(BlockFlag::{' + '|'.join(flags) + '})'
|
||||
|
||||
print('\t("%s", BlockType { flags: %s, color: BlockColor([%u, %u, %u]) }),' % (
|
||||
print('\t("%s", BlockType { flags: %s, color: Color([%u, %u, %u]) }),' % (
|
||||
name,
|
||||
flags,
|
||||
info['color']['r'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue