Began working on sounds

This commit is contained in:
2023-07-16 22:01:58 +10:00
parent 7b45e2d5d7
commit 59d88421d9
5 changed files with 9 additions and 2 deletions

View File

@@ -13,6 +13,9 @@ int main(int argc, char* argv[]) {
// Toy_setDrivePath("airport", "assets/airport-demo"); //DEBUG
Toy_setDrivePath("scripts", "assets/scripts");
Toy_setDrivePath("sprites", "assets/sprites");
Toy_setDrivePath("audio", "assets/audio");
Toy_setDrivePath("music", "assets/audio/music");
Toy_setDrivePath("sounds", "assets/audio/sounds");
Toy_setDrivePath("fonts", "assets/fonts");
Box_initEngine("scripts:/init.toy");

View File

@@ -2,7 +2,7 @@ CC=gcc
IDIR+=. ../Box/Toy/source ../Box/source
CFLAGS+=$(addprefix -I,$(IDIR)) -g -Wall -W -Wno-unused-parameter -Wno-unused-function -Wno-unused-variable
LIBS+=-lSDL2 -ltoy -lbox -lSDL2_image -lSDL2_ttf -lSDL2main -lSDL2
LIBS+=-ltoy -lbox -lSDL2_image -lSDL2_mixer -lSDL2_ttf -lSDL2main -lSDL2
ODIR = obj
SRC = $(wildcard *.c)