git-subtree-dir: src/dp_doom git-subtree-split: 190992421c7c643afc99d7f7c511c162f65bea85
45 lines
1.1 KiB
C
45 lines
1.1 KiB
C
// Emacs style mode select -*- C++ -*-
|
|
//-----------------------------------------------------------------------------
|
|
//
|
|
// $Id:$
|
|
//
|
|
// Copyright (C) 1993-1996 by id Software, Inc.
|
|
//
|
|
// This program is free software; you can redistribute it and/or
|
|
// modify it under the terms of the GNU General Public License
|
|
// as published by the Free Software Foundation; either version 2
|
|
// of the License, or (at your option) any later version.
|
|
//
|
|
// This program is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
//
|
|
// $Log:$
|
|
//
|
|
// DESCRIPTION:
|
|
// Main program, simply calls D_DoomMain high level loop.
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifdef INCLUDE_SDL2_MAIN
|
|
#include "SDL_main.h"
|
|
#endif
|
|
|
|
#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;
|
|
}
|