Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenXcom/OpenXcom
/ functions
Functions
4,163 in github.com/OpenXcom/OpenXcom
⨍
Functions
4,163
◇
Types & classes
1,490
↓ 2 callers
Method
isState
* Returns whether current state is *state * @param state The state to test against the stack state * @return Is state the current state? */
src/Engine/Game.cpp:575
↓ 2 callers
Method
isTarget
src/Savegame/Node.cpp:179
↓ 2 callers
Method
isWoundable
* Get whether the unit is affected by fatal wounds. * Normally only soldiers are affected by fatal wounds. * @return Is the unit affected by wounds?
src/Savegame/BattleUnit.cpp:2221
↓ 2 callers
Method
keepFalling
* Advances the phase of falling sequence. */
src/Savegame/BattleUnit.cpp:1057
↓ 2 callers
Method
keepWalking
* This will increment the walking phase. * @param tileBelowMe Pointer to tile currently below the unit. * @param cache Refresh the unit cache. */
src/Savegame/BattleUnit.cpp:459
↓ 2 callers
Method
kneel
* Toggles the Kneel/Standup status of the unit. * @param bu Pointer to a unit. * @return If the action succeeded. */
src/Battlescape/BattlescapeGame.cpp:342
↓ 2 callers
Function
lodepng_add_itext
src/lodepng.cpp:2801
↓ 2 callers
Function
lodepng_chunk_append
src/lodepng.cpp:2434
↓ 2 callers
Function
lodepng_convert
converts from any color type to 24-bit or 32-bit (later maybe more supported). return value = LodePNG error code the out buffer must have (w * h * bpp
src/lodepng.cpp:3393
↓ 2 callers
Function
lodepng_decode
src/lodepng.cpp:4737
↓ 2 callers
Function
lodepng_decode_file
src/lodepng.cpp:4805
↓ 2 callers
Function
lodepng_encode
src/lodepng.cpp:5661
↓ 2 callers
Function
lodepng_encode_file
src/lodepng.cpp:5882
↓ 2 callers
Function
lodepng_get_bpp_lct
src/lodepng.cpp:2516
↓ 2 callers
Function
lodepng_get_raw_size_lct
src/lodepng.cpp:2649
↓ 2 callers
Function
lodepng_info_copy
src/lodepng.cpp:2870
↓ 2 callers
Function
lodepng_palette_clear
src/lodepng.cpp:2573
↓ 2 callers
Function
lodepng_state_copy
src/lodepng.cpp:4863
↓ 2 callers
Method
mousePress
* Ignores any mouse clicks that are outside the globe. * @param action Pointer to an action. * @param state State that the action handlers belong to
src/Geoscape/Globe.cpp:1895
↓ 2 callers
Function
moveFile
* Moves a file from one path to another, * replacing any existing file. * @param src Source path. * @param dest Destination path. * @return True i
src/Engine/CrossPlatform.cpp:870
↓ 2 callers
Method
moveUpDown
* Moves a unit up or down. * @param unit The unit. * @param dir Direction DIR_UP or DIR_DOWN. */
src/Battlescape/BattlescapeGame.cpp:1411
↓ 2 callers
Method
newMonth
* Store last month's counters, start new counters. */
src/Savegame/Region.cpp:113
↓ 2 callers
Function
paethPredictor
Paeth predicter, used by PNG filter type 4 The parameters are of type short, but should come from unsigned chars, the shorts are only needed to make t
src/lodepng.cpp:3883
↓ 2 callers
Function
preProcessScanlines
out must be buffer big enough to contain uncompressed IDAT chunk data, and in must contain the full image. return value is error**/
src/lodepng.cpp:5535
↓ 2 callers
Method
psiAttack
* Attempts a panic or mind control action. * @param action Pointer to an action. * @return Whether it failed or succeeded. */
src/Battlescape/TileEngine.cpp:2420
↓ 2 callers
Method
quit
* Stops the state machine and the game is shut down. */
src/Engine/Game.cpp:320
↓ 2 callers
Method
reCalcQueuedBuildings
* ReCalculates the remaining build-time of all queued buildings. */
src/Basescape/BaseView.cpp:255
↓ 2 callers
Method
reachedDestination
* Checks if the moving target has reached its destination. * @return True if it has, False otherwise. */
src/Savegame/MovingTarget.cpp:176
↓ 2 callers
Function
read_uint32_le
src/Engine/GMCat.cpp:27
↓ 2 callers
Method
refuel
* Refuels the craft every 30 minutes * while it's docked in the base. */
src/Savegame/Craft.cpp:728
↓ 2 callers
Method
removeMission
* Remove @a mission from the list of possible missions for @a region. * @param region The region id. * @param mission The mission id. * @return If
src/Savegame/AlienStrategy.cpp:149
↓ 2 callers
Function
removePaddingBits
src/lodepng.cpp:4174
↓ 2 callers
Method
removeProduction
* Remove a Production from the Base * @param p A pointer to a Production */
src/Savegame/Base.cpp:1002
↓ 2 callers
Method
removeUnconsciousBodyItem
* Removes the body item that corresponds to the unit. */
src/Savegame/SavedBattleGame.cpp:1401
↓ 2 callers
Method
reselectAllowed
* Check whether reselecting this unit is allowed. * @return bool */
src/Savegame/BattleUnit.cpp:1535
↓ 2 callers
Method
reset
* Resets the node. */
src/Battlescape/PathfindingNode.cpp:54
↓ 2 callers
Function
resetDefault
* Resets the options back to their defaults. */
src/Engine/Options.cpp:276
↓ 2 callers
Method
save
* Saves an option value to the corresponding YAML. * @param node Options YAML node. */
src/Engine/OptionInfo.cpp:148
↓ 2 callers
Method
saveId
* Saves the UFO's unique identifiers to a YAML file. * @return YAML node. */
src/Savegame/Ufo.cpp:212
↓ 2 callers
Function
scale2x3_16_def
* Scale by a factor of 2x3 a row of pixels of 16 bits. * \note Like scale2x_16_def(); */
src/Engine/Scalers/scale2x.cpp:598
↓ 2 callers
Function
scale2x3_32_def
* Scale by a factor of 2x3 a row of pixels of 32 bits. * \note Like scale2x_32_def(); */
src/Engine/Scalers/scale2x.cpp:614
↓ 2 callers
Function
scale2x3_8_def
* Scale by a factor of 2x3 a row of pixels of 8 bits. * \note Like scale2x_8_def(); */
src/Engine/Scalers/scale2x.cpp:582
↓ 2 callers
Function
scale2x4_16_def
* Scale by a factor of 2x4 a row of pixels of 16 bits. * \note Like scale2x_16_def(); */
src/Engine/Scalers/scale2x.cpp:648
↓ 2 callers
Function
scale2x4_32_def
* Scale by a factor of 2x4 a row of pixels of 32 bits. * \note Like scale2x_32_def(); */
src/Engine/Scalers/scale2x.cpp:666
↓ 2 callers
Function
scale2x4_8_def
* Scale by a factor of 2x4 a row of pixels of 8 bits. * \note Like scale2x_8_def(); */
src/Engine/Scalers/scale2x.cpp:630
↓ 2 callers
Function
scale2x_16_def
* Scale by a factor of 2 a row of pixels of 16 bits. * This function operates like scale2x_8_def() but for 16 bits pixels. * \param src0 Pointer at
src/Engine/Scalers/scale2x.cpp:547
↓ 2 callers
Function
scale2x_32_def
* Scale by a factor of 2 a row of pixels of 32 bits. * This function operates like scale2x_8_def() but for 32 bits pixels. * \param src0 Pointer at
src/Engine/Scalers/scale2x.cpp:568
↓ 2 callers
Function
scale2x_8_def
* Scale by a factor of 2 a row of pixels of 8 bits. * The function is implemented in C. * The pixels over the left and right borders are assumed of
src/Engine/Scalers/scale2x.cpp:526
↓ 2 callers
Function
scale3x_16_def_border
src/Engine/Scalers/scale3x.cpp:355
↓ 2 callers
Function
scale3x_32_def_border
src/Engine/Scalers/scale3x.cpp:552
↓ 2 callers
Function
scale3x_8_def_border
src/Engine/Scalers/scale3x.cpp:157
↓ 2 callers
Method
scrollXY
* Handles scrolling with given deviation. * @param x X deviation. * @param y Y deviation. * @param redraw Redraw map or not. */
src/Battlescape/Camera.cpp:345
↓ 2 callers
Function
searchCodeIndex
search the index in the array, that has the largest value smaller than or equal to the given value, given array must be sorted (if no value is smaller
src/lodepng.cpp:1295
↓ 2 callers
Method
setAccuracy
* Sets the accuracy of the projectile. */
src/Savegame/CraftWeaponProjectile.cpp:202
↓ 2 callers
Method
setActiveHand
* Set unit's active hand. * @param hand active hand. */
src/Savegame/BattleUnit.cpp:2328
↓ 2 callers
Method
setBases
* Changes the current list of bases to display. * @param bases Pointer to base list to display. */
src/Basescape/MiniBaseView.cpp:54
↓ 2 callers
Method
setChecked
Marks the node as checked.
src/Battlescape/PathfindingNode.h:58
↓ 2 callers
Method
setComboBox
* Hooks up the button to work as part of an existing combobox, * updating the selection when it's pressed. * @param comboBox Pointer to combobox. *
src/Interface/TextList.cpp:1144
↓ 2 callers
Method
setDY
* Changes the vertical offset of the surface in the Y axis. * @param dy Y position in pixels. */
src/Interface/Window.cpp:277
↓ 2 callers
Method
setDangerous
* set the danger flag on this tile. */
src/Savegame/Tile.cpp:909
↓ 2 callers
Function
setDataFolder
* Changes the game's current Data folder where resources * and X-Com files are loaded from. * @param folder Full path to Data folder. */
src/Engine/Options.cpp:570
↓ 2 callers
Method
setDebugMode
* Toggles debug mode. */
src/Savegame/SavedGame.cpp:1412
↓ 2 callers
Method
setDieMCD
* Sets the dead object ID. * @param value The dead object ID. */
src/Ruleset/MapData.cpp:364
↓ 2 callers
Method
setDifficulty
* Changes the game's difficulty to a new level. * @param difficulty New difficulty. */
src/Savegame/SavedGame.cpp:582
↓ 2 callers
Method
setExplosive
* Set a "virtual" explosive on this tile. We mark a tile this way to detonate it later. * We do it this way, because the same tile can be visited mul
src/Savegame/Tile.cpp:495
↓ 2 callers
Method
setExplosive
* Sets the amount of explosive. * @param value The amount of explosive. */
src/Ruleset/MapData.cpp:478
↓ 2 callers
Method
setFlags
* Sets all kinds of flags. * @param isUfoDoor True if this is a ufo door. * @param stopLOS True if this stops line of sight. * @param isNoFloor Tru
src/Ruleset/MapData.cpp:150
↓ 2 callers
Method
setFlammable
* Sets the amount of flammable (how flammable this object is). * @param value The amount of flammable. */
src/Ruleset/MapData.cpp:422
↓ 2 callers
Method
setFuel
* Sets the amount of fuel. * @param value The amount of fuel. */
src/Ruleset/MapData.cpp:440
↓ 2 callers
Method
setGlobalShade
* Sets the global shade. * @param shade The global shade. */
src/Savegame/SavedBattleGame.cpp:512
↓ 2 callers
Method
setGlobeLatitude
* Changes the current latitude of the Geoscape globe. * @param lat Latitude. */
src/Savegame/SavedGame.cpp:673
↓ 2 callers
Method
setGlobeLongitude
* Changes the current longitude of the Geoscape globe. * @param lon Longitude. */
src/Savegame/SavedGame.cpp:655
↓ 2 callers
Method
setHidden
* This is a separate visibility setting intended * for temporary effects like window popups, * so as to not override the default visibility setting.
src/Engine/Surface.cpp:709
↓ 2 callers
Method
setId
* Assigns a unique ID to this mission. * It is an error to assign two IDs to the same mission. * @param id The UD to assign. */
src/Savegame/AlienMission.cpp:569
↓ 2 callers
Method
setInfiniteAmount
src/Savegame/Production.cpp:54
↓ 2 callers
Method
setInterceptionsCount
* Sets interceptions count. Used to properly position the window. * @param count Amount of interception windows. */
src/Geoscape/DogfightState.cpp:1681
↓ 2 callers
Method
setKneelReserved
* Sets the kneel reservation setting. * @param reserved Should we reserve an extra 4 TUs to kneel? */
src/Battlescape/BattlescapeGame.cpp:1997
↓ 2 callers
Method
setLoftID
* Sets the loft index for a certain layer. * @param loft The loft index. * @param layer The layer. */
src/Ruleset/MapData.cpp:460
↓ 2 callers
Method
setNewBaseHover
src/Geoscape/Globe.cpp:1362
↓ 2 callers
Method
setNumerical
* Restricts the text to only numerical input. * @param numerical Numerical restriction. */
src/Interface/TextEdit.cpp:218
↓ 2 callers
Method
setObjectiveDestroyed
* Sets whether the objective is destroyed. * @param flag True if the objective is destroyed. */
src/Savegame/SavedBattleGame.cpp:1062
↓ 2 callers
Method
setPalette
* Replaces a certain amount of colors in the inventory's palette. * @param colors Pointer to the set of colors. * @param firstcolor Offset of the fi
src/Battlescape/Inventory.cpp:86
↓ 2 callers
Method
setResourcePack
* Sets a new resource pack for the game to use. * @param res Pointer to the resource pack. */
src/Engine/Game.cpp:491
↓ 2 callers
Method
setScrolling
* Changes whether the list can be scrolled. * @param scrolling True to allow scrolling, false otherwise. * @param scrollPos Custom X position for th
src/Interface/TextList.cpp:857
↓ 2 callers
Method
setSelectorPosition
* Sets the selector to a certain tile on the map. * @param mx mouse x position. * @param my mouse y position. */
src/Battlescape/Map.cpp:1178
↓ 2 callers
Method
setSpecialAbility
* Changes the unit's special ability. * @param specab special ability. */
src/Savegame/BattleUnit.cpp:2266
↓ 2 callers
Method
setTUWalk
* Sets the TUWalk value. * @param TUWalk The new TUWalk value. */
src/Ruleset/MapData.cpp:514
↓ 2 callers
Method
setTerrainLevel
* Sets the Y offset for units/objects on this tile. * @param value The Y offset. */
src/Ruleset/MapData.cpp:310
↓ 2 callers
Method
setTerrorSite
* Sets the terror site involved in the battle. * @param terror Pointer to terror site. */
src/Battlescape/BattlescapeGenerator.cpp:164
↓ 2 callers
Method
setTextColor
* Changes the color for the message text. * @param color Color value. */
src/Battlescape/WarningMessage.cpp:71
↓ 2 callers
Method
setTurnFlag
* Sets the "dropped on non-player turn" flag. This is set when the item is dropped in the battlescape * or picked up in the inventory screen. * @par
src/Savegame/BattleItem.cpp:517
↓ 2 callers
Method
setTurretType
* Set the turret type. -1 is no turret. * @param turretType */
src/Savegame/BattleUnit.cpp:2021
↓ 2 callers
Method
setUfo
* Sets the ufo involved in the battle. * @param ufo Pointer to UFO. */
src/Battlescape/BattlescapeGenerator.cpp:101
↓ 2 callers
Method
setUnitDying
* Sets the unitDying flag. * @param flag True if the unit is dying. */
src/Battlescape/Map.cpp:1509
↓ 2 callers
Method
setWarned
* sets the player's "warned" status. * @param warned set "warned" to this. */
src/Savegame/SavedGame.cpp:1517
↓ 2 callers
Method
setWorldTexture
* Sets the world texture where a ufo crashed. This is used to determine the terrain. * @param texture Texture id of the polygon on the globe. */
src/Battlescape/BattlescapeGenerator.cpp:111
↓ 2 callers
Method
setXCOMProperty
* Sets the XCom property flag. This is to determine at debriefing what goes into the base/craft. * @param flag True if it's XCom property. */
src/Savegame/BattleItem.cpp:489
↓ 2 callers
Method
startFalling
* Intialises the falling sequence. Occurs after death or stunned. */
src/Savegame/BattleUnit.cpp:1047
↓ 2 callers
Method
step
src/Savegame/Production.cpp:102
↓ 2 callers
Function
string_resize
returns 1 if success, 0 if failure ==> nothing done*/
src/lodepng.cpp:278
← previous
next →
1,201–1,300 of 4,163, ranked by callers