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
↓ 1 callers
Method
getMessageY
* Get the hidden movement screen's vertical position. * @return the vertical position of the hidden movement window. */
src/Battlescape/Map.cpp:1548
↓ 1 callers
Method
getMinVal
* Gets the minimum value for the condition (default is 0). * @return The minimum value. */
src/Ruleset/StatStringCondition.cpp:58
↓ 1 callers
Method
getMiniMapSpriteIndex
* Get the unit's minimap sprite index. Used to display the unit on the minimap * @return the unit minimap index */
src/Savegame/BattleUnit.cpp:1987
↓ 1 callers
Method
getMissed
* Returns true if the projectile missed it's target. * Otherwise returns false. */
src/Savegame/CraftWeaponProjectile.cpp:227
↓ 1 callers
Method
getMoveSound
* Get the unit's move sound. * @return id. */
src/Savegame/BattleUnit.cpp:2210
↓ 1 callers
Method
getName
* Returns the custom name for the base. * @param lang Language to get strings from. * @return Name. */
src/Savegame/Base.cpp:266
↓ 1 callers
Method
getName
* Returns the soldier's full name (and, optionally, statString). * @param statstring Add stat string? * @param maxLength Restrict length to a certai
src/Savegame/Soldier.cpp:174
↓ 1 callers
Method
getName
* Get unit's name. * An aliens name is the translation of it's race and rank. * hence the language pointer needed. * @param lang Pointer to languag
src/Savegame/BattleUnit.cpp:2119
↓ 1 callers
Method
getName
* Gets the terrain name. * @return The terrain name. */
src/Ruleset/RuleTerrain.cpp:111
↓ 1 callers
Method
getNumEquipment
* Returns the amount of equipment currently * equipped on this craft. * @return Number of items. */
src/Savegame/Craft.cpp:442
↓ 1 callers
Method
getPact
* no setter for this one, as it gets set automatically * at month's end if _newPact is set. * @return if we have signed a pact. */
src/Savegame/Country.cpp:250
↓ 1 callers
Method
getPainKillerQuantity
* Gets the pain killer quantity of the item. * @return The new pain killer quantity. */
src/Savegame/BattleItem.cpp:462
↓ 1 callers
Method
getPalette
* Returns a specific palette from the resource set. * @param name Name of the palette. * @return Pointer to the palette. */
src/Resource/ResourcePack.cpp:235
↓ 1 callers
Function
getPaletteTranslucency
palette must have 4 * palettesize bytes allocated, and given in format RGBARGBARGBARGBA... returns 0 if the palette is opaque, returns 1 if the palett
src/lodepng.cpp:5628
↓ 1 callers
Method
getParticle
* Gets a particle reference from the projectile surfaces. * @param i Index. * @return Particle id. */
src/Battlescape/Projectile.cpp:364
↓ 1 callers
Method
getPersonnelMaintenance
* Returns the total amount of monthly costs * for maintaining the personnel in the base. * @return Maintenance costs. */
src/Savegame/Base.cpp:920
↓ 1 callers
Method
getPrevDir
* Gets the previous walking direction for how we got on this node. * @return Previous vector. */
src/Battlescape/PathfindingNode.cpp:95
↓ 1 callers
Method
getProjectileSpeed
* Gets the speed of the projectile fired by this weapon * @return The projectile speed. */
src/Ruleset/RuleCraftWeapon.cpp:217
↓ 1 callers
Method
getProjectileType
* Gets the Projectile Type this weapon will fire * @return The projectile type. */
src/Ruleset/RuleCraftWeapon.cpp:208
↓ 1 callers
Method
getRadarChance
* Gets the chance of UFOs that come within the facility's * radar range being detected. * @return The chance as a percentage. */
src/Ruleset/RuleBaseFacility.cpp:304
↓ 1 callers
Method
getRadius
* Gets the radius of this type of UFO * on the dogfighting window. * @return The radius in pixels. */
src/Ruleset/RuleUfo.cpp:93
↓ 1 callers
Method
getRange
* Returns maximum range of projectile. */
src/Savegame/CraftWeaponProjectile.cpp:243
↓ 1 callers
Method
getRank
* Gets the unit's rank. * @return The unit's rank. */
src/Ruleset/Unit.cpp:156
↓ 1 callers
Method
getRankString
* Get the units's rank string. * @return rank. */
src/Savegame/BattleUnit.cpp:2293
↓ 1 callers
Method
getRemainingUses
* Gets either the remaining uses of the mapblock OR THE FREQUENCY! * Remaining limits the number of times a mapblock occurs. * Frequency increases t
src/Ruleset/MapBlock.cpp:125
↓ 1 callers
Method
getResearchProgress
* Return a string describing Research progress. * @return a string describing Research progress. */
src/Savegame/ResearchProject.cpp:137
↓ 1 callers
Method
getRetaliationTarget
* Get the base's retaliation status. * @return If the base is a valid target for alien retaliation. */
src/Savegame/Base.cpp:1164
↓ 1 callers
Method
getRoadTypeOdds
* Gets the road type odds. * @return The road type odds. */
src/Ruleset/RuleTerrain.cpp:241
↓ 1 callers
Method
getRowY
* Returns the Y position of a specific text row in the list. * @param row Row number. * @return Y position in pixels. */
src/Interface/TextList.cpp:210
↓ 1 callers
Method
getSatisfaction
* Keith Richards would be so proud * @return satisfaction level, 0 = alien pact, 1 = unhappy, 2 = satisfied, 3 = happy. */
src/Savegame/Country.cpp:114
↓ 1 callers
Function
getSeed
* Returns the current seed in use by the generator. * @return Current seed. */
src/Engine/RNG.cpp:54
↓ 1 callers
Method
getSegment
* Gets the Node's segment. * @return segment */
src/Savegame/Node.cpp:144
↓ 1 callers
Method
getSelectedBase
* Returns the last selected player base. * @return Pointer to base. */
src/Savegame/SavedGame.cpp:805
↓ 1 callers
Method
getSelectedPart
* Gets the selected body part. * @return The selected body part. */
src/Battlescape/MedikitView.cpp:119
↓ 1 callers
Method
getSelectorPosition
* Draws the rectangle selector. * @param pos Pointer to a position. */
src/Battlescape/Map.cpp:1224
↓ 1 callers
Method
getShootingAt
src/Savegame/Ufo.cpp:641
↓ 1 callers
Method
getShowAllLayers
* Checks if the camera is showing all map layers. * @return Current layer setting. */
src/Battlescape/Camera.cpp:565
↓ 1 callers
Method
getSingleImage
* Returns whether this is a single surface as opposed to a set of surfaces. * @return True if this is a single surface. */
src/Ruleset/ExtraSprites.cpp:86
↓ 1 callers
Method
getSizeZ
* Gets the MapBlock size z. * @return The size z. */
src/Ruleset/MapBlock.cpp:96
↓ 1 callers
Method
getSpacecraft
* Checks if this ship is capable of going to mars. * @return True if this ship is capable of going to mars. */
src/Ruleset/RuleCraft.cpp:301
↓ 1 callers
Method
getSpawnUnit
* Get the unit that is spawned when this one dies. * @return unit. */
src/Savegame/BattleUnit.cpp:2275
↓ 1 callers
Method
getSpecialAbility
* Returns the unit's special ability. * @return special ability. */
src/Savegame/BattleUnit.cpp:2257
↓ 1 callers
Method
getSpriteSheet
* Gets the unit's sprite sheet. * @return The sprite sheet name. */
src/Ruleset/Armor.cpp:100
↓ 1 callers
Method
getState
* Returns animation state of a beam. */
src/Savegame/CraftWeaponProjectile.cpp:176
↓ 1 callers
Method
getStimulantQuantity
* Gets the stimulant quantity of the item. * @return The new stimulant quantity. */
src/Savegame/BattleItem.cpp:480
↓ 1 callers
Method
getString
* Returns the string to add to a name for this StatString. * @return StatString... string. */
src/Ruleset/StatString.cpp:92
↓ 1 callers
Method
getStunRecovery
* Gets the amount of stun removed from a soldier's stun level. * @return The amount of stun removed. */
src/Ruleset/RuleItem.cpp:568
↓ 1 callers
Method
getSubType
* Gets the secondary type of the mapblock, if the primary type is occupied. * @return The mapblock's secondary type. */
src/Ruleset/MapBlock.cpp:114
↓ 1 callers
Method
getSuffix
src/Engine/LanguagePlurality.cpp:36
↓ 1 callers
Method
getSurface
* Returns a specific surface from the resource set. * @param name Name of the surface. * @return Pointer to the surface. */
src/Resource/ResourcePack.cpp:101
↓ 1 callers
Method
getTUGuess
Gets the approximate cost to reach the target position.
src/Battlescape/PathfindingNode.h:68
↓ 1 callers
Method
getTUs
* Gets the action tus that were linked to this menu item. * @return The timeunits that were linked to this menu item. */
src/Battlescape/ActionMenuItem.cpp:109
↓ 1 callers
Method
getTexts
* Returns the amount of text rows stored in the list. * @return Number of rows. */
src/Interface/TextList.cpp:219
↓ 1 callers
Method
getTileCoords
* Converts a tile index to coordinates. * @param index The (unique) tileindex. * @param x Pointer to the X coordinate. * @param y Pointer to the Y
src/Savegame/SavedBattleGame.cpp:569
↓ 1 callers
Method
getTopRace
src/Ruleset/RuleAlienMission.cpp:133
↓ 1 callers
Method
getTotal
* Gets the total cost of the current transfer. * @return Total cost. */
src/Basescape/TransferItemsState.cpp:732
↓ 1 callers
Method
getTotalQuantity
* Returns the total quantity of the items in the container. * @return Total item quantity. */
src/Savegame/ItemContainer.cpp:126
↓ 1 callers
Function
getTreeInflateDynamic
get the tree of a deflated block with dynamic tree, the tree itself is also Huffman compressed with a known tree*/
src/lodepng.cpp:938
↓ 1 callers
Function
getTreeInflateFixed
get the tree of a deflated block with fixed tree, as specified in the deflate specification*/
src/lodepng.cpp:930
↓ 1 callers
Method
getTurnFlag
* Gets the "dropped on non-player turn" flag. This is to determine whether or not * aliens should attempt to pick this item up, as items dropped by t
src/Savegame/BattleItem.cpp:507
↓ 1 callers
Method
getUfo
* Returns the UFO associated to this dogfight. * @return Returns pointer to UFO object associated to this dogfight. */
src/Geoscape/DogfightState.cpp:1812
↓ 1 callers
Method
getValue
* Get the unit's value. Used for score at debriefing. * @return value score */
src/Savegame/BattleUnit.cpp:2192
↓ 1 callers
Method
getVerticalDirection
* Gets the BattleUnit's vertical direction. This is when going up or down. * @return direction */
src/Savegame/BattleUnit.cpp:399
↓ 1 callers
Method
getVisibility
* Returns a UFO's visibility to radar detection. * The UFO's size and altitude affect the chances * of it being detected by radars. * @return Visib
src/Savegame/Ufo.cpp:555
↓ 1 callers
Method
getVisibleTiles
* Get the pointer to the vector of visible tiles. * @return pointer to vector. */
src/Savegame/BattleUnit.cpp:1262
↓ 1 callers
Method
getVoxelData
* Returns the list of voxeldata in the resource set. * @return Pointer to the list of voxeldata. */
src/Resource/ResourcePack.cpp:268
↓ 1 callers
Method
getWasHit
* Gets whether the unit was hit. * @return if it was hit. */
src/Battlescape/AlienBAIState.cpp:404
↓ 1 callers
Method
getWaypointCount
* Gets the number of waypoints in this trajectory. * @return The number of waypoints. */
src/Ruleset/UfoTrajectory.h:66
↓ 1 callers
Method
getWeekdayString
* Returns a localizable-string representation of * the current ingame weekday. * @return Weekday string ID. */
src/Savegame/GameTime.cpp:180
↓ 1 callers
Method
getXCOMProperty
* Gets the XCom property flag. This is to determine at debriefing what goes into the base/craft. * @return True if it's XCom property. */
src/Savegame/BattleItem.cpp:497
↓ 1 callers
Method
getZoom
* Checks if the globe is zoomed in to it's maximum. * @return Returns true if globe is at max zoom, otherwise returns false. */
src/Geoscape/Globe.cpp:2068
↓ 1 callers
Function
get_color_profile
profile must already have been inited with mode. It's ok to set some parameters of profile to done already.*/
src/lodepng.cpp:3553
↓ 1 callers
Function
gmext_read_stream
src/Engine/GMCat.cpp:52
↓ 1 callers
Function
gmext_write_midi
src/Engine/GMCat.cpp:289
↓ 1 callers
Function
gmext_write_sequence
src/Engine/GMCat.cpp:159
↓ 1 callers
Method
handle
* Handles mouse-wheeling. * @param action Pointer to an action. */
src/Battlescape/MiniMapState.cpp:106
↓ 1 callers
Method
handle
* Takes care of any events from the core game engine. * @param action Pointer to an action. */
src/Battlescape/BattlescapeState.cpp:1458
↓ 1 callers
Method
handle
* Handle key shortcuts. * @param action Pointer to an action. */
src/Geoscape/GeoscapeState.cpp:455
↓ 1 callers
Method
handleBaseDefense
* Handle base defense * @param base Base to defend. * @param ufo Ufo attacking base. */
src/Geoscape/GeoscapeState.cpp:2126
↓ 1 callers
Method
handleNonTargetAction
* Handles the result of non target actions, like priming a grenade. */
src/Battlescape/BattlescapeGame.cpp:607
↓ 1 callers
Method
handlePromotions
* Handles the higher promotions (not the rookie-squaddie ones). * @param participants a list of soldiers that were actually present at the battle. *
src/Savegame/SavedGame.cpp:1282
↓ 1 callers
Function
hash_cleanup
src/lodepng.cpp:1378
↓ 1 callers
Function
hash_init
src/lodepng.cpp:1360
↓ 1 callers
Method
hideAll
* Hides all the Surface child elements on display. */
src/Engine/State.cpp:176
↓ 1 callers
Function
hqxInit
src/Engine/Scalers/init.cpp:25
↓ 1 callers
Function
if
src/Engine/Scalers/hq2x.cpp:512
↓ 1 callers
Method
inUse
* Returns if this facility is currently being * used by its base. * @return True if it's under use, False otherwise. */
src/Savegame/BaseFacility.cpp:150
↓ 1 callers
Method
increaseLiveUfos
Increase number of live UFOs.
src/Savegame/AlienMission.h:99
↓ 1 callers
Function
inflate
src/lodepng.cpp:1263
↓ 1 callers
Function
inflateHuffmanBlock
inflate a block with dynamic of fixed Huffman tree*/
src/lodepng.cpp:1086
↓ 1 callers
Function
inflateNoCompression
src/lodepng.cpp:1186
↓ 1 callers
Method
init
* Initilizes the battlescapestate. */
src/Battlescape/BattlescapeState.cpp:506
↓ 1 callers
Method
init
* Reset and reload data. */
src/Menu/StartState.cpp:128
↓ 1 callers
Method
initAudio
* Initializes the audio subsystem. */
src/Engine/Game.cpp:638
↓ 1 callers
Method
initText
* Changes the various resources needed for text rendering. * The different fonts need to be passed in advance since the * text size can change mid-t
src/Basescape/BaseView.cpp:74
↓ 1 callers
Method
initText
* Changes the resources for the text in the list * and calculates the selector and visible amount of rows. * @param big Pointer to large-size font.
src/Interface/TextList.cpp:412
↓ 1 callers
Method
initUtilities
* Initializes the map utilities. * @param res Pointer to resource pack. */
src/Savegame/SavedBattleGame.cpp:484
↓ 1 callers
Function
init_music_data
music initialization function, sets up subblock array, tempo, instrument addreses and samples
src/Engine/Adlib/adlplayer.cpp:701
↓ 1 callers
Function
init_timetables
----------- initialize time tables ----------- */
src/Engine/Adlib/fmopl.cpp:582
↓ 1 callers
Method
insideRadarRange
* Returns if a certain target is inside the base's * radar range, taking in account the positions of both. * @param target Pointer to target to comp
src/Savegame/Base.cpp:400
← previous
next →
1,501–1,600 of 4,163, ranked by callers