]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
set radarmap max size for QC based radarmap maping to 512x512 (our standard size).
authorRudolf Polzer <divVerent@xonotic.org>
Thu, 30 Jun 2011 11:17:07 +0000 (13:17 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Thu, 30 Jun 2011 11:17:07 +0000 (13:17 +0200)
qcsrc/server/gamecommand.qc

index c8d2af14368d49bd1aabe54840822db95e1499d8..9fce6368c798e2981b14b657d431eecafc0c4778 100644 (file)
@@ -157,8 +157,8 @@ float RadarMapAtPoint_Sample(float x, float y, float w, float h, float zmin, flo
 // removes the need to bound()
 string doublehex = "000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F404142434445464748494A4B4C4D4E4F505152535455565758595A5B5C5D5E5F606162636465666768696A6B6C6D6E6F707172737475767778797A7B7C7D7E7F808182838485868788898A8B8C8D8E8F909192939495969798999A9B9C9D9E9FA0A1A2A3A4A5A6A7A8A9AAABACADAEAFB0B1B2B3B4B5B6B7B8B9BABBBCBDBEBFC0C1C2C3C4C5C6C7C8C9CACBCCCDCECFD0D1D2D3D4D5D6D7D8D9DADBDCDDDEDFE0E1E2E3E4E5E6E7E8E9EAEBECEDEEEFF0F1F2F3F4F5F6F7F8F9FAFBFCFDFEFFFF";
 
-float RADAR_WIDTH_MAX = 2048;
-float RADAR_HEIGHT_MAX = 2048;
+float RADAR_WIDTH_MAX = 512;
+float RADAR_HEIGHT_MAX = 512;
 float sharpen_buffer[RADAR_WIDTH_MAX * 3];
 
 void sharpen_set(float x, float v)