mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
Dopisanie externów do zmiennych z warningów linkera.
This commit is contained in:
@@ -22,6 +22,11 @@ Copyright (C) 2007-2014 Maciej Cierniak
|
||||
using namespace std;
|
||||
/*================================================*/
|
||||
|
||||
int ConversionError = 0;
|
||||
int LineCount = 0;
|
||||
bool DebugModeFlag = false;
|
||||
bool FreeFlyModeFlag = false;
|
||||
|
||||
//std::string Ups(std::string s)
|
||||
//{
|
||||
// int jatka;
|
||||
|
||||
@@ -42,10 +42,10 @@ static int const CutRight = 1;
|
||||
static int const CutBoth = 0; /*Cut_Space*/
|
||||
static double const pi = 3.141592653589793;
|
||||
|
||||
int ConversionError = 0;
|
||||
int LineCount = 0;
|
||||
bool DebugModeFlag = false;
|
||||
bool FreeFlyModeFlag = false;
|
||||
extern int ConversionError;
|
||||
extern int LineCount;
|
||||
extern bool DebugModeFlag;
|
||||
extern bool FreeFlyModeFlag;
|
||||
|
||||
|
||||
typedef unsigned long/*?*//*set of: char */ TableChar; /*MCTUTIL*/
|
||||
@@ -150,10 +150,16 @@ inline bool fileExists(const std::string &name)
|
||||
return (stat(name.c_str(), &buffer) == 0);
|
||||
}
|
||||
|
||||
double Xmin; double Ymin; double Xmax; double Ymax;
|
||||
double Xaspect; double Yaspect;
|
||||
double Hstep; double Vstep;
|
||||
int Vsize; int Hsize;
|
||||
extern double Xmin;
|
||||
extern double Ymin;
|
||||
extern double Xmax;
|
||||
extern double Ymax;
|
||||
extern double Xaspect;
|
||||
extern double Yaspect;
|
||||
extern double Hstep;
|
||||
extern double Vstep;
|
||||
extern int Vsize;
|
||||
extern int Hsize;
|
||||
|
||||
double Xhor( double h);
|
||||
/* Converts horizontal screen coordinate into real X-coordinate. */
|
||||
|
||||
Reference in New Issue
Block a user