diff --git a/.gitignore b/.gitignore index aad78c3..c285398 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,5 @@ -*/data/*.c \ No newline at end of file +data/*.c +fatal_text_adventure_linux +fatal_text_adventure_windows.exe +fatal_text_adventure_linux.zip +fatal_text_adventure_windows.zip \ No newline at end of file diff --git a/01_text_adventure/.gitignore b/01_text_adventure/.gitignore deleted file mode 100644 index 9d96c11..0000000 --- a/01_text_adventure/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -fatal_text_adventure_linux -fatal_text_adventure_windows.exe -fatal_text_adventure_linux.zip -fatal_text_adventure_windows.zip \ No newline at end of file diff --git a/01_text_adventure/Makefile b/Makefile similarity index 91% rename from 01_text_adventure/Makefile rename to Makefile index efc1440..7d22169 100644 --- a/01_text_adventure/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ CC=gcc CFLAGS=-Wall -lraylib -lm -lpthread -ldl -lX11 WIN_CC=x86_64-w64-mingw32-gcc -WIN_LIB=-L../lib -I../include -Wall -lraylib -lopengl32 -lgdi32 -lwinmm -lcomdlg32 -lole32 +WIN_LIB=-Llib -Iinclude -Wall -lraylib -lopengl32 -lgdi32 -lwinmm -lcomdlg32 -lole32 WIN_CFLAGS=-Wall -lraylib -lm -lpthread GAME=fatal_text_adventure @@ -37,7 +37,9 @@ run_win: $(GAME)_windows.exe clean: rm -f ./$(GAME)_linux + rm -f ./$(GAME)_linux.zip rm -f ./$(GAME)_windows.exe + rm -f ./$(GAME)_windows.zip rm -f ./data/*.c $(GAME)_linux.zip: $(GAME)_linux diff --git a/01_text_adventure/README.org b/README.org similarity index 100% rename from 01_text_adventure/README.org rename to README.org diff --git a/01_text_adventure/action.c b/action.c similarity index 100% rename from 01_text_adventure/action.c rename to action.c diff --git a/01_text_adventure/action.h b/action.h similarity index 100% rename from 01_text_adventure/action.h rename to action.h diff --git a/01_text_adventure/adventure.org b/adventure.org similarity index 100% rename from 01_text_adventure/adventure.org rename to adventure.org diff --git a/01_text_adventure/data/actions.txt b/data/actions.txt similarity index 100% rename from 01_text_adventure/data/actions.txt rename to data/actions.txt diff --git a/01_text_adventure/data/flags.txt b/data/flags.txt similarity index 100% rename from 01_text_adventure/data/flags.txt rename to data/flags.txt diff --git a/01_text_adventure/data/items.txt b/data/items.txt similarity index 100% rename from 01_text_adventure/data/items.txt rename to data/items.txt diff --git a/01_text_adventure/data/room_ins.txt b/data/room_ins.txt similarity index 100% rename from 01_text_adventure/data/room_ins.txt rename to data/room_ins.txt diff --git a/01_text_adventure/data/rooms.txt b/data/rooms.txt similarity index 100% rename from 01_text_adventure/data/rooms.txt rename to data/rooms.txt diff --git a/01_text_adventure/data/words.txt b/data/words.txt similarity index 100% rename from 01_text_adventure/data/words.txt rename to data/words.txt diff --git a/01_text_adventure/effect.c b/effect.c similarity index 100% rename from 01_text_adventure/effect.c rename to effect.c diff --git a/01_text_adventure/effect.h b/effect.h similarity index 100% rename from 01_text_adventure/effect.h rename to effect.h diff --git a/01_text_adventure/flag.c b/flag.c similarity index 100% rename from 01_text_adventure/flag.c rename to flag.c diff --git a/01_text_adventure/flag.h b/flag.h similarity index 100% rename from 01_text_adventure/flag.h rename to flag.h diff --git a/01_text_adventure/game.c b/game.c similarity index 100% rename from 01_text_adventure/game.c rename to game.c diff --git a/01_text_adventure/game.h b/game.h similarity index 100% rename from 01_text_adventure/game.h rename to game.h diff --git a/01_text_adventure/img/made_by_bgb.aseprite b/img/made_by_bgb.aseprite similarity index 100% rename from 01_text_adventure/img/made_by_bgb.aseprite rename to img/made_by_bgb.aseprite diff --git a/01_text_adventure/img/made_by_bgb.png b/img/made_by_bgb.png similarity index 100% rename from 01_text_adventure/img/made_by_bgb.png rename to img/made_by_bgb.png diff --git a/01_text_adventure/img/made_w_raylib.aseprite b/img/made_w_raylib.aseprite similarity index 100% rename from 01_text_adventure/img/made_w_raylib.aseprite rename to img/made_w_raylib.aseprite diff --git a/01_text_adventure/img/made_w_raylib.png b/img/made_w_raylib.png similarity index 100% rename from 01_text_adventure/img/made_w_raylib.png rename to img/made_w_raylib.png diff --git a/01_text_adventure/img/title.aseprite b/img/title.aseprite similarity index 100% rename from 01_text_adventure/img/title.aseprite rename to img/title.aseprite diff --git a/01_text_adventure/img/title.png b/img/title.png similarity index 100% rename from 01_text_adventure/img/title.png rename to img/title.png diff --git a/01_text_adventure/input.c b/input.c similarity index 100% rename from 01_text_adventure/input.c rename to input.c diff --git a/01_text_adventure/input.h b/input.h similarity index 100% rename from 01_text_adventure/input.h rename to input.h diff --git a/01_text_adventure/intro.c b/intro.c similarity index 100% rename from 01_text_adventure/intro.c rename to intro.c diff --git a/01_text_adventure/intro.h b/intro.h similarity index 100% rename from 01_text_adventure/intro.h rename to intro.h diff --git a/01_text_adventure/item.c b/item.c similarity index 100% rename from 01_text_adventure/item.c rename to item.c diff --git a/01_text_adventure/item.h b/item.h similarity index 100% rename from 01_text_adventure/item.h rename to item.h diff --git a/01_text_adventure/log.c b/log.c similarity index 100% rename from 01_text_adventure/log.c rename to log.c diff --git a/01_text_adventure/log.h b/log.h similarity index 100% rename from 01_text_adventure/log.h rename to log.h diff --git a/01_text_adventure/main.c b/main.c similarity index 100% rename from 01_text_adventure/main.c rename to main.c diff --git a/01_text_adventure/parse.c b/parse.c similarity index 100% rename from 01_text_adventure/parse.c rename to parse.c diff --git a/01_text_adventure/parse.h b/parse.h similarity index 100% rename from 01_text_adventure/parse.h rename to parse.h diff --git a/01_text_adventure/predicate.c b/predicate.c similarity index 100% rename from 01_text_adventure/predicate.c rename to predicate.c diff --git a/01_text_adventure/predicate.h b/predicate.h similarity index 100% rename from 01_text_adventure/predicate.h rename to predicate.h diff --git a/01_text_adventure/room.c b/room.c similarity index 100% rename from 01_text_adventure/room.c rename to room.c diff --git a/01_text_adventure/room.h b/room.h similarity index 100% rename from 01_text_adventure/room.h rename to room.h diff --git a/01_text_adventure/room_in.c b/room_in.c similarity index 100% rename from 01_text_adventure/room_in.c rename to room_in.c diff --git a/01_text_adventure/room_in.h b/room_in.h similarity index 100% rename from 01_text_adventure/room_in.h rename to room_in.h diff --git a/01_text_adventure/util.c b/util.c similarity index 100% rename from 01_text_adventure/util.c rename to util.c diff --git a/01_text_adventure/util.h b/util.h similarity index 100% rename from 01_text_adventure/util.h rename to util.h diff --git a/01_text_adventure/word.c b/word.c similarity index 100% rename from 01_text_adventure/word.c rename to word.c diff --git a/01_text_adventure/word.h b/word.h similarity index 100% rename from 01_text_adventure/word.h rename to word.h