Documentation ¶
Overview ¶
Package vplevel contains the implementation of a level, the part of the game world that is not influenced by players and their actions.
Index ¶
Constants ¶
const LocalIDSeconds = 0
LocalIDSeconds is the number of seconds it should take to generate a system when playing local games.
const LocalIDZeroes = 0
LocalIDZeroes is the number of zeroes we should expect in ID signature when generating a system for network games.
const MaxPlanetSizeLarge = 1000
MaxPlanetSizeLarge is the maximum size, in number of squares per side, of a planet, when using the "large" settings.
const MaxPlanetSizeMedium = 300
MaxPlanetSizeMedium is the maximum size, in number of squares per side, of a planet, when using the "medium" settings.
const MaxPlanetSizeSmall = 80
MaxPlanetSizeSmall is the maximum size, in number of squares per side, of a planet, when using the "small" settings.
const MaxSquareSizeLarge = 25
MaxSquareSizeLarge is the maximum size, in meters, of a square when using the "large" settings.
const MaxSquareSizeMedium = 10
MaxSquareSizeMedium is the maximum size, in meters, of a square when using the "medium" settings.
const MaxSquareSizeSmall = 5
MaxSquareSizeSmall is the maximum size, in meters, of a square when using the "small" settings.
const MaxSystemSizeLarge = 42
MaxSystemSizeLarge is the maximum size, in number of planets, of a system, when using the "large" settings.
const MaxSystemSizeMedium = 7
MaxSystemSizeMedium is the maimum size, in number of planets, of a system, when using the "medium" settings.
const MaxSystemSizeSmall = 1
MaxSystemSizeSmall is the maximum size, in number of planets, of a system, when using the "small" settings.
const MinPlanetSizeLarge = 100
MinPlanetSizeLarge is the minimum size, in number of squares per side, of a planet, when using the "large" settings.
const MinPlanetSizeMedium = 60
MinPlanetSizeMedium is the minimum size, in number of squares per side, of a planet, when using the "medium" settings.
const MinPlanetSizeSmall = 50
MinPlanetSizeSmall is the minimum size, in number of squares per side, of a planet, when using the "small" settings.
const MinSquareSizeLarge = 5
MinSquareSizeLarge is the minimum size, in meters, of a square when using the "large" settings.
const MinSquareSizeMedium = 2
MinSquareSizeMedium is the minimum size, in meters, of a square when using the "medium" settings.
const MinSquareSizeSmall = 1
MinSquareSizeSmall is the minimum size, in meters, of a square when using the "small" settings.
const MinSystemSizeLarge = 3
MinSystemSizeLarge is the minimum size, in number of planets, of a system, when using the "large" settings.
const MinSystemSizeMedium = 2
MinSystemSizeMedium is the minimum size, in number of planets, of a system, when using the "medium" settings.
const MinSystemSizeSmall = 1
MinSystemSizeSmall is the minimum size, in number of planets, of a system, when using the "small" settings.
const NetworkIDSeconds = 5
NetworkIDSeconds is the number of seconds it should take to generate a system when playing network games.
const NetworkIDZeroes = 12
NetworkIDZeroes is the number of zeroes we should expect in ID signature when generating a system for network games.
const PackageCopyright = "Copyright (C) 2015, 2016 Christian Mauduit <ufoot@ufoot.org>" // PackageCopyright set by version.sh
PackageCopyright contains a short copyright notice.
const PackageEmail = "ufoot@ufoot.org" // PackageEmail set by version.sh
PackageEmail contains a contact email for the package.
const PackageLicense = "GNU GPL v3" // PackageLicense set by version.sh
PackageLicense contains a short license information.
const PackageName = "Vapor Toolkit" // PackageName set by version.sh
PackageName contains a readable name of the package, suitable for display.
const PackageTarname = "vapor" // PackageTarname set by version.sh
PackageTarname contains a short name of the package, suitable for a filename.
const PackageURL = "https://github.com/ufoot/vapor" // PackageURL set by version.sh
PackageURL contains the address of the project homepage.
const VersionMajor = 0 // VersionMajor set by version.sh
VersionMajor is the project major version.
const VersionMinor = 3 // VersionMinor set by version.sh
VersionMinor is the project minor version.
const VersionStamp = "c6a4298" // VersionStamp set by version.sh
VersionStamp is the project stamp, possibly changes for each build.
Variables ¶
This section is empty.