Module godotbase

Types

Error* {.
size: sizeof(cint), pure
.} = enum OK, Failed, ## Generic fail error Unavailable, ## What is requested is unsupported/unavailable Unconfigured, ## The object being used hasnt been properly set up yet Unauthorized, ## Missing credentials for requested resource ParameterRangeError, ## Parameter given out of range (5) OutOfMemory, ## Out of memory FileNotFound, FileBadDrive, FileBadPath, FileNoPermission, ## (10) FileAlreadyInUse, FileCantOpen, FileCantWrite, FileCantRead, FileUnrecognized, ## (15) FileCorrupt, FileMissingDependencies, FileEOF, CantOpen, ## Can't open a resource/socket/file CantCreate, ## (20) QueryFailed, AlreadyInUse, Locked, ## resource is locked Timeout, CantConnect, ## (25) CantResolve, ConnectionError, CantAquireResource, CantFork, InvalidData, ## Data passed is invalid (30) InvalidParameter, ## Parameter passed is invalid AlreadyExists, ## When adding, item already exists DoesNotExist, ## When retrieving/erasing, it item does not exist DatabaseCantRead, ## Database is full DatabaseCantWrite, ## Database is full (35) CompilationFailed, MethodNotFound, LinkFailed, ScriptFailed, CyclicLink, ## (40) InvalidDeclaration, DuplicateSymbol, PauseError, Busy, Skip, ## (45) Help, ## user requested help!! Bug, ## a bug in the software certainly happened, due to a double ## check failing or unexpected behavior. PrinterOnFire, ## the parallel port printer is engulfed in flames WTF ## shit happens, has never been used, though
  Source Edit

Procs

proc isEqualApprox*(a, b: float32): bool {.
inline
.}
  Source Edit
proc isEqualApprox*(a, b: float64): bool {.
inline
.}
  Source Edit
proc sign*(a: float32): float32 {.
inline
.}
  Source Edit
proc sign*(a: float64): float64 {.
inline
.}
  Source Edit
proc stepify*(value, step: float64): float64
  Source Edit
proc stepify*(value, step: float32): float32
  Source Edit