Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
radarmap.qh
Go to the documentation of this file.
1#pragma once
2#ifndef RADARMAP
3bool RadarMap_Make(int argc) { LOG_INFO("radarmap is disabled, compile with -DRADARMAP to enable it."); return true; }
4#else
5
6// ===========================================
7// Declarations for radarmap generation code
8// ===========================================
9
10entity radarmapper;
11
12const int RADAR_WIDTH_MAX = 512;
13const int RADAR_HEIGHT_MAX = 512;
14float sharpen_buffer[RADAR_WIDTH_MAX * 3];
15
16string doublehex = "000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F404142434445464748494A4B4C4D4E4F505152535455565758595A5B5C5D5E5F606162636465666768696A6B6C6D6E6F707172737475767778797A7B7C7D7E7F808182838485868788898A8B8C8D8E8F909192939495969798999A9B9C9D9E9FA0A1A2A3A4A5A6A7A8A9AAABACADAEAFB0B1B2B3B4B5B6B7B8B9BABBBCBDBEBFC0C1C2C3C4C5C6C7C8C9CACBCCCDCECFD0D1D2D3D4D5D6D7D8D9DADBDCDDDEDFE0E1E2E3E4E5E6E7E8E9EAEBECEDEEEFF0F1F2F3F4F5F6F7F8F9FAFBFCFDFEFFFF";
17// FF is contained twice, to map 256 to FF too
18// removes the need to bound()
19
20bool RadarMap_Make(int argc);
21
22#endif
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
#define LOG_INFO(...)
Definition log.qh:65
bool RadarMap_Make(int argc)
Definition radarmap.qh:3