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
↓ 12 callers
Method
getAvailableContainment
* Returns the total amount of Containment Space * available in the base. * @return Containment Lab space. */
src/Savegame/Base.cpp:1120
↓ 12 callers
Method
getCharging
* Get the units we are charging towards. * @return Charge Target */
src/Savegame/BattleUnit.cpp:2423
↓ 12 callers
Method
getCurrentItemId
* Gets the current item ID. * @return Current item ID pointer. */
src/Savegame/SavedBattleGame.cpp:1086
↓ 12 callers
Method
getID
* Get the node's id * @return unique id */
src/Savegame/Node.cpp:108
↓ 12 callers
Method
getLatitude
* Returns the latitude coordinate of the city. * @return The city's latitude in radians. */
src/Ruleset/City.cpp:67
↓ 12 callers
Method
getSpecialType
* Gets info about special tile types. * @return The special tile type. */
src/Ruleset/MapData.cpp:237
↓ 12 callers
Method
getTextWidth
* Returns the rendered text's width. * @param line Line to get the width, or -1 to get whole text width. * @return Width in pixels. */
src/Interface/Text.cpp:323
↓ 12 callers
Method
getUsedContainment
* Returns the total amount of used * Containment Space in the base. * @return Containment Lab space. */
src/Savegame/Base.cpp:1081
↓ 12 callers
Method
isKneeled
* Is kneeled down? * @return true/false */
src/Savegame/BattleUnit.cpp:758
↓ 12 callers
Method
onKeyboardRelease
* Sets a function to be called every time a key is released when the surface is focused. * @param handler Action handler. * @param key Keyboard butt
src/Engine/InteractiveSurface.cpp:505
↓ 12 callers
Function
serializeInt
src/Savegame/SerializationHelper.cpp:51
↓ 12 callers
Method
setAmmoItem
* Sets the item's ammo item. * @param item The ammo item. * @return -2 when ammo doesn't fit, or -1 when weapon already contains ammo. */
src/Savegame/BattleItem.cpp:361
↓ 12 callers
Method
setCraft
* Assigns the soldier to a new craft. * @param craft Pointer to craft. */
src/Savegame/Soldier.cpp:215
↓ 12 callers
Method
setFunds
* Changes the player's funds to a new value. * @param funds New funds. */
src/Savegame/SavedGame.cpp:629
↓ 12 callers
Method
setInvert
* Enables/disables color inverting. Some bars have * darker borders and others have lighter borders. * @param invert Invert setting. */
src/Interface/Bar.cpp:173
↓ 12 callers
Method
setLatitude
* Changes the latitude coordinate of the target. * @param lat Latitude in radian. */
src/Savegame/Target.cpp:121
↓ 12 callers
Method
setPalette
* Replaces a certain amount of colors in the state's palette. * @param colors Pointer to the set of colors. * @param firstcolor Offset of the first
src/Engine/State.cpp:351
↓ 12 callers
Method
setRange
* Changes the range of values the slider * can contain. * @param min Minimum value. * @param max Maximum value. */
src/Interface/Slider.cpp:207
↓ 12 callers
Method
setSavedGame
* Sets a new saved game for the game to use. * @param save Pointer to the saved game. */
src/Engine/Game.cpp:510
↓ 12 callers
Method
setSelectedUnit
* Changes the unit to display the inventory of. * @param unit Pointer to battle unit. */
src/Battlescape/Inventory.cpp:111
↓ 12 callers
Method
setTUReserved
* Sets the TU reserved type. * @param tur A battleactiontype. * @param player is this requested by the player? */
src/Battlescape/BattlescapeGame.cpp:1450
↓ 12 callers
Method
setTextColor
* Changes the color for the text only. * @param color Color value. */
src/Interface/TextButton.cpp:93
↓ 12 callers
Method
setY
* Changes the position of the surface in the Y axis. * @param y Y position in pixels. */
src/Engine/Surface.cpp:645
↓ 12 callers
Function
unserializeInt
src/Savegame/SerializationHelper.cpp:25
↓ 11 callers
Function
addChunk
chunkName must be string of 4 characters*/
src/lodepng.cpp:4882
↓ 11 callers
Method
getDY
* Gets the Vertical offset from the mid-point of the screen, in pixels. * @return the vertical offset. */
src/Engine/Screen.cpp:575
↓ 11 callers
Method
getGender
* Returns the soldier's gender. * @return Gender. */
src/Savegame/Soldier.cpp:327
↓ 11 callers
Method
getName
* Returns the game's name shown in Save screens. * @return Save name. */
src/Savegame/SavedGame.cpp:555
↓ 11 callers
Method
getPower
* Gets the item's power. * @return The power. */
src/Ruleset/RuleItem.cpp:365
↓ 11 callers
Method
getSizeX
* Gets the MapBlock size x. * @return The size x in tiles. */
src/Ruleset/MapBlock.cpp:69
↓ 11 callers
Method
getStunlevel
src/Savegame/BattleUnit.cpp:1015
↓ 11 callers
Method
getWeight
* Gets the armor's weight. * @return the weight of the armor. */
src/Ruleset/Armor.cpp:238
↓ 11 callers
Method
load
* Loads the region type from a YAML file. * @param node YAML node. */
src/Ruleset/City.cpp:47
↓ 11 callers
Method
selectUnit
* Selects the unit at the given position on the map. * @param pos Position. * @return Pointer to a BattleUnit, or 0 when none is found. */
src/Savegame/SavedBattleGame.cpp:692
↓ 11 callers
Method
setLongitude
* Changes the longitude coordinate of the target. * @param lon Longitude in radian. */
src/Savegame/Target.cpp:97
↓ 11 callers
Method
setSpeed
* Changes the speed of the moving target * and converts it from standard knots (nautical miles per hour) * into radians per 5 in-game seconds. * @p
src/Savegame/MovingTarget.cpp:134
↓ 11 callers
Function
uivector_cleanup
src/lodepng.cpp:135
↓ 11 callers
Function
uivector_init
src/lodepng.cpp:170
↓ 10 callers
Function
HuffmanTree_getLength
src/lodepng.cpp:856
↓ 10 callers
Function
OPL_KEYOFF
----- key off ----- */
src/Engine/Adlib/fmopl.cpp:307
↓ 10 callers
Function
OPL_KEYON
----- key on ----- */
src/Engine/Adlib/fmopl.cpp:296
↓ 10 callers
Method
canTargetUnit
* Checks for another unit available for targeting and what particular voxel. * @param originVoxel Voxel of trace origin (eye or gun's barrel). * @pa
src/Battlescape/TileEngine.cpp:532
↓ 10 callers
Method
damage
* damage terrain - check against armor * @param part Part to check. * @param power Power of the damage. * @return bool Return true objective was de
src/Savegame/Tile.cpp:480
↓ 10 callers
Method
getAlienRace
* Returns the info about a specific alien race. * @param name Race name. * @return Rules for the race. */
src/Ruleset/Ruleset.cpp:848
↓ 10 callers
Method
getAvailableStores
* Returns the total amount of stores * available in the base. * @return Storage space. */
src/Savegame/Base.cpp:609
↓ 10 callers
Method
getBase
* Returns the base the craft belongs to. * @return Pointer to base. */
src/Savegame/Craft.cpp:314
↓ 10 callers
Method
getBattleState
* Gets the BattlescapeState. * @return Pointer to the BattlescapeState. */
src/Savegame/SavedBattleGame.cpp:890
↓ 10 callers
Method
getClipItem
* Gets the language string of the item used to * load this craft weapon with ammo. * @return The item name. */
src/Ruleset/RuleCraftWeapon.cpp:199
↓ 10 callers
Method
getCurrentStats
* Get pointer to current stats. */
src/Savegame/Soldier.cpp:387
↓ 10 callers
Function
getDataFolder
* Returns the game's current Data folder where resources * and X-Com files are loaded from. * @return Full path to Data folder. */
src/Engine/Options.cpp:560
↓ 10 callers
Method
getDetected
* Returns whether this UFO has been detected by radars. * @return Detection status. */
src/Savegame/Ufo.cpp:306
↓ 10 callers
Method
getExplosionRadius
* Returns the item's max explosion radius. Small explosions don't have a restriction. * Larger explosions are restricted using a formula, with a maxi
src/Ruleset/RuleItem.cpp:587
↓ 10 callers
Method
getLongitude
* Returns the longitude coordinate of the city. * @return The city's longitude in radians. */
src/Ruleset/City.cpp:76
↓ 10 callers
Method
getLookup
* Gets what article to look up in the ufopedia. * @return The article to look up in the ufopaedia */
src/Ruleset/RuleResearch.cpp:118
↓ 10 callers
Method
getMaxDamage
* Gets the maximum damage (damage the UFO can take) * of the UFO. * @return The maximum damage. */
src/Ruleset/RuleUfo.cpp:133
↓ 10 callers
Method
getRadarRange
* Gets the craft's radar range * for detecting UFOs. * @return The range in nautical miles. */
src/Ruleset/RuleCraft.cpp:263
↓ 10 callers
Method
getSideArmor
* Gets the side armor level. * @return The side armor level. */
src/Ruleset/Armor.cpp:127
↓ 10 callers
Method
getUsedStores
* Returns the amount of stores used up by equipment in the base, * and equipment about to arrive. * @return Storage space. */
src/Savegame/Base.cpp:561
↓ 10 callers
Method
insideCountry
* Checks if a point is inside this country. * @param lon Longitude in radians. * @param lat Latitude in radians. * @return True if it's inside, fal
src/Ruleset/RuleCountry.cpp:119
↓ 10 callers
Method
isDoor
* Gets whether this is a normal door. * @return True if this is a normal door. */
src/Ruleset/MapData.cpp:124
↓ 10 callers
Function
lodepng_chunk_type_equals
src/lodepng.cpp:2374
↓ 10 callers
Method
setCraft
* Sets the XCom craft involved in the battle. * @param craft Pointer to XCom craft. */
src/Battlescape/BattlescapeGenerator.cpp:91
↓ 10 callers
Method
setInBattlescape
* Sets the UFO's battlescape status. * @param inbattle . */
src/Savegame/Ufo.cpp:523
↓ 10 callers
Method
setListButton
* Sets a flag for this button to say "i'm a member of a textList" to true. */
src/Engine/InteractiveSurface.cpp:520
↓ 10 callers
Method
setMissionType
* Sets the mission type. * @param missionType The mission type. */
src/Savegame/SavedBattleGame.cpp:494
↓ 10 callers
Function
stage_scale2x
* Apply the Scale2x effect on a group of rows. Used internally. */
src/Engine/Scalers/scalebit.cpp:48
↓ 9 callers
Function
ShaderSurface
* Create warper from Surface * @param s standard 8bit OpenXcom surface * @return */
src/Engine/ShaderMove.h:118
↓ 9 callers
Function
addBitsToStream
src/lodepng.cpp:407
↓ 9 callers
Method
addItem
* Add an item on the tile. * @param item * @param ground */
src/Savegame/Tile.cpp:709
↓ 9 callers
Method
calculateUnitLighting
* Recalculates lighting for the units. */
src/Battlescape/TileEngine.cpp:162
↓ 9 callers
Method
convertVoxelToScreen
* Converts voxel coordinates X,Y,Z to screen positions X, Y. * @param voxelPos X,Y,Z coordinates of the voxel. * @param screenPos Screen position.
src/Battlescape/Camera.cpp:493
↓ 9 callers
Method
getAlien
* Returns if this is a live alien. * @return True if this is a live alien. */
src/Ruleset/RuleItem.cpp:663
↓ 9 callers
Method
getAvailableHangars
* Returns the total amount of hangars * available in the base. * @return Number of hangars. */
src/Savegame/Base.cpp:756
↓ 9 callers
Method
getBigSprite
* Gets the reference in BIGOBS.PCK for use in inventory. * @return The sprite reference. */
src/Ruleset/RuleItem.cpp:274
↓ 9 callers
Method
getCities
* Gets the list of cities contained in this region. * @return Pointer to a list. */
src/Ruleset/RuleRegion.cpp:168
↓ 9 callers
Method
getDamage
* Returns the amount of damage this UFO has taken. * @return Amount of damage. */
src/Savegame/Ufo.cpp:276
↓ 9 callers
Method
getDamageType
* Gets the item's damage type. * @return The damage type. */
src/Ruleset/RuleItem.cpp:455
↓ 9 callers
Method
getFireSound
* Gets the item's fire sound. * @return The fire sound id. */
src/Ruleset/RuleItem.cpp:338
↓ 9 callers
Method
getFuel
* Fuel of a tile is the lowest flammability of its objects. * @return how long to burn. */
src/Savegame/Tile.cpp:536
↓ 9 callers
Method
getNumVehicles
* Returns the amount of vehicles currently * contained in this craft. * @return Number of vehicles. */
src/Savegame/Craft.cpp:452
↓ 9 callers
Method
getRange
* Gets the maximum range of this craft weapon. * @return The range in km. */
src/Ruleset/RuleCraftWeapon.cpp:119
↓ 9 callers
Method
getSizeY
* Gets the MapBlock size y. * @return The size y in tiles. */
src/Ruleset/MapBlock.cpp:78
↓ 9 callers
Method
getSpawnUnit
* Gets the unit that is spawned when this one dies. * @return The unit's spawn unit. */
src/Ruleset/Unit.cpp:219
↓ 9 callers
Method
getSpeed
* Returns the speed of the moving target. * @return Speed in knots. */
src/Savegame/MovingTarget.cpp:123
↓ 9 callers
Method
getUsedHangars
* Returns the amount of hangars used up * by crafts in the base. * @return Storage space. */
src/Savegame/Base.cpp:730
↓ 9 callers
Method
getZone
* Gets the zone index at a waypoint. * @param wp The waypoint. * @return The zone index. */
src/Ruleset/UfoTrajectory.h:73
↓ 9 callers
Method
invalidate
* Set the surface to be redrawn */
src/Engine/Surface.cpp:828
↓ 9 callers
Method
loadImage
* Loads the contents of an image file of a * known format into the surface. * @param filename Filename of the image. */
src/Engine/Surface.cpp:250
↓ 9 callers
Method
moraleChange
* Morale change with bounds check. * @param change can be positive or negative */
src/Savegame/BattleUnit.cpp:1503
↓ 9 callers
Method
pitch
src/Engine/ShaderDrawHelper.h:109
↓ 9 callers
Method
ptr
src/Engine/ShaderDrawHelper.h:105
↓ 9 callers
Method
push
* Places the node in the set. * If the node was already in the set, the previous entry is discarded. * It is the caller's responsibility to never re
src/Battlescape/PathfindingOpenSet.cpp:77
↓ 9 callers
Function
readBitsFromStream
src/lodepng.cpp:431
↓ 9 callers
Function
scale2x_16_def_center
src/Engine/Scalers/scale2x.cpp:317
↓ 9 callers
Function
scale2x_32_def_center
src/Engine/Scalers/scale2x.cpp:466
↓ 9 callers
Function
scale2x_8_def_center
src/Engine/Scalers/scale2x.cpp:168
↓ 9 callers
Method
setPosition
* Moves the slider to the new position. * @param value New value. */
src/Interface/Slider.cpp:195
↓ 9 callers
Method
setPreview
* set the direction used for path previewing. * @param dir */
src/Savegame/Tile.cpp:857
↓ 9 callers
Method
setSelectedBase
* Changes the base that is currently selected on * the mini base view. * @param base ID of base. */
src/Basescape/MiniBaseView.cpp:84
↓ 9 callers
Method
setStatus
Set the UFO's status.
src/Savegame/Ufo.h:100
← previous
next →
301–400 of 4,163, ranked by callers