Project Alice
Loading...
Searching...
No Matches
economy_viewer Namespace Reference

Enumerations

enum class  static_elements : int32_t {
  markets = 0 , factory_types = 1000 , factory_type_page = 1500 , factory_type_page_number = 1600 ,
  factory_type_priority_button = 1700 , factory_type_selector = 2000 , commodities = 3000 , commodities_inputs = 4000 ,
  commodities_inputs_amount = 5000 , commodities_inputs_cost = 6000 , commodities_e_inputs = 7000 , commodities_e_inputs_amount = 8000 ,
  commodities_e_inputs_cost = 9000 , commodities_output = 10000 , commodities_output_amount = 11000 , commodities_output_cost = 12000 ,
  commodities_button = 10000000 , factory_types_button = 10000001 , close_factory_type_description = 10000002 , province_name = 10000003 ,
  state_def_name = 10000004 , factory_type_name = 10000005 , factory_type_total = 10000006 , priority_text = 10000007 ,
  priority_text_national = 10000008 , priority_text_private = 10000009 , priority_text_bonus = 10000010 , priority_value_national = 10000011 ,
  priority_value_private = 10000012 , priority_value_bonus = 10000013 , tab_name_commodity = 10005000 , tab_name_factory_type = 10005001 ,
  tab_name_production_chain = 10005002 , input_efficiency_leaders = 10006000
}
 

Functions

void update (sys::state &state)
 
void commodity_panel (sys::state &state, int32_t identifier_amount, int32_t identifier_cost, dcon::commodity_id cid, float amount, float price, iui::rect &r)
 
void render (sys::state &state)
 

Enumeration Type Documentation

◆ static_elements

enum class economy_viewer::static_elements : int32_t
strong
Enumerator
markets 
factory_types 
factory_type_page 
factory_type_page_number 
factory_type_priority_button 
factory_type_selector 
commodities 
commodities_inputs 
commodities_inputs_amount 
commodities_inputs_cost 
commodities_e_inputs 
commodities_e_inputs_amount 
commodities_e_inputs_cost 
commodities_output 
commodities_output_amount 
commodities_output_cost 
commodities_button 
factory_types_button 
close_factory_type_description 
province_name 
state_def_name 
factory_type_name 
factory_type_total 
priority_text 
priority_text_national 
priority_text_private 
priority_text_bonus 
priority_value_national 
priority_value_private 
priority_value_bonus 
tab_name_commodity 
tab_name_factory_type 
tab_name_production_chain 
input_efficiency_leaders 

Definition at line 5 of file economy_viewer.cpp.

Function Documentation

◆ commodity_panel()

void economy_viewer::commodity_panel ( sys::state state,
int32_t  identifier_amount,
int32_t  identifier_cost,
dcon::commodity_id  cid,
float  amount,
float  price,
iui::rect r 
)

Definition at line 104 of file economy_viewer.cpp.

Here is the call graph for this function:

◆ render()

void economy_viewer::render ( sys::state state)

Definition at line 122 of file economy_viewer.cpp.

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

◆ update()

void economy_viewer::update ( sys::state state)

Definition at line 49 of file economy_viewer.cpp.

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