TEXTURE namespace JJ2+

Textures and styles of textured backgrounds

Enums

enum Style { WARPHORIZON, TUNNEL, MENU, TILEMENU, WAVE, CYLINDER, REFLECTION } JJ2+
Effect a textured layer is drawn with, see jjLAYER::textureStyle
enum Texture { FROMTILES = 0, LAYER8 = 0, NORMAL = 1, PSYCH = 2, MEDIVO = 3, DIAMONDUSBETA = 4, WISETYNESS = 5, BLADE = 6, MEZ02 = 7, WINDSTORMFORTRESS = 8, RANEFORUSV = 9, CORRUPTEDSANCTUARY = 10, XARGON = 11, ICTUBELECTRIC = 12, WTF = 13, MUCKAMOKNIGHT = 14, DESOLATION = 15, CUSTOM } JJ2+
Image a textured layer is drawn with

Enum documentation

enum TEXTURE::Style JJ2+

Effect a textured layer is drawn with, see jjLAYER::textureStyle

Enumerators
WARPHORIZON

Floor and ceiling stretching to a horizon, see jjLAYER::warpHorizon

TUNNEL

Rings shrinking into the distance, see jjLAYER::tunnel

MENU

Rotating background of the main menu, currently drawn as WARPHORIZON, see jjLAYER::menu

TILEMENU

Rotating background of the main menu made of the texture and tiles, see jjLAYER::tileMenu

WAVE

Flat repeated texture distorted by sine waves, see jjLAYER::wave

CYLINDER

Inside of a horizontal tube, see jjLAYER::cylinder

REFLECTION

Plane below the horizon mirroring what's above it, see jjLAYER::reflection

enum TEXTURE::Texture JJ2+

Image a textured layer is drawn with

Every texture is 256×256 pixels. Apart from FROMTILES and CUSTOM, the values are built-in textures named after the tile sets they were taken from, read from a data file in the game's Source directory.

Enumerators
FROMTILES

The 8×8 tiles at the top left corner of the layer

LAYER8

Former name of FROMTILES

NORMAL
PSYCH
MEDIVO
DIAMONDUSBETA
WISETYNESS
BLADE
MEZ02
WINDSTORMFORTRESS
RANEFORUSV
CORRUPTEDSANCTUARY
XARGON
ICTUBELECTRIC
WTF
MUCKAMOKNIGHT
DESOLATION
CUSTOM

An image given by jjPIXELMAP::makeTexture(), assigning it has no use