More string types
authorunc0rr
Sat, 14 Apr 2012 23:36:57 +0400
changeset 6889 149638c9cbc4
parent 6888 32a54322d262
child 6890 6fc12f30c55c
More string types
hedgewars/pas2c.h
hedgewars/uTypes.pas
--- a/hedgewars/pas2c.h	Sat Apr 14 23:19:45 2012 +0400
+++ b/hedgewars/pas2c.h	Sat Apr 14 23:36:57 2012 +0400
@@ -6,6 +6,14 @@
     {
         char s[256];
     } string255;
+typedef struct string192_
+    {
+        char s[193];
+    } string192;
+typedef struct string31_
+    {
+        char s[32];
+    } string31;
 
 typedef int SmallInt;
 typedef int Word;
--- a/hedgewars/uTypes.pas	Sat Apr 14 23:19:45 2012 +0400
+++ b/hedgewars/uTypes.pas	Sat Apr 14 23:36:57 2012 +0400
@@ -174,7 +174,7 @@
             Handle: PTTF_Font;
             Height: LongInt;
             style: LongInt;
-            Name: string[21];
+            Name: string[31];
             end;
 
     PAmmo = ^TAmmo;