MCPcopy Create free account

hub / github.com/OpenXcom/OpenXcom / functions

Functions4,163 in github.com/OpenXcom/OpenXcom

↓ 19 callersMethodblit
* Blits all the visible Surface child elements onto the * display screen, by order of addition. */
src/Engine/State.cpp:167
↓ 19 callersMethodgetFollowers
* Returns the list of crafts currently * following this target. * @return Pointer to list of crafts. */
src/Savegame/Target.cpp:142
↓ 19 callersMethodgetLongitude
* Returns the longitude coordinate of the target. * @return Longitude in radian. */
src/Savegame/Target.cpp:88
↓ 19 callersMethodgetNodes
* Gets the list of nodes. * @return Pointer to the list of nodes. */
src/Savegame/SavedBattleGame.cpp:710
↓ 19 callersMethodgetShade
* Gets the tile's shade amount 0-15. It returns the brightest of all light layers. * Shade level is the inverse of light level. So a maximum amount o
src/Savegame/Tile.cpp:424
↓ 19 callersMethodinitText
* 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/Interface/Text.cpp:149
↓ 19 callersMethodmoveToOwner
* Removes the item from the previous owner and moves it to the new owner. * @param owner Pointer to Battleunit. */
src/Savegame/BattleItem.cpp:236
↓ 19 callersFunctionpercent
* Generates a random percent chance of an event occuring, * and returns the result * @param value Value percentage (0-100%) * @return True if the c
src/Engine/RNG.cpp:133
↓ 18 callersMethodabortPath
* Aborts the current path. Clears the path vector. */
src/Battlescape/Pathfinding.cpp:543
↓ 18 callersMethodgetCraft
* Returns the craft the soldier is assigned to. * @return Pointer to craft. */
src/Savegame/Soldier.cpp:206
↓ 18 callersMethodgetInventoryHeight
* Gets the item's height in a soldier's inventory. * @return The height. */
src/Ruleset/RuleItem.cpp:482
↓ 18 callersMethodgetInventoryWidth
* Gets the item's width in a soldier's inventory. * @return The width. */
src/Ruleset/RuleItem.cpp:473
↓ 18 callersMethodgetMapDataSets
* Gets the array of mapdatafiles. * @return Pointer to the array of mapdatafiles. */
src/Ruleset/RuleTerrain.cpp:102
↓ 18 callersMethodgetMapSizeXYZ
* Gets the map size in tiles. * @return The map size. */
src/Savegame/SavedBattleGame.cpp:557
↓ 18 callersMethodgetPosition
* Gets the y position of the projectile on the radar. */
src/Savegame/CraftWeaponProjectile.cpp:135
↓ 18 callersMethodgetSender
* Returns the interactive surface that triggered * this action (the sender). * @return Pointer to interactive surface. */
src/Engine/Action.cpp:181
↓ 18 callersMethodgetSlotX
* Gets the item's inventory X position. * @return X position. */
src/Savegame/BattleItem.cpp:279
↓ 18 callersMethodgetVisibleUnits
* Get the pointer to the vector of visible units. * @return pointer to vector. */
src/Savegame/BattleUnit.cpp:1234
↓ 18 callersMethodinsideRegion
* Checks if a point is inside this region. * @param lon Longitude in radians. * @param lat Latitude in radians. * @return True if it's inside, fals
src/Ruleset/RuleRegion.cpp:145
↓ 18 callersMethodisFixed
* Returns whether this item is a fixed weapon. * You can't move/throw/drop fixed weapons - e.g. HWP turrets. * @return True if it is a fixed weapon.
src/Ruleset/RuleItem.cpp:320
↓ 18 callersMethodsetPressed
set the _isPressed state of the button and force it to redraw
src/Interface/ToggleTextButton.cpp:53
↓ 18 callersFunctionucvector_cleanup
src/lodepng.cpp:227
↓ 17 callersFunctionShaderScalar
src/Engine/ShaderDraw.h:134
↓ 17 callersMethodblit
* Blits the base view and selector. * @param surface Pointer to surface to blit onto. */
src/Basescape/BaseView.cpp:496
↓ 17 callersMethodgetAmmoQuantity
* Gets the quantity of ammo in this item. * @return Ammo quantity. */
src/Savegame/BattleItem.cpp:173
↓ 17 callersMethodgetGeoscapeSoldier
* Get the geoscape-soldier object. * @return soldier. */
src/Savegame/BattleUnit.cpp:2302
↓ 17 callersMethodgetHandSprite
* Gets the reference in HANDOB.PCK for use in inventory. * @return The sprite reference. */
src/Ruleset/RuleItem.cpp:292
↓ 17 callersMethodgetSlotY
* Gets the item's inventory Y position. * @return Y position. */
src/Savegame/BattleItem.cpp:297
↓ 17 callersMethodgetSmoke
* Get the amount of turns this tile is smoking. 0 = no smoke. * @return smoke : amount of turns this tile is smoking. */
src/Savegame/Tile.cpp:689
↓ 17 callersMethodgetSpacing
* Returns the spacing for any character in the font. * @return Spacing in pixels. * @note This does not refer to character spacing within the surfac
src/Engine/Font.cpp:216
↓ 17 callersMethodgetTerrorSites
* Returns the list of terror sites. * @return Pointer to terror site list. */
src/Savegame/SavedGame.cpp:872
↓ 17 callersMethodgetViewLevel
* Gets the displayed level. * @return The displayed layer. */
src/Battlescape/Camera.cpp:510
↓ 17 callersFunctionglGetProcAddress
src/Engine/OpenGL.cpp:74
↓ 17 callersMethodsetOptions
* Changes the list of available options to choose from. * @param options List of string IDs. */
src/Interface/ComboBox.cpp:273
↓ 16 callersMethodclose
* Closes the window. */
src/Battlescape/InfoboxState.cpp:104
↓ 16 callersMethodgetDifficulty
* Returns the game's difficulty level. * @return Difficulty level. */
src/Savegame/SavedGame.cpp:573
↓ 16 callersMethodgetPoints
* Returns the number of points (vertexes) that make up the polygon. * @return Number of points. */
src/Geoscape/Polygon.cpp:178
↓ 16 callersMethodsetCursorType
* Sets the 3D cursor to selection/aim mode. * @param type Cursor type. * @param size Size of cursor. */
src/Battlescape/Map.cpp:1349
↓ 16 callersMethodsetDestination
* Handle destination changes, making sure to delete old waypoint destinations. * @param dest Pointer to the new destination. */
src/Savegame/Ufo.cpp:634
↓ 16 callersMethodsetSlot
* Sets the item's inventory slot. * @param slot The slot id. */
src/Savegame/BattleItem.cpp:270
↓ 15 callersMethodcalculate
* Calculates the shortest path. * @param unit Unit taking the path. * @param endPosition The position we want to reach. * @param target Target of t
src/Battlescape/Pathfinding.cpp:81
↓ 15 callersMethodcalculateFOV
* Calculates line of sight of a soldier. * @param unit Unit to check line of sight of. * @return True when new aliens are spotted. */
src/Battlescape/TileEngine.cpp:227
↓ 15 callersMethodclearList
* Removes all the rows currently stored in the list. */
src/Interface/TextList.cpp:752
↓ 15 callersMethodcopy
* Copies the exact contents of another surface onto this one. * Only the content that would overlap both surfaces is copied, in * accordance with th
src/Engine/Surface.cpp:531
↓ 15 callersMethodgetAlienMission
* Returns the rules for the specified alien mission. * @param id Alien mission type. * @return Rules for the alien mission. */
src/Ruleset/Ruleset.cpp:1074
↓ 15 callersMethodgetAmmoMax
* Gets the maximum amount of ammo the craft weapon * can carry. * @return The amount of ammo. */
src/Ruleset/RuleCraftWeapon.cpp:169
↓ 15 callersMethodgetAssignedEngineers
src/Savegame/Production.cpp:69
↓ 15 callersMethodgetCharSize
* Returns the dimensions of a particular character in the font. * @param c Font character. * @return Width and Height dimensions (X and Y are ignore
src/Engine/Font.cpp:226
↓ 15 callersFunctiongetFolderContents
* Gets the name of all the files * contained in a certain folder. * @param path Full path to folder. * @param ext Extension of files ("" if it does
src/Engine/CrossPlatform.cpp:498
↓ 15 callersMethodgetItem
* Returns the rules for the specified item. * @param id Item type. * @return Rules for the item, or 0 when the item is not found. */
src/Ruleset/Ruleset.cpp:741
↓ 15 callersMethodgetMainHandWeapon
* Get the "main hand weapon" from the unit. * @param quickest Whether to get the quickest weapon, default true * @return Pointer to item. */
src/Savegame/BattleUnit.cpp:1742
↓ 15 callersMethodgetMapOffset
* Gets the map offset. * @return The map offset. */
src/Battlescape/Camera.cpp:537
↓ 15 callersMethodgetPressed
src/Interface/ToggleTextButton.h:44
↓ 15 callersMethodgetRandomMapBlock
* Gets a random mapblock within the given constraints. * @param maxsize The maximum size of the mapblock (10 or 20 or 999 - don't care). * @param ty
src/Ruleset/RuleTerrain.cpp:123
↓ 15 callersMethodgetStoreItem
* Gets the storage item needed to equip this. * @return The name of the store item. */
src/Ruleset/Armor.cpp:174
↓ 15 callersMethodreturnToBase
* Sends the craft back to its origin base. */
src/Savegame/Craft.cpp:623
↓ 15 callersMethodsetDirection
* Changes the BattleUnit's (horizontal) direction. * Only used for initial unit placement. * @param direction new horizontal direction */
src/Savegame/BattleUnit.cpp:341
↓ 15 callersMethodsetDot
* If enabled, the text in different columns will be separated by dots. * Otherwise, it will only be separated by blank space. * @param dot True for
src/Interface/TextList.cpp:546
↓ 15 callersMethodsetState
* Pops all the states currently in stack and pushes in the new state. * A shortcut for cleaning up all the old states when they're not necessary * l
src/Engine/Game.cpp:398
↓ 15 callersMethodsetUnit
* Sets _unit in order to abuse low-level pathfinding functions from outside the class. * @param unit Unit taking the path. */
src/Battlescape/Pathfinding.cpp:1148
↓ 15 callersMethodwarning
* Shows a warning message. * @param message Warning message. */
src/Battlescape/BattlescapeState.cpp:1449
↓ 14 callersMethodcancelCurrentAction
* Cancels the current action the user had selected (firing, throwing,..) * @param bForce Force the action to be cancelled. * @return Whether an ac
src/Battlescape/BattlescapeGame.cpp:1142
↓ 14 callersMethodgetAltitude
* Returns the current altitude of the UFO. * @return Altitude. */
src/Savegame/Ufo.cpp:355
↓ 14 callersMethodgetFloatHeight
* Returns the unit's floating elevation. * @return The unit's floating height. */
src/Ruleset/Unit.cpp:129
↓ 14 callersMethodgetMaxSpeed
* Gets the maximum speed of the UFO flying * around the Geoscape. * @return The maximum speed. */
src/Ruleset/RuleUfo.cpp:143
↓ 14 callersMethodgetPanicHandled
Returns whether panic has been handled.
src/Battlescape/BattlescapeGame.h:169
↓ 14 callersMethodgetProjectile
* Gets the current projectile sprite on the map. * @return Projectile or 0 if there is no projectile sprite on the map. */
src/Battlescape/Map.cpp:1447
↓ 14 callersMethodgetStartDirection
* Checks whether a path is ready and gives the first direction. * @return Direction where the unit needs to go next, -1 if it's the end of the path.
src/Battlescape/Pathfinding.cpp:522
↓ 14 callersMethodgetText
* Returns the string displayed on screen. * @return Text string. */
src/Interface/Text.cpp:177
↓ 14 callersMethodgetWalkingPhase
* Gets the walking phase for animation and sound. * @return phase will always go from 0-7 */
src/Savegame/BattleUnit.cpp:540
↓ 14 callersMethodgetYOffset
* Gets the Y offset for drawing. * @return The height in pixels. */
src/Ruleset/MapData.cpp:219
↓ 14 callersMethodisIronman
* Returns if the game is set to ironman mode. * Ironman games cannot be manually saved. * @return Tony Stark */
src/Savegame/SavedGame.cpp:592
↓ 14 callersMethodplayMusic
* Plays the specified track if it's not already playing. * @param name Name of the music. * @param random Pick a random track? */
src/Resource/ResourcePack.cpp:187
↓ 14 callersFunctionsave
* Saves options to a YAML file. * @param filename YAML filename. */
src/Engine/Options.cpp:530
↓ 14 callersMethodselectNextPlayerUnit
* Selects the next soldier. * @param checkReselect When true, don't select a unit that has been previously flagged. * @param setReselect When true,
src/Battlescape/BattlescapeState.cpp:961
↓ 14 callersMethodsetStateInterval
* Sets the timer interval for think() calls of the state. * @param interval An interval in ms. */
src/Battlescape/BattlescapeGame.cpp:937
↓ 14 callersMethodshowMessage
* Displays the warning message. * @param msg Message string. */
src/Battlescape/WarningMessage.cpp:106
↓ 13 callersFunctionRound
src/fmath.h:31
↓ 13 callersMethodclear
Remove all entries.
src/Savegame/WeightedOptions.h:48
↓ 13 callersMethoddrawLine
* Draws a line on the surface. * @param x1 Start x coordinate in pixels. * @param y1 Start y coordinate in pixels. * @param x2 End x coordinate in
src/Engine/Surface.cpp:577
↓ 13 callersMethodgetArrowsLeftEdge
* Gets the arrowsLeftEdge. * @return arrowsLeftEdge. */
src/Interface/TextList.cpp:115
↓ 13 callersMethodgetArrowsRightEdge
* Gets the arrowsRightEdge. * @return arrowsRightEdge. */
src/Interface/TextList.cpp:124
↓ 13 callersMethodgetAvailableEngineers
* Returns the amount of engineers contained * in the base without any assignments. * @return Number of engineers. */
src/Savegame/Base.cpp:501
↓ 13 callersMethodgetAvailableScientists
* Returns the amount of scientists contained * in the base without any assignments. * @return Number of scientists. */
src/Savegame/Base.cpp:466
↓ 13 callersMethodgetFpsCounter
* Returns the FpsCounter used by the game. * @return Pointer to the FpsCounter. */
src/Engine/Game.cpp:387
↓ 13 callersMethodgetFuseTimer
* Gets the turns until detonation. -1 = unprimed grenade * @return turns until detonation. */
src/Savegame/BattleItem.cpp:155
↓ 13 callersMethodgetGlobe
* Returns a pointer to the Geoscape globe for * access by other substates. * @return Pointer to globe. */
src/Geoscape/GeoscapeState.cpp:1776
↓ 13 callersMethodgetMapSizeZ
* Gets the map height. * @return The map height (Size Z) in layers. */
src/Savegame/SavedBattleGame.cpp:548
↓ 13 callersMethodgetUnit
* Get the (alive) unit on this tile. * @return BattleUnit. */
src/Savegame/Tile.h:179
↓ 13 callersMethodisUFODoor
* Gets whether this is an animated ufo door. * @return True if this is an animated ufo door. */
src/Ruleset/MapData.cpp:85
↓ 13 callersFunctionlodepng_realloc
src/lodepng.cpp:66
↓ 13 callersMethodsetColor2
* Changes the color used to draw the second contents. * @param color Color value. */
src/Interface/Bar.cpp:68
↓ 13 callersMethodsetDiscovered
* Sets the tile's cache flag. - TODO: set this for each object separately? * @param flag true/false * @param part 0-2 westwall/northwall/content+flo
src/Savegame/Tile.cpp:369
↓ 13 callersMethodsetId
* Changes the UFO's unique ID. * @param id Unique ID. */
src/Savegame/Ufo.cpp:243
↓ 13 callersMethodsetValue2
* Changes the value used to draw the second inner contents. * @param value Current value. */
src/Interface/Bar.cpp:144
↓ 13 callersMethodsetX
* Changes the position of the surface in the X axis. * @param x X position in pixels. */
src/Engine/Surface.cpp:636
↓ 13 callersFunctionucvector_resize
returns 1 if success, 0 if failure ==> nothing done*/
src/lodepng.cpp:207
↓ 12 callersMethodabortTurn
* Stops the turning towards the target direction. */
src/Savegame/BattleUnit.cpp:689
↓ 12 callersMethoddraw
* Draws the whole map, part by part. */
src/Battlescape/Map.cpp:164
↓ 12 callersMethodgetAssigned
* Returns the number of scientist assigned to this project * @return Number of assigned scientist. */
src/Savegame/ResearchProject.cpp:67
← previousnext →201–300 of 4,163, ranked by callers