HyperRogue  11.3d
game/visualization engine based on non-Euclidean geometry
Classes | Namespaces | Macros | Functions | Variables
complex2.cpp File Reference

Continuation of complex.cpp. More...

#include "hyper.h"

Classes

struct  hr::variant::feature
 

Namespaces

 hr
 

Macros

#define VF   [] (cell *c)
 

Functions

void hr::brownian::rise (cell *c, int val)
 
void hr::brownian::recurse (cell *c, int fatten_from)
 
EX void hr::brownian::dissolve_brownian (cell *c, int x)
 
EX void hr::brownian::dissolve (cell *c, int x)
 
EX void hr::brownian::init (cell *c)
 
EX void hr::brownian::init_further (cell *c)
 
EX void hr::brownian::apply_futures (cell *c)
 
EX void hr::brownian::build (cell *c, int d)
 
EX color_t hr::brownian::get_color (int y)
 
EX color_t & hr::brownian::get_color_edit (int y)
 
EX void hr::westwall::switchTreasure (cell *c)
 
EX int hr::westwall::coastvalEdge1 (cell *c)
 
void hr::westwall::build (vector< cell * > &whirlline, int d)
 
void hr::westwall::moveAt (cell *c, manual_celllister &cl)
 
EX void hr::westwall::move ()
 
bool hr::variant::hrand_var (int i)
 
EX string hr::camelot::knight_name (cell *c)
 
EX void hr::camelot::move_knight (cell *c1, cell *c2)
 
EX void hr::camelot::roundTableMessage (cell *c2)
 
EX void hr::camelot::knightFlavorMessage (cell *c2)
 
EX bool hr::mine::uncoverMines (cell *c, int lev, int dist, bool just_checking)
 
EX bool hr::mine::mightBeMine (cell *c)
 
EX void hr::mine::performMarkCommand (cell *c)
 
EX bool hr::mine::marked_mine (cell *c)
 
EX bool hr::mine::marked_safe (cell *c)
 
EX bool hr::mine::safe ()
 
EX void hr::mine::uncover_full (cell *c2)
 
EX void hr::mine::auto_teleport_charges ()
 
EX void hr::terracotta::check (cell *c)
 
EX void hr::terracotta::check_around (cell *c)
 
EX void hr::terracotta::check ()
 
EX void hr::ambush::mark (cell *c, manual_celllister &cl)
 
EX void hr::ambush::check_state ()
 
EX int hr::ambush::size (cell *c, eItem what)
 
EX void hr::ambush::ambush (cell *c, int dogs)
 

Variables

const int hr::brownian::level = 5
 
map< cell *, vector< pair< cell *, int > > > hr::brownian::futures
 
int hr::brownian::centersteps = 0
 
int hr::brownian::totalsteps = 0
 
EX colortable hr::brownian::colors = { 0x603000, 0x804000, 0xA05000, 0xC09050, 0xE0D0A0 }
 
int hr::brownian::hrc
 
array< feature, 21 > hr::variant::features
 
EX int hr::camelot::knighted = 0
 
EX int hr::camelot::anthraxBonus = 0
 
vector< string > hr::camelot::knight_names
 
map< cell *, int > hr::camelot::knight_id
 
EX hookset< bool(cell *)> * hr::mine::hooks_mark
 
EX int hr::ambush::distance
 
EX bool hr::ambush::ambushed
 
EX int hr::ambush::fixed_size
 

Detailed Description

Continuation of complex.cpp.

Includes: Brownian, Irradiated, Free Fall

Variable Documentation

◆ hrc

int hr::brownian::hrc
Initial value:
= addHook(hooks_removecells, 0, [] () {
vector<cell*> to_remove;
for(auto p: futures) if(is_cell_removed(p.first)) to_remove.push_back(p.first);
for(auto r: to_remove) futures.erase(r);
}) + addHook(clearmemory, 0, [] () { futures.clear(); })
+ addHook(hooks_gamedata, 0, [] (gamedata* gd) { gd->store(futures); })

◆ knighted

EX int hr::camelot::knighted = 0

number of Grails collected, to show you as a knight

◆ anthraxBonus

EX int hr::camelot::anthraxBonus = 0

this value is used when using Orb of Safety in the Camelot in Pure Tactics Mode

◆ knight_names

vector<string> hr::camelot::knight_names
Initial value:
= {
"DivisionByZero", "tricosahedron", "BillSYZ0317", "rjdimo", "Person", "Strange Yeah", "godamnsteemsux", "Allalinor", "Spuddnik", "QETC Crimson",
"cannobeens", "Dylgear", "Patashu", "hotdogPi", "vincent", "Chimera245", "BreedPineapple", "TaeK", "Aliased", "Vipul", "english5040", "marvincast",
"Lord Ignus", "Darth Calculus", "*****-mail", "Wheat Wizard", "xiqnyl", "zelda0x181e", "ad-jones", "mtomato", "Fififionek", "jkvw3", "J Pystynen",
"krstefan11", "green orange", "ZombieGirl1616", "z.chlebicki", "Lokki", "zeno", "Fulgur14", "uqblf", "santagonewrong", "CtrlAltDestroy", "Vee Nought",
"archmageomega", "Wroclaw", "lunaduskjr", "loper", "Sharklilly", "Dasypus Daimon", "Mateusz", "guysige", "MrSprucetree", "Atia", "nerdyjoe", "florrat",
"psychopanda121", "Sprite Guard", "Fluffiest Princess", "no stop", "Kieroshark", "juhdanad", "lllllllllwith10ls", "NattieGilgamesh", "chocokels", "oren",
"sir289", "pringle", "Spicy", "Cheetahs", "xy2", "Heavpoot", "2jjy", "Hirgon", "martradams", "TravelDemon", "The Big Extent", "fones4jenke13", "ekisacik",
"j0eymcgrath", "EatChangmyeong", "craus", "akei_arkay", "__________", "Ichigo Jam", "supernewton", "Westville", "Huja (chat off)", "Just A Witch", "Particles",
"The Horrendous Space Kablooie", "ddtizm", "amagikuser", "vkozulya", "gassa", "Factitious", "wonderfullizardofoz", "woofmao", "CandorVelexion", "Toricon",
"Vectis99", "RobotNerd277", "jerrypoons", "MagmaMcFry", "unczane", "glass", "Wegener", "JeLomun", "kip", "Fooruman", "Prezombie", "ashley89", "bjobae",
"MFErtre", "Roaringdragon2", "howilovepi", "Yulgash", "coper", "Tirear", "qoala _", "Tiegon", "Metroid26", "Sklorg", "Fumblestealth", "Toph", "jruderman",
"ray", "Deathroll", "Sinquetica", "mootmoot", "Noobinator", "Gunblob", "Snakebird Priestess", "brisingre", "Khashishi", "Berenthas", "Misery", "Altripp", "Aldrenean",
}