Commit 0e601f87 authored by Robert Scott James's avatar Robert Scott James

Added some further instructions on how to prepare a freshly cloned repository...

Added some further instructions on how to prepare a freshly cloned repository for building and development. Added the header file for lodepng to the game.cpp file and got the CMakeLists to compile the source for lodepng

 Changes to be committed:
	modified:   CMakeLists.txt
	modified:   README.md
	modified:   src/game/game.cpp
parent 3c8747b6
......@@ -22,4 +22,5 @@ add_executable(IdleCrawler
src/entity/vision/alive/mob/basicSolver.cpp
src/entity/vision/alive/mob/randomMove.cpp
src/entity/vision/alive/hero/hero.cpp
src/entity/vision/alive/hero/basicSolverHero.cpp)
src/entity/vision/alive/hero/basicSolverHero.cpp
src/lodepng/lodepng.cpp)
......@@ -16,7 +16,18 @@
### Build Instructions
After cloning the repository
```bash
git clone http://gitlab.sucs.org/rjames93/IdleCrawl.git
```
To build the project you will need to initialise the submodules that we use to provide functionality that we didn't feel was necessary to re implement for this project you can do this as follows
```bash
git submodule init
git submodule update
```
#### Requirements
- cmake
- X11
- libconfig++
......@@ -31,7 +42,7 @@ cd build
cmake ../
make
make -j
```
......
......@@ -9,6 +9,7 @@
#include <memory>
#include "../entity/vision/alive/mob/mob.h"
#include "../vroot.h"
#include "../lodepng/lodepng.h"
Game::Game(int _root):rootWindow(_root){
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment