mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-07-04 14:49:07 +02:00
Rename .inc files to .inc.cpp for better language detection by editors and Github
This commit is contained in:
parent
bfc9fcafb9
commit
73e5c12cde
5 changed files with 5 additions and 5 deletions
|
@ -10,7 +10,7 @@ work.
|
|||
of two different versions
|
||||
- `extract.py`: Takes the block type information from `blocks.json` and texture data
|
||||
from an unpacked Minecraft JAR, storing the result in `colors.json`
|
||||
- `generate.py`: Generates `BlockType.inc` from `colors.json`
|
||||
- `generate.py`: Generates `BlockType.inc.cpp` from `colors.json`
|
||||
|
||||
In addition to these scripts, the JSON processor *jq* is a useful tool to work
|
||||
with MinedMap's resource metadata.
|
||||
|
@ -63,7 +63,7 @@ with MinedMap's resource metadata.
|
|||
7. Update the source code with the new block colors:
|
||||
|
||||
```sh
|
||||
./generate.py colors.json ../src/Resource/BlockType.inc
|
||||
./generate.py colors.json ../src/Resource/BlockType.inc.cpp
|
||||
```
|
||||
|
||||
After the update, the new version should be tested with old savegames (both
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue