[chocolate-doom] 16/83: Startup messages as in the DOS exes
Jonathan Dowland
jmtd at moszumanska.debian.org
Mon Jan 30 15:06:22 UTC 2017
This is an automated email from the git hooks/post-receive script.
jmtd pushed a commit to annotated tag chocolate-doom-0.0.1
in repository chocolate-doom.
commit 6af18ee0fbbde60e78d86baac9a3248b5bb17e6b
Author: Simon Howard <fraggle at gmail.com>
Date: Sat Jul 23 19:42:56 2005 +0000
Startup messages as in the DOS exes
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 22
---
src/i_system.c | 13 ++++++++++---
src/r_data.c | 11 +++++------
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 e95b18b..8e237fc 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 ff8e2b4..a149490 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 22691bb..c89b5af 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;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/chocolate-doom.git
More information about the Pkg-games-commits
mailing list