hedgewars/pas2c.h
changeset 7043 7c080e5ac8d0
parent 7041 76a9274f280f
child 7045 197bf70f8599
--- a/hedgewars/pas2c.h	Thu May 10 23:51:05 2012 +0400
+++ b/hedgewars/pas2c.h	Fri May 11 00:28:06 2012 +0400
@@ -38,8 +38,10 @@
 typedef LongInt Integer;
 typedef float extended;
 typedef float real;
+typedef float single;
 
 typedef bool boolean;
+typedef int LongBool;
 
 typedef void * pointer;
 typedef Byte * PByte;
@@ -72,6 +74,7 @@
 string255 _strappend(string255 s, char c);
 string255 _strprepend(char c, string255 s);
 bool _strcompare(string255 a, string255 b);
+bool _strncompare(string255 a, string255 b);
 char * _pchar(string255 s);
 
 int Length(string255 a);
@@ -81,6 +84,7 @@
 #define STRINIT(a) {.len = sizeof(a) - 1, .str = a}
 
 typedef int file;
+typedef int TextFile;
 extern int FileMode;
 extern int IOResult;
 
@@ -108,3 +112,4 @@
 double sqr(double n);
 double sqrt(double n);
 int trunc(double n);
+int round(double n);