UFO: Alien Invasion
|
Go to the source code of this file.
Data Structures | |
class | uiGeoscapeNode |
struct | mapExtraData_s |
Macros | |
#define | UI_MAPEXTRADATA_TYPE mapExtraData_t |
#define | UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) |
#define | UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) |
#define | DAN_WIDTH 2048 |
#define | DAN_HEIGHT 1024 |
#define | STANDARD_3D_ZOOM 40.0f |
Typical zoom to use on the 3D geoscape to use same zoom values for both 2D and 3D geoscape. More... | |
#define | EARTH_RADIUS 8192.0f |
#define | MOON_RADIUS 1024.0f |
#define | SUN_RADIUS 1024.0f |
#define | GLOBE_RADIUS EARTH_RADIUS * (UI_MAPEXTRADATACONST(node).zoom / STANDARD_3D_ZOOM) |
radius of the globe in screen coordinates More... | |
Typedefs | |
typedef struct mapExtraData_s | mapExtraData_t |
Functions | |
void | UI_RegisterGeoscapeNode (uiBehaviour_t *behaviour) |
#define DAN_HEIGHT 1024 |
Definition at line 56 of file ui_node_geoscape.h.
Referenced by uiGeoscapeNode::calcAndUploadDayAndNightTexture(), and uiGeoscapeNode::onLoading().
#define DAN_WIDTH 2048 |
Definition at line 55 of file ui_node_geoscape.h.
Referenced by uiGeoscapeNode::calcAndUploadDayAndNightTexture(), and uiGeoscapeNode::onLoading().
#define EARTH_RADIUS 8192.0f |
Definition at line 64 of file ui_node_geoscape.h.
#define GLOBE_RADIUS EARTH_RADIUS * (UI_MAPEXTRADATACONST(node).zoom / STANDARD_3D_ZOOM) |
radius of the globe in screen coordinates
Definition at line 69 of file ui_node_geoscape.h.
Referenced by GEO_3DMapToScreen(), GEO_Draw3DMarkerIfVisible(), and uiGeoscapeNode::screenTo3DMap().
#define MOON_RADIUS 1024.0f |
Definition at line 65 of file ui_node_geoscape.h.
#define STANDARD_3D_ZOOM 40.0f |
Typical zoom to use on the 3D geoscape to use same zoom values for both 2D and 3D geoscape.
Definition at line 62 of file ui_node_geoscape.h.
#define SUN_RADIUS 1024.0f |
Definition at line 66 of file ui_node_geoscape.h.
#define UI_MAPEXTRADATA | ( | node | ) | UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) |
Definition at line 52 of file ui_node_geoscape.h.
Referenced by uiGeoscapeNode::calcAndUploadDayAndNightTexture(), uiGeoscapeNode::draw(), GEO_AngleOfPath(), GEO_CenterPosition(), GEO_SelectObject_f(), GEO_StartCenter(), uiGeoscapeNode::onCapturedMouseMove(), uiGeoscapeNode::smoothRotate(), uiGeoscapeNode::smoothTranslate(), uiGeoscapeNode::startMouseShifting(), UI_GeoscapeNodeScroll_f(), UI_GeoscapeNodeZoom_f(), and uiGeoscapeNode::zoom().
#define UI_MAPEXTRADATA_TYPE mapExtraData_t |
Definition at line 51 of file ui_node_geoscape.h.
#define UI_MAPEXTRADATACONST | ( | node | ) | UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) |
Definition at line 53 of file ui_node_geoscape.h.
Referenced by uiGeoscapeNode::draw(), GEO_3DMapToScreen(), GEO_AllMapToScreen(), GEO_Draw3DMarkerIfVisible(), GEO_DrawAircraftHealthBar(), GEO_DrawMapOneBase(), GEO_DrawMapOneInstallation(), GEO_DrawMapOneMission(), GEO_DrawMapOnePhalanxAircraft(), GEO_DrawMarkers(), GEO_MapDrawEquidistantPoints(), GEO_MapDrawLine(), GEO_MapToScreen(), uiGeoscapeNode::onCapturedMouseMove(), uiGeoscapeNode::onLeftClick(), uiGeoscapeNode::screenTo3DMap(), uiGeoscapeNode::screenToMap(), uiGeoscapeNode::smoothRotate(), uiGeoscapeNode::smoothTranslate(), uiGeoscapeNode::startMouseShifting(), UI_GeoscapeNodeScroll_f(), UI_GeoscapeNodeZoom_f(), and uiGeoscapeNode::zoom().
typedef struct mapExtraData_s mapExtraData_t |
void UI_RegisterGeoscapeNode | ( | uiBehaviour_t * | behaviour | ) |
Definition at line 694 of file ui_node_geoscape.cpp.
References Cmd_AddCommand(), CVAR_ARCHIVE, Cvar_Get(), EXTRADATA_TYPE, uiBehaviour_t::extraDataSize, uiBehaviour_t::lua_SWIG_typeinfo, uiBehaviour_t::manager, uiBehaviour_t::name, UI_GeoscapeNodeScroll_f(), UI_GeoscapeNodeZoom_f(), UI_GeoscapeNodeZoomIn(), UI_GeoscapeNodeZoomOut(), UI_RegisterExtradataNodeProperty, UI_RegisterNodeMethod(), UI_SWIG_TypeQuery(), and V_FLOAT.