Subversion Repositories Kolibri OS

Rev

Rev 300 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 300 Rev 550
Line 510... Line 510...
510
    int             i;
510
    int             i;
511
    char    name[256];
511
    char    name[256];
Line 512... Line 512...
512
	
512
 
513
    for (i = 0;i < load_end;i++)
513
    for (i = 0;i < load_end;i++)
514
    {
514
    {
Line 515... Line 515...
515
	sprintf(name,SAVEGAMENAME"%d.dsg",i);
515
        sprintf(name,"doomsav%d.dsg",i);
516
 
516
 
517
	handle = fopen (name, "r");
517
        handle = fopen (name, "r");
518
	if (handle == NULL)
518
        if (handle == NULL)
Line 570... Line 570...
570
//
570
//
571
void M_LoadSelect(int choice)
571
void M_LoadSelect(int choice)
572
{
572
{
573
    char    name[256];
573
    char    name[256];
Line 574... Line 574...
574
	
574
        
575
    if (M_CheckParm("-cdrom"))
575
//    if (M_CheckParm("-cdrom"))
576
	sprintf(name,"c:\\doomdata\\"SAVEGAMENAME"%d.dsg",choice);
576
//        sprintf(name,"c:\\doomdata\\doomsav%d.dsg",choice);
577
    else
577
//    else
-
 
578
        sprintf(name,"doomsav%d.dsg",choice);
578
	sprintf(name,SAVEGAMENAME"%d.dsg",choice);
579
 
579
    G_LoadGame (name);
580
    G_LoadGame (name);
580
    M_ClearMenus ();
581
    M_ClearMenus ();
Line 581... Line 582...
581
}
582
}
Line 620... Line 621...
620
//
621
//
621
// M_Responder calls this when user is finished
622
// M_Responder calls this when user is finished
622
//
623
//
623
void M_DoSave(int slot)
624
void M_DoSave(int slot)
624
{
625
{
-
 
626
 
625
    G_SaveGame (slot,savegamestrings[slot]);
627
    G_SaveGame (slot,savegamestrings[slot]);
626
    M_ClearMenus ();
628
    M_ClearMenus ();
Line 627... Line 629...
627
 
629
 
628
    // PICK QUICKSAVE SLOT YET?
630
    // PICK QUICKSAVE SLOT YET?