Project Alice
Loading...
Searching...
No Matches
sphere.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

std::vector< uint32_tget_global_sphere_color (sys::state &state)
 
std::vector< uint32_tget_selected_sphere_color (sys::state &state)
 
std::vector< uint32_tsphere_map_from (sys::state &state)
 

Function Documentation

◆ get_global_sphere_color()

std::vector< uint32_t > get_global_sphere_color ( sys::state state)

Definition at line 3 of file sphere.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_selected_sphere_color()

std::vector< uint32_t > get_selected_sphere_color ( sys::state state)

Color logic

  • GP -> Green

In Sphere -> Yellow

  • Is influenced -> Blue

Is influenced by more than 1 -> Add Red Stripes

The concept of influenced is weird, if a tag has cordial relations with a gp but the influence is 0, then its not influenced Only the influence value should be taken into account

If country is in sphere or is sphere master Paint only the tags influenced by the master, including spherearlings Else Paint the tags that influence the country + the country

Definition at line 35 of file sphere.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sphere_map_from()

std::vector< uint32_t > sphere_map_from ( sys::state state)

Definition at line 166 of file sphere.hpp.

Here is the call graph for this function:
Here is the caller graph for this function: