diff options
-rw-r--r-- | src/i_system.c | 13 | ||||
-rw-r--r-- | src/r_data.c | 11 | ||||
-rw-r--r-- | src/r_main.c | 14 |
3 files changed, 20 insertions, 18 deletions
diff --git a/src/i_system.c b/src/i_system.c index e95b18b2..8e237fc4 100644 --- a/src/i_system.c +++ b/src/i_system.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: i_system.c 18 2005-07-23 18:56:07Z fraggle $ +// $Id: i_system.c 22 2005-07-23 19:42:56Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -22,6 +22,9 @@ // 02111-1307, USA. // // $Log$ +// Revision 1.4 2005/07/23 19:42:56 fraggle +// Startup messages as in the DOS exes +// // Revision 1.3 2005/07/23 18:56:07 fraggle // Remove unneccessary pragmas // @@ -37,7 +40,7 @@ //----------------------------------------------------------------------------- static const char -rcsid[] = "$Id: i_system.c 18 2005-07-23 18:56:07Z fraggle $"; +rcsid[] = "$Id: i_system.c 22 2005-07-23 19:42:56Z fraggle $"; #include <stdlib.h> @@ -88,8 +91,12 @@ int I_GetHeapSize (void) byte* I_ZoneBase (int* size) { + byte *zonemem; *size = mb_used*1024*1024; - return (byte *) malloc (*size); + zonemem = malloc (*size); + printf("zone memory: %x, %x allocated for zone\n", + (long) zonemem, *size); + return zonemem; } diff --git a/src/r_data.c b/src/r_data.c index ff8e2b4b..a149490a 100644 --- a/src/r_data.c +++ b/src/r_data.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: r_data.c 19 2005-07-23 19:17:11Z fraggle $ +// $Id: r_data.c 22 2005-07-23 19:42:56Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -22,6 +22,9 @@ // 02111-1307, USA. // // $Log$ +// Revision 1.4 2005/07/23 19:42:56 fraggle +// Startup messages as in the DOS exes +// // Revision 1.3 2005/07/23 19:17:11 fraggle // Use ANSI-standard limit constants. Remove LINUX define. // @@ -41,7 +44,7 @@ static const char -rcsid[] = "$Id: r_data.c 19 2005-07-23 19:17:11Z fraggle $"; +rcsid[] = "$Id: r_data.c 22 2005-07-23 19:42:56Z fraggle $"; #include "i_system.h" #include "z_zone.h" @@ -668,13 +671,9 @@ void R_InitColormaps (void) void R_InitData (void) { R_InitTextures (); - printf ("\nInitTextures"); R_InitFlats (); - printf ("\nInitFlats"); R_InitSpriteLumps (); - printf ("\nInitSprites"); R_InitColormaps (); - printf ("\nInitColormaps"); } diff --git a/src/r_main.c b/src/r_main.c index 22691bb5..c89b5aff 100644 --- a/src/r_main.c +++ b/src/r_main.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: r_main.c 19 2005-07-23 19:17:11Z fraggle $ +// $Id: r_main.c 22 2005-07-23 19:42:56Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -22,6 +22,9 @@ // 02111-1307, USA. // // $Log$ +// Revision 1.4 2005/07/23 19:42:56 fraggle +// Startup messages as in the DOS exes +// // Revision 1.3 2005/07/23 19:17:11 fraggle // Use ANSI-standard limit constants. Remove LINUX define. // @@ -40,7 +43,7 @@ //----------------------------------------------------------------------------- -static const char rcsid[] = "$Id: r_main.c 19 2005-07-23 19:17:11Z fraggle $"; +static const char rcsid[] = "$Id: r_main.c 22 2005-07-23 19:42:56Z fraggle $"; @@ -789,22 +792,15 @@ extern int screenblocks; void R_Init (void) { R_InitData (); - printf ("\nR_InitData"); R_InitPointToAngle (); - printf ("\nR_InitPointToAngle"); R_InitTables (); // viewwidth / viewheight / detailLevel are set by the defaults - printf ("\nR_InitTables"); R_SetViewSize (screenblocks, detailLevel); R_InitPlanes (); - printf ("\nR_InitPlanes"); R_InitLightTables (); - printf ("\nR_InitLightTables"); R_InitSkyMap (); - printf ("\nR_InitSkyMap"); R_InitTranslationTables (); - printf ("\nR_InitTranslationsTables"); framecount = 0; } |