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

2
Box

Submodule Box updated: e240b7ac3f...602a83dab6

View File

@@ -24,6 +24,7 @@ Make sure the program can see the `assets` folder (symbolic links can help), and
* SDL2
* SDL2_image
* SDL2_mixer
* SDL2_ttf
* libcurses (for debugging only)
@@ -33,11 +34,14 @@ The source code for this project, not including the contents of Box, is covered
The art assets are covered by creative commons license CC BY Evan Hartshorn.
The audio assets are covered by the creative commons license CC BY Forcy.
The font assets are used with permission, links to the relevant licenses are provided below.
## Credits
* Art - Evan Hartshorn
* Music & SFX - Forcy
* Coding - Kayne Ruse
* Font - Ancient God (Koczman B<>lint) - https://www.dafont.com/ancient-god.font
* Font - AlphaBeta (Brian Kent) - https://www.fontpalace.com/font-download/alpha-beta/

Binary file not shown.

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)