AST3_C/update_levels.sh

6 lines
158 B
Bash
Executable File

#!/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