From 66a2cc66d7504c9b64e1c461e62ad2a9d964fa95 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 23 Jul 2005 16:19:41 +0000 Subject: Initial revision Subversion-branch: /trunk/chocolate-doom Subversion-revision: 4 --- src/i_main.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 src/i_main.c (limited to 'src/i_main.c') diff --git a/src/i_main.c b/src/i_main.c new file mode 100644 index 00000000..5bed9d1a --- /dev/null +++ b/src/i_main.c @@ -0,0 +1,48 @@ +// Emacs style mode select -*- C++ -*- +//----------------------------------------------------------------------------- +// +// $Id: i_main.c 4 2005-07-23 16:19:41Z fraggle $ +// +// Copyright (C) 1993-1996 by id Software, Inc. +// +// This source is available for distribution and/or modification +// only under the terms of the DOOM Source Code License as +// published by id Software. All rights reserved. +// +// The source is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License +// for more details. +// +// $Log$ +// Revision 1.1 2005/07/23 16:20:32 fraggle +// Initial revision +// +// +// DESCRIPTION: +// Main program, simply calls D_DoomMain high level loop. +// +//----------------------------------------------------------------------------- + +static const char +rcsid[] = "$Id: i_main.c 4 2005-07-23 16:19:41Z fraggle $"; + + + +#include "doomdef.h" + +#include "m_argv.h" +#include "d_main.h" + +int +main +( int argc, + char** argv ) +{ + myargc = argc; + myargv = argv; + + D_DoomMain (); + + return 0; +} -- cgit v1.2.3