UFO: Alien Invasion
|
Singleplayer campaign game type code. More...
#include "../../cl_shared.h"
#include "../cl_game.h"
#include "cp_cgame_callbacks.h"
#include "cl_game_campaign.h"
Go to the source code of this file.
Functions | |
void | GEO_Draw (geoscapeData_t *data) |
Draw the geoscape. More... | |
void | GEO_DrawMarkers (const uiNode_t *node) |
Draws all ufos, aircraft, bases and so on to the geoscape map (2D and 3D) More... | |
bool | GEO_Click (const uiNode_t *node, int x, int y, const vec2_t pos) |
Click on the map/geoscape. More... | |
CGAME_HARD_LINKED_FUNCTIONS linkedList_t * | LIST_Add (linkedList_t **listDest, void const *data, size_t length) |
void | FS_CloseFile (qFILE *f) |
void | LIST_Sort (linkedList_t **list, linkedListSort_t sorter, const void *userData) |
linkedList_t * | LIST_CopyStructure (linkedList_t *src) |
void * | _Mem_Alloc (size_t size, bool zeroFill, memPool_t *pool, const int tagNum, const char *fileName, const int fileLine) |
int | Com_GetMapDefNumber (void) |
mapDef_t * | Com_GetMapDefByIDX (int index) |
const cgame_export_t * | GetCGameAPI (const cgame_import_t *import) |
Singleplayer campaign game type code.
Definition in file cl_game_campaign.cpp.
void* _Mem_Alloc | ( | size_t | size, |
bool | zeroFill, | ||
memPool_t * | pool, | ||
const int | tagNum, | ||
const char * | fileName, | ||
const int | fileLine | ||
) |
Definition at line 56 of file cl_game_campaign.cpp.
Referenced by GAME_GetImportData(), and SV_TagAlloc().
Definition at line 64 of file cl_game_campaign.cpp.
Referenced by GAME_GetCurrentSelectedMap(), and UI_MapInfoGetNext().
Definition at line 60 of file cl_game_campaign.cpp.
Definition at line 43 of file cl_game_campaign.cpp.
Referenced by CIN_OGM_CloseCinematic(), CIN_ROQ_CloseCinematic(), CIN_ROQ_OpenCinematic(), Com_Error(), Com_Quit(), GAME_GetImportData(), and Key_WriteBindings().
Click on the map/geoscape.
[in] | node | UI Node of the geoscape map |
[in] | x,y | Mouse click coordinates |
[in] | pos | Geoscape (longitude, latitude) coordinate of the click |
Definition at line 106 of file cp_geoscape.cpp.
Referenced by GetCGameAPI().
void GEO_Draw | ( | geoscapeData_t * | data | ) |
Draw the geoscape.
[in] | data | Geoscape status data structure |
Definition at line 1588 of file cp_geoscape.cpp.
Referenced by GetCGameAPI().
Draws all ufos, aircraft, bases and so on to the geoscape map (2D and 3D)
[in] | node | The menu node which will be used for drawing markers. |
Definition at line 1431 of file cp_geoscape.cpp.
Referenced by GetCGameAPI().
const cgame_export_t* GetCGameAPI | ( | const cgame_import_t * | import | ) |
Definition at line 69 of file cl_game_campaign.cpp.
Referenced by GAME_GetCGameAPI().
CGAME_HARD_LINKED_FUNCTIONS linkedList_t* LIST_Add | ( | linkedList_t ** | listDest, |
void const * | data, | ||
size_t | length | ||
) |
Definition at line 39 of file cl_game_campaign.cpp.
Referenced by AB_BuildBase(), AB_LoadXML(), AIR_Add(), CHAR_ParseData(), CITY_Parse(), CL_DisplayHomebasePopup(), CL_ParseNations(), Com_ParseActorModels(), Com_ParseActorNames(), Com_ParseBodyTemplate(), Com_ParseFireDefinition(), Com_ParseItem(), CP_CreateNewMission(), E_CreateEmployee(), E_LoadXML(), GAME_GetImportData(), HUD_PopupFiremodeReservation(), INS_Build(), INS_LoadXML(), MIS_LoadXML(), TEST_F(), TR_LoadXML(), TR_TransferStart(), UI_AddLineChartLine(), US_LoadXML(), and US_StoreUFO().
linkedList_t* LIST_CopyStructure | ( | linkedList_t * | src | ) |
Definition at line 52 of file cl_game_campaign.cpp.
Referenced by GAME_GetImportData(), and TEST_F().
void LIST_Sort | ( | linkedList_t ** | list, |
linkedListSort_t | sorter, | ||
const void * | userData | ||
) |
Definition at line 48 of file cl_game_campaign.cpp.
Referenced by GAME_GetImportData(), and TEST_F().