Subversion Repositories Kolibri OS

Rev

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

Rev 298 Rev 300
Line 37... Line 37...
37
#include "d_net.h"
37
#include "d_net.h"
38
#include "g_game.h"
38
#include "g_game.h"
Line 39... Line 39...
39
 
39
 
-
 
40
 
Line 40... Line 41...
40
 
41
#include "i_system.h"
Line 41... Line 42...
41
#include "i_system.h"
42
#include "kolibri.h"
Line 79... Line 80...
79
}
80
}
Line 80... Line 81...
80
 
81
 
81
byte* I_ZoneBase (int*	size)
82
byte* I_ZoneBase (int*	size)
82
{
83
{
83
 *size = mb_used*1024*1024;
84
 *size = mb_used*1024*1024;
84
 return (byte *) _aligned_malloc(*size, 128);;
85
 return (byte *) UserAlloc(*size);
Line 85... Line 86...
85
}
86
}
86
 
87
 
Line 167... Line 168...
167
    va_list	argptr;
168
    va_list	argptr;
Line 168... Line 169...
168
 
169
 
169
    // Message first.
170
    // Message first.
170
    va_start (argptr,error);
171
    va_start (argptr,error);
171
    printf ("Error: ");
172
    printf ("Error: ");
172
    printf (error,argptr);
173
    printf (argptr);
173
    printf (stderr, "\n");
174
    printf ("\n");
Line 174... Line 175...
174
    va_end (argptr);
175
    va_end (argptr);
175
 
176
 
176
    // Shutdown. Here might be other errors.
177
    // Shutdown. Here might be other errors.
Line 177... Line 178...
177
    if (demorecording)
178
    if (demorecording)
178
	G_CheckDemoStatus();
179
	G_CheckDemoStatus();
179
 
180
 
180
    D_QuitNetGame ();
181
    D_QuitNetGame ();
181
    I_ShutdownGraphics();
182
    I_ShutdownGraphics();