6 lines
158 B
Bash
6 lines
158 B
Bash
|
#!/bin/sh
|
||
|
echo "#define LEVEL_MAX $(ls editor/levels/[^0]*.lvl | wc -l)
|
||
|
#define PLAYER_HEIGHT 11
|
||
|
#define FPS 70" > include/define.h
|
||
|
python3 compile_levels.py
|