#include <OTASK.H>
Inheritance diagram for TaskArray:
Definition at line 80 of file OTASK.H.
Definition at line 14 of file OTASK.CPP.
Called by news processing function to set news parameters
<int> taskId = the id. of the task <int> newsType = news type
return : <Task*> return the pointer of the News NULL - the nation of the news does not have contact with the player
Definition at line 255 of file OTASKADD.CPP.
References TASK_STARTED.
Definition at line 294 of file OTASKADD.CPP.
References TASK_COMPLETED.
Reset all news display options
Definition at line 56 of file OTASK.CPP.
References TASK_DISP_ALL.
Reimplemented from DynArray.
Definition at line 31 of file OTASK.CPP.
[inline]
Definition at line 100 of file OTASK.H.
References task_add_flag.
Definition at line 99 of file OTASK.H.
Definition at line 21 of file OTASK.CPP.
Definition at line 47 of file Otaskend.cpp.
References News::id, INFO_DATE_DEFAULT, INFO_DATE_NO_DAY, INFO_DATE_SHORT_MONTH, News::msg(), News::news_date, operator[](), remove(), Task::set_completed(), DynArray::size(), TASK_COMPLETED, TASK_EXPIRED, and News::task_msg_subtype.
Definition at line 81 of file OTASK.CPP.
References err_if, err_now, DynArray::get(), News::news_date, and NULL.
Referenced by next_day().
Read a saved dynamic array from file, it must be saved with write_file()
<File*> readFile = the pointer to the writing file
Return : 1 - read successfully 0 - writing error
Definition at line 363 of file OGFILE3.CPP.
References File::file_read(), and DynArray::read_file().
Remove a specific news from the task_array.
<int> newsId = id. of the news
Definition at line 70 of file OTASK.CPP.
Reset all news display options and clear all news in the log
Definition at line 41 of file OTASK.CPP.
short_para1 = the recno of department info
Definition at line 104 of file OTASKADD.CPP.
References err_when, RISE_DEPARTMENT_MORALE, News::short_para1, News::short_para2, News::short_para3, News::short_para4, News::short_para5, News::short_para6, and News::short_para7.
Definition at line 45 of file OTASKADD.CPP.
References err_when, RISE_EDUCATIONAL_QUALITY, News::short_para1, News::short_para2, News::short_para3, News::short_para4, News::short_para5, News::short_para6, and News::short_para7.
Definition at line 162 of file OTASKADD.CPP.
References err_when, RISE_FACULTY_DIVERSITY_INDEX, News::short_para1, News::short_para2, News::short_para3, News::short_para4, News::short_para5, News::short_para6, and News::short_para7.
Definition at line 133 of file OTASKADD.CPP.
References err_when, RISE_FACULTY_RESEARCH, News::short_para1, News::short_para2, News::short_para3, News::short_para4, News::short_para5, News::short_para6, and News::short_para7.
Definition at line 15 of file OTASKADD.CPP.
References err_when, News::short_para1, News::short_para2, News::short_para3, News::short_para4, News::short_para5, News::short_para6, News::short_para7, and TASK_RISE_PERFORMANCE_RATING.
Definition at line 220 of file OTASKADD.CPP.
References err_when, RISE_STAFF_MORALE, News::short_para1, News::short_para2, News::short_para3, News::short_para4, News::short_para5, News::short_para6, and News::short_para7.
Definition at line 75 of file OTASKADD.CPP.
References err_when, RISE_STUDENT_MORALE, News::short_para1, News::short_para2, News::short_para3, News::short_para4, News::short_para5, News::short_para6, and News::short_para7.
Definition at line 191 of file OTASKADD.CPP.
References err_when, RISE_USE_OF_IT, News::short_para1, News::short_para2, News::short_para3, News::short_para4, News::short_para5, News::short_para6, and News::short_para7.
Write current dynamic array into file, read_file() can be used to retrieve it.
<File*> writeFile = the pointer to the writing file
Return : 1 - write successfully 0 - writing error
Definition at line 356 of file OGFILE3.CPP.
References File::file_write(), and DynArray::write_file().
Definition at line 88 of file OTASK.H.
Definition at line 85 of file OTASK.H.
Referenced by disable(), and enable().
Definition at line 84 of file OTASK.H.
Definition at line 86 of file OTASK.H.