MCPcopy Create free account

hub / github.com/OpenXcom/OpenXcom / functions

Functions4,163 in github.com/OpenXcom/OpenXcom

↓ 49 callersMethodgetSound
* Returns a particular wave from the sound set. * @param i Sound number in the set. * @return Pointer to the respective sound. */
src/Engine/SoundSet.cpp:163
↓ 49 callersMethodonTimer
* Sets a state function for the timer to call every interval. * @param handler Event handler. */
src/Engine/Timer.cpp:154
↓ 48 callersMethodgetAbsoluteXMouse
* Returns the absolute X position of the * mouse cursor relative to the game window, * corrected for screen scaling. * @return Mouse's absolute X p
src/Engine/Action.cpp:130
↓ 48 callersMethodgetCamera
* Gets the pointer to the camera. * @return Pointer to camera. */
src/Battlescape/Map.cpp:1465
↓ 48 callersMethodgetSlot
* Gets the item's inventory slot. * @return The slot id. */
src/Savegame/BattleItem.cpp:261
↓ 47 callersMethodsetX
* Changes the X coordinate of a given point. * @param i Point number (0-max). * @param x Point's X coordinate. */
src/Geoscape/Polygon.cpp:130
↓ 45 callersMethodgetDirection
* Returns the current direction the UFO is heading in. * @return Direction. */
src/Savegame/Ufo.cpp:346
↓ 45 callersMethodsetMax
* Changes the maximum value used to draw the outer border. * @param max Maximum value. */
src/Interface/Bar.cpp:106
↓ 45 callersMethodsetScale
* Changes the scale factor used to draw the bar values. * @param scale Scale in pixels/unit. */
src/Interface/Bar.cpp:87
↓ 42 callersMethodgetDestination
* Returns the destination the moving target is heading to. * @return Pointer to destination. */
src/Savegame/MovingTarget.cpp:87
↓ 42 callersMethodgetOriginalFaction
* Get this unit's original Faction. * @return original faction */
src/Savegame/BattleUnit.cpp:2467
↓ 41 callersMethodgetCraft
* Returns the rules for the specified craft. * @param id Craft type. * @return Rules for the craft. */
src/Ruleset/Ruleset.cpp:699
↓ 41 callersMethodremoveItem
* Remove an item from the tile. * @param item */
src/Savegame/Tile.cpp:720
↓ 40 callersMethodgetCompatibleAmmo
* Gets a list of compatible ammo. * @return Pointer to a list of compatible ammo. */
src/Ruleset/RuleItem.cpp:446
↓ 40 callersMethodgetTimeUnits
* Returns the soldier's amount of time units. * @return Time units. */
src/Savegame/BattleUnit.cpp:840
↓ 39 callersMethoddrawRect
* Draws a filled rectangle on the surface. * @param rect Pointer to Rect. * @param color Color of the rectangle. */
src/Engine/Surface.cpp:546
↓ 39 callersMethodgetHealth
* Returns the soldier's amount of health. * @return Health. */
src/Savegame/BattleUnit.cpp:858
↓ 39 callersMethodisRunning
* Returns if the timer has been started. * @return Running state. */
src/Engine/Timer.cpp:99
↓ 38 callersMethodsetCellColor
* Changes the color of a specific Text object in the list. * @param row Row number. * @param column Column number. * @param color Text color. */
src/Interface/TextList.cpp:152
↓ 37 callersMethodgetSide
* Gets the side currently playing. * @return The unit faction currently playing. */
src/Savegame/SavedBattleGame.cpp:764
↓ 37 callersMethodgetType
* Returns the language string that names * this unit. Each unit type has a unique name. * @return The unit's name. */
src/Ruleset/Unit.cpp:93
↓ 37 callersMethodisTwoHanded
* Returns whether this item is held with two hands. * @return True if it is two-handed. */
src/Ruleset/RuleItem.cpp:301
↓ 36 callersFunctionAreSame
src/fmath.h:26
↓ 35 callersMethodgetDebugMode
* Gets the current debug mode. * @return Debug mode. */
src/Savegame/SavedGame.cpp:1421
↓ 35 callersMethodgetVisible
* Get the tile visible flag. * @return visibility */
src/Savegame/Tile.cpp:848
↓ 35 callersMethodlock
src/Engine/OpenGL.cpp:126
↓ 34 callersMethodgetBattleGame
* Returns a pointer to the battlegame, in case we need its functions. */
src/Battlescape/BattlescapeState.cpp:1978
↓ 34 callersMethodgetCrop
* Returns the cropping rectangle for this surface. * @return Pointer to the cropping rectangle. */
src/Engine/Surface.cpp:685
↓ 34 callersMethodgetYScale
* Returns the Y scaling factor used by the screen * when this action was fired (used to correct mouse input). * @return Screen's Y scaling factor.
src/Engine/Action.cpp:56
↓ 34 callersFunctionlodepng_malloc
src/lodepng.cpp:61
↓ 34 callersMethodsetMapData
* Set the MapData references of part 0 to 3. * @param dat pointer to the data object * @param mapDataID * @param mapDataSetID * @param part the pa
src/Savegame/Tile.cpp:200
↓ 34 callersMethodunlock
* Unlocks the surface after it's been locked * to resume blitting operations. * @sa lock() */
src/Engine/Surface.cpp:730
↓ 33 callersMethodgetActionTUs
* Get the number of time units a certain action takes. * @param actionType * @param item * @return TUs */
src/Savegame/BattleUnit.cpp:1103
↓ 33 callersMethodgetFacilities
* Returns the list of facilities in the base. * @return Pointer to the facility list. */
src/Savegame/Base.cpp:284
↓ 33 callersMethodgetSelected
* Returns the currently selected option. * @return Selected row. */
src/Interface/ComboBox.cpp:233
↓ 33 callersMethodgetVehicles
* Returns the list of vehicles currently equipped * in the base. * @return Pointer to vehicle list. */
src/Savegame/Base.cpp:1315
↓ 33 callersMethodgetXScale
* Returns the X scaling factor used by the screen * when this action was fired (used to correct mouse input). * @return Screen's X scaling factor.
src/Engine/Action.cpp:46
↓ 33 callersMethodhasNoFloor
* Whether this tile has a floor or not. If no object defined as floor, it has no floor. * @param tileBelow * @return bool */
src/Savegame/Tile.cpp:254
↓ 32 callersMethodaddItem
* Adds a new menu item for an action. * @param ba Action type. * @param name Action description. * @param id Pointer to the new item ID. */
src/Battlescape/ActionMenuState.cpp:155
↓ 32 callersMethodgetGame
* Gets pointer to the game. Some states need this info. * @return Pointer to game. */
src/Battlescape/BattlescapeState.cpp:1419
↓ 32 callersMethodgetMonthsPassed
* @return the month counter. */
src/Savegame/SavedGame.cpp:1565
↓ 32 callersMethodgetObjects
* Gets the objects in this dataset. * @return Pointer to the objects. */
src/Ruleset/MapDataSet.cpp:83
↓ 32 callersMethodgetUfos
* Returns the list of alien UFOs. * @return Pointer to UFO list. */
src/Savegame/SavedGame.cpp:854
↓ 32 callersMethodresetDisplay
* Resets the screen surfaces based on the current display options, * as they don't automatically take effect. * @param resetVideo Reset display surf
src/Engine/Screen.cpp:305
↓ 32 callersMethodsetSelectable
* If enabled, the base view will respond to player input, * highlighting the selected facility. * @param size Facility length (0 disables it). */
src/Basescape/BaseView.cpp:165
↓ 31 callersMethodsetGroup
* Changes the button group this button belongs to. * @param group Pointer to the pressed button pointer in the group. * Null makes it a regular butt
src/Interface/TextButton.cpp:177
↓ 30 callersMethodgetResearch
* Returns the rules for the specified research project. * @param id Research project type. * @return Rules for the research project. */
src/Ruleset/Ruleset.cpp:1001
↓ 30 callersMethodgetSavedBattle
* Get pointer to the battleGame object. * @return Pointer to the battleGame object. */
src/Savegame/SavedGame.cpp:881
↓ 30 callersMethodgetSize
* Returns the size occupied by this vehicle * in a transport craft. * @return Size in tiles. */
src/Savegame/Vehicle.cpp:104
↓ 30 callersMethodonChange
* Sets a function to be called every time the slider's value changes. * @param handler Action handler. */
src/Interface/Slider.cpp:300
↓ 30 callersMethodsetCache
* Sets the unit's cache flag. * @param cache Pointer to cache surface to use, NULL to redraw from scratch. * @param part Unit part to cache. */
src/Savegame/BattleUnit.cpp:717
↓ 29 callersMethodgetArmor
* Returns the unit's current armor. * @return Pointer to armor data. */
src/Savegame/Soldier.cpp:407
↓ 29 callersMethodgetCursor
* Returns the mouse cursor used by the game. * @return Pointer to the cursor. */
src/Engine/Game.cpp:378
↓ 29 callersMethodgetTransfers
* Returns the list of transfers destined * to this base. * @return Pointer to the transfer list. */
src/Savegame/Base.cpp:312
↓ 29 callersMethodload
* Loads a ruleset's contents from the given source. * @param source The source to use. */
src/Ruleset/Ruleset.cpp:200
↓ 28 callersMethodgetContents
* Returns all the items currently contained within. * @return List of contents. */
src/Savegame/ItemContainer.cpp:155
↓ 28 callersMethodgetPixel
* Returns the color of a specified pixel in the surface. * @param x X position of the pixel. * @param y Y position of the pixel. * @return Color
src/Engine/Surface.h:172
↓ 28 callersMethodgetTime
* Returns the time passed since the last interval. * @return Time in milliseconds. */
src/Engine/Timer.cpp:86
↓ 28 callersMethodsetCellText
* Changes the text of a specific Text object in the list. * @param row Row number. * @param column Column number. * @param text Text string. */
src/Interface/TextList.cpp:189
↓ 28 callersMethodsetRowColor
* Changes the text color of a whole row in the list. * @param row Row number. * @param color Text color. */
src/Interface/TextList.cpp:163
↓ 27 callersMethodcacheUnit
* Check if a certain unit needs to be redrawn. * @param unit Pointer to battleUnit. */
src/Battlescape/Map.cpp:1382
↓ 27 callersMethodgetAmmo
* Returns the ammo contained in this vehicle. * @return Weapon ammo. */
src/Savegame/Vehicle.cpp:78
↓ 27 callersMethodisDiscovered
* Get the black fog of war state of this tile. * @param part 0-2 westwall/northwall/content+floor * @return bool True = discovered the tile. */
src/Savegame/Tile.cpp:392
↓ 27 callersMethodsetMargin
* Changes the horizontal margin placed around the text. * @param margin Margin in pixels. */
src/Interface/TextList.cpp:632
↓ 26 callersFunctionadlib_reg
src/Engine/Adlib/adlplayer.cpp:299
↓ 26 callersMethodgetClipSize
* Gets the item's ammo clip size. * @return The ammo clip size. */
src/Ruleset/RuleItem.cpp:491
↓ 26 callersMethodsetVerticalAlign
* Changes the way the text is aligned vertically * relative to the drawing area. * @param valign Vertical alignment. */
src/Interface/Text.cpp:247
↓ 25 callersMethodgetMovementType
* Gets the movement type of this armor. * Useful for determining whether the armor can fly. * @return The movement type. */
src/Ruleset/Armor.cpp:193
↓ 25 callersMethodsetArrowColor
* Changes the color of the arrow buttons in the list. * @param color Color value. */
src/Interface/TextList.cpp:650
↓ 25 callersMethodspendTimeUnits
* Spend time units if it can. Return false if it can't. * @param tu * @return flag if it could spend the time units or not. */
src/Savegame/BattleUnit.cpp:1157
↓ 24 callersMethoddistance
* Calculates the distance between 2 points. Rounded up to first INT. * @param pos1 Position of first square. * @param pos2 Position of second square
src/Battlescape/TileEngine.cpp:2393
↓ 24 callersMethodgetAlienBases
* Returns the list of alien bases. * @return Pointer to alien base list. */
src/Savegame/SavedGame.cpp:1404
↓ 24 callersMethodgetFunds
* Returns the player's current funds. * @return Current funds. */
src/Savegame/SavedGame.cpp:611
↓ 24 callersMethodgetValue
* Gets the unit's value - for scoring. * @return The unit's value. */
src/Ruleset/Unit.cpp:165
↓ 24 callersMethodonMouseRelease
* Sets a function to be called every time the surface is mouse released. * @param handler Action handler. * @param button Mouse button to check for.
src/Engine/InteractiveSurface.cpp:444
↓ 24 callersMethodwhat
* Returns the message describing the exception * that occurred. * @return Exception message. */
src/Engine/Exception.cpp:42
↓ 23 callersMethodgetFire
* Get the amount of turns this tile is on fire. 0 = no fire. * @return fire : amount of turns this tile is on fire. */
src/Savegame/Tile.cpp:648
↓ 23 callersMethodgetItem
* Checks if there's an inventory item in * the specified inventory position. * @param slot Inventory slot. * @param x X position in slot. * @param
src/Savegame/BattleUnit.cpp:1675
↓ 23 callersMethodisResearched
* Returns if a certain research has been completed. * @param research Research ID. * @return Whether it's researched or not. */
src/Savegame/SavedGame.cpp:1217
↓ 23 callersFunctionload
* Loads options from a YAML file. * @param filename YAML filename. */
src/Engine/Options.cpp:502
↓ 22 callersFunctionfileExists
* Checks if a certain path exists and is a file. * @param path Full path to file. * @return Does it exist? */
src/Engine/CrossPlatform.cpp:621
↓ 22 callersMethodgetCurrentAction
* Gets a pointer to access action members directly. * @return Pointer to action. */
src/Battlescape/BattlescapeGame.cpp:1193
↓ 22 callersMethodisCrashed
* Returns if this UFO took enough damage * to cause it to crash. * @return Crashed status. */
src/Savegame/Ufo.cpp:382
↓ 22 callersMethodoffset
* Shifts all the colors in the surface by a set amount. * This is a common method in 8bpp games to simulate color * effects for cheap. * @param off
src/Engine/Surface.cpp:403
↓ 22 callersMethodsetSelected
* Changes the currently selected option. * @param sel Selected row. */
src/Interface/ComboBox.cpp:242
↓ 21 callersMethodcenterOnPosition
* Centers map on a certain position. * @param mapPos Position to center on. * @param redraw Redraw map or not. */
src/Battlescape/Camera.cpp:426
↓ 21 callersMethodgetAbsoluteYMouse
* Returns the absolute Y position of the * mouse cursor relative to the game window, * corrected for screen scaling. * @return Mouse's absolute X p
src/Engine/Action.cpp:143
↓ 21 callersMethodgetBigWall
* Gets whether this is a big wall, which blocks all surrounding paths. * * Return value key: * 0: not a bigWall * 1: regular bigWall * 2: allows
src/Ruleset/MapData.cpp:114
↓ 21 callersMethodgetLatitude
* Returns the latitude coordinate of the target. * @return Latitude in radian. */
src/Savegame/Target.cpp:112
↓ 21 callersMethodgetRegion
* Returns the rules for the specified region. * @param id Region type. * @return Rules for the region. */
src/Ruleset/Ruleset.cpp:657
↓ 21 callersMethodgetTUCost
* Gets the TU cost to move from 1 tile to the other (ONE STEP ONLY). * But also updates the endPosition, because it is possible * the unit goes upst
src/Battlescape/Pathfinding.cpp:250
↓ 21 callersMethodisDestroyed
* Returns if this UFO took enough damage * to cause it to crash. * @return Crashed status. */
src/Savegame/Ufo.cpp:392
↓ 21 callersFunctionuivector_push_back
returns 1 if success, 0 if failure ==> nothing done*/
src/lodepng.cpp:178
↓ 20 callersMethodblit
* Blits the globe onto another surface. * @param surface Pointer to another surface. */
src/Geoscape/Globe.cpp:1806
↓ 20 callersMethodgetNumSoldiers
* Returns the amount of soldiers from a list * that are currently attached to this craft. * @return Number of soldiers. */
src/Savegame/Craft.cpp:421
↓ 20 callersMethodgetPalette
* Returns the state's 8bpp palette. * @return Pointer to the palette's colors. */
src/Engine/State.cpp:387
↓ 20 callersMethodgetSprite
* Gets the bullet sprite. * @return Pointer to Surface. */
src/Battlescape/Projectile.cpp:391
↓ 20 callersFunctiongetUserFolder
* Returns the game's User folder where * saves are stored in. * @return Full path to User folder. */
src/Engine/Options.cpp:589
↓ 20 callersMethodgetWaypoints
* Gets a list of waypoints on the map. * @return A list of waypoints. */
src/Battlescape/Map.cpp:1490
↓ 20 callersFunctionucvector_init
src/lodepng.cpp:234
← previousnext →101–200 of 4,163, ranked by callers