cp_overlay.h

Go to the documentation of this file.
00001 
00006 /*
00007 All original material Copyright (C) 2002-2010 UFO: Alien Invasion.
00008 
00009 This program is free software; you can redistribute it and/or
00010 modify it under the terms of the GNU General Public License
00011 as published by the Free Software Foundation; either version 2
00012 of the License, or (at your option) any later version.
00013 
00014 This program is distributed in the hope that it will be useful,
00015 but WITHOUT ANY WARRANTY; without even the implied warranty of
00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00017 
00018 See the GNU General Public License for more details.
00019 
00020 You should have received a copy of the GNU General Public License
00021 along with this program; if not, write to the Free Software
00022 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00023 
00024 */
00025 
00026 
00027 void CP_DecreaseXVILevelEverywhere(void);
00028 void CP_ChangeXVILevel(const vec2_t pos, float factor);
00029 void CP_InitializeXVIOverlay(const byte *data);
00030 void CP_InitOverlay(void);
00031 void CP_GetXVIMapDimensions(int *width, int *height);
00032 int CP_GetXVILevel(int x, int y);
00033 void CP_SetXVILevel(int x, int y, int value);
00034 void CP_InitializeRadarOverlay(qboolean source);
00035 void CP_AddRadarCoverage(const vec2_t pos, float innerRadius, float outerRadius, qboolean source);
00036 void CP_UploadRadarCoverage(void);
00037 void CP_ShutdownOverlay(void);
00038 void CP_CalcAndUploadDayAndNightTexture(float q);
00039 
00040 #define OVERLAY_NATION      (1<<0)
00041 #define OVERLAY_XVI         (1<<1)
00042 #define OVERLAY_RADAR       (1<<2)
00043 

Generated by  doxygen 1.6.2