Virtual U.org
Get Personal Training on VU Today
    
Top shadow
 
 register/help
User Name:

Password:

Athletics class Reference
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

Athletics Class Reference

#include <Oathleti.h>

List of all members.

Public Methods

 Athletics ()
 ~Athletics ()
void init ()
void deinit ()
void report (int)
int detect ()
int detect2 ()
int write_file (File *filePtr)
int read_file (File *filePtr)
void init_data_pre_finance ()
void init_data ()
void next_day ()
void input_2_ncaa_level (int newNcaaLevel)
void calc_adjusted_revenue_expense (int &revenue, int &expense)

Public Attributes

char current_mode
float spinner_var1
int ncaa_level_input
float ncaa_level_value
int last_ncaa_level_input
int football_graph [HISTORY_YEAR_COUNT2]
int basketball_graph [HISTORY_YEAR_COUNT2]
float history_value [HISTORY_YEAR_COUNT2]
int total_game
int total_football_game
int total_basketball_game
float avg_percent_win
float football_percent_win
float basketball_percent_win
float football_probability_win
float basketball_probability_win
int football_game_count [NCAA_LEVEL_COUNT]
int basketball_game_count [NCAA_LEVEL_COUNT]


Detailed Description

The Athletics Department module. This class contains the athletic office functions. It calculates the revenues and expense for the athletics department and win-loss records of the athletics teams. Used by Info::next_day() to process daily operations.

Definition at line 29 of file Oathleti.h.


Constructor & Destructor Documentation

Athletics::Athletics  
 

Definition at line 241 of file Oathl_if.cpp.

Athletics::~Athletics  
 

Definition at line 249 of file Oathl_if.cpp.


Member Function Documentation

void Athletics::calc_adjusted_revenue_expense int &    revenue,
int &    expense
 

Definition at line 424 of file Oathl_st.cpp.

References AC_ATHLETICS, and AC_INTERCOLLEGIATE_ATHLETICS.

void Athletics::deinit  
 

Definition at line 257 of file Oathl_if.cpp.

References NULL.

int Athletics::detect  
 

return value: 0-not detected, 1-detected

Definition at line 356 of file Oathl_if.cpp.

int Athletics::detect2  
 

return value: 0-not detected, 1-detected

Definition at line 372 of file Oathl_if.cpp.

void Athletics::init  
 

Definition at line 280 of file Oathl_if.cpp.

References NULL.

void Athletics::init_data  
 

Definition at line 70 of file Oathl_st.cpp.

References AC_ATHLETICS.

void Athletics::init_data_pre_finance  
 

Definition at line 32 of file Oathl_st.cpp.

void Athletics::input_2_ncaa_level int    newNcaaLevel
 

Definition at line 403 of file Oathl_st.cpp.

void Athletics::next_day  
 

Definition at line 106 of file Oathl_st.cpp.

int Athletics::read_file File   filePtr
 

Definition at line 399 of file OGFILE3.CPP.

References File::file_read().

void Athletics::report int   
 

Definition at line 296 of file Oathl_if.cpp.

References BG_PIC_ID, BOTTOM_BUTTON_DISTANCE, BOTTOM_BUTTON_HEIGHT, BOTTOM_BUTTON_WIDTH, BOTTOM_BUTTON_X1, BOTTOM_BUTTON_Y1, and INFO_REPAINT.

int Athletics::write_file File   filePtr
 

Definition at line 395 of file OGFILE3.CPP.

References File::file_write().


Member Data Documentation

float Athletics::avg_percent_win
 

Definition at line 69 of file Oathleti.h.

int Athletics::basketball_game_count[NCAA_LEVEL_COUNT]
 

Definition at line 92 of file Oathleti.h.

Referenced by Letter::init_welcome_letter().

int Athletics::basketball_graph[HISTORY_YEAR_COUNT2]
 

Definition at line 56 of file Oathleti.h.

float Athletics::basketball_percent_win
 

Definition at line 71 of file Oathleti.h.

float Athletics::basketball_probability_win
 

Definition at line 89 of file Oathleti.h.

Referenced by Letter::init_welcome_letter().

char Athletics::current_mode
 

Definition at line 39 of file Oathleti.h.

int Athletics::football_game_count[NCAA_LEVEL_COUNT]
 

Definition at line 91 of file Oathleti.h.

Referenced by Letter::init_welcome_letter().

int Athletics::football_graph[HISTORY_YEAR_COUNT2]
 

Definition at line 55 of file Oathleti.h.

float Athletics::football_percent_win
 

Definition at line 70 of file Oathleti.h.

float Athletics::football_probability_win
 

Definition at line 88 of file Oathleti.h.

Referenced by Letter::init_welcome_letter().

float Athletics::history_value[HISTORY_YEAR_COUNT2]
 

Definition at line 62 of file Oathleti.h.

int Athletics::last_ncaa_level_input
 

Definition at line 53 of file Oathleti.h.

int Athletics::ncaa_level_input
 

Definition at line 51 of file Oathleti.h.

Referenced by Letter::init_welcome_letter().

float Athletics::ncaa_level_value
 

Definition at line 52 of file Oathleti.h.

float Athletics::spinner_var1
 

Definition at line 49 of file Oathleti.h.

int Athletics::total_basketball_game
 

Definition at line 68 of file Oathleti.h.

int Athletics::total_football_game
 

Definition at line 67 of file Oathleti.h.

int Athletics::total_game
 

Definition at line 66 of file Oathleti.h.


The documentation for this class was generated from the following files:
Generated on Fri Aug 23 01:38:59 2002 for VirtualU by doxygen1.2.17