MCPcopy Create free account

hub / github.com/OpenXcom/OpenXcom / functions

Functions4,163 in github.com/OpenXcom/OpenXcom

↓ 4 callersMethodcanTargetTile
* Checks for a tile part available for targeting and what particular voxel. * @param originVoxel Voxel of trace origin (gun's barrel). * @param tile
src/Battlescape/TileEngine.cpp:630
↓ 4 callersMethodcartToPolar
* Converts a cartesian point into a polar point for * mapping a globe click onto the flat world map. * @param x X position of the cartesian point.
src/Geoscape/Globe.cpp:449
↓ 4 callersFunctioncaseInsensitiveFolder
* Takes a path and tries to find it based on the * system's case-sensitivity. * @param base Base unaltered path. * @param path Full path to check f
src/Engine/CrossPlatform.cpp:351
↓ 4 callersMethodcheckReactionFire
* Checks if a sniper from the opposing faction sees this unit. The unit with the highest reaction score will be compared with the current unit's react
src/Battlescape/TileEngine.cpp:775
↓ 4 callersMethodcheckReservedTU
* Checks against reserved time units. * @param bu Pointer to the unit. * @param tu Number of time units to check. * @param justChecking True to sup
src/Battlescape/BattlescapeGame.cpp:950
↓ 4 callersMethodchoose
* Select a random choice from among the contents. * This MUST be called on non-empty objects. * Each time this is called, the returned value can be
src/Savegame/WeightedOptions.cpp:32
↓ 4 callersMethodconnect
* Connects the node. This will connect the node to the previous node along the path to @a target * and update the pathfinding information. * @param
src/Battlescape/PathfindingNode.cpp:108
↓ 4 callersFunctioncreate
* Sets up the options by creating their OptionInfo metadata. */
src/Engine/Options.cpp:57
↓ 4 callersMethoddebug
* Shows a debug message in the topleft corner. * @param message Debug message. */
src/Battlescape/BattlescapeState.cpp:1437
↓ 4 callersMethoddequeuePath
* Dequeues the next path direction. Ie returns the direction and removes it from queue. * @return Direction where the unit needs to go next, -1 if it
src/Battlescape/Pathfinding.cpp:532
↓ 4 callersMethodderiveRank
* Derive the numeric unit rank from the string rank * (for soldier units). */
src/Savegame/BattleUnit.cpp:2512
↓ 4 callersMethoddestroy
* Destroy a part on this tile. We first remove the old object, then replace it with the destroyed one. * This is because the object type of the old a
src/Savegame/Tile.cpp:444
↓ 4 callersMethoddistanceSq
* Calculates the distance squared between 2 points. No sqrt(), not floating point math, and sometimes it's all you need. * @param pos1 Position of fi
src/Battlescape/TileEngine.cpp:2407
↓ 4 callersFunctionencode
src/lodepng.cpp:6193
↓ 4 callersFunctionfilter
src/lodepng.cpp:5231
↓ 4 callersFunctionfunc_mute
MAIN FUNCTION - instantly stops music
src/Engine/Adlib/adlplayer.cpp:519
↓ 4 callersMethodgetAccuracyAuto
* Gets the item's accuracy for autoshots. * @return The autoshot accuracy. */
src/Ruleset/RuleItem.cpp:383
↓ 4 callersMethodgetAliens
* Gets the number of captured live aliens this facility * can contain. * @return The number of aliens. */
src/Ruleset/RuleBaseFacility.cpp:245
↓ 4 callersMethodgetBulletSpeed
* Gets the speed at which this bullet travels. * @return The speed. */
src/Ruleset/RuleItem.cpp:762
↓ 4 callersMethodgetBulletSprite
* Gets the item's bullet sprite reference. * @return The sprite reference. */
src/Ruleset/RuleItem.cpp:329
↓ 4 callersMethodgetColors
* Provides access to colors contained in the palette. * @param offset Offset to a specific color. * @return Pointer to the requested SDL_Color. */
src/Engine/Palette.cpp:88
↓ 4 callersMethodgetCountryFunding
* Adds up the monthly funding of all the countries. * @return Total funding. */
src/Savegame/SavedGame.cpp:773
↓ 4 callersMethodgetCurrentFrame
* Gets the current frame in the animation. * @return frame number. */
src/Battlescape/Explosion.cpp:74
↓ 4 callersMethodgetDataset
* Gets the dataset this object belongs to. * @return Pointer to MapDataSet. */
src/Ruleset/MapData.cpp:56
↓ 4 callersMethodgetDistance
* Returns the great circle distance to another * target on the globe. * @param target Pointer to other target. * @returns Distance in radian. */
src/Savegame/Target.cpp:153
↓ 4 callersMethodgetDropoff
* Gets the accuracy dropoff value of this weapon. * @return The per-tile dropoff. */
src/Ruleset/RuleItem.cpp:753
↓ 4 callersMethodgetEquipmentLayout
* Returns the list of EquipmentLayoutItems of a soldier. * @return Pointer to the EquipmentLayoutItem list. */
src/Savegame/Soldier.cpp:457
↓ 4 callersMethodgetFlammable
* Gets the amount of flammable (how flammable this object is). * @return The amount of flammable. */
src/Ruleset/MapData.cpp:413
↓ 4 callersMethodgetFootstepSound
* Gets the tile's footstep sound. * @param tileBelow * @return sound ID */
src/Savegame/Tile.cpp:297
↓ 4 callersMethodgetHyperDetected
* Returns whether this UFO has been detected by hyper-wave. * @return Detection status. */
src/Savegame/Ufo.cpp:616
↓ 4 callersMethodgetId
* Returns the craft's unique ID. Each craft * can be identified by its type and ID. * @return Unique ID. */
src/Savegame/Craft.cpp:284
↓ 4 callersMethodgetId
* Gets the item's id. * @return The item's id. */
src/Savegame/BattleItem.cpp:408
↓ 4 callersMethodgetInterceptionOrder
* Gets interception order. * @return Interception order. */
src/Savegame/Craft.cpp:899
↓ 4 callersMethodgetInventory
* Get the pointer to the vector of inventory items. * @return pointer to vector. */
src/Savegame/BattleUnit.cpp:1563
↓ 4 callersMethodgetKneelReserved
* Gets the kneel reservation setting. * @return Kneel reservation setting. */
src/Battlescape/BattlescapeGame.cpp:2007
↓ 4 callersMethodgetLightSource
* Gets the amount of light the object is emitting. * @return The amount of light emitted. */
src/Ruleset/MapData.cpp:373
↓ 4 callersMethodgetManufactureTime
* Gets the time needed to manufacture one object. * @return The time needed to manufacture one object (in man/hour). */
src/Ruleset/RuleManufacture.cpp:102
↓ 4 callersMethodgetMarkerColor
* Get the marker color on this tile. * @return color */
src/Savegame/Tile.cpp:830
↓ 4 callersMethodgetMeleeAttackSound
* What sound does this weapon make when you swing this at someone? * @return The weapon's melee attack sound. */
src/Ruleset/RuleItem.cpp:844
↓ 4 callersMethodgetModSprite
* For user-defined UFOs, use a surface for the "preview" image. * @return The name of the surface that represents this UFO. */
src/Ruleset/RuleUfo.cpp:219
↓ 4 callersMethodgetName
* Returns the name of the city. * @return The city's name. */
src/Ruleset/City.cpp:58
↓ 4 callersMethodgetObjectType
* Gets the type of object. * @return The object type (0-3). */
src/Ruleset/MapData.cpp:246
↓ 4 callersMethodgetPatrolNode
* Finds a fitting node where a unit can patrol to. * @param scout Is the unit scouting? * @param unit Pointer to the unit (to get its position). *
src/Savegame/SavedBattleGame.cpp:1138
↓ 4 callersMethodgetPreviousOwner
* Gets the item's previous owner. * @return Pointer to Battleunit. */
src/Savegame/BattleItem.cpp:217
↓ 4 callersMethodgetPriority
* Get the priority of this spawnpoint. * @return priority */
src/Savegame/Node.cpp:126
↓ 4 callersMethodgetRace
* Gets the alien's race. * @return The alien's race. */
src/Ruleset/Unit.cpp:147
↓ 4 callersMethodgetRelativeYMouse
* Returns the relative X position of the * mouse cursor relative to the surface that * triggered the action, corrected for screen scaling. * @retur
src/Engine/Action.cpp:169
↓ 4 callersMethodgetRentCost
* Gets the cost of rent for a month. * @return The cost. */
src/Ruleset/RuleCraft.cpp:213
↓ 4 callersMethodgetScroll
* get the scroll depth. * @return scroll depth. */
src/Interface/TextList.cpp:1121
↓ 4 callersMethodgetSlots
* Gets all the slots in the inventory section. * @return The list of slots. */
src/Ruleset/RuleInventory.cpp:124
↓ 4 callersMethodgetSoldier
* Get a pointer to the soldier being transferred. * @return a pointer to the soldier being moved. */
src/Savegame/Transfer.cpp:320
↓ 4 callersMethodgetSoldier
* Returns pointer to the Soldier given it's unique ID. * @param id A soldier's unique id. * @return Pointer to Soldier. */
src/Savegame/SavedGame.cpp:1262
↓ 4 callersMethodgetSoldier
* Returns the info about a specific unit. * @param name Unit name. * @return Rules for the units. */
src/Ruleset/Ruleset.cpp:826
↓ 4 callersMethodgetSound
* Returns a specific sound from the resource set. * @param set Name of the sound set. * @param sound ID of the sound. * @return Pointer to the soun
src/Resource/ResourcePack.cpp:217
↓ 4 callersMethodgetSpaceUsed
* Returns the amount of space in use by * soldiers and vehicles. * @return Space used. */
src/Savegame/Craft.cpp:839
↓ 4 callersMethodgetSprites
* Gets the list of sprites defined my this mod. * @return The list of sprites. */
src/Ruleset/ExtraSprites.cpp:59
↓ 4 callersMethodgetStatCaps
* Gets the stat caps. * @return The stat caps. */
src/Ruleset/RuleSoldier.cpp:89
↓ 4 callersMethodgetStatStrings
* Gets the list of StatStrings. * @return The list of StatStrings. */
src/Ruleset/Ruleset.cpp:1188
↓ 4 callersMethodgetStrafeMove
* Gets the strafe move setting. * @return Strafe move. */
src/Battlescape/Pathfinding.cpp:1130
↓ 4 callersMethodgetTUAimed
* Gets the item's time unit percentage for aimed shots. * @return The aimed shot TU percentage. */
src/Ruleset/RuleItem.cpp:428
↓ 4 callersMethodgetTUAuto
* Gets the item's time unit percentage for autoshots. * @return The autoshot TU percentage. */
src/Ruleset/RuleItem.cpp:419
↓ 4 callersMethodgetTextWrapping
* Returns the wrapping rules to use for rendering * text in this language. * @return Text wrapping. */
src/Engine/Language.cpp:583
↓ 4 callersMethodgetTextures
* Gets the array of globe texture IDs this terrain is loaded on. * @return Pointer to the array of texture IDs. */
src/Ruleset/RuleTerrain.cpp:213
↓ 4 callersMethodgetTooltip
* Returns the help description of this surface, * for example for showing in tooltips. * @return String ID. */
src/Engine/Surface.cpp:838
↓ 4 callersMethodgetTotalSoldiers
* Returns the total amount of soldiers contained * in the base. * @return Number of soldiers. */
src/Savegame/Base.cpp:448
↓ 4 callersMethodgetTotalTUCost
Gets _totalTUCost; finds out whether we can hike somewhere in this turn or not.
src/Battlescape/Pathfinding.h:102
↓ 4 callersMethodgetType
* Get unit type. * @return unit type. */
src/Savegame/BattleUnit.cpp:2319
↓ 4 callersMethodgetVisibleRows
* Returns the amount of visible rows stored in the list. * @return Number of rows. */
src/Interface/TextList.cpp:237
↓ 4 callersMethodhit
* Handles bullet/weapon hits. * * A bullet/weapon hits a voxel. * @param center Center of the explosion in voxelspace. * @param power Power of the
src/Battlescape/TileEngine.cpp:1000
↓ 4 callersMethodignite
* Ignite starts fire on a tile, it will burn <fuel> rounds. Fuel of a tile is the highest fuel of its objects. * NOT the sum of the fuel of the objec
src/Savegame/Tile.cpp:555
↓ 4 callersMethodinit
* Initializes the Battlescape game. */
src/Battlescape/BattlescapeGame.cpp:157
↓ 4 callersMethodisBaseModule
* check if this is an xcom base object. * @return if it is a base object. */
src/Ruleset/MapData.cpp:541
↓ 4 callersMethodisPathPreviewed
* Gets the path preview setting. * @return True, if paths are previewed. */
src/Battlescape/Pathfinding.cpp:1139
↓ 4 callersMethodisVoxelVisible
src/Battlescape/TileEngine.cpp:2274
↓ 4 callersMethodisWaypoint
* Returns whether this item uses waypoints. * @return True if it uses waypoints. */
src/Ruleset/RuleItem.cpp:310
↓ 4 callersMethodloadData
* Loads terrain data in XCom format (MCD & PCK files). * @sa http://www.ufopaedia.org/index.php?title=MCD */
src/Ruleset/MapDataSet.cpp:101
↓ 4 callersMethodloadScr
* Loads the contents of an X-Com SCR image file into * the surface. SCR files are simply uncompressed images * containing the palette offset of each
src/Engine/Surface.cpp:220
↓ 4 callersFunctionlodepng_color_mode_init
src/lodepng.cpp:2524
↓ 4 callersFunctionlodepng_decode_memory
src/lodepng.cpp:4781
↓ 4 callersFunctionlodepng_encode_memory
src/lodepng.cpp:5855
↓ 4 callersFunctionlodepng_error_text
This returns the description of a numerical error code in English. This is also the documentation of all the error codes. */
src/lodepng.cpp:5926
↓ 4 callersFunctionlodepng_info_cleanup
src/lodepng.cpp:2859
↓ 4 callersFunctionlodepng_info_init
src/lodepng.cpp:2839
↓ 4 callersFunctionlodepng_state_cleanup
src/lodepng.cpp:4857
↓ 4 callersFunctionlodepng_state_init
src/lodepng.cpp:4844
↓ 4 callersMethodmod_range
src/Engine/ShaderDrawHelper.h:594
↓ 4 callersMethodmodifyData
* Applies an MCD patch to a mapDataSet. * @param dataSet The MapDataSet we want to modify. */
src/Ruleset/MCDPatch.cpp:128
↓ 4 callersFunctionnext
src/Engine/RNG.cpp:42
↓ 4 callersMethodpreviewPath
* Marks tiles for the path preview. * @param bRemove Remove preview? * @return True, if a path is previewed. */
src/Battlescape/Pathfinding.cpp:839
↓ 4 callersFunctionreadBitsFromReversedStream
src/lodepng.cpp:2326
↓ 4 callersMethodremove
* Marks the projectile to be removed. */
src/Savegame/CraftWeaponProjectile.cpp:160
↓ 4 callersMethodreplace
* Replaces every instance of a substring. * @param str The string to modify. * @param find The substring to find. * @param replace The substring to
src/Engine/Language.cpp:317
↓ 4 callersMethodrequestEndTurn
* Requests the end of the turn (waits for explosions etc to really end the turn). */
src/Battlescape/BattlescapeGame.cpp:1435
↓ 4 callersMethodresize
* Resizes the viewable window of the camera. */
src/Battlescape/Camera.cpp:601
↓ 4 callersFunctionscale2x_mmx_emms
* End the use of the MMX instructions. * This function must be called before using any floating-point operations. */
src/Engine/Scalers/scale2x.h:58
↓ 4 callersMethodscrollTo
* set the scroll depth. * @param scroll set the scroll depth to this. */
src/Interface/TextList.cpp:1130
↓ 4 callersMethodselectPreviousPlayerUnit
* Selects the previous soldier. * @param checkReselect When true, don't select a unit that has been previously flagged. * @param setReselect When tr
src/Battlescape/BattlescapeState.cpp:981
↓ 4 callersMethodsetAssigned
* Changes the number of scientist to the ResearchProject * @param nb number of scientist assigned to this ResearchProject */
src/Savegame/ResearchProject.cpp:53
↓ 4 callersFunctionsetBitOfReversedStream
src/lodepng.cpp:2350
↓ 4 callersMethodsetBuildTime
* Changes the base facility's remaining time * until it's finished building. * @param time Time left in days. */
src/Savegame/BaseFacility.cpp:132
← previousnext →701–800 of 4,163, ranked by callers