forgot to add build file

This commit is contained in:
'mr software' 2023-04-14 06:48:12 -07:00
parent 7cf2127956
commit af2bafc75c
2 changed files with 40 additions and 0 deletions

20
main.c
View File

@ -201,6 +201,26 @@ int main(int argc, char** argv) {
memset(board, 0xE, 72); memset(board, 0xE, 72);
board[31] = 0x2F; board[31] = 0x2F;
/* bug test a
for(int x = 1; x < 9; x++) board[x] = 0x2F;
for(int x = 1; x < 8; x++) board[x*9] = 0x2F;
*/
/* bug test b - edge test r
for(int x = 0; x < 8; x++) board[x*9] = 0x2F;
*/
/* bug test c - edge test l
for(int x = 1; x < 9; x++) board[x*9-1] = 0x2F;
*/
/* bug test d - edge test tb
for(int x = 1; x < 9; x++) {
board[x] = 0x2F;
board[9*7-1+x] = 0x2F;
}
*/
// rng for runes // rng for runes
srand(time(NULL)); srand(time(NULL));

20
mcbs Normal file
View File

@ -0,0 +1,20 @@
SOURCES=main.c
FLAGS="-lxmp -lpulse-simple -O3"
OUTPUT=alchemy-banal
fembgen() {
SOURCES=fembgen.c
OUTPUT=fembgen
FLAGS=
}
getmusic() {
[ ! -f NOFACE.S3M ] && wget "https://api.modarchive.org/downloads.php?moduleid=48952" -O NOFACE.S3M
[ ! -f ./fembgen ] && mcb ./fembgen
./fembgen NOFACE.S3M module modsize > music.h
exit
}
all() {
[ ! -f music.h ] && mcb getmusic
}