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
↓ 9 callers
Method
setTimeUnits
* Set a specific number of timeunits. * @param tu */
src/Savegame/BattleUnit.cpp:1194
↓ 9 callers
Method
storesOverfull
* Checks if the base's stores are overfull. * * Supplying an offset will add/subtract to the used capacity before performing the check. * A positiv
src/Savegame/Base.cpp:597
↓ 9 callers
Method
timerReset
* Slows down the timer back to minimum speed, * for when important events occur. */
src/Geoscape/GeoscapeState.cpp:1751
↓ 9 callers
Method
updateSoldierInfo
* Updates a soldier's name/rank/tu/energy/health/morale. */
src/Battlescape/BattlescapeState.cpp:1239
↓ 8 callers
Function
HuffmanTree_cleanup
src/lodepng.cpp:515
↓ 8 callers
Function
HuffmanTree_init
src/lodepng.cpp:508
↓ 8 callers
Function
OPL_CALC_SLOT
---------- calcrate Envelope Generator & Phase Generator ---------- */ return : envelope output */
src/Engine/Adlib/fmopl.cpp:323
↓ 8 callers
Method
addActivityAlien
* Adds to the region's alien activity level. * @param activity Amount to add. */
src/Savegame/Region.cpp:87
↓ 8 callers
Method
addActivityXcom
* Adds to the region's xcom activity level. * @param activity Amount to add. */
src/Savegame/Region.cpp:78
↓ 8 callers
Method
getAmountTotal
src/Savegame/Production.cpp:39
↓ 8 callers
Method
getAvailablePsiLabs
* Returns the total amount of Psi Lab Space * available in the base. * @return Psi Lab space. */
src/Savegame/Base.cpp:1045
↓ 8 callers
Method
getAvailableQuarters
* Returns the total amount of living quarters * available in the base. * @return Living space. */
src/Savegame/Base.cpp:543
↓ 8 callers
Method
getBattlescapeTerrainData
* Gets the terrain data needed to draw the UFO in the battlescape. * @return The RuleTerrain. */
src/Ruleset/RuleUfo.cpp:192
↓ 8 callers
Method
getCorpseGeoscape
* Gets the corpse item used in the Geoscape. * @return The name of the corpse item. */
src/Ruleset/Armor.cpp:155
↓ 8 callers
Method
getDeployment
* Returns the info about a specific deployment. * @param name Deployment name. * @return Rules for the deployment. */
src/Ruleset/Ruleset.cpp:869
↓ 8 callers
Method
getGlobalType
* Returns the global type of projectile. * @return 0 - if it's a missile, 1 if beam. */
src/Savegame/CraftWeaponProjectile.cpp:65
↓ 8 callers
Method
getLauncherItem
* Gets the language string of the item used to * equip this craft weapon. * @return The item name. */
src/Ruleset/RuleCraftWeapon.cpp:189
↓ 8 callers
Method
getListOrder
* Gets the list weight for this research item * @return The list weight. */
src/Ruleset/RuleItem.cpp:699
↓ 8 callers
Method
getMCDPatch
* Gets an MCDPatch. * @param id The ID of the MCDPatch we want. * @return The MCDPatch based on ID, or 0 if none defined. */
src/Ruleset/Ruleset.cpp:1152
↓ 8 callers
Method
getMapSizeX
* Gets the map size x. * @return The map size x. */
src/Battlescape/Camera.cpp:519
↓ 8 callers
Method
getMapSizeY
* Gets the map size y. * @return The map size y. */
src/Battlescape/Camera.cpp:528
↓ 8 callers
Method
getModIndex
* Gets the mod index for this external sounds set. * @return The mod index for this external sounds set. */
src/Ruleset/ExtraSounds.cpp:63
↓ 8 callers
Method
getNodeLinks
get the node's paths
src/Savegame/Node.cpp:150
↓ 8 callers
Method
getOwner
* Gets the item's owner. * @return Pointer to Battleunit. */
src/Savegame/BattleItem.cpp:208
↓ 8 callers
Method
getPsiRequirements
* Gets the research-requirements for Psi-Lab (it's a cache for psiStrengthEval) */
src/Ruleset/Ruleset.cpp:1320
↓ 8 callers
Method
getQuantity
* Returns the quantity of items in the transfer. * @return Amount of items. */
src/Savegame/Transfer.cpp:238
↓ 8 callers
Method
getRank
* Get the rank of units that can spawn on this node. * @return noderank */
src/Savegame/Node.cpp:117
↓ 8 callers
Method
getRankString
* Returns a localizable-string representation of * the soldier's military rank. * @return String ID for rank. */
src/Savegame/Soldier.cpp:250
↓ 8 callers
Method
getScore
* Gets the amount of points the player * gets for shooting down the UFO. * @return The score. */
src/Ruleset/RuleUfo.cpp:183
↓ 8 callers
Method
getSellCost
* Gets the amount of money this item * is worth to sell. * @return The sell cost. */
src/Ruleset/RuleItem.cpp:246
↓ 8 callers
Method
getSpecialAbility
* Gets the unit's special ability. * @return The unit's specab. */
src/Ruleset/Unit.cpp:210
↓ 8 callers
Method
getSubX
* Gets the x subdivision. * @return The x subdivision. */
src/Ruleset/ExtraSprites.cpp:104
↓ 8 callers
Method
getSubY
* Gets the y subdivision. * @return The y subdivision. */
src/Ruleset/ExtraSprites.cpp:113
↓ 8 callers
Method
getTurretType
* Returns the item's Turret Type. * @return The turret index (-1 for no turret). */
src/Ruleset/RuleItem.cpp:654
↓ 8 callers
Method
getUsedQuarters
* Returns the amount of living quarters used up * by personnel in the base. * @return Living space. */
src/Savegame/Base.cpp:533
↓ 8 callers
Function
gmext_write_delta
src/Engine/GMCat.cpp:104
↓ 8 callers
Method
isInPsiTraining
* returns whether or not the unit is in psi training * @return true/false */
src/Savegame/Soldier.cpp:522
↓ 8 callers
Method
load
* Loads the font from a YAML file. * @param node YAML node. */
src/Engine/Font.cpp:67
↓ 8 callers
Method
loadDat
* Loads an X-Com palette from a file. X-Com palettes are just a set * of RGB colors in a row, on a 0-63 scale, which have to be adjusted * for moder
src/Engine/Palette.cpp:50
↓ 8 callers
Method
loadPck
* Loads the contents of an X-Com set of PCK/TAB image files * into the surface. The PCK file contains an RLE compressed * image, while the TAB file
src/Engine/SurfaceSet.cpp:73
↓ 8 callers
Function
lodepng_get_bpp
src/lodepng.cpp:2601
↓ 8 callers
Method
lookAt
* Look at a point. * @param point Position to look at. * @param turret True to turn the turret, false to turn the unit. */
src/Savegame/BattleUnit.cpp:559
↓ 8 callers
Method
onMouseOver
* Sets a function to be called every time the mouse moves over the surface. * @param handler Action handler. */
src/Engine/InteractiveSurface.cpp:469
↓ 8 callers
Method
removePreview
* Unmarks the tiles used for the path preview. * @return True, if the previewed path was removed. */
src/Battlescape/Pathfinding.cpp:927
↓ 8 callers
Function
rgb_to_yuv
src/Engine/Scalers/common.h:43
↓ 8 callers
Method
setAIState
* Changes the current AI state. * @param aiState Pointer to AI state. */
src/Savegame/BattleUnit.cpp:1582
↓ 8 callers
Method
setAlienRace
* Changes the alien race currently residing in the alien base. * @param race Alien race. */
src/Savegame/AlienBase.cpp:122
↓ 8 callers
Method
setBattleGame
* Set battleGame object. * @param battleGame Pointer to the battleGame object. */
src/Savegame/SavedGame.cpp:890
↓ 8 callers
Method
setColor
* Changes the color of the text in the list. This doesn't change * the color of existing text, just the color of text added from then on. * @param c
src/Interface/TextList.cpp:446
↓ 8 callers
Method
setFuseTimer
* Sets the turn to explode on. * @param turns Turns until detonation (player/alien turns, not game turns). */
src/Savegame/BattleItem.cpp:164
↓ 8 callers
Method
setMarkerColor
* Set the marker color on this tile. * @param color */
src/Savegame/Tile.cpp:821
↓ 8 callers
Method
setMouseAction
* Sets this action as a mouse action with * the respective mouse properties. * @param mouseX Mouse's X position. * @param mouseY Mouse's Y position
src/Engine/Action.cpp:69
↓ 8 callers
Method
setName
* Changes the custom name for the base. * @param name Name. */
src/Savegame/Base.cpp:275
↓ 8 callers
Method
setPalette
* Replaces a certain amount of colors in the surface's palette. * @param colors Pointer to the set of colors. * @param firstcolor Offset of the firs
src/Battlescape/Map.cpp:212
↓ 8 callers
Method
setStatus
* Updates the status text and restarts * the text timeout counter. * @param status New status text. */
src/Geoscape/DogfightState.cpp:1264
↓ 8 callers
Method
setTile
* Sets the item's tile. * @param tile The tile. */
src/Savegame/BattleItem.cpp:399
↓ 8 callers
Method
validMeleeRange
* Validates the melee range between two units. * @param attacker The attacking unit. * @param target The unit we want to attack. * @param dir Direc
src/Battlescape/TileEngine.cpp:2581
↓ 7 callers
Method
addFrame
* Creates and returns a particular frame in the surface set. * @param i Frame number in the set. * @return Pointer to the respective surface. */
src/Engine/SurfaceSet.cpp:229
↓ 7 callers
Method
cacheUnits
* Checks all units for if they need to be redrawn. */
src/Battlescape/Map.cpp:1370
↓ 7 callers
Method
center
* Rotates the globe to center on a certain * polar point on the world map. * @param lon Longitude of the point. * @param lat Latitude of the point.
src/Geoscape/Globe.cpp:797
↓ 7 callers
Method
getBaseFacility
* Returns the rules for the specified base facility. * @param id Facility type. * @return Rules for the facility. */
src/Ruleset/Ruleset.cpp:678
↓ 7 callers
Method
getBuyCost
* Gets the amount of money this item * costs to purchase (0 if not purchasable). * @return The buy cost. */
src/Ruleset/RuleItem.cpp:236
↓ 7 callers
Method
getCategory
* Gets the category shown in the manufacture list. * @return The category. */
src/Ruleset/RuleManufacture.cpp:74
↓ 7 callers
Method
getDamageModifier
* Gets the damage modifier for a certain damage type. * @param dt The damageType. * @return The damage modifier 0->1. */
src/Ruleset/Armor.cpp:212
↓ 7 callers
Method
getDeadSoldiers
* Returns the list of dead soldiers. * @return Pointer to soldier list. */
src/Savegame/SavedGame.cpp:1666
↓ 7 callers
Method
getDefenseValue
* Returns the total defense value of all * the facilities in the base. * @return Defense value. */
src/Savegame/Base.cpp:832
↓ 7 callers
Method
getDirectionTo
* Returns the direction from origin to target. * @param origin The origin point of the action. * @param target The target point of the action. * @r
src/Battlescape/TileEngine.cpp:2747
↓ 7 callers
Method
getEnergy
* Returns the soldier's amount of energy. * @return Energy. */
src/Savegame/BattleUnit.cpp:849
↓ 7 callers
Method
getExplosions
* Gets a list of explosion sprites on the map. * @return A list of explosion sprites. */
src/Battlescape/Map.cpp:1456
↓ 7 callers
Method
getExplosive
* Get explosive on this tile. * @return explosive */
src/Savegame/Tile.cpp:507
↓ 7 callers
Method
getFallingPhase
* Returns the phase of the falling sequence. * @return phase */
src/Savegame/BattleUnit.cpp:1082
↓ 7 callers
Method
getFatalWounds
* Get total amount of fatal wounds this unit has. * @return Number of fatal wounds. */
src/Savegame/BattleUnit.cpp:1391
↓ 7 callers
Method
getFiringAccuracy
* Calculate firing accuracy. * Formula = accuracyStat * weaponAccuracy * kneelingbonus(1.15) * one-handPenalty(0.8) * woundsPenalty(% health) * critW
src/Savegame/BattleUnit.cpp:1287
↓ 7 callers
Method
getFlags
gets "flags" variable, which is really the patrolling desirability value
src/Savegame/Node.h:80
↓ 7 callers
Method
getHeight
* Gets the height of the surfaces (used for single images and new spritesets). * @return The height of the surfaces. */
src/Ruleset/ExtraSprites.cpp:77
↓ 7 callers
Method
getHitFrame
Gets the UFO's hit frame.
src/Savegame/Ufo.cpp:676
↓ 7 callers
Method
getMaxFuel
* Gets the maximum fuel the craft can contain. * @return The fuel amount. */
src/Ruleset/RuleCraft.cpp:134
↓ 7 callers
Method
getMaxStats
* Gets the maximum stats for the random stats generator. * @return The maximum stats. */
src/Ruleset/RuleSoldier.cpp:80
↓ 7 callers
Method
getMission
Gets the UFO's mission object.
src/Savegame/Ufo.h:134
↓ 7 callers
Method
getPsiLaboratories
* Gets the number of soldiers this facility can contain * for monthly psi-training. * @return The number of soldiers. */
src/Ruleset/RuleBaseFacility.cpp:284
↓ 7 callers
Method
getRankSprite
* Returns a graphic representation of * the soldier's military rank. * @note THE MEANING OF LIFE * @return Sprite ID for rank. */
src/Savegame/Soldier.cpp:277
↓ 7 callers
Method
getShotgunPellets
* Gets the number of projectiles this ammo shoots at once. * @return The number of projectiles. */
src/Ruleset/RuleItem.cpp:807
↓ 7 callers
Method
getSightOriginVoxel
* Gets the origin voxel of a unit's eyesight (from just one eye or something? Why is it x+7?? * @param currentUnit The watcher. * @return Approximat
src/Battlescape/TileEngine.cpp:357
↓ 7 callers
Method
getStorage
* Gets the amount of storage space this facility provides * for base equipment. * @return The storage space. */
src/Ruleset/RuleBaseFacility.cpp:225
↓ 7 callers
Method
getSurface
* Returns the screen's internal buffer surface. Any * contents that need to be shown will be blitted to this. * @return Pointer to the buffer surfac
src/Engine/Screen.cpp:130
↓ 7 callers
Method
getTUSnap
* Gets the item's time unit percentage for snapshots. * @return The snapshot TU percentage. */
src/Ruleset/RuleItem.cpp:410
↓ 7 callers
Method
getTerrains
* Gets the terrain for battlescape generation. * @return The terrain. */
src/Ruleset/AlienDeployment.cpp:136
↓ 7 callers
Method
getTileIndex
* Converts coordinates into a unique index. * getTile() calls this every time, so should be inlined along with it. * @param pos The position to co
src/Savegame/SavedBattleGame.h:126
↓ 7 callers
Method
getWidth
* Gets the width of the surfaces (used for single images and new spritesets). * @return The width of the surfaces. */
src/Ruleset/ExtraSprites.cpp:68
↓ 7 callers
Method
getWoundRecovery
* Returns the amount of time until the soldier is healed. * @return Number of days. */
src/Savegame/Soldier.cpp:425
↓ 7 callers
Method
getYear
* Returns the current ingame year. * @return Year. */
src/Savegame/GameTime.cpp:249
↓ 7 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/Battlescape/WarningMessage.cpp:85
↓ 7 callers
Method
isGravLift
* Gets whether this is a grav lift. * @return True if this is a grav lift. */
src/Ruleset/MapData.cpp:133
↓ 7 callers
Method
isVoid
* Gets whether this tile has no objects. Note that we can have a unit or smoke on this tile. * @return bool True if there is nothing but air on this
src/Savegame/Tile.cpp:224
↓ 7 callers
Function
lodepng_get_raw_size
src/lodepng.cpp:2644
↓ 7 callers
Function
noExt
* Removes the extension from a filename. * @param filename Original filename. * @return Filename without the extension. */
src/Engine/CrossPlatform.cpp:707
↓ 7 callers
Method
setFire
* Set the amount of turns this tile is on fire. 0 = no fire. * @param fire : amount of turns this tile is on fire. */
src/Savegame/Tile.cpp:638
↓ 7 callers
Method
setMapOffset
* Sets the map offset. * @param pos The map offset. */
src/Battlescape/Camera.cpp:546
↓ 7 callers
Method
setPalette
* Replaces a certain amount of colors in the palette of all * the text contained in the list. * @param colors Pointer to the set of colors. * @para
src/Interface/TextList.cpp:378
↓ 7 callers
Method
setSecondsRemaining
* Changes the amount of remaining seconds the UFO has left on the ground. * After this many seconds thet UFO will take off, if landed, or disappear,
src/Savegame/Ufo.cpp:337
← previous
next →
401–500 of 4,163, ranked by callers