Copyright (C) 2003-2004 Daniel Quintiliani
<coredump0@mercurylink.net>

lg file syntax:

First line: Number of lines in file

!ITEMNAME - Name of text item.

$0 - int variable passed by function
$1 - float (currency)
$2 - const char*

$a - Geek's energy
$b - Geek's money
$c - Geek's name
$d - Geek's amount of energy drinks
$e - Geek's education

$m - Computer infected
$n - Computer's health
$o - Computer's max health
$p - Computer's security level
$q - Computer's level
$r - Computer's exp

$s - Enemy computer infected?
$t - Enemy computer's health
$u - Enemy computer's max health
$v - Enemy computer's security level
$w - Enemy computer's level
$x - Enemy computer's exp

$Y - ElTime: years passed
$O - ElTime: months passed
$D - ElTime: days passed
$H - ElTime: hours passed
$M - ElTime: minutes passed

$S - Score

$V - Program version

$END - End of item.

Example file:

6
!SCORVER Your score was $S.
!SCORVER Program version is $V.
!SCORVER $END
!VER2 Version of the program is $V.
!VER2 $END

Reading from the files from within the program:
(see func.h readfromfile() and readfromfilevars() comments)
