mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-07 12:21:52 +09:00
changed world's GENVER spec so that it will always save the game's version number
This commit is contained in:
@@ -49,7 +49,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
const val VERSION_RAW = 0x00030001
|
||||
// Commit counts up to the Release 0.3: 2259 (plz update!)
|
||||
// Commit counts up to the Release 0.3.0: 2259 (plz update!)
|
||||
|
||||
//////////////////////////////////////////////////////////
|
||||
// CONFIGURATION FOR TILE MAKER //
|
||||
|
||||
@@ -4,6 +4,7 @@ import com.badlogic.gdx.utils.Json
|
||||
import com.badlogic.gdx.utils.JsonValue
|
||||
import com.badlogic.gdx.utils.JsonWriter
|
||||
import net.torvald.random.HQRNG
|
||||
import net.torvald.terrarum.TerrarumAppConfiguration
|
||||
import net.torvald.terrarum.console.EchoError
|
||||
import net.torvald.terrarum.gameworld.BlockLayer
|
||||
import net.torvald.terrarum.gameworld.GameWorld
|
||||
@@ -27,7 +28,7 @@ import java.util.zip.GZIPOutputStream
|
||||
*/
|
||||
object Common {
|
||||
|
||||
const val GENVER = 4
|
||||
const val GENVER = TerrarumAppConfiguration.VERSION_RAW
|
||||
const val COMP_NONE = 0
|
||||
const val COMP_GZIP = 1
|
||||
const val COMP_LZMA = 2
|
||||
|
||||
@@ -44,7 +44,7 @@ Following code is an example Savegame JSON files.
|
||||
```
|
||||
{
|
||||
savename: "Test World 1",
|
||||
genver: 4, /* generator version in integer */
|
||||
genver: 0x00030001, /* generator version in integer; always use TerrarumAppConfiguration.VERSION_RAW */
|
||||
terrseed: "84088805e145b555",
|
||||
randseed: "19b25856e1c150ca834cffc8b59b23ad",
|
||||
weatseed: "e5e72beb4e3c6926d3dc9e3e2ef7833b",
|
||||
|
||||
Reference in New Issue
Block a user