Generated from loadgame.c with ROBODoc v3.2.2 on Sun Aug 27 19:47:34 2000
TABLE OF CONTENTS
- GalaxyNG/LoadGame
- LoadGame/getReadFloat
- LoadGame/getReadInt
- LoadGame/getReadLong
- LoadGame/getReadPointer
- LoadGame/getReadString
- LoadGame/getReadVersion
- LoadGame/loadConfig
- LoadGame/loadgame
- LoadGame/readDefaults
- LoadGame/readFloat
- LoadGame/readInt
- LoadGame/readLong
- LoadGame/readPointer
- LoadGame/readString
NAME
LoadGame -- functions to read a game from file.
NAME
getReadFloat --
NAME
getReadInt --
NAME
getReadLong --
NAME
getReadPointer
NAME
getReadString
NAME
getReadVersion -- read server version number.
BUGS
Fails if version or revisions is larger than 9.
NAME
loadConfig -- read configuration files
FUNCTION
reads defaults from $GALAXYNGHOME/.galaxyngrc
and then from $GALAXYNGHOME/data/<gamename>/.galaxyngrc
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.
NAME
readDefaults -- read game defaults
FUNCTION
Read defaults from a configuration file.
NOTES
Has a memory leak.
SEE ALSO
game
NAME
readFloat
NAME
readInt --
NAME
readLong --
NAME
readPointer --
NAME
readString --