Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

water flow fix from c55 #50

Open
wants to merge 987 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
987 commits
Select commit Hold shift + click to select a range
5388e8b
* different collision box for fireflies so they now hover above the g…
erlehmann Jul 21, 2011
cbf2ac5
* different collision box for fireflies so they now hover above the g…
erlehmann Jul 21, 2011
52ad594
Attempt to fix the big bug. Now server either stops sending map or ma…
celeron55 Jul 21, 2011
6875ead
Added french translation.
Jul 21, 2011
8048961
Added french translation.
Jul 21, 2011
3f4f844
Added missing .po fil.e
Jul 21, 2011
9303283
Added missing .po fil.e
Jul 21, 2011
4e5aac5
fixed not finding dll for gettext in MSVC
SpeedProg Jul 21, 2011
fc95d00
fixed not finding dll for gettext in MSVC
SpeedProg Jul 21, 2011
89bbff1
Merge pull request #29 from cisoun/master
erlehmann Jul 21, 2011
6505bae
Merge pull request #29 from cisoun/master
erlehmann Jul 21, 2011
9c557c3
+ unknown block is sick
erlehmann Jul 21, 2011
17a47b3
+ unknown block is sick
erlehmann Jul 21, 2011
308d861
Merged minetest-delta a624fe549bc75855a170
celeron55 Jul 21, 2011
909075d
* nicer firefly texture
erlehmann Jul 21, 2011
21b7a27
* nicer firefly texture
erlehmann Jul 21, 2011
2b3bc33
added some TODOs to main.cpp
celeron55 Jul 21, 2011
fe855e0
Fixed new map generator causing a crash when generating at map limit
celeron55 Jul 21, 2011
329158f
Fixed small error in mapnode.cpp (didn't cause any harm though)
celeron55 Jul 21, 2011
3d53cc2
changed some lines to fit the 80chars limit
SpeedProg Jul 21, 2011
5c66664
changed some lines to fit the 80chars limit
SpeedProg Jul 21, 2011
7c1ea34
Merge remote-tracking branch 'erlehmann/master'
Oblomov Jul 22, 2011
0265357
Merge remote-tracking branch 'erlehmann/master'
Oblomov Jul 22, 2011
bc05bd8
Use project name for mo files
Oblomov Jul 22, 2011
5a3218e
Use project name for mo files
Oblomov Jul 22, 2011
0ec7493
Refactor mo creation/installation
Oblomov Jul 22, 2011
d386f02
Refactor mo creation/installation
Oblomov Jul 22, 2011
8f2409a
Static naming of po file
Oblomov Jul 22, 2011
e61b2f9
Static naming of po file
Oblomov Jul 22, 2011
2b39be4
added an unit test for the Settings thingy (the python ConfigParser -…
celeron55 Jul 22, 2011
aaa165f
updatepo cmake rule
Oblomov Jul 22, 2011
d78e5e7
updatepo cmake rule
Oblomov Jul 22, 2011
bf3dfec
fixed problem with displaying special chars
SpeedProg Jul 22, 2011
a09660d
fixed problem with displaying special chars
SpeedProg Jul 22, 2011
9653522
Declare USE_GETTEXT option
Oblomov Jul 22, 2011
7d9dd35
Declare USE_GETTEXT option
Oblomov Jul 22, 2011
f706644
Fixed the problem of <=r548 clients fucking up maps on >=r549 servers…
celeron55 Jul 22, 2011
0fbb0bc
Merge pull request #32 from Oblomov/master
erlehmann Jul 22, 2011
a45f287
Merge pull request #32 from Oblomov/master
erlehmann Jul 22, 2011
7985d74
Merge branch 'upstream/master'
erlehmann Jul 22, 2011
805ccd4
Merge branch 'upstream/master'
erlehmann Jul 22, 2011
b278988
updated some parts which don't really make a problem but are better t…
SpeedProg Jul 20, 2011
96ad0c8
updated some parts which don't really make a problem but are better t…
SpeedProg Jul 20, 2011
a12229f
fixed some problems with filenames of the translations
SpeedProg Jul 22, 2011
fb4c3ab
fixed some problems with filenames of the translations
SpeedProg Jul 22, 2011
2abe6ed
Merge remote-tracking branch 'upstream/master'
SpeedProg Jul 22, 2011
3836981
Merge remote-tracking branch 'upstream/master'
SpeedProg Jul 22, 2011
84c370b
change in readme of a lib
SpeedProg Jul 22, 2011
4771b49
change in readme of a lib
SpeedProg Jul 22, 2011
2452ce6
Merge pull request #33 from SpeedProg/master
erlehmann Jul 22, 2011
58f612e
Changing key settings now doesn't require a game restart
celeron55 Jul 22, 2011
6c2d95f
* key change menu now saving immediately
celeron55 Jul 22, 2011
7da02e0
* README updated
erlehmann Jul 22, 2011
a7daf8e
* README updated
erlehmann Jul 22, 2011
fdf1447
Merge branch 'master' of git://github.com/erlehmann/minetest-delta
celeron55 Jul 22, 2011
8993d9d
Jungle biome/whatever thing
celeron55 Jul 22, 2011
d67cef0
Made dark places tint slightly in blue
celeron55 Jul 23, 2011
3882536
merged some stuff from upstream while merging delta
celeron55 Jul 23, 2011
f17cfb3
uh, i guess this now merges the new delta stuff?
celeron55 Jul 23, 2011
98be778
switched my textures back
celeron55 Jul 23, 2011
976ec31
switched to old transformLiquids, new one is not ready
celeron55 Jul 23, 2011
90d793f
extended content-type range
celeron55 Jul 23, 2011
2587bb3
merged the content type extension and delta
celeron55 Jul 23, 2011
a42d324
changed rat texture to mine
celeron55 Jul 23, 2011
bc14898
updated main.cpp comments a bit
celeron55 Jul 23, 2011
f13fc82
converted main.cpp dos linefeeds to unix linefeeds.
celeron55 Jul 23, 2011
96fedb5
removed -delta namings
celeron55 Jul 23, 2011
501034a
merged jungle and bluish shadows
celeron55 Jul 23, 2011
0b4cdfa
Made hotbar a bit smaller
celeron55 Jul 23, 2011
26582e0
Fixed #21 Earth under torches oscillates between mud and grass
celeron55 Jul 23, 2011
68a9157
Fixed issue #15: Glass blocks a lot of light
celeron55 Jul 23, 2011
f6d9bcc
updated cmakerules to autodetect if gettext can be used
SpeedProg Jul 23, 2011
73cf4b3
made shadows less blue
celeron55 Jul 23, 2011
8250d52
who put pnoise.py in my /?
celeron55 Jul 23, 2011
f4a08f7
Merge pull request #34 from SpeedProg/master
erlehmann Jul 24, 2011
8d84086
removed unnecessary verbosity from debug output of tile.cpp
celeron55 Jul 24, 2011
4ffba76
Place project name and gettext use in config
Oblomov Jul 23, 2011
d4e7fac
Gettext domain should match the project name
Oblomov Jul 23, 2011
5aa2679
Do not package en translation, since we don't build it
Oblomov Jul 23, 2011
112b85d
merged fix to decapitated trees; other bugs now exists
celeron55 Jul 24, 2011
ed8f557
changed jungletree/junglegrass content ids to extended range
celeron55 Jul 24, 2011
29d905f
Added a mapblock analyzing function for debugging use and fixed remai…
celeron55 Jul 24, 2011
d099165
removed a remaining debug print
celeron55 Jul 24, 2011
20fa741
and now fixed a bug in removing that debug output
celeron55 Jul 24, 2011
c9e615b
Updated the texture atlas a bit
celeron55 Jul 24, 2011
dbea511
Lowered default viewing range minimum to such that it allows fairly g…
celeron55 Jul 24, 2011
c578efb
Refactor gettext init
Oblomov Jul 23, 2011
47381bd
Bring po update out of cmake again
Oblomov Jul 24, 2011
e034f8a
Sanitize GETTEXT usage macros
Oblomov Jul 24, 2011
71b7d92
Merge pull request #35 from Oblomov/master
erlehmann Jul 24, 2011
423109e
Two more instances of unhardcoding the project name
Oblomov Jul 24, 2011
3715e39
Actually make USE_GETTEXT available in the source
Oblomov Jul 24, 2011
ad6b087
+ 24x24 rendering of SVG minetest icon, polished manually to look crisp
erlehmann Jul 24, 2011
e00d7ee
Italian translations
Oblomov Jul 24, 2011
a8e4931
Read config from gettext.h
Oblomov Jul 24, 2011
cce210f
Locale dir should be parallel to global data dir
Oblomov Jul 24, 2011
a5a9c9f
Merge pull request #36 from Oblomov/master
erlehmann Jul 24, 2011
f691230
Merge branch 'master' of github.com:erlehmann/minetest-delta
erlehmann Jul 24, 2011
416499f
fix server build
celeron55 Jul 25, 2011
a653cf4
removed delta README
celeron55 Jul 29, 2011
1de45cc
Removed remaining -delta references
celeron55 Jul 30, 2011
df27b85
quick fix to it not building with gettext on my visual studio environ…
celeron55 Jul 30, 2011
8ceb058
made more things burnable in furnace
celeron55 Jul 30, 2011
4556c21
Made rats cookable and made them spawn near trees
celeron55 Jul 30, 2011
d62ae0e
Rats are now eatable. Also made their selection box move smoothly.
celeron55 Jul 30, 2011
cae4220
updated pause menu text a bit
celeron55 Jul 30, 2011
4b0c3e4
Made picking items up in creative mode delete them (because they usua…
celeron55 Jul 30, 2011
9b294ff
Added message of the day and made it properly configurable using /#se…
celeron55 Jul 30, 2011
cdadbdb
Server configuration is now written when "/#setting whatever = whatev…
celeron55 Jul 30, 2011
4ef9c76
Merge remote-tracking branch 'origin/upstream'
erlehmann Jul 30, 2011
24a6627
Added network protocol version number in protocol
celeron55 Jul 30, 2011
f8fca8c
easier notice on old version
celeron55 Jul 30, 2011
f2051c9
fix to the former
celeron55 Jul 30, 2011
a4fe2a7
- compiling with translations works again
erlehmann Jul 30, 2011
82ea534
* README updated
erlehmann Jul 30, 2011
96bee29
Merge branch 'upstream/master'
erlehmann Jul 30, 2011
4ccc99b
updated version to rc2, rolling out new windows test binary
celeron55 Jul 30, 2011
edbcf7c
* support for content types extension in minetestmapper
WolfgangFellger Jul 30, 2011
17830c5
- removed old minetestmapper
erlehmann Jul 30, 2011
4681392
* PEP 8 compliance
erlehmann Jul 30, 2011
7581615
* honor environment variables, use utf-8
erlehmann Jul 30, 2011
92f504f
fixed displaying "umlauts" (deutsch umlaute) and hopefully other non …
SpeedProg Jul 29, 2011
9baae3a
set locales to C because en_US not installed on some systems, only UT…
SpeedProg Jul 30, 2011
cd6d204
changed some strings of the german translation to fit in the areas
SpeedProg Jul 30, 2011
37bf9a6
set some more text to gettext and updated po files
SpeedProg Jul 30, 2011
a817419
fixed redefinitivon of gettext.h is included more than once
SpeedProg Jul 30, 2011
4882bda
changed one forgotten en_US.UTF-8 to C
SpeedProg Jul 30, 2011
c08720b
this fixes problem with msvc++ and should work on other systems and s…
SpeedProg Jul 30, 2011
6199252
Merge pull request #39 from SpeedProg/master
erlehmann Jul 30, 2011
3c0090c
german translation update, translated some of the new strings
SpeedProg Jul 30, 2011
185c0bd
Merge pull request #40 from SpeedProg/master
erlehmann Jul 30, 2011
f4d7530
Merge branch 'master' of github.com:erlehmann/minetest-delta
erlehmann Jul 30, 2011
8e1eacf
Fixed handling of inventory in creative mode (normal inventory is not…
celeron55 Jul 30, 2011
bb9650a
updated example config
celeron55 Jul 30, 2011
17a85b9
added sword textures
celeron55 Jul 30, 2011
a114f28
added one temporary directory to .hgignore
celeron55 Jul 30, 2011
50dc2d8
fixe for msvc broke linux
SpeedProg Jul 30, 2011
2f6e931
Merge pull request #41 from SpeedProg/master
erlehmann Jul 30, 2011
c01c487
Merge branch 'master' of github.com:erlehmann/minetest-delta
erlehmann Jul 30, 2011
05d0eaf
added windows icon
celeron55 Jul 30, 2011
1498756
updated CMakeList.txts a bit
celeron55 Jul 30, 2011
88a266d
Updated CMakeLists, changelog and example config for release
celeron55 Jul 30, 2011
d7a5eea
changelog update and disable motd by default
celeron55 Jul 30, 2011
306bb66
Added tag 0.2.20110731_0 for changeset 06c62112b503
celeron55 Jul 30, 2011
d6a9bec
Added MaterialItem conversion from old content type namespace to new
celeron55 Jul 30, 2011
756f8f8
Made stricter handling for old clients because now they are not compa…
celeron55 Jul 30, 2011
bb77b1c
Added tag 0.2.20110731_1 for changeset 705a7e95b871
celeron55 Jul 30, 2011
54de4af
last fix was shit but this one works (tested)
SpeedProg Jul 31, 2011
e0b8e66
Fixed problem of server always receiving an empty password from the c…
celeron55 Jul 31, 2011
b62f428
updated version
celeron55 Jul 31, 2011
f25c3fc
Added tag 0.2.20110731_2 for changeset 4a6cf9491306
celeron55 Jul 31, 2011
8310031
Merge pull request #44 from SpeedProg/master
erlehmann Jul 31, 2011
1274bf7
Removed tag 0.2.20110731_2
celeron55 Jul 31, 2011
d4b4246
updated changelog
celeron55 Jul 31, 2011
a27200a
Added tag 0.2.20110731_2 for changeset 8ad16fbce9a4
celeron55 Jul 31, 2011
19ea901
Fixes a bug that made the server to deny non-empty passwords from pla…
celeron55 Jul 31, 2011
e88cd14
Added tag 0.2.20110731_3 for changeset c87e28deaabf
celeron55 Jul 31, 2011
5af9ef0
Removed tag 0.2.20110731_3
celeron55 Jul 31, 2011
ff1471b
updated version in CMakeLists
celeron55 Jul 31, 2011
303351d
Added tag 0.2.20110731_3 for changeset b277d01700f6
celeron55 Jul 31, 2011
7ece677
Merge remote-tracking branch 'origin/upstream'
erlehmann Jul 31, 2011
bc2819c
Added ladders--they don't have any use yet, though
Jul 27, 2011
1c59cff
Ladders implemented!
Jul 27, 2011
8e67f4c
Fixed a few problems in the ladder update, and changed the speed to a…
Jul 31, 2011
267744a
Fixing ladders again
Jul 31, 2011
7bd9e53
Changing CONTENT_LADDER to be an extended block
Jul 31, 2011
f6bc662
Merge pull request #47 from MarkTraceur/master
erlehmann Aug 1, 2011
363487c
* less clumsy ladder texture, based on rails
erlehmann Aug 1, 2011
7b82270
* papyrus texture now darker and edgier
erlehmann Aug 1, 2011
97d659c
added TODO in main.cpp
celeron55 Aug 1, 2011
bbd8e64
* README updated
erlehmann Aug 1, 2011
de868d2
Fix "integer constant is too large for 'long' type" error
AMDmi3 Aug 1, 2011
ff35014
Fix data paths for FreeBSD
AMDmi3 Aug 1, 2011
60bd878
Get rid of unused variables
Oblomov Jul 31, 2011
817180b
Introduce wgettext
Oblomov Jul 31, 2011
1d1aec9
Use wgettext
Oblomov Jul 31, 2011
f143e26
Merge pull request #48 from Oblomov/master
erlehmann Aug 2, 2011
5f8809e
Fixed farmesh to such that it was a long time ago.
celeron55 Aug 3, 2011
0b37f98
* fix for broken water
celeron55 Aug 3, 2011
735fa8b
* README updated
erlehmann Aug 3, 2011
071c0b5
* Welcome to OMSK.
erlehmann Aug 4, 2011
1278a57
added danish translation made by Frederik Helth
SpeedProg Aug 2, 2011
0cfca69
fixed displaying special chars in the keychange menu
SpeedProg Aug 2, 2011
4ab4e33
marked strings as translation
SpeedProg Aug 2, 2011
4505766
update to german translation
SpeedProg Aug 2, 2011
dade01b
update op PO files
SpeedProg Aug 2, 2011
0fb208e
updated po update script to detect wgettext and N_
SpeedProg Aug 2, 2011
1d009a3
changed on string in german translation to fit to gui
SpeedProg Aug 2, 2011
7361f29
fixed some error :/
SpeedProg Aug 2, 2011
f5e0ba2
Some more Italian translations
Oblomov Aug 2, 2011
f79069f
MapNode is a struct, not a class
Oblomov Aug 2, 2011
59c58f2
Some obvious errors in the new fluid flow management
Oblomov Aug 2, 2011
dd9909a
minetestmapper can be run from any directory
Oblomov Aug 3, 2011
64a6da3
merged delta and c55
celeron55 Aug 5, 2011
ab83444
Added tag 0.2.20110731_3 for changeset a519d6832511
celeron55 Aug 5, 2011
bdb66ac
removed broken and old tags and re-added 0.2.20110731_3
celeron55 Aug 5, 2011
9017c51
the zlib error print function now prints to dstream (debug.txt)
celeron55 Aug 8, 2011
318a730
Check whether -Wno-unused-but-set-variable is supported before using
AMDmi3 Aug 1, 2011
ea26a9f
Remove spurious assignment
Oblomov Aug 8, 2011
11be390
Keys should be s32, not u32
Oblomov Aug 8, 2011
163c38e
Always return from non-void functions
Oblomov Aug 8, 2011
34492ce
Respect base virtual functions' signatures
Oblomov Aug 8, 2011
1e12a73
Merge remote-tracking branch 'c55/master'
Oblomov Aug 8, 2011
019399e
Merge remote-tracking branch 'c55/master'
Oblomov Aug 11, 2011
76fb792
Project uses C++, so use CHECK_CXX_COMPILER_FLAG
Oblomov Aug 11, 2011
805564d
Clang doesn't like -Wno-unused-but-set-variable
Oblomov Aug 11, 2011
f9e1b0c
InventoryAction is a struct, not a class
Oblomov Aug 8, 2011
a5aa2b9
Merge remote-tracking branch 'c55/master'
Oblomov Aug 11, 2011
43b6ca0
Prevent threadid_t from losing precision when casted on 64bit systems
Aug 11, 2011
e81ff1e
Gettext fix for *BSD - require special linkage as glibc is not used
Aug 11, 2011
f6ed45f
Proper placement of binary files.
Aug 11, 2011
69fca4f
Merged some FreeBSD fixes
celeron55 Aug 11, 2011
98fa00d
Introduce Player::getLightPosition
Oblomov Aug 10, 2011
b318e82
Refactor player's eye position coding
Oblomov Aug 10, 2011
c007d82
Server should use the same eye position as the client
Oblomov Aug 10, 2011
467b3cf
Some inventory const-ification
Oblomov Aug 10, 2011
91d1186
Keep track of player item
Oblomov Aug 10, 2011
ecd5c5f
Clients inform server on wielded item
Oblomov Aug 10, 2011
88a9bae
constify inventory item serialization
Oblomov Aug 10, 2011
371af9c
Notify other players of wielded item change
Oblomov Aug 11, 2011
40a3b17
Merge remote-tracking branch 'c55/master'
Oblomov Aug 11, 2011
f4856a3
.gitattributes
Oblomov Aug 11, 2011
dfdc817
Typo fix
Oblomov Aug 11, 2011
3028bbb
Updated .gitignore to ignore vim swap files
celeron55 Aug 11, 2011
5784c14
added ipban support
SpeedProg Aug 11, 2011
7aa72c5
Merge remote-tracking branch 'speedprog/banByIp'
celeron55 Aug 12, 2011
e40da23
Fixed/extended/modified ban stuff to be good for inclusion
celeron55 Aug 12, 2011
94b42a7
fixed not finding data dir if installed
SpeedProg Aug 10, 2011
835d2e4
Removed assert if creating texture atlas image fails; cancel creating…
celeron55 Aug 12, 2011
72e4c8f
Fix use of && instead of &
Oblomov Aug 12, 2011
eb255e6
Clean up key names handling
Oblomov Aug 12, 2011
b1e0b77
Fix keycode_to_keyname return value
Oblomov Aug 13, 2011
385904d
Let Settings accept a const char* directly
Oblomov Aug 13, 2011
8242c2c
First draft of the updelta script
Oblomov Aug 13, 2011
aec5ce2
Repeast the action next to the failure
Oblomov Aug 13, 2011
662616e
updelta: clean before make
Oblomov Aug 13, 2011
9e35fe8
Merge remote-tracking branch 'speedprog/fixedNotFindingData'
celeron55 Aug 13, 2011
27dfdd3
Merge remote-tracking branch 'celeron55/master'
Oblomov Aug 13, 2011
8f2264c
clean up delta-branches
Oblomov Aug 13, 2011
1b49d81
Add script to get proposed patchsets from wiki
Oblomov Aug 14, 2011
e1b23d9
Expand updelta with automatic branchfile update
Oblomov Aug 14, 2011
9a79365
Automatic branchfile update
Oblomov Aug 14, 2011
d01cd2a
Proper delta reset depending on where we are
Oblomov Aug 14, 2011
b9dd6ab
Warn without aborting when a merge conflict is autoresolved
Oblomov Aug 14, 2011
d9eeeb4
Run silently or verbose
Oblomov Aug 14, 2011
c4b707b
Windows.h -> windows.h for cross-mingw build
celeron55 Aug 14, 2011
dc16820
Cleanup root
Oblomov Aug 15, 2011
136657b
Get rid of makepackage_binary.sh
Oblomov Aug 15, 2011
87dbbe5
Merge remote-tracking branch 'celeron55/master'
Oblomov Aug 15, 2011
51161f9
Automatic branchfile update
Oblomov Aug 15, 2011
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.cpp diff=cpp
*.h diff=cpp
23 changes: 23 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
map/*
world/*
CMakeFiles/*
src/CMakeFiles/*
src/Makefile
src/cmake_config.h
src/cmake_install.cmake
src/jthread/CMakeFiles/*
src/jthread/Makefile
src/jthread/cmake_config.h
src/jthread/cmake_install.cmake
.*.swp
minetest.conf
bin/
CMakeCache.txt
CPackConfig.cmake
CPackSourceConfig.cmake
Makefile
cmake_install.cmake
src/jthread/libjthread.a
debug.txt
bin/debug.txt
minetestmapper/map.png
25 changes: 25 additions & 0 deletions .hgignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
map/*
world/*
CMakeFiles/*
src/CMakeFiles/*
src/Makefile
src/cmake_config.h
src/cmake_install.cmake
src/jthread/CMakeFiles/*
src/jthread/Makefile
src/jthread/cmake_config.h
src/jthread/cmake_install.cmake
src/.*.swp
src/sqlite/libsqlite3.a
src/session.vim
util/uloste.png
minetest.conf
debug.txt
bin/
CMakeCache.txt
CPackConfig.cmake
CPackSourceConfig.cmake
Makefile
cmake_install.cmake
src/jthread/libjthread.a
data_temp/*
1 change: 1 addition & 0 deletions .hgtags
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a519d683251105654d2a146ae7b91d3850b6504c 0.2.20110731_3
120 changes: 120 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
cmake_minimum_required(VERSION 2.6)
if(${CMAKE_VERSION} STREQUAL "2.8.2")
# bug http://vtk.org/Bug/view.php?id=11020
message( WARNING "CMake/CPack version 2.8.2 will not create working .deb packages!")
endif(${CMAKE_VERSION} STREQUAL "2.8.2")

# This can be read from ${PROJECT_NAME} after project() is called
project(minetest-delta)

set(VERSION_MAJOR 0)
set(VERSION_MINOR 2)
set(VERSION_PATCH 20110731_3)
set(VERSION_STRING "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}")

# Configuration options

if(WIN32)
set(RUN_IN_PLACE 1 CACHE BOOL "Run directly in source directory structure")
else()
set(RUN_IN_PLACE 0 CACHE BOOL "Run directly in source directory structure")
endif()

set(BUILD_CLIENT 1 CACHE BOOL "Build client")
if(WIN32)
set(BUILD_SERVER 0 CACHE BOOL "Build server")
else()
set(BUILD_SERVER 1 CACHE BOOL "Build server")
endif()

set(WARN_ALL 1 CACHE BOOL "Enable -Wall for Release build")

if(NOT CMAKE_BUILD_TYPE)
# Default to release
set(CMAKE_BUILD_TYPE Release CACHE STRING "Build type: Debug or Release" FORCE)
endif()

# Included stuff
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
include(${CMAKE_SOURCE_DIR}/cmake/Modules/misc.cmake)

# This is done here so that relative search paths are more reasnable
find_package(Irrlicht)

#
# Installation
#

if(WIN32)
set(DATADIR "data")
set(BINDIR "bin")
set(DOCDIR "doc")
set(EXAMPLE_CONF_DIR ".")
elseif(APPLE)
# random placeholders
set(DATADIR "share/${PROJECT_NAME}")
set(BINDIR "bin")
set(DOCDIR "share/doc/${PROJECT_NAME}")
set(EXAMPLE_CONF_DIR ".")
elseif(UNIX) # Linux, BSD etc
set(DATADIR "share/${PROJECT_NAME}")
set(BINDIR "bin")
set(DOCDIR "share/doc/${PROJECT_NAME}")
set(EXAMPLE_CONF_DIR "share/doc/${PROJECT_NAME}")
endif()

install(FILES "doc/README.txt" DESTINATION "${DOCDIR}")
install(FILES "doc/changelog.txt" DESTINATION "${DOCDIR}")
install(FILES "minetest.conf.example" DESTINATION "${DOCDIR}")

#
# Subdirectories
# Be sure to add all relevant definitions above this
#

add_subdirectory(src)

# CPack

set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "An InfiniMiner/Minecraft inspired game")
set(CPACK_PACKAGE_VERSION_MAJOR ${VERSION_MAJOR})
set(CPACK_PACKAGE_VERSION_MINOR ${VERSION_MINOR})
set(CPACK_PACKAGE_VERSION_PATCH ${VERSION_PATCH})
set(CPACK_PACKAGE_VENDOR "celeron55")
set(CPACK_PACKAGE_CONTACT "Perttu Ahola <celeron55@gmail.com>")

if(WIN32)
# For some reason these aren't copied otherwise
# NOTE: For some reason now it seems to work without these
#if(BUILD_CLIENT)
# install(FILES bin/minetest.exe DESTINATION bin)
#endif()
#if(BUILD_SERVER)
# install(FILES bin/minetestserver.exe DESTINATION bin)
#endif()

set(CPACK_PACKAGE_FILE_NAME "${PROJECT_NAME}-${VERSION_STRING}-win32")

set(CPACK_GENERATOR ZIP)

# This might be needed for some installer
#set(CPACK_PACKAGE_EXECUTABLES bin/minetest.exe "Minetest" bin/minetestserver.exe "Minetest Server")
elseif(APPLE)
# TODO
# see http://cmake.org/Wiki/CMake:CPackPackageGenerators#Bundle_.28OSX_only.29
#
set(CPACK_PACKAGE_FILE_NAME "${PROJECT_NAME}-${VERSION_STRING}-osx")
set(CPACK_PACKAGE_ICON "")
set(CPACK_BUNDLE_NAME ${PROJECT_NAME})
set(CPACK_BUNDLE_ICON "")
set(CPACK_BUNDLE_PLIST "")
set(CPACK_BUNDLE_STARTUP_COMMAND "Contents/MacOS/${PROJECT_NAME}")
set(CPACK_GENERATOR "Bundle")
else()
set(CPACK_PACKAGE_FILE_NAME "${PROJECT_NAME}-${VERSION_STRING}-linux")
set(CPACK_GENERATOR TGZ)
set(CPACK_SOURCE_GENERATOR TGZ)
endif()

include(CPack)

74 changes: 0 additions & 74 deletions Makefile

This file was deleted.

26 changes: 26 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Minetest Δ (“Minetest Delta”) is a fork of Minetest-c55 <http://celeron.55.lt/~celeron55/minetest/>, incorporating experimental features that are not (yet) included in Minetest-c55.
Currently it is considered the unstable development branch of Minetest-c55, which means almost everything is merged upstream from Minetest Δ.

New features:
* refactored liquids (should not affect gameplay)
* translation support (including german, french, italian)

New blocks:
* ladders (crafted from 7 sticks in a H form)

Alternate graphics:
* Player
* Omsk birds (instead of Oerkki ghosts)
* Rat
* Glass
* Heart

Building on GNU/Linux or OS X:
cmake . -DRUN_IN_PLACE=1
make -j2

The “upstream” branch contains vanilla minetest-c55, created using:
hg-fast-export -r ~/share/src/games/minetest -o upstream
git push origin upstream/master:upstream -f

All new/replaced graphics done by erlehmann are dual-licensed under GPL (version 2 or, at your option, any later version) and CC-BY-SA (version 3.0 or, at your option, any later version).
Loading