src/game/Laptop/Finances.cc
static void GetBalanceFromDisk(void)
{
	if (!GCM->tempFiles()->exists(FINANCES_DATA_FILE)) {
		LaptopSaveInfo.iCurrentBalance = 0;
		return;
	}
	AutoSGPFile f(GCM->tempFiles()->openForReading(FINANCES_DATA_FILE));
	// get balance from disk first
	f->read(&LaptopSaveInfo.iCurrentBalance, sizeof(INT32));
}
// will grab the current blanace from disk
// this procedure will open and read in data to the finance list	
will grab the current blanace from disk
this procedure will open and read in data to the finance list
will grab the current blanace from disk this procedure will open and read in data to the finance list
static void GetBalanceFromDisk(void)
{
	if (!GCM->tempFiles()->exists(FINANCES_DATA_FILE)) {
		LaptopSaveInfo.iCurrentBalance = 0;
		return;
	}
	AutoSGPFile f(GCM->tempFiles()->openForReading(FINANCES_DATA_FILE));
	f->read(&LaptopSaveInfo.iCurrentBalance, sizeof(INT32));
}
static void GetBalanceFromDisk ( void ) { if ( ! GCM -> tempFiles ( ) -> exists ( FINANCES_DATA_FILE ) ) { LaptopSaveInfo . iCurrentBalance = 0 ; return ; } AutoSGPFile f ( GCM -> tempFiles ( ) -> openForReading ( FINANCES_DATA_FILE ) ) ; f -> read ( & LaptopSaveInfo . iCurrentBalance , sizeof ( INT32 ) ) ; }
will grab the current blanace from disk
this procedure will open and read in data to the finance list
will grab the current blanace from disk this procedure will open and read in data to the finance list
// get balance from disk first