#include "hack.h"
#include "date.h"
#include "patchlevel.h"
Functions | |
char * | version_string (char *buf) |
char * | getversionstring (char *buf) |
int | doversion () |
int | doextversion () |
boolean | check_version (struct version_info *version_data, const char *filename, boolean complain) |
boolean | uptodate (int fd, const char *name) |
void | store_version (int fd) |
unsigned long | get_feature_notice_ver (char *str) |
unsigned long | get_current_feature_ver () |
boolean check_version | ( | struct version_info * | version_data, |
const char * | filename, | ||
boolean | complain | ||
) |
References FALSE, IGNORED_FEATURES, pline(), TRUE, VERSION_COMPATIBILITY, VERSION_FEATURES, VERSION_NUMBER, VERSION_SANITY1, and VERSION_SANITY2.
Referenced by init_dungeons(), load_special(), and uptodate().
int doextversion | ( | ) |
References display_file, OPTIONS_USED, and TRUE.
int doversion | ( | ) |
unsigned long get_current_feature_ver | ( | ) |
References FEATURE_NOTICE_VER, PATCHLEVEL, VERSION_MAJOR, and VERSION_MINOR.
Referenced by feature_alert_opts().
unsigned long get_feature_notice_ver | ( | char * | str ) |
References BUFSZ, FEATURE_NOTICE_VER, and index.
Referenced by feature_alert_opts().
char* getversionstring | ( | char * | buf ) |
References eos(), Sprintf, Strcpy, and VERSION_ID.
Referenced by doversion().
void store_version | ( | int | fd ) |
References bufoff(), bufon(), bwrite(), VERSION_FEATURES, VERSION_NUMBER, VERSION_SANITY1, and VERSION_SANITY2.
Referenced by dosave0(), and savebones().
boolean uptodate | ( | int | fd, |
const char * | name | ||
) |
References check_version(), FALSE, minit(), pline(), read(), TRUE, and wait_synch.
Referenced by dorecover(), getbones(), restlevelfile(), and restore_saved_game().
char* version_string | ( | char * | buf ) |