Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

win32.c File Reference

#include "config.h"
#include "misc.h"
#include "dir.h"
#include "lisp.h"
#include "module.h"
#include "system.h"
#include <errno.h>
#include <fcntl.h>
#include <signal.h>

Include dependency graph for win32.c:

Include dependency graph

Defines

#define F_OK   0
#define XCONQDATA   "."
#define XCONQLIB   "lib"
#define XCONQIMAGES   "images"

Functions

void extract_dirname (char **dirname, char *pathname)
char * default_library_pathname (void)
char * default_images_pathname (char *libpath)
char * news_filename (void)
void save_game (char *fname)
char * game_homedir (void)
char * game_filename (char *namevar, char *defaultname)
FILE * open_file (char *filename, char *mode)
FILE * open_library_file (char *filename)
FILE * open_scorefile_for_reading (char *name)
FILE * open_scorefile_for_writing (char *name)
void close_scorefile_for_writing (FILE *fp)
void make_pathname (char *path, char *name, char *extn, char *pathbuf)
int remove_file (char *fname)
void init_signal_handlers (void)
char * error_save_filename (void)
int n_seconds_elapsed (int n)
int n_ms_elapsed (int n)
void record_ms (void)

Variables

char * xcq_program_name = NULL
FILE * xcq_fstdout = NULL
timeval reallasttime = { 0, 0 }
timeval realcurtime
timeval reallastmstime = { 0, 0 }

Define Documentation

#define F_OK   0
 

#define XCONQDATA   "."
 

#define XCONQIMAGES   "images"
 

#define XCONQLIB   "lib"
 


Function Documentation

void close_scorefile_for_writing FILE *  fp  ) 
 

char* default_images_pathname char *  libpath  ) 
 

char* default_library_pathname void   ) 
 

char* error_save_filename void   ) 
 

void extract_dirname char **  dirname,
char *  pathname
 

char* game_filename char *  namevar,
char *  defaultname
 

char* game_homedir void   ) 
 

void init_signal_handlers void   ) 
 

void make_pathname char *  path,
char *  name,
char *  extn,
char *  pathbuf
 

int n_ms_elapsed int  n  ) 
 

int n_seconds_elapsed int  n  ) 
 

char* news_filename void   ) 
 

FILE* open_file char *  filename,
char *  mode
 

FILE* open_library_file char *  filename  ) 
 

FILE* open_scorefile_for_reading char *  name  ) 
 

FILE* open_scorefile_for_writing char *  name  ) 
 

void record_ms void   ) 
 

int remove_file char *  fname  ) 
 

void save_game char *  fname  ) 
 


Variable Documentation

struct timeval realcurtime
 

struct timeval reallastmstime = { 0, 0 }
 

struct timeval reallasttime = { 0, 0 }
 

FILE* xcq_fstdout = NULL
 

char* xcq_program_name = NULL
 


Generated on Sat Sep 17 10:29:44 2005 for XconqKernel by doxygen 1.3.6