Skip to content

Commit

Permalink
add wolf3d
Browse files Browse the repository at this point in the history
  • Loading branch information
arnauddrain committed May 16, 2021
1 parent 922fdfa commit 8d47e0e
Show file tree
Hide file tree
Showing 40 changed files with 64,631 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
Some of my student projects I made while studying at [Epitech](https://www.epitech.eu/).

- [FDF - Fil de fer](fdf)
- [Wolf3D](wolf3d)
1 change: 1 addition & 0 deletions wolf3d/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
wolf3d
54 changes: 54 additions & 0 deletions wolf3d/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
##
## Makefile for makefile in /home/drain_a//tps/i_graph/fdf
##
## Made by arnaud drain
## Login <[email protected]>
##
## Started on Thu Nov 22 20:06:27 2012 arnaud drain
## Last update Fri Jan 11 12:28:49 2013 arnaud drain
##

# Updated during refacto for MacOS (post-Epitech)

CC = cc

NAME = wolf3d

SRCS = src/main.c \
src/game.c \
src/map.c \
src/gere.c \
src/lib.c \
src/get_next_line.c \
src/draw.c \
src/set_map.c \
src/aff_win.c \
src/calc_win.c \
src/lvl.c \
src/move.c \
src/map_begin.c \
src/gere_map.c

OBJS = $(SRCS:.c=.o)

RM = rm -f

INC = -I/usr/X11/include -Iinclude

CFLAGS = $(INC) -Wno-implicit-function-declaration

LDFLAGS = -L/usr/X11 -L/usr/X11/lib -lXext -lX11 -lmlx

all: $(NAME)

$(NAME): $(OBJS)
cc -o $(NAME) $(OBJS) $(LDFLAGS)
clean:
$(RM) $(OBJS)

fclean: clean
$(RM) $(NAME)

re: fclean all

.PHONY: all clean fclean re
24 changes: 24 additions & 0 deletions wolf3d/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Wolf3D

Project from first year in Epitech, made in C using the [MinilibX](https://github.com/42Paris/minilibx-linux)

## Installation

### MacOS

1. Install the [MinilibX](https://github.com/42Paris/minilibx-linux) to `/usr/X11/`
2. Run `make`
3. Launch project `./wolf3d`

## Screenshots

(colors were not like this, probably an issue on MacOS)

### game

![game1](screenshots/game1.png)
![game2](screenshots/game2.png)

### map editor

![editor](screenshots/editor.png)
Loading

0 comments on commit 8d47e0e

Please sign in to comment.