ref: 6af18ee0fbbde60e78d86baac9a3248b5bb17e6b
parent: 7e2991e5065363a59e45a8e6c16c927185e028bb
author: Simon Howard <[email protected]>
date: Sat Jul 23 15:42:56 EDT 2005
Startup messages as in the DOS exes Subversion-branch: /trunk/chocolate-doom Subversion-revision: 22
--- 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 @@
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;
}
--- 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_InitData (void)
{
R_InitTextures ();
- printf ("\nInitTextures");
R_InitFlats ();
- printf ("\nInitFlats");
R_InitSpriteLumps ();
- printf ("\nInitSprites");
R_InitColormaps ();
- printf ("\nInitColormaps");
}
--- 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 @@
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;
}