Functions

version.c File Reference

#include "hack.h"
#include "date.h"
#include "patchlevel.h"
Include dependency graph for version.c:

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 ()

Function Documentation

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().

Here is the call graph for this function:

Here is the caller graph for this function:

int doextversion (  )

References display_file, OPTIONS_USED, and TRUE.

int doversion (  )

References BUFSZ, getversionstring(), and pline().

Here is the call graph for this function:

unsigned long get_current_feature_ver (  )

References FEATURE_NOTICE_VER, PATCHLEVEL, VERSION_MAJOR, and VERSION_MINOR.

Referenced by feature_alert_opts().

Here is the caller graph for this function:

unsigned long get_feature_notice_ver ( char *  str )

References BUFSZ, FEATURE_NOTICE_VER, and index.

Referenced by feature_alert_opts().

Here is the caller graph for this function:

char* getversionstring ( char *  buf )

References eos(), Sprintf, Strcpy, and VERSION_ID.

Referenced by doversion().

Here is the call graph for this function:

Here is the caller graph for this function:

void store_version ( int  fd )

References bufoff(), bufon(), bwrite(), VERSION_FEATURES, VERSION_NUMBER, VERSION_SANITY1, and VERSION_SANITY2.

Referenced by dosave0(), and savebones().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

char* version_string ( char *  buf )

References VERSION_STRING.

Referenced by paniclog().

Here is the caller graph for this function: