Subversion Repositories spk

Rev

Rev 46 | Rev 49 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 46 Rev 48
Line 316... Line 316...
316
		printf("Enter the author for the ship: ");
316
		printf("Enter the author for the ship: ");
317
		ship.SetAuthor(GetInput());
317
		ship.SetAuthor(GetInput());
318
		printf("Enter the version for the ship: V");
318
		printf("Enter the version for the ship: V");
319
		ship.SetVersion(GetInput());
319
		ship.SetVersion(GetInput());
320
		printf("Enter the description for the ship: ");
320
		printf("Enter the description for the ship: ");
321
		ship.SetDescription(GetInput());
321
		ship.setDescription(GetInput().ToString());
322
 
322
 
323
		struct tm   *currDate;
323
		struct tm   *currDate;
324
		char    dateString[100];
324
		char    dateString[100];
325
		time_t now = time(NULL);
325
		time_t now = time(NULL);
326
		currDate = localtime( &now );
326
		currDate = localtime( &now );
Line 518... Line 518...
518
					printf("\t%s\n", c->str.c_str());
518
					printf("\t%s\n", c->str.c_str());
519
			}
519
			}
520
		}
520
		}
521
 
521
 
522
		if ( !pBaseFile->GetCreationDate().Empty() ) printf ( "Creation Date: %s\n", pBaseFile->GetCreationDate().c_str() );
522
		if ( !pBaseFile->GetCreationDate().Empty() ) printf ( "Creation Date: %s\n", pBaseFile->GetCreationDate().c_str() );
523
		if ( !pBaseFile->GetDescription().Empty() ) printf ( "Description: %s\n", pBaseFile->GetDescription().c_str() );
523
		if ( !pBaseFile->description().empty() ) printf ( "Description: %s\n", pBaseFile->description().c_str() );
524
		if ( pSpkFile )
524
		if ( pSpkFile )
525
		{
525
		{
526
			if ( pSpkFile->IsLibrary() )
526
			if ( pSpkFile->IsLibrary() )
527
				printf ( "Script Type: Library\n" );
527
				printf ( "Script Type: Library\n" );
528
			else if ( pSpkFile->IsPatch() )
528
			else if ( pSpkFile->IsPatch() )
Line 865... Line 865...
865
 
865
 
866
	printf ( "Enter Script Version: " );
866
	printf ( "Enter Script Version: " );
867
	spkfile.SetVersion ( GetInput() );
867
	spkfile.SetVersion ( GetInput() );
868
 
868
 
869
	printf ( "Enter Script Description: " );
869
	printf ( "Enter Script Description: " );
870
	spkfile.SetDescription ( GetInput() );
870
	spkfile.setDescription ( GetInput().ToString() );
871
 
871
 
872
	struct tm   *currDate;
872
	struct tm   *currDate;
873
	char    dateString[100];
873
	char    dateString[100];
874
	time_t now = time(NULL);
874
	time_t now = time(NULL);
875
 
875