Move similar/main/gameseg.c -> similar/main/gameseg.cpp

This commit is contained in:
Kp 2012-11-11 22:12:51 +00:00
parent 4db024f953
commit 8601ef255e
2 changed files with 4 additions and 1 deletions

View file

@ -766,7 +766,7 @@ class DXXProgram(DXXCommon):
'main/gamefont.cpp',
'main/gamerend.cpp',
'main/gamesave.cpp',
'main/gameseg.c',
'main/gameseg.cpp',
'main/gauges.c',
'main/hostage.c',
'main/hud.c',

View file

@ -17,6 +17,7 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
*
*/
#include <algorithm>
#include <stdlib.h>
#include <stdio.h>
#include <string.h> // for memset()
@ -40,6 +41,8 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
#include "editor/editor.h"
#endif
using std::min;
// How far a point can be from a plane, and still be "in" the plane
#define PLANE_DIST_TOLERANCE 250