Generated from loadgame.c with ROBODoc v3.2.2 on Sun Aug 27 19:47:34 2000

TABLE OF CONTENTS

  1. GalaxyNG/LoadGame
  2. LoadGame/getReadFloat
  3. LoadGame/getReadInt
  4. LoadGame/getReadLong
  5. LoadGame/getReadPointer
  6. LoadGame/getReadString
  7. LoadGame/getReadVersion
  8. LoadGame/loadConfig
  9. LoadGame/loadgame
  10. LoadGame/readDefaults
  11. LoadGame/readFloat
  12. LoadGame/readInt
  13. LoadGame/readLong
  14. LoadGame/readPointer
  15. LoadGame/readString

GalaxyNG/LoadGame

NAME
   LoadGame -- functions to read a game from file.

LoadGame/getReadFloat

NAME
   getReadFloat --

LoadGame/getReadInt

NAME
   getReadInt --

LoadGame/getReadLong

NAME
   getReadLong --

LoadGame/getReadPointer

NAME
   getReadPointer

LoadGame/getReadString

NAME
   getReadString

LoadGame/getReadVersion

NAME
   getReadVersion -- read server version number.
BUGS
   Fails if version or revisions is larger than 9.

LoadGame/loadConfig

NAME
   loadConfig -- read configuration files
FUNCTION
   reads defaults from $GALAXYNGHOME/.galaxyngrc
   and then from $GALAXYNGHOME/data/<gamename>/.galaxyngrc

LoadGame/loadgame

NAME
   loadgame -- load game from disk.
FUNCTION
   Reads the game structure from disk.
NOTES
   Horrible use of feof().
   Should be split up into a number of function.
   Should use createFileName().
BUGS
   The speed of fleets is not stored in the turn file. So fleet
   speeds are incorrect until the fleetphase() is executed.

LoadGame/readDefaults

NAME
   readDefaults -- read game defaults
FUNCTION
   Read defaults from a configuration file.
NOTES
   Has a memory leak.
SEE ALSO
   game

LoadGame/readFloat

NAME
   readFloat

LoadGame/readInt

NAME
   readInt --

LoadGame/readLong

NAME
   readLong --

LoadGame/readPointer

NAME
   readPointer --

LoadGame/readString

NAME
   readString --