Subversion Repositories Kolibri OS

Rev

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

Rev 342 Rev 374
Line 89... Line 89...
89
 };
89
 };
Line 90... Line 90...
90
 
90
 
91
 return (tm*TICRATE)/100;
91
 return (tm*TICRATE)/100;
Line 92... Line -...
92
}
-
 
93
 
-
 
94
 
92
}
95
 
93
 
96
//
94
//
97
// I_Init
95
// I_Init
98
//
96
//
Line 107... Line 105...
107
//
105
//
108
void I_Quit (void)
106
void I_Quit (void)
109
{
107
{
110
//    __libclog_printf("Calling I_Quit from %x\n",__builtin_return_address(0));
108
//    __libclog_printf("Calling I_Quit from %x\n",__builtin_return_address(0));
111
    D_QuitNetGame ();
109
    D_QuitNetGame ();
112
 //   I_ShutdownSound();
110
    I_ShutdownSound();
113
 //   I_ShutdownMusic();
111
 //   I_ShutdownMusic();
114
    M_SaveDefaults ();
112
    M_SaveDefaults ();
115
    I_ShutdownGraphics();
113
//    I_ShutdownGraphics();
116
    exit(0);
114
    exit(0);
117
}
115
}
Line 118... Line 116...
118
 
116
 
119
void I_WaitVBL(int count)
117
void I_WaitVBL(int count)
Line 142... Line 140...
142
 
140
 
143
//
141
//
144
// I_Error
142
// I_Error
145
//
143
//
-
 
144
extern boolean demorecording;
Line 146... Line 145...
146
extern boolean demorecording;
145
extern volatile int sound_state;
147
 
146
 
148
void I_Error (char *error, ...)
147
void I_Error (char *error, ...)
Line 160... Line 159...
160
    if (demorecording)
159
    if (demorecording)
161
        G_CheckDemoStatus();
160
        G_CheckDemoStatus();
Line 162... Line 161...
162
 
161
 
163
    D_QuitNetGame ();
162
    D_QuitNetGame ();
-
 
163
    I_ShutdownGraphics();
164
    I_ShutdownGraphics();
164
    sound_state=0;
165
//    getch();
165
//    getch();
166
    exit(-1);
166
    exit(-1);