forked from minetest/minetest
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into improve-world-seeding
- Loading branch information
Showing
43 changed files
with
537 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,9 @@ | |
[submodule "lib/zmqpp"] | ||
path = lib/zmqpp | ||
url = [email protected]:zeromq/zmqpp.git | ||
[submodule "games/minetest_game"] | ||
path = games/minetest_game | ||
url = [email protected]:minetest/minetest_game.git | ||
[submodule "lib/SDL"] | ||
path = lib/SDL | ||
url = [email protected]:libsdl-org/SDL.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
.PHONY: all deps repos sdl2 package zmqpp minetester minetest install demo proto clean | ||
|
||
MINETESTER_VERSION := 0.0.1 | ||
SDL2_CMAKE_FILE := lib/SDL/build/lib/cmake/SDL2/sdl2-config.cmake | ||
ZMQPP_LIB_FILE := lib/zmqpp/build/max-g++/libzmqpp.a | ||
MINETEST_BINARY := bin/minetest | ||
DEBUG_BINARY := bin/debug | ||
MINETESTER_WHEEL := build/package/wheel/minetester-$(MINETESTER_VERSION)-py3-none-manylinux_2_35_x86_64.whl | ||
|
||
default: minetest | ||
|
||
linux_deps: | ||
# Install debian dependencies | ||
util/minetester/install_deps.sh | ||
|
||
python_build_deps: | ||
# Install python build dependencies | ||
pip install --upgrade pip | ||
pip install -r build_requirements.txt | ||
|
||
repos: | ||
# Init all submodules | ||
git submodule update --init --recursive | ||
|
||
$(SDL2_CMAKE_FILE): | ||
# compile sdl2 | ||
util/minetester/build_sdl2.sh | ||
|
||
sdl2: $(SDL2_CMAKE_FILE) | ||
|
||
proto: | ||
#create protobuf c++ and python files | ||
util/minetester/compile_proto.sh | ||
|
||
$(ZMQPP_LIB_FILE): | ||
#compile zmqpp | ||
util/minetester/build_zmqpp.sh | ||
|
||
zmqpp: $(ZMQPP_LIB_FILE) | ||
|
||
|
||
$(MINETEST_BINARY): | ||
#build minetest binary | ||
util/minetester/build_minetest.sh | ||
|
||
minetest: $(MINETEST_BINARY) | ||
|
||
$(DEBUG_BINARY): | ||
util/minetester/build_debuggable_minetest.sh | ||
|
||
debug: $(DEBUG_BINARY) | ||
|
||
$(MINETESTER_WHEEL): | ||
#build minetester python library | ||
util/minetester/build_minetester.sh | ||
|
||
minetester: $(MINETESTER_WHEEL) | ||
|
||
install: | ||
#install python library | ||
pip install $(MINETESTER_WHEEL) --force-reinstall | ||
|
||
demo: | ||
#install run demo script | ||
python -m minetester.scripts.test_loop | ||
|
||
ctags: | ||
ctags --extras=+f -R --links=no . | ||
|
||
clean: | ||
#clean up repo | ||
util/minetester/clean.sh | ||
|
||
clean_minetester: | ||
#clean up minetester, but not minetest | ||
util/minetester/clean_minetester.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
setuptools | ||
build | ||
auditwheel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
load_mod_random_v0 = true | ||
load_mod_rewards = true | ||
load_mod_treechop_v1 = false | ||
load_mod_treechop_shaped_v0 = false | ||
load_mod_random_v1 = false | ||
load_mod_treechop_v0 = false | ||
load_mod_random_v0 = false | ||
load_mod_preview = false | ||
load_mod_treechop_shaped_v0 = false | ||
load_mod_treechop_v0 = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
-- define global reward and terminal variables | ||
-- define global reward, terminal and info variables | ||
REWARD = 0.0 | ||
TERMINAL = false | ||
INFO = "" |
Submodule minetest_game
added at
960aff
Oops, something went wrong.