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

Password:

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

Letter Class Reference

#include <Oletter.h>

List of all members.

Public Methods

 Letter ()
 ~Letter ()
int write_file (File *filePtr)
int read_file (File *filePtr)
void init ()
void deinit ()
void scen_welcome_letter_report (int)
void welcome_letter_report (int)
void eval_letter_report (int)
int scen_welcome_letter_detect ()
int welcome_letter_detect ()
int eval_letter_detect ()
void init_scen_welcome_letter ()
void init_welcome_letter ()
void init_eval_letter ()

Public Attributes

char eval_page_number
char welcome_page_number
char scen_page_number


Detailed Description

Class controlling content and display of progress letters from the Board of Trustees displayed to the player, including welcome letter and yearly evaluation letter with statistics.

Definition at line 13 of file Oletter.h.


Constructor & Destructor Documentation

Letter::Letter  
 

Definition at line 148 of file Oletter.cpp.

Letter::~Letter  
 

Definition at line 156 of file Oletter.cpp.


Member Function Documentation

void Letter::deinit  
 

Definition at line 164 of file Oletter.cpp.

References HELP_BUTTON_COUNT, mem_del, and NULL.

Referenced by eval_letter_report(), scen_welcome_letter_report(), and welcome_letter_report().

int Letter::eval_letter_detect  
 

Definition at line 2025 of file Oletter.cpp.

References Button::detect(), eval_page_number, K_UNIQUE_KEY, MODE_EVALUATION_LETTER, MODE_LOSE_GAME, MODE_NORMAL, MODE_YEAR_END_REPORT, welcome_page_number, and WORD.

void Letter::eval_letter_report int   
 

Definition at line 1453 of file Oletter.cpp.

References BG_PIC_ID, Button::create_text(), deinit(), Button::disable(), eval_page_number, INFO_REPAINT, Button::paint(), REPORT_X1, REPORT_Y1, String::str_buf, ZOOM_X1, ZOOM_X2, ZOOM_Y1, and ZOOM_Y2.

void Letter::init  
 

Definition at line 181 of file Oletter.cpp.

References HELP_BUTTON_COUNT, and NULL.

void Letter::init_eval_letter  
 

Definition at line 2138 of file Oletter.cpp.

void Letter::init_scen_welcome_letter  
 

void Letter::init_welcome_letter  
 

Definition at line 2154 of file Oletter.cpp.

References Athletics::basketball_game_count, Athletics::basketball_probability_win, DISTANCE_LEARN, DOCTOR, FACULTY_RANK_LEVEL_COUNT, Athletics::football_game_count, Athletics::football_probability_win, GENDER_ETHNIC_TYPE_COUNT_N_TOTAL, MASTER, MAX_STUDENT_LEVEL, MINORITY_FEMALE, MINORITY_MALE, Athletics::ncaa_level_input, NONMINORITY_FEMALE, UG_NONTRADITION, and UG_TRADITION.

int Letter::read_file File   filePtr
 

Definition at line 249 of file OGFILE3.CPP.

References File::file_read().

int Letter::scen_welcome_letter_detect  
 

Definition at line 1008 of file Oletter.cpp.

References Button::detect(), K_UNIQUE_KEY, MODE_NORMAL, MODE_YEAR_END_REPORT, scen_page_number, and WORD.

void Letter::scen_welcome_letter_report int   
 

Definition at line 379 of file Oletter.cpp.

References BG_PIC_ID, COMPREHENSIVE_SCHOOL, Button::create_text(), deinit(), INFO_REPAINT, LIBERAL_ARTS_SCHOOL, PRIVATE_SCHOOL, PUBLIC_SCHOOL, REPORT_X1, REPORT_Y1, and scen_page_number.

int Letter::welcome_letter_detect  
 

Definition at line 1400 of file Oletter.cpp.

References Button::detect(), K_UNIQUE_KEY, MODE_NORMAL, MODE_WELCOME_LETTER, MODE_YEAR_END_REPORT, welcome_page_number, and WORD.

void Letter::welcome_letter_report int   
 

Definition at line 1088 of file Oletter.cpp.

References BG_PIC_ID, Button::create_text(), deinit(), Button::disable(), INFO_REPAINT, INPUT_HIGH, INPUT_LOW, INPUT_MEDIUM, String::len(), Button::paint(), REPORT_X1, REPORT_Y1, String::str_buf, welcome_page_number, ZOOM_X1, ZOOM_X2, ZOOM_Y1, and ZOOM_Y2.

int Letter::write_file File   filePtr
 

Definition at line 245 of file OGFILE3.CPP.

References File::file_write().


Member Data Documentation

char Letter::eval_page_number
 

Definition at line 70 of file Oletter.h.

Referenced by eval_letter_detect(), and eval_letter_report().

char Letter::scen_page_number
 

Definition at line 72 of file Oletter.h.

Referenced by scen_welcome_letter_detect(), and scen_welcome_letter_report().

char Letter::welcome_page_number
 

Definition at line 71 of file Oletter.h.

Referenced by eval_letter_detect(), welcome_letter_detect(), and welcome_letter_report().


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