diff options
author | Julian Laubstein <julianlaubstein@yahoo.de> | 2016-01-02 00:47:42 +0100 |
---|---|---|
committer | Julian Laubstein <julianlaubstein@yahoo.de> | 2016-01-02 00:47:42 +0100 |
commit | 5c004e375a7c4fab9cbfeb36d63a788bbc883513 (patch) | |
tree | abedc9b67734d9e37a36894b9331ae869d3adb61 | |
parent | Merge pull request #2838 from cuberite/clang-3.8-ignore-flag (diff) | |
parent | Updated plugins with the rename to Cuberite. (diff) | |
download | cuberite-5c004e375a7c4fab9cbfeb36d63a788bbc883513.tar cuberite-5c004e375a7c4fab9cbfeb36d63a788bbc883513.tar.gz cuberite-5c004e375a7c4fab9cbfeb36d63a788bbc883513.tar.bz2 cuberite-5c004e375a7c4fab9cbfeb36d63a788bbc883513.tar.lz cuberite-5c004e375a7c4fab9cbfeb36d63a788bbc883513.tar.xz cuberite-5c004e375a7c4fab9cbfeb36d63a788bbc883513.tar.zst cuberite-5c004e375a7c4fab9cbfeb36d63a788bbc883513.zip |
54 files changed, 112 insertions, 257 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e15f9084f..3234e93d7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,14 +9,13 @@ if (MSVC) endif() # These env variables are used for configuring Travis CI builds. -# See https://github.com/mc-server/MCServer/pull/767 if(DEFINED ENV{TRAVIS_CUBERITE_BUILD_TYPE}) message("Setting build type to $ENV{TRAVIS_CUBERITE_BUILD_TYPE}") set(CMAKE_BUILD_TYPE $ENV{TRAVIS_CUBERITE_BUILD_TYPE}) endif() -if(DEFINED ENV{TRAVIS_MCSERVER_FORCE32}) - set(FORCE32 $ENV{TRAVIS_MCSERVER_FORCE32}) +if(DEFINED ENV{TRAVIS_CUBERITE_FORCE32}) + set(FORCE32 $ENV{TRAVIS_CUBERITE_FORCE32}) endif() if(DEFINED ENV{TRAVIS_BUILD_WITH_COVERAGE}) @@ -26,7 +26,7 @@ DOXYFILE_ENCODING = UTF-8 # identify the project. Note that if you do not use Doxywizard you need # to put quotes around the project name if it contains spaces. -PROJECT_NAME = MCServer +PROJECT_NAME = Cuberite # The PROJECT_NUMBER tag can be used to enter a project or revision number. # This could be handy for archiving the generated documentation or diff --git a/GETTING-STARTED.md b/GETTING-STARTED.md index fc777aed0..5a36652ee 100644 --- a/GETTING-STARTED.md +++ b/GETTING-STARTED.md @@ -88,8 +88,8 @@ Basically, the process is: **Windows:** You need to first generate a solution file by executing `cmake .` on the commandline at the top-level folder of the repository, then just open the solution file in MSVC and build. Note that the first time after generating the solution, you will need to do extra setup in order to be able to fully debug in MSVC: -- Set the startup project to Cuberite: right-click the MCServer project in the Solution Explorer and choose "Set as Startup Project". -- Set the debugging folder: right-click the MCServer project in the Solution Explorer, choose "Properties". In the dialog, browse to "Configuration Properties" -> "Debugging" and set "Working Directory" to "../MCServer". +- Set the startup project to Cuberite: right-click the Cuberite project in the Solution Explorer and choose "Set as Startup Project". +- Set the debugging folder: right-click the Cuberite project in the Solution Explorer, choose "Properties". In the dialog, browse to "Configuration Properties" -> "Debugging" and set "Working Directory" to "../Server". How to Run ---------- diff --git a/Install/.gitignore b/Install/.gitignore index 3b0a53050..52c5ca5a9 100644 --- a/Install/.gitignore +++ b/Install/.gitignore @@ -1,4 +1,2 @@ -MCServer.exe -*.7z *.tag *.example.ini
\ No newline at end of file diff --git a/Install/Cuberite_high_detail_debug.cmd b/Install/Cuberite_high_detail_debug.cmd new file mode 100644 index 000000000..0880495e3 --- /dev/null +++ b/Install/Cuberite_high_detail_debug.cmd @@ -0,0 +1 @@ +Cuberite --crash-dump-full diff --git a/Install/Cuberite_medium_detail_debug.cmd b/Install/Cuberite_medium_detail_debug.cmd new file mode 100644 index 000000000..1dcb291a0 --- /dev/null +++ b/Install/Cuberite_medium_detail_debug.cmd @@ -0,0 +1 @@ +Cuberite --crash-dump-globals diff --git a/Install/MCServer_high_detail_debug.cmd b/Install/MCServer_high_detail_debug.cmd deleted file mode 100644 index d94af8150..000000000 --- a/Install/MCServer_high_detail_debug.cmd +++ /dev/null @@ -1 +0,0 @@ -MCServer --crash-dump-full diff --git a/Install/MCServer_medium_detail_debug.cmd b/Install/MCServer_medium_detail_debug.cmd deleted file mode 100644 index 0a33c27fd..000000000 --- a/Install/MCServer_medium_detail_debug.cmd +++ /dev/null @@ -1 +0,0 @@ -MCServer --crash-dump-globals diff --git a/Server/.gitignore b/Server/.gitignore index 1df22b079..768adbb2c 100644 --- a/Server/.gitignore +++ b/Server/.gitignore @@ -31,6 +31,7 @@ motd.txt *.dmp *.xml mcserver_api.lua +cuberite_api.lua # Ignore the webadmin certs / privkey, so that no-one commits theirs by accident: webadmin/httpscert.crt diff --git a/Server/Plugins/ChatLog b/Server/Plugins/ChatLog -Subproject 983d23ca37baa89f7e4dc11d71502d9c059f637 +Subproject cc04da381b9aa683ee3bbd7013f9d3fd909db03 diff --git a/Server/Plugins/Core b/Server/Plugins/Core -Subproject 0838838a18f49251d62e9b0760215fda6ec319c +Subproject 5df413231a918070adc15dfe36630ffba06e15d diff --git a/Server/Plugins/Debuggers/Debuggers.lua b/Server/Plugins/Debuggers/Debuggers.lua index 85e2c50ae..5b7f26fe6 100644 --- a/Server/Plugins/Debuggers/Debuggers.lua +++ b/Server/Plugins/Debuggers/Debuggers.lua @@ -1459,7 +1459,7 @@ function HandleCompo(a_Split, a_Player) -- Send one composite message to self: local msg = cCompositeChat() msg:AddTextPart("Hello! ", "b@e") -- bold yellow - msg:AddUrlPart("MCServer", "http://mc-server.org") + msg:AddUrlPart("Cuberite", "http://cuberite.org") msg:AddTextPart(" rules! ") msg:AddRunCommandPart("Set morning", "/time set 0") a_Player:SendMessage(msg) diff --git a/Server/Plugins/HookNotify/HookNotify.lua b/Server/Plugins/HookNotify/HookNotify.lua index 411dbebbd..33b1a80a8 100644 --- a/Server/Plugins/HookNotify/HookNotify.lua +++ b/Server/Plugins/HookNotify/HookNotify.lua @@ -5,7 +5,7 @@ Implements the entire plugin NOTE: This plugin is not meant for production servers. It is used mainly by developers to verify that things -are working properly when implementing MCServer features. Do not enable this plugin on production servers! +are working properly when implementing Cuberite features. Do not enable this plugin on production servers! This plugin logs a notification for each hook that is being called by the server. The TICK and WORLD_TICK hooks are disabled because they produce too much output. diff --git a/Server/Plugins/NetworkTest/NetworkTest.lua b/Server/Plugins/NetworkTest/NetworkTest.lua index d6849ead6..1bb35d0c6 100644 --- a/Server/Plugins/NetworkTest/NetworkTest.lua +++ b/Server/Plugins/NetworkTest/NetworkTest.lua @@ -107,7 +107,7 @@ local g_Services = -- Send a welcome message to newly accepted connections: OnAccepted = function (a_Link) - a_Link:Send("Hello, " .. a_Link:GetRemoteIP() .. ", welcome to the echo server @ MCServer-Lua\r\n") + a_Link:Send("Hello, " .. a_Link:GetRemoteIP() .. ", welcome to the echo server @ Cuberite-Lua\r\n") end, -- OnAccepted() -- There was an error listening on the port: @@ -140,7 +140,7 @@ local g_Services = -- Send a welcome message and the fortune to newly accepted connections: OnAccepted = function (a_Link) - a_Link:Send("Hello, " .. a_Link:GetRemoteIP() .. ", welcome to the fortune server @ MCServer-Lua\r\n\r\nYour fortune:\r\n") + a_Link:Send("Hello, " .. a_Link:GetRemoteIP() .. ", welcome to the fortune server @ Cuberite-Lua\r\n\r\nYour fortune:\r\n") a_Link:Send(g_Fortunes[math.random(#g_Fortunes)] .. "\r\n") end, -- OnAccepted() diff --git a/Server/Plugins/ProtectionAreas b/Server/Plugins/ProtectionAreas -Subproject ac6ad215295257a9098869d6ec935cbbb900a04 +Subproject d73f95a5000f939a94c372173480282f0fe1e52 diff --git a/Server/Plugins/TestLuaRocks/TestLuaRocks.lua b/Server/Plugins/TestLuaRocks/TestLuaRocks.lua index 4a7cd4e1e..0e4ccb7d5 100644 --- a/Server/Plugins/TestLuaRocks/TestLuaRocks.lua +++ b/Server/Plugins/TestLuaRocks/TestLuaRocks.lua @@ -1,7 +1,7 @@ -- TestLuaRocks.lua --- This is a mockup plugin that does a quick test of LuaRocks capability in MCServer +-- This is a mockup plugin that does a quick test of LuaRocks capability in Cuberite -- "Success" is when the plugin loads, downloads the forum webpage and displays the headers and length and then displays both libs as loaded. -- "Failure" usually manifests as one of the "require" lines failing, although you have the luarock installed. diff --git a/Server/README.txt b/Server/README.txt index 3cddc37d2..f3972e90f 100644 --- a/Server/README.txt +++ b/Server/README.txt @@ -1,20 +1,17 @@ -/============================\ -| Custom Minecraft Server | -| (MCServer) | -| | -| Founder: Kevin Bansberg | -| A.K.A. FakeTruth | -| Lead dev: Mattes D | -| A.K.A. _Xoft(o) | -| A.K.A. xoft | -| Monsters by Alex Sonek | -| A.K.A. Duralex | -|============================| -| Info: www.mc-server.org | -| www.ae-c.net | -| www.rbthinktank.com | -| Mail: faketruth@gmail.com | -\============================/ +/=============================\ +| Custom Minecraft Server | +|(Cuberite, formerly MCServer)| +| | +| Founder: Kevin Bansberg | +| A.K.A. FakeTruth | +| Lead dev: Mattes D | +| A.K.A. _Xoft(o) | +| A.K.A. xoft | +| Monsters by Alex Sonek | +| A.K.A. Duralex | +|=============================| +| Info: www.cuberite.org | +\=============================/ Compatible clients: 1.7.x and 1.8.x Compatible protocol versions: 4, 5, 47 @@ -1,6 +1,6 @@ #! /bin/bash -# This script runs MCServer under helgrind +# This script runs Cuberite under helgrind # It expects valgrind to be normally installed and available # Note that this is for Linux only and debug-only, since it slows down MCS way too much diff --git a/Server/hg.supp b/Server/hg.supp index bea6ecf3c..7acad9edc 100644 --- a/Server/hg.supp +++ b/Server/hg.supp @@ -1,4 +1,4 @@ -# This is a valgrind suppressions file for running helgrind on MCServer +# This is a valgrind suppressions file for running helgrind on Cuberite # Use by adding "--suppressions=hg.supp" to the helgrind commandline @@ -1,6 +1,6 @@ #! /bin/bash -# This script runs MCServer under valgrind +# This script runs Cuberite under valgrind # It expects valgrind to be normally installed and available # Note that this is for Linux only and debug-only, since it slows down MCS way too much diff --git a/Server/webadmin/files/guest.html b/Server/webadmin/files/guest.html index 4f965b75c..27af93142 100644 --- a/Server/webadmin/files/guest.html +++ b/Server/webadmin/files/guest.html @@ -8,7 +8,7 @@ <body> <p> - Hello! Welcome to the MCServer WebAdmin. + Hello! Welcome to the Cuberite WebAdmin. </p> <p> This is a default message, edit <b>files/guest.html</b> to add your own custom message. diff --git a/Server/webadmin/files/login.css b/Server/webadmin/files/login.css index 5d87da4c5..ad94e5810 100644 --- a/Server/webadmin/files/login.css +++ b/Server/webadmin/files/login.css @@ -1,4 +1,4 @@ -/* Copyright Justin S and MCServer Team, licensed under CC-BY-SA 3.0 */ +/* Copyright Justin S and Cuberite Team, licensed under CC-BY-SA 3.0 */ * { margin: 0; } diff --git a/Server/webadmin/files/style.css b/Server/webadmin/files/style.css index 7c0671970..8cb803a05 100644 --- a/Server/webadmin/files/style.css +++ b/Server/webadmin/files/style.css @@ -1,4 +1,4 @@ -/* Copyright Justin S and MCServer Team, licensed under CC-BY-SA 3.0 */ +/* Copyright Justin S and Cuberite Team, licensed under CC-BY-SA 3.0 */ * { margin: 0; } diff --git a/Server/webadmin/login_template.html b/Server/webadmin/login_template.html index d0ab9b566..30b7d4f82 100644 --- a/Server/webadmin/login_template.html +++ b/Server/webadmin/login_template.html @@ -1,4 +1,4 @@ -<!-- Copyright Justin S and MCServer Team, licensed under CC-BY-SA 3.0 */ --> +<!-- Copyright Justin S and Cuberite Team, licensed under CC-BY-SA 3.0 */ --> <html> <head> <title>Cuberite WebAdmin - Login</title> @@ -32,7 +32,7 @@ <tbody> <tr> <td class="thead rounded_top"> - <div style="float:left!important"><strong>MCServer WebAdmin</strong></div> + <div style="float:left!important"><strong>Cuberite WebAdmin</strong></div> </td> </tr> <tr> diff --git a/Server/webadmin/template.html b/Server/webadmin/template.html index b0864e35d..305c566cd 100644 --- a/Server/webadmin/template.html +++ b/Server/webadmin/template.html @@ -110,9 +110,9 @@ #cssmenu > ul > li > a:after { border-color:#707070; } #cssmenu > ul > li > a:hover { background:#B8B8B8; } </style> - <meta name="msapplication-tooltip" content="MCServer WebAdministrator"/> + <meta name="msapplication-tooltip" content="Cuberite WebAdmin"/> <meta name="msapplication-navbutton-color" content="#B8B8B8" /> - <link rel="shortcut icon" href="http://mc-server.org/favicon.ico" /> + <link rel="shortcut icon" href="http://cuberite.org/favicon.ico" /> </head> <body> <div id="wrapper"> @@ -132,7 +132,7 @@ {CONTENT} </div> <footer> - <p>MCServer is using {MEM}MB of memory, with {NUMCHUNKS} chunks loaded.</p> + <p>Cuberite is using {MEM}MB of memory, with {NUMCHUNKS} chunks loaded.</p> <p>Web Design by <a href="https://github.com/WebFreak001"@WebFreak001</a></p> </footer> </div> diff --git a/Server/webadmin/template.lua b/Server/webadmin/template.lua index 00b2523b7..03ef95088 100644 --- a/Server/webadmin/template.lua +++ b/Server/webadmin/template.lua @@ -81,7 +81,7 @@ function ShowPage(WebAdmin, TemplateRequest) end Output([[ -<!-- Copyright Justin S and MCServer Team, licensed under CC-BY-SA 3.0 --> +<!-- Copyright Justin S and Cuberite Team, licensed under CC-BY-SA 3.0 --> <html> <head> <title>]] .. Title .. [[</title> @@ -94,7 +94,7 @@ function ShowPage(WebAdmin, TemplateRequest) <div class="pagehead"> <div class="row1"> <div class="wrapper"> - <img src="/logo_login.png" alt="MCServer Logo" class="logo"> + <img src="/logo_login.png" alt="Cuberite Logo" class="logo"> </div> </div> <div id="panel"> diff --git a/SetFlags.cmake b/SetFlags.cmake index 206a1da8e..4d6833edd 100644 --- a/SetFlags.cmake +++ b/SetFlags.cmake @@ -258,7 +258,7 @@ macro(set_exe_flags) if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") if ("${CLANG_VERSION}" VERSION_LESS 3.0) - message(FATAL_ERROR "MCServer requires clang version 3.0 or higher, version is ${CLANG_VERSION}") + message(FATAL_ERROR "Cuberite requires clang version 3.0 or higher, your version is ${CLANG_VERSION}") endif() # clang does not provide the __extern_always_inline macro and a part of libm depends on this when using fast-math add_flags_cxx("-D__extern_always_inline=inline") diff --git a/Tools/BlockZapper/BlockZapper.txt b/Tools/BlockZapper/BlockZapper.txt index 2b52c477e..06687abf6 100644 --- a/Tools/BlockZapper/BlockZapper.txt +++ b/Tools/BlockZapper/BlockZapper.txt @@ -11,7 +11,7 @@ If the specifier line ends with an additional " BE", both blocks and entities ar The tool is aware of extended blocktypes (256 .. 4096). -The source code for this tool is public domain, but note that it depends on a few shared sources in MCServer that may be under other licenses. +The source code for this tool is public domain, but note that it depends on a few shared sources in Cuberite that may be under other licenses. */ diff --git a/Tools/MemDumpAnalysis/MemDumpAnalysis.vcproj b/Tools/MemDumpAnalysis/MemDumpAnalysis.vcproj index 8283fd531..d237e2c36 100644 --- a/Tools/MemDumpAnalysis/MemDumpAnalysis.vcproj +++ b/Tools/MemDumpAnalysis/MemDumpAnalysis.vcproj @@ -62,7 +62,7 @@ /> <Tool Name="VCLinkerTool" - OutputFile="$(ProjectDir)\..\..\MCServer\$(ProjectName)_debug.exe" + OutputFile="$(ProjectDir)\..\..\Server\$(ProjectName)_debug.exe" LinkIncremental="2" GenerateDebugInformation="true" SubSystem="1" @@ -137,7 +137,7 @@ /> <Tool Name="VCLinkerTool" - OutputFile="$(ProjectDir)\..\..\MCServer\$(ProjectName).exe" + OutputFile="$(ProjectDir)\..\..\Server\$(ProjectName).exe" LinkIncremental="1" GenerateDebugInformation="true" SubSystem="1" diff --git a/docs/Generator.html b/docs/Generator.html index 85ebb91ca..3d4e09afe 100644 --- a/docs/Generator.html +++ b/docs/Generator.html @@ -1,12 +1,12 @@ <html> <head> -<title>Generating terrain in MCServer</title> +<title>Generating terrain in Cuberite</title> </head> <body> -<h1>Generating terrain in MCServer</h1> -<p>This article explains the principles behind the terrain generator in MCServer. It is not strictly -specific to MCServer, though, it can be viewed as a generic guide to various terrain-generating algorithms, -with specific implementation notes regarding MCServer.</p> +<h1>Generating terrain in Cuberite</h1> +<p>This article explains the principles behind the terrain generator in Cuberite. It is not strictly +specific to Cuberite, though, it can be viewed as a generic guide to various terrain-generating algorithms, +with specific implementation notes regarding Cuberite.</p> <p>Contents: <ul> @@ -80,7 +80,7 @@ neighboring chunks.</p> <hr /> <a name="composablegen"><h2>The ComposableGenerator pipeline</h2></a> -<p>This leads us directly to the main pipeline that is used for generating terrain in MCServer. For +<p>This leads us directly to the main pipeline that is used for generating terrain in Cuberite. For technical reasons, the terrain composition step is further subdivided into Height generation and Composition generation, and the structures are really called Finishers. For each chunk the generator generates, in this sequence: @@ -131,7 +131,7 @@ generated for any number of dimensions.</p> <a name="biomegen"><h2>Generating biomes</h2></a> <p>The easiest way to generate biomes is to not generate them at all - simply assign a single constant biome to everywhere. And indeed there are times when this kind of "generator" is useful - for the MineCraft's Flat -world type, or for testing purposes, or for tematic maps. In MCServer, this is exactly what the Constant +world type, or for testing purposes, or for tematic maps. In Cuberite, this is exactly what the Constant biome generator does.</p> <p>Of course, there are more interesting test scenarios for which multiple biomes must be generated as easy @@ -175,7 +175,7 @@ gives us the seed's X position. We use another Perlin noise and the same calcula seed.</p> <p>Here's an example of a biome map generated using the Voronoi + jitter grid, as implemented by the Voronoi -biome generator in MCServer:</p> +biome generator in Cuberite:</p> <img src="img/voronoijitterbiomes.png" /> <h3>Distorted Voronoi</h3> @@ -194,7 +194,7 @@ coordinate before sending the coordinates down to the Voronoi generator:</p> DistortedVoronoiBiome(X, Z) := VoronoiBiome(X + PerlinX(X, Z), Z + PerlinZ(X, Z)) </code> -<p>The following image shows the effects of the change, as generated by MCServer's DistortedVoronoi biome +<p>The following image shows the effects of the change, as generated by Cuberite's DistortedVoronoi biome generator. It is actually using the very same Voronoi map as the previous image, the only change has been the addition of the distortion:</p> <img src="img/distortedvoronoibiomes.png" /> @@ -241,7 +241,7 @@ either add them somewhere into the decision diagram, or we can make the generato </ul> </p> -<p>This is the approach implemented in MCServer's MultiStepMap biome generator. It generates biome maps like +<p>This is the approach implemented in Cuberite's MultiStepMap biome generator. It generates biome maps like this:</p> <img src="img/multistepmapbiomes.png" /> @@ -296,10 +296,10 @@ generator uses distortion before querying the small areas.</p> <img src="img/twolevelsmallgrid.jpg" /><br /> <img src="img/twolevelsmallareas.jpg" /><br /> -<p>The following image shows an example output of a TwoLevel biome generator in MCServer:</p> +<p>The following image shows an example output of a TwoLevel biome generator in Cuberite:</p> <img src="img/twolevelbiomes.png" /> -<p>Note that rivers are currently not implemented in this generator in MCServer, but they could be added +<p>Note that rivers are currently not implemented in this generator in Cuberite, but they could be added using the same approach as in MultiStepMap - by using a thresholded 2D Perlin noise.</p> @@ -332,12 +332,12 @@ suddenly become smooth. The following image shows the situation from the previou the averaging process: </p> <img src="img/biomeheightsavg.jpg" /> -<p>The approach used in MCServer's Biomal generator is based on this idea, with two slight modifications. +<p>The approach used in Cuberite's Biomal generator is based on this idea, with two slight modifications. Instead of using a separate generator for each biome, one generator is used with a different set of input parameters for each biomes. These input parameters modify the overall amplitude and frequency of the Perlin noise that the generator produces, thus modifying the final terrain with regards to biomes. Additionally, the averaging process is weighted - columns closer to the queried column get a more powerful weight in the sum -than the columns further away. The following image shows the output of MCServer's Biomal terrain height +than the columns further away. The following image shows the output of Cuberite's Biomal terrain height generator (each block type represents a different biome - ocean in the front (stone), plains and ice plains behind it (lapis, whitewool), extreme hills back right (soulsand), desert hills back left (mossy cobble)):</p> @@ -425,7 +425,7 @@ snow, for example.</p> into an ice block if the biome is cold. This means that any water block that is under any kind of other block, such as under a tree's leaves, will still stay water. Thus an additional improvement could be made by scanning down from the surface block through blocks that we deem as non-surface, such as leaves, torches, -ladders, fences etc. Note that MCServer currently implements only the easy solution.</p> +ladders, fences etc. Note that Cuberite currently implements only the easy solution.</p> <h3>Bottom lava</h3> <p>Most worlds in MineCraft have lava lakes at their bottom. Generating these is pretty straightforward: Use @@ -433,7 +433,7 @@ the user-configured depth and replace all the air blocks below this depth with l that this makes this generator dependent on the order in which the finishers are applied. If the mineshafts generate before bottom lava, the mineshafts that are below the lava level will get filled with lava. On the other hand, if bottom lava is generated before the mineshafts, it is possible for a mineshaft to "drill -through" a lake of lava. MCServer doesn't try to solve this and instead lets the admin choose whichever they +through" a lake of lava. Cuberite doesn't try to solve this and instead lets the admin choose whichever they prefer.</p> <h3>Specific foliage</h3> @@ -500,12 +500,12 @@ anywhere, so it would be rather useless.</p> surface, perhaps a bit more in the mountaineous biomes. There should be quite a few more springs underground, but there should definitely be more water springs than lava springs in the upper levels of the terrain, while there should be more lava springs and almost no water springs near the bottom. To accomodate this, the -MCServer team has made a tool that scanned through MineCraft's terrain and counted the amount of both types +Cuberite team has made a tool that scanned through MineCraft's terrain and counted the amount of both types of springs in relation to their height. Two curves have been found for the distribution of each type of the spring:</p> <img src="http://mc-server.xoft.cz/img/vanilla_springs_huge.png" /> -<p>MCServer uses an approximation of the above curves to choose the height at which to generate the +<p>Cuberite uses an approximation of the above curves to choose the height at which to generate the spring.</p> <!-- diff --git a/docs/_files.txt b/docs/_files.txt index 5147c62c8..85a4253c1 100644 --- a/docs/_files.txt +++ b/docs/_files.txt @@ -11,7 +11,7 @@ Login Sequence.txt - Annotated log of packets exchanged between the client and server for login; 1.6.2 protocol Object ownership.gv - - a GraphViz file to visualise ownership relations in the MCServer code architecture + - a GraphViz file to visualise ownership relations in the Cuberite code architecture SocketThreads states.gv - a GraphViz file documenting the states for individual sockets in cSocketThreads, and transitions between them diff --git a/src/Bindings/CMakeLists.txt b/src/Bindings/CMakeLists.txt index 702d38365..10cda1efb 100644 --- a/src/Bindings/CMakeLists.txt +++ b/src/Bindings/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required (VERSION 2.6) -project (MCServer) +project (Cuberite) include_directories ("${PROJECT_SOURCE_DIR}/../") include_directories (".") diff --git a/src/BlockEntities/CMakeLists.txt b/src/BlockEntities/CMakeLists.txt index fbf85d2af..6c164c4b4 100644 --- a/src/BlockEntities/CMakeLists.txt +++ b/src/BlockEntities/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 2.6) -project (MCServer) +project (Cuberite) include_directories ("${PROJECT_SOURCE_DIR}/../") diff --git a/src/Blocks/CMakeLists.txt b/src/Blocks/CMakeLists.txt index 1c12d9fbc..e9b3ce386 100644 --- a/src/Blocks/CMakeLists.txt +++ b/src/Blocks/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 2.6) -project (MCServer) +project (Cuberite) include_directories ("${PROJECT_SOURCE_DIR}/../") diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2478d4af4..3d9e10aa5 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -216,7 +216,7 @@ if (NOT MSVC) # If building a windows version, but not using MSVC, add the resources directly to the makefile: if (WIN32) - list(APPEND SOURCE "Resources/MCServer.rc") + list(APPEND SOURCE "Resources/Cuberite.rc") endif() else () # MSVC-specific handling: Put all files into one project, separate by the folders: @@ -276,7 +276,7 @@ else () SET_SOURCE_FILES_PROPERTIES( "StackWalker.cpp LeakFinder.cpp" PROPERTIES COMPILE_FLAGS "/Yc\"Globals.h\"" ) - list(APPEND SOURCE "Resources/MCServer.rc") + list(APPEND SOURCE "Resources/Cuberite.rc") # Make MSVC generate the PDB files even for the release build: set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /Zi") diff --git a/src/Cuberite.vcxproj.user b/src/Cuberite.vcxproj.user new file mode 100644 index 000000000..7ebd19d9b --- /dev/null +++ b/src/Cuberite.vcxproj.user @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <LocalDebuggerWorkingDirectory>../Server</LocalDebuggerWorkingDirectory> + <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseProfile|Win32'"> + <LocalDebuggerWorkingDirectory>../Server</LocalDebuggerWorkingDirectory> + <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|Win32'"> + <LocalDebuggerWorkingDirectory>../Server</LocalDebuggerWorkingDirectory> + <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|Win32'"> + <LocalDebuggerWorkingDirectory>../Server</LocalDebuggerWorkingDirectory> + <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <LocalDebuggerWorkingDirectory>../Server</LocalDebuggerWorkingDirectory> + <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugProfile|Win32'"> + <LocalDebuggerWorkingDirectory>../Server</LocalDebuggerWorkingDirectory> + <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> + </PropertyGroup> +</Project>
\ No newline at end of file diff --git a/src/Entities/CMakeLists.txt b/src/Entities/CMakeLists.txt index 54cca9c90..71964e90d 100644 --- a/src/Entities/CMakeLists.txt +++ b/src/Entities/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 2.6) -project (MCServer) +project (Cuberite) include_directories ("${PROJECT_SOURCE_DIR}/../") diff --git a/src/Generating/CMakeLists.txt b/src/Generating/CMakeLists.txt index d15d9eba0..dd346b6c4 100644 --- a/src/Generating/CMakeLists.txt +++ b/src/Generating/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 2.6) -project (MCServer) +project (Cuberite) include_directories ("${PROJECT_SOURCE_DIR}/../") diff --git a/src/HTTPServer/CMakeLists.txt b/src/HTTPServer/CMakeLists.txt index b875b9145..a08a1fcf8 100644 --- a/src/HTTPServer/CMakeLists.txt +++ b/src/HTTPServer/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 2.6) -project (MCServer) +project (Cuberite) include_directories ("${PROJECT_SOURCE_DIR}/../") diff --git a/src/Items/CMakeLists.txt b/src/Items/CMakeLists.txt index 2e719d1a6..9b3a2d8b5 100644 --- a/src/Items/CMakeLists.txt +++ b/src/Items/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 2.6) -project (MCServer) +project (Cuberite) include_directories ("${PROJECT_SOURCE_DIR}/../") diff --git a/src/MCServer.vcproj.user b/src/MCServer.vcproj.user deleted file mode 100644 index b17909f71..000000000 --- a/src/MCServer.vcproj.user +++ /dev/null @@ -1,167 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<VisualStudioUserFile - ProjectType="Visual C++" - Version="9,00" - ShowAllFiles="false" - > - <Configurations> - <Configuration - Name="Debug|Win32" - > - <DebugSettings - Command="$(TargetPath)" - WorkingDirectory="..\MCServer" - CommandArguments="" - Attach="false" - DebuggerType="3" - RemoteCommand="" - HttpUrl="" - PDBPath="" - SQLDebugging="" - Environment="" - EnvironmentMerge="true" - DebuggerFlavor="0" - MPIRunCommand="" - MPIRunArguments="" - MPIRunWorkingDirectory="" - ApplicationCommand="" - ApplicationArguments="" - ShimCommand="" - MPIAcceptMode="" - MPIAcceptFilter="" - /> - </Configuration> - <Configuration - Name="DebugProfile|Win32" - > - <DebugSettings - Command="$(TargetPath)" - WorkingDirectory="..\MCServer" - CommandArguments="" - Attach="false" - DebuggerType="3" - RemoteCommand="" - HttpUrl="" - PDBPath="" - SQLDebugging="" - Environment="" - EnvironmentMerge="true" - DebuggerFlavor="0" - MPIRunCommand="" - MPIRunArguments="" - MPIRunWorkingDirectory="" - ApplicationCommand="" - ApplicationArguments="" - ShimCommand="" - MPIAcceptMode="" - MPIAcceptFilter="" - /> - </Configuration> - <Configuration - Name="MinSizeRel|Win32" - > - <DebugSettings - Command="$(TargetPath)" - WorkingDirectory="..\MCServer" - CommandArguments="" - Attach="false" - DebuggerType="3" - RemoteCommand="" - HttpUrl="" - PDBPath="" - SQLDebugging="" - Environment="" - EnvironmentMerge="true" - DebuggerFlavor="0" - MPIRunCommand="" - MPIRunArguments="" - MPIRunWorkingDirectory="" - ApplicationCommand="" - ApplicationArguments="" - ShimCommand="" - MPIAcceptMode="" - MPIAcceptFilter="" - /> - </Configuration> - <Configuration - Name="Release|Win32" - > - <DebugSettings - Command="$(TargetPath)" - WorkingDirectory="..\MCServer" - CommandArguments="" - Attach="false" - DebuggerType="3" - RemoteCommand="" - HttpUrl="" - PDBPath="" - SQLDebugging="" - Environment="" - EnvironmentMerge="true" - DebuggerFlavor="0" - MPIRunCommand="" - MPIRunArguments="" - MPIRunWorkingDirectory="" - ApplicationCommand="" - ApplicationArguments="" - ShimCommand="" - MPIAcceptMode="" - MPIAcceptFilter="" - /> - </Configuration> - <Configuration - Name="ReleaseProfile|Win32" - > - <DebugSettings - Command="$(TargetPath)" - WorkingDirectory="..\MCServer" - CommandArguments="" - Attach="false" - DebuggerType="3" - Remote="1" - RemoteMachine="ASAGA" - RemoteCommand="" - HttpUrl="" - PDBPath="" - SQLDebugging="" - Environment="" - EnvironmentMerge="true" - DebuggerFlavor="0" - MPIRunCommand="" - MPIRunArguments="" - MPIRunWorkingDirectory="" - ApplicationCommand="" - ApplicationArguments="" - ShimCommand="" - MPIAcceptMode="" - MPIAcceptFilter="" - /> - </Configuration> - <Configuration - Name="RelWithDebInfo|Win32" - > - <DebugSettings - Command="$(TargetPath)" - WorkingDirectory="..\MCServer" - CommandArguments="" - Attach="false" - DebuggerType="3" - RemoteCommand="" - HttpUrl="" - PDBPath="" - SQLDebugging="" - Environment="" - EnvironmentMerge="true" - DebuggerFlavor="0" - MPIRunCommand="" - MPIRunArguments="" - MPIRunWorkingDirectory="" - ApplicationCommand="" - ApplicationArguments="" - ShimCommand="" - MPIAcceptMode="" - MPIAcceptFilter="" - /> - </Configuration> - </Configurations> -</VisualStudioUserFile> diff --git a/src/Mobs/CMakeLists.txt b/src/Mobs/CMakeLists.txt index 14c7a8ca3..4336af7c3 100644 --- a/src/Mobs/CMakeLists.txt +++ b/src/Mobs/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 2.6) -project (MCServer) +project (Cuberite) include_directories ("${PROJECT_SOURCE_DIR}/../") diff --git a/src/Noise/CMakeLists.txt b/src/Noise/CMakeLists.txt index 39f3bc975..4e99347f8 100644 --- a/src/Noise/CMakeLists.txt +++ b/src/Noise/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 2.6) -project (MCServer) +project (Cuberite) include_directories ("${PROJECT_SOURCE_DIR}/../") diff --git a/src/OSSupport/CMakeLists.txt b/src/OSSupport/CMakeLists.txt index ce1d5c530..ee8067c6f 100644 --- a/src/OSSupport/CMakeLists.txt +++ b/src/OSSupport/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 2.6) -project (MCServer) +project (Cuberite) include_directories ("${PROJECT_SOURCE_DIR}/../") diff --git a/src/PolarSSL++/CMakeLists.txt b/src/PolarSSL++/CMakeLists.txt index fddb37501..3f268ad13 100644 --- a/src/PolarSSL++/CMakeLists.txt +++ b/src/PolarSSL++/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required (VERSION 2.6) -project (MCServer) +project (Cuberite) include_directories ("${PROJECT_SOURCE_DIR}/../") diff --git a/src/Protocol/CMakeLists.txt b/src/Protocol/CMakeLists.txt index 58a69efbf..cd4f33c60 100644 --- a/src/Protocol/CMakeLists.txt +++ b/src/Protocol/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 2.6) -project (MCServer) +project (Cuberite) include_directories ("${PROJECT_SOURCE_DIR}/../") diff --git a/src/Resources/MCServer.rc b/src/Resources/Cuberite.rc index e0fbbea5d..779487458 100644 --- a/src/Resources/MCServer.rc +++ b/src/Resources/Cuberite.rc @@ -5,7 +5,7 @@ #include <windows.h> #include <commctrl.h> #include <richedit.h> -#include "resource_MCServer.h" +#include "resource_Cuberite.h" diff --git a/src/Resources/resource_MCServer.h b/src/Resources/resource_Cuberite.h index 42f6c4eaf..42f6c4eaf 100644 --- a/src/Resources/resource_MCServer.h +++ b/src/Resources/resource_Cuberite.h diff --git a/src/Simulator/CMakeLists.txt b/src/Simulator/CMakeLists.txt index a798e4b02..98b4499c7 100644 --- a/src/Simulator/CMakeLists.txt +++ b/src/Simulator/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 2.6) -project (MCServer) +project (Cuberite) include_directories ("${PROJECT_SOURCE_DIR}/../") diff --git a/src/Simulator/IncrementalRedstoneSimulator/CMakeLists.txt b/src/Simulator/IncrementalRedstoneSimulator/CMakeLists.txt index e37f3595c..87052d00a 100644 --- a/src/Simulator/IncrementalRedstoneSimulator/CMakeLists.txt +++ b/src/Simulator/IncrementalRedstoneSimulator/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required (VERSION 2.6) -project (MCServer) +project (Cuberite) include_directories ("${PROJECT_SOURCE_DIR}/../") diff --git a/src/UI/CMakeLists.txt b/src/UI/CMakeLists.txt index ad3c00f5f..6753c453e 100644 --- a/src/UI/CMakeLists.txt +++ b/src/UI/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 2.6) -project (MCServer) +project (Cuberite) include_directories ("${PROJECT_SOURCE_DIR}/../") diff --git a/src/WorldStorage/CMakeLists.txt b/src/WorldStorage/CMakeLists.txt index 2192564e8..1d8b60140 100644 --- a/src/WorldStorage/CMakeLists.txt +++ b/src/WorldStorage/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 2.6) -project (MCServer) +project (Cuberite) include_directories ("${PROJECT_SOURCE_DIR}/../") diff --git a/tests/LoadablePieces/Stubs.cpp b/tests/LoadablePieces/Stubs.cpp index bd05d5ce7..5fbd7b599 100644 --- a/tests/LoadablePieces/Stubs.cpp +++ b/tests/LoadablePieces/Stubs.cpp @@ -1,8 +1,8 @@ // Stubs.cpp -// Implements stubs of various MCServer methods that are needed for linking but not for runtime -// This is required so that we don't bring in the entire MCServer via dependencies +// Implements stubs of various Cuberite methods that are needed for linking but not for runtime +// This is required so that we don't bring in the entire Cuberite via dependencies #include "Globals.h" #include "BlockInfo.h" diff --git a/tests/NoiseTest/GNUmakefile b/tests/NoiseTest/GNUmakefile index 15617b6ce..0ba473897 100644 --- a/tests/NoiseTest/GNUmakefile +++ b/tests/NoiseTest/GNUmakefile @@ -128,7 +128,7 @@ clean : ################################################### -# Build the parts of MCServer +# Build the parts of Cuberite # # options used: # -x c ... compile as C code |