hedgewars/uConsts.pas
changeset 1912 c3d31fb59f0e
parent 1910 ae0addb05791
child 1914 aab686a4e0c5
equal deleted inserted replaced
1911:6283bd8a960b 1912:c3d31fb59f0e
   118 			NumPerTurn: LongWord;
   118 			NumPerTurn: LongWord;
   119 			Timer: LongWord;
   119 			Timer: LongWord;
   120 			Pos: LongWord;
   120 			Pos: LongWord;
   121 			AmmoType: TAmmoType;
   121 			AmmoType: TAmmoType;
   122 			end;
   122 			end;
       
   123 
       
   124 	TVertex2f = record
       
   125 		X, Y: GLfloat;
       
   126 		end;
       
   127 			
   123 	TTexture = record
   128 	TTexture = record
   124 			id: GLuint;
   129 			id: GLuint;
   125 			w, h: LongInt;
   130 			w, h: LongInt;
   126 			rx, ry: GLfloat;
   131 			rx, ry: GLfloat;
       
   132 			vb, tb: array [0..3] of TVertex2f;
   127 			end;
   133 			end;
   128 	PTexture = ^TTexture;
   134 	PTexture = ^TTexture;
   129 
   135 
   130 	TVertex2f = record
       
   131 		X, Y: GLfloat;
       
   132 		end;
       
   133 const
   136 const
   134 	errmsgCreateSurface   = 'Error creating SDL surface';
   137 	errmsgCreateSurface   = 'Error creating SDL surface';
   135 	errmsgTransparentSet  = 'Error setting transparent color';
   138 	errmsgTransparentSet  = 'Error setting transparent color';
   136 	errmsgUnknownCommand  = 'Unknown command';
   139 	errmsgUnknownCommand  = 'Unknown command';
   137 	errmsgUnknownVariable = 'Unknown variable';
   140 	errmsgUnknownVariable = 'Unknown variable';