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
getDimensions
* Gets dimensions. * @param width Width. * @param length Length. * @param height Height. */
src/Ruleset/AlienDeployment.cpp:116
↓ 2 callers
Method
getEnergyRecovery
src/Ruleset/Unit.cpp:243
↓ 2 callers
Method
getFaceDirection
* Gets the BattleUnit's (horizontal) face direction. * Used only during strafing moves. * @return face direction */
src/Savegame/BattleUnit.cpp:372
↓ 2 callers
Method
getFloatHeight
* Get the unit's floating elevation. * @return The unit's elevation over the ground in voxels, when flying. */
src/Savegame/BattleUnit.cpp:2172
↓ 2 callers
Method
getFloorSprite
* Gets the reference in FLOOROB.PCK for use in inventory. * @return The sprite reference. */
src/Ruleset/RuleItem.cpp:283
↓ 2 callers
Method
getGlobalShade
* Gets the global shade. * @return The global shade. */
src/Savegame/SavedBattleGame.cpp:521
↓ 2 callers
Method
getGrenadeFromBelt
* Get a grenade from the belt (used for AI) * @return Pointer to item. */
src/Savegame/BattleUnit.cpp:1778
↓ 2 callers
Function
getHash
src/lodepng.cpp:1386
↓ 2 callers
Method
getHitAnimation
* Gets the item's hit animation. * @return The hit animation id. */
src/Ruleset/RuleItem.cpp:356
↓ 2 callers
Method
getHitRatio
* Gets the hit ratio of this facility's weaponry * against UFO invasions on the base. * @return The hit ratio as a percentage. */
src/Ruleset/RuleBaseFacility.cpp:324
↓ 2 callers
Method
getHoveredBase
* Returns the base the mouse cursor is currently over. * @return ID of the base. */
src/Basescape/MiniBaseView.cpp:74
↓ 2 callers
Method
getId
* Returns the BattleUnit's unique ID. * @return Unique ID. */
src/Savegame/BattleUnit.cpp:293
↓ 2 callers
Method
getId
* Returns the language string that names * this alien race. Each race has a unique name. * @return Race name. */
src/Ruleset/AlienRace.cpp:52
↓ 2 callers
Method
getImage
src/Engine/ShaderMove.h:74
↓ 2 callers
Method
getImprovement
* returns this soldier's psionic improvement score for this month. * @return score */
src/Savegame/Soldier.cpp:539
↓ 2 callers
Method
getIncomes
* return the list of income scores * @return list of income scores. */
src/Savegame/SavedGame.cpp:1490
↓ 2 callers
Method
getInitStats
* Get pointer to initial stats. */
src/Savegame/Soldier.cpp:379
↓ 2 callers
Method
getItems
* Returns the list of items in the craft. * @return Pointer to the item list. */
src/Savegame/Craft.cpp:471
↓ 2 callers
Method
getKills
* Returns the soldier's amount of kills. * @return Kills. */
src/Savegame/Soldier.cpp:318
↓ 2 callers
Method
getKneelHeight
* Get the unit's kneel height. * @return The unit's height in voxels, when kneeling. */
src/Savegame/BattleUnit.cpp:2163
↓ 2 callers
Method
getLoftID
* Gets the loft index for a certain layer. * @param layer The layer. * @return The loft index. */
src/Ruleset/MapData.cpp:450
↓ 2 callers
Method
getLoftempsSet
Gets the loftempSet. * @return The loftempsSet. */
src/Ruleset/Armor.cpp:220
↓ 2 callers
Method
getMap
* Gets pointer to the map. Some states need this info. * @return Pointer to map. */
src/Battlescape/BattlescapeState.cpp:1428
↓ 2 callers
Method
getMapDataSet
* Returns the info about a specific map data file. * @param name Datafile name. * @return Rules for the datafile. */
src/Ruleset/Ruleset.cpp:806
↓ 2 callers
Method
getMaxRange
* Gets the maximum range of this weapon * @return The maximum range. */
src/Ruleset/RuleItem.cpp:708
↓ 2 callers
Method
getMeleeHitSound
* What sound does this weapon make when you punch someone in the face with it? * @return The weapon's melee hit sound. */
src/Ruleset/RuleItem.cpp:853
↓ 2 callers
Method
getMinRange
* Gets the minimum effective range of this weapon. * @return The minimum effective range. */
src/Ruleset/RuleItem.cpp:744
↓ 2 callers
Method
getMiniMapIndex
* Gets the SCANG.DAT index for minimap. * @return The minimap index. */
src/Ruleset/MapData.cpp:496
↓ 2 callers
Method
getMonthlyMaintenace
* Returns the total amount of all the maintenance * monthly costs in the base. * @return Maintenance costs. */
src/Savegame/Base.cpp:952
↓ 2 callers
Method
getMotionPoints
* Get motion points for the motion scanner. More points * is a larger blip on the scanner. * @return points. */
src/Savegame/BattleUnit.cpp:2097
↓ 2 callers
Method
getMouseOverIcons
* Checks if the mouse is over the icons. * @return True, if the mouse is over the icons. */
src/Battlescape/BattlescapeState.cpp:2005
↓ 2 callers
Method
getMoveSound
* Gets the unit's move sound. * @return The id of the unit's move sound. */
src/Ruleset/Unit.cpp:183
↓ 2 callers
Method
getName
* Returns the language's name in its native language. * @return Language name. */
src/Engine/Language.cpp:453
↓ 2 callers
Method
getNewPact
* @return if we will sign a new pact. */
src/Savegame/Country.cpp:232
↓ 2 callers
Method
getNextStage
* Gets the next stage of the mission. * @return The next stage of the mission. */
src/Ruleset/AlienDeployment.cpp:154
↓ 2 callers
Function
getNumColorChannels
src/lodepng.cpp:2503
↓ 2 callers
Method
getOverlaps
* get the overlap value of this tile. * @return overlap */
src/Savegame/Tile.cpp:893
↓ 2 callers
Function
getPixelColorRGBA16
Get RGBA16 color of pixel with index i (y * width + x) from the raw image with given color type, but the given color type must be 16-bit itself.*/
src/lodepng.cpp:3350
↓ 2 callers
Function
getPixelColorRGBA8
Get RGBA8 color of pixel with index i (y * width + x) from the raw image with given color type.*/
src/lodepng.cpp:3100
↓ 2 callers
Function
getPixelColorsRGBA8
Similar to getPixelColorRGBA8, but with all the for loops inside of the color mode test cases, optimized to convert the colors much faster, when conve
src/lodepng.cpp:3213
↓ 2 callers
Method
getPolylines
* Returns the list of polylines in the resource set. * @return Pointer to the list of polylines. */
src/Resource/ResourcePack.cpp:131
↓ 2 callers
Method
getPrevNode
* Gets the previous node. * @return Pointer to the previous node. */
src/Battlescape/PathfindingNode.cpp:86
↓ 2 callers
Method
getRecoveryPoints
* Returns the item's recovery points. * This is used during the battlescape debriefing score calculation. * @return The recovery points. */
src/Ruleset/RuleItem.cpp:624
↓ 2 callers
Method
getRefuelRate
* Gets how much fuel is added to the * craft while refuelling. * @return The amount of fuel. */
src/Ruleset/RuleCraft.cpp:253
↓ 2 callers
Method
getRepairRate
* Gets how much damage is removed from the * craft while repairing. * @return The amount of damage. */
src/Ruleset/RuleCraft.cpp:243
↓ 2 callers
Method
getReservedAction
* Returns the action type that is reserved. * @return The type of action that is reserved. */
src/Battlescape/BattlescapeGame.cpp:1938
↓ 2 callers
Method
getRows
* Returns the amount of physical rows stored in the list. * @return Number of rows. */
src/Interface/TextList.cpp:228
↓ 2 callers
Method
getSecond
* Returns the current ingame second. * @return Second (0-59). */
src/Savegame/GameTime.cpp:143
↓ 2 callers
Method
getSnapRange
* Gets the maximim effective range of this weapon for Snap Shot. * @return The maximum range. */
src/Ruleset/RuleItem.cpp:726
↓ 2 callers
Method
getSounds
* Gets the list of sounds defined by this mod. * @return The list of sounds defined my this mod. */
src/Ruleset/ExtraSounds.cpp:54
↓ 2 callers
Method
getSpriteFacility
* Gets the ID of the sprite used to draw the * facility's contents inside the base shape. * @return The sprite ID. */
src/Ruleset/RuleBaseFacility.cpp:135
↓ 2 callers
Method
getStandHeight
* Get the unit's stand height. * @return The unit's height in voxels, when standing up. */
src/Savegame/BattleUnit.cpp:2154
↓ 2 callers
Method
getStandHeight
* Returns the unit's height at standing. * @return The unit's height. */
src/Ruleset/Unit.cpp:111
↓ 2 callers
Method
getStrings
* Gets the list of strings defined my this mod. * @return The list of strings. */
src/Ruleset/ExtraStrings.cpp:55
↓ 2 callers
Method
getSurfaceset
* Gets the surfaces in this dataset. * @return Pointer to the surfaceset. */
src/Ruleset/MapDataSet.cpp:92
↓ 2 callers
Method
getTUMarker
* get the number to be displayed for pathfinding preview. * @return marker */
src/Savegame/Tile.cpp:884
↓ 2 callers
Method
getTUMelee
* Gets the item's time unit percentage for melee attacks. * @return The melee TU percentage. */
src/Ruleset/RuleItem.cpp:437
↓ 2 callers
Method
getTUReserved
* Gets the TU reserved type. * @return A battleactiontype. */
src/Savegame/SavedBattleGame.cpp:1690
↓ 2 callers
Method
getTargets
* Returns a list of all the targets currently near a certain * cartesian point over the globe. * @param x X coordinate of point. * @param y Y coord
src/Geoscape/Globe.cpp:867
↓ 2 callers
Method
getTerrain
* Gets battlescape terrain using globe texture and latitude. * @param tex Globe texture. * @param lat Latitude. * @return Pointer to ruleterrain.
src/Battlescape/BattlescapeGenerator.cpp:1871
↓ 2 callers
Method
getTerrain
* Returns the rules for the specified terrain. * @param name Terrain name. * @return Rules for the terrain. */
src/Ruleset/Ruleset.cpp:795
↓ 2 callers
Method
getTerrainLevel
* If an object stand on this tile, this returns how high the unit is it standing. * @return the level in pixels */
src/Savegame/Tile.cpp:280
↓ 2 callers
Method
getTextDirection
* Returns the direction to use for rendering * text in this language. * @return Text direction. */
src/Engine/Language.cpp:573
↓ 2 callers
Method
getTextHeight
* Returns the rendered text's height. Useful to check if wordwrap applies. * @param line Line to get the height, or -1 to get whole text height. * @
src/Interface/Text.cpp:301
↓ 2 callers
Method
getTexture
* Returns the texture used to draw the polygon * (textures are stored in a set). * @return Texture sprite number. */
src/Geoscape/Polygon.cpp:160
↓ 2 callers
Method
getThrowingAccuracy
* Calculate throwing accuracy. * @return throwing Accuracy */
src/Savegame/BattleUnit.cpp:1358
↓ 2 callers
Method
getTimeSpent
src/Savegame/Production.cpp:59
↓ 2 callers
Method
getTopItemSprite
* Get the topmost item sprite to draw on the battlescape. * @return item sprite ID in floorob, or -1 when no item */
src/Savegame/Tile.cpp:737
↓ 2 callers
Method
getTotalFrames
* Returns the total amount of frames currently * stored in the set. * @return Number of frames. */
src/Engine/SurfaceSet.cpp:258
↓ 2 callers
Method
getTransferTime
* Gets the amount of time this item * takes to arrive at a base. * @return The time in hours. */
src/Ruleset/RuleItem.cpp:256
↓ 2 callers
Method
getTurretDirection
* Gets the BattleUnit's turret direction. * @return direction */
src/Savegame/BattleUnit.cpp:381
↓ 2 callers
Method
getUnitsFalling
* Returns whether there are any units falling in the battlescape. * @return True if there are any units falling in the battlescape. */
src/Savegame/SavedBattleGame.cpp:1537
↓ 2 callers
Function
getValueRequiredBits
Returns how many bits needed to represent given value (max 8 bit)*/
src/lodepng.cpp:3543
↓ 2 callers
Method
getWarned
* return if the player has been * warned about poor performance. * @return true or false. */
src/Savegame/SavedGame.cpp:1508
↓ 2 callers
Method
getWaypoints
* Returns the list of craft waypoints. * @return Pointer to waypoint list. */
src/Savegame/SavedGame.cpp:863
↓ 2 callers
Method
getWeaponReload
* Gets the weapon reload for UFO ships. * @return The UFO weapon reload time. */
src/Ruleset/RuleUfo.cpp:201
↓ 2 callers
Method
getX
* Returns the base facility's X position on the * base grid that it's placed on. * @return X position in grid squares. */
src/Savegame/BaseFacility.cpp:82
↓ 2 callers
Method
getY
* Returns the base facility's Y position on the * base grid that it's placed on. * @return Y position in grid squares. */
src/Savegame/BaseFacility.cpp:102
↓ 2 callers
Method
getZombieUnit
* Gets the unit that the victim is morphed into when attacked. * @return The weapon's zombie unit. */
src/Ruleset/RuleItem.cpp:816
↓ 2 callers
Function
get_numseq
reads running-length value from data stream
src/Engine/Adlib/adlplayer.cpp:506
↓ 2 callers
Function
get_pitched_freq_instr
returns note frequency with pitch wheel value applied
src/Engine/Adlib/adlplayer.cpp:368
↓ 2 callers
Function
gmext_write_end_ev
src/Engine/GMCat.cpp:134
↓ 2 callers
Function
gmext_write_tempo_ev
src/Engine/GMCat.cpp:122
↓ 2 callers
Method
groundTimer
* Gets the number of seconds UFOs should spend on the ground. * @return The number of seconds. */
src/Ruleset/UfoTrajectory.h:89
↓ 2 callers
Method
halveArmor
* Halve this unit's armor values (for beginner mode) */
src/Savegame/BattleUnit.cpp:2383
↓ 2 callers
Method
heal
* Heals soldier wounds. */
src/Savegame/Soldier.cpp:448
↓ 2 callers
Function
hq2x_32_rb
src/Engine/Scalers/hq2x.cpp:74
↓ 2 callers
Function
hq3x_32_rb
src/Engine/Scalers/hq3x.cpp:80
↓ 2 callers
Method
inOpenSet
Is this node already in a PathfindingOpenSet?
src/Battlescape/PathfindingNode.h:66
↓ 2 callers
Function
init_music
initialize music tracks, prepare for playing
src/Engine/Adlib/adlplayer.cpp:752
↓ 2 callers
Method
isAborted
* Returns whether the mission was aborted or successful. * @return True, if the mission was aborted, or false, if the mission was successful. */
src/Savegame/SavedBattleGame.cpp:1053
↓ 2 callers
Method
isAllocated
src/Savegame/Node.cpp:164
↓ 2 callers
Method
isBig
* Returns flag to indicate if it is a bullet hit (false), or a real explosion (true). * @return True if it is a real explosion, false if it is a bull
src/Battlescape/Explosion.cpp:83
↓ 2 callers
Method
isChecked
* Gets the checked status of this node. * @return True, if this node was checked. */
src/Battlescape/PathfindingNode.cpp:64
↓ 2 callers
Method
isFloating
* Is floating? A unit is floating when there is no ground under him/her. * @return true/false */
src/Savegame/BattleUnit.cpp:767
↓ 2 callers
Method
isPistol
* is this item a pistol? * @return whether or not it is a pistol. */
src/Ruleset/RuleItem.cpp:798
↓ 2 callers
Method
isPlaceable
* Returns if a certain facility can be successfully * placed on the currently selected square. * @param rule Facility type. * @return True if place
src/Basescape/BaseView.cpp:197
↓ 2 callers
Method
isResearchAvailable
* Check whether a ResearchProject can be researched. * @param r the RuleResearch to test. * @param unlocked the list of currently unlocked RuleResea
src/Savegame/SavedGame.cpp:1085
↓ 2 callers
Method
isRifle
* is this item a rifle? * @return whether or not it is a rifle. */
src/Ruleset/RuleItem.cpp:789
↓ 2 callers
Method
isScreen
* Returns whether this is a full-screen state. * This is used to optimize the state machine since full-screen * states automatically cover the whole
src/Engine/State.cpp:95
← previous
next →
1,101–1,200 of 4,163, ranked by callers