MCPcopy Create free account

hub / github.com/OpenXcom/OpenXcom / functions

Functions4,163 in github.com/OpenXcom/OpenXcom

↓ 638 callersMethodgetRules
* Returns the ruleset for the UFO's type. * @return Pointer to ruleset. */
src/Savegame/Ufo.cpp:224
↓ 556 callersMethodgetSavedGame
* Returns the saved game currently in use by the game. * @return Pointer to the saved game. */
src/Engine/Game.cpp:501
↓ 541 callersMethodsetColor
* Changes the color for the message background. * @param color Color value. */
src/Battlescape/WarningMessage.cpp:62
↓ 476 callersMethodsetColor
* Changes the color used to draw the border and contents. * @param color Color value. */
src/Interface/Bar.cpp:49
↓ 471 callersMethodgetPosition
* Gets the current position in voxel space. * @return position in voxel space. */
src/Battlescape/Explosion.cpp:65
↓ 440 callersMethodsetText
* Changes the message text. * @param message Message string. */
src/Battlescape/BattlescapeMessage.cpp:91
↓ 401 callersMethodgetTile
* Gets the item's tile. * @return The tile. */
src/Savegame/BattleItem.cpp:390
↓ 377 callersMethodsetText
* Changes the string displayed on screen. * @param text Text string. */
src/Interface/Text.cpp:162
↓ 324 callersMethodsetVisible
* Set the tile visible flag. * @param visibility */
src/Savegame/Tile.cpp:839
↓ 310 callersMethodonMouseClick
* Sets a function to be called every time the surface is mouse clicked. * @param handler Action handler. * @param button Mouse button to check for.
src/Engine/InteractiveSurface.cpp:410
↓ 307 callersMethodgetDetails
* Returns the details about this action. * @return Pointer to SDL_event. */
src/Engine/Action.cpp:200
↓ 295 callersFunctionDiff
src/Engine/Scalers/common.h:56
↓ 249 callersMethodblit
* Blits the inventory elements. * @param surface Pointer to surface to blit onto. */
src/Battlescape/Inventory.cpp:428
↓ 217 callersMethodonKeyboardPress
* Sets a function to be called every time a key is pressed when the surface is focused. * @param handler Action handler. * @param key Keyboard butto
src/Engine/InteractiveSurface.cpp:488
↓ 209 callersMethodpushState
* Pushes a new state into the top of the stack and initializes it. * The new state will be used once the next game cycle starts. * @param state Poin
src/Engine/Game.cpp:413
↓ 197 callersMethodsetPixel
* Changes the color of a pixel in the surface, relative to * the top-left corner of the surface. * @param x X position of the pixel. * @param y
src/Engine/Surface.h:140
↓ 183 callersMethodarg
src/Engine/LocalizedText.h:108
↓ 178 callersMethodgetMapData
* get the MapData references of part 0 to 3. * @param mapDataID * @param mapDataSetID * @param part the part number * @return the object ID */
src/Savegame/Tile.cpp:214
↓ 177 callersFunctiongenerate
* Generates a random integer number within a certain range. * @param min Minimum number, inclusive. * @param max Maximum number, inclusive. * @retu
src/Engine/RNG.cpp:74
↓ 173 callersMethodgetRuleset
* Gets the ruleset. * @return ruleset. */
src/Battlescape/BattlescapeGame.cpp:1622
↓ 170 callersMethodgetFrame
* Returns a particular frame from the surface set. * @param i Frame number in the set. * @return Pointer to the respective surface. */
src/Engine/SurfaceSet.cpp:215
↓ 156 callersMethodgetSurface
* Returns the surface stored within the font. Used for loading the * actual graphic into the font. * @return Pointer to the internal surface. */
src/Engine/Font.cpp:255
↓ 156 callersMethodsetBig
* Changes the text to use the big-size font. */
src/Interface/Text.cpp:116
↓ 155 callersMethodgetUnit
* Returns the info about a specific unit. * @param name Unit name. * @return Rules for the units. */
src/Ruleset/Ruleset.cpp:837
↓ 153 callersMethodgetStatus
Gets the UFO status
src/Savegame/Ufo.h:98
↓ 150 callersMethodgetArmor
* Gets the unit's armor type. * @return The unit's armor type. */
src/Ruleset/Unit.cpp:138
↓ 143 callersMethodgetName
* Returns the UFO's unique identifying name. * @param lang Language to get strings from. * @return Full name. */
src/Savegame/Ufo.cpp:253
↓ 143 callersMethodgetResourcePack
* Returns the resource pack currently in use by the game. * @return Pointer to the resource pack. */
src/Engine/Game.cpp:482
↓ 140 callersMethodgetItems
* Returns the list of items in the base. * @return Pointer to the item list. */
src/Savegame/Base.cpp:321
↓ 133 callersMethodgetTileEngine
* Gets the tilengine. * @return tilengine. */
src/Battlescape/BattlescapeGame.cpp:1598
↓ 129 callersMethodsetAlign
* Changes the way the text is aligned horizontally * relative to the drawing area. * @param align Horizontal alignment. */
src/Interface/Text.cpp:226
↓ 128 callersMethodpopState
* Removes the current state. * * This is a very important function. It is called by a BattleState (walking, projectile is flying, explosions,...) at
src/Battlescape/BattlescapeGame.cpp:788
↓ 126 callersMethodgetSize
* Gets the size of the unit. Normally this is 1 (small) or 2 (big). * @return The unit's size. */
src/Ruleset/Armor.cpp:202
↓ 124 callersMethodaddRow
* Adds a new row of text to the list, automatically creating * the required Text objects lined up where they need to be. * @param cols Number of col
src/Interface/TextList.cpp:248
↓ 122 callersMethodempty
Is this empty?
src/Savegame/WeightedOptions.h:46
↓ 119 callersMethodgetResourcePack
* Gets the resourcepack. * @return resourcepack. */
src/Battlescape/BattlescapeGame.cpp:1614
↓ 117 callersMethodgetInventory
* Get the inventory on this tile. * @return pointer to a vector of battleitems. */
src/Savegame/Tile.cpp:811
↓ 116 callersMethodsetY
* Changes the position of the surface in the Y axis. * @param y Y position in pixels. */
src/Battlescape/BattlescapeMessage.cpp:71
↓ 114 callersMethodclear
* Clears all the contents out of the internal buffer. */
src/Engine/Screen.cpp:217
↓ 113 callersMethodgetItem
* Gets the project tile item. * Returns 0 when there is no item thrown. * @return Pointer to BattleItem. */
src/Battlescape/Projectile.cpp:379
↓ 112 callersMethodgetY
* Returns the Y coordinate of a given point. * @param i Point number (0-max). * @return Point's Y coordinate. */
src/Geoscape/Polygon.cpp:140
↓ 106 callersMethodgetFaction
* Returns the unit's faction. * @return Faction. (player, hostile or neutral) */
src/Savegame/BattleUnit.cpp:707
↓ 106 callersMethodgetLanguage
* Returns the language currently in use by the game. * @return Pointer to the language. */
src/Engine/Game.cpp:436
↓ 103 callersMethodgetSoldiers
* Returns the list of soldiers in the base. * @return Pointer to the soldier list. */
src/Savegame/Base.cpp:293
↓ 102 callersMethodgetBases
* Returns the list of player bases. * @return Pointer to base list. */
src/Savegame/SavedGame.cpp:796
↓ 102 callersMethodgetStats
* Returns the unit's stats data object. * @return The unit's stats. */
src/Ruleset/Unit.cpp:102
↓ 100 callersMethodgetCrafts
* Returns the list of crafts in the base. * @return Pointer to the craft list. */
src/Savegame/Base.cpp:302
↓ 98 callersMethodgetBattleType
* Gets the item's battlye type. * @return The battle type. */
src/Ruleset/RuleItem.cpp:464
↓ 98 callersMethodgetSave
* Gets the save. * @return save. */
src/Battlescape/BattlescapeGame.cpp:1590
↓ 95 callersMethodsetHighContrast
* Enables/disables high contrast color. Mostly used for * Battlescape UI. * @param contrast High contrast setting. */
src/Interface/Text.cpp:215
↓ 94 callersMethodgetRuleset
* Returns the ruleset currently in use by the game. * @return Pointer to the ruleset. */
src/Engine/Game.cpp:520
↓ 94 callersMethodgetX
* Returns the X coordinate of a given point. * @param i Point number (0-max). * @return Point's X coordinate. */
src/Geoscape/Polygon.cpp:120
↓ 90 callersMethodgetHeight
* Returns the maximum height for any character in the font. * @return Height in pixels. */
src/Engine/Font.cpp:205
↓ 87 callersMethodpopState
* Pops the last state from the top of the stack. Since states * can't actually be deleted mid-cycle, it's moved into a separate queue * which is cle
src/Engine/Game.cpp:425
↓ 84 callersMethodgetUnits
* Gets the list of units. * @return Pointer to the list of units. */
src/Savegame/SavedBattleGame.cpp:719
↓ 83 callersMethodgetType
* Gets the Type of the selected item. * @param selected Currently selected item. * @return The type of the selected item. */
src/Basescape/SellState.cpp:741
↓ 82 callersMethodgetSelectedUnit
* Gets the currently selected unit * @return Pointer to BattleUnit. */
src/Savegame/SavedBattleGame.cpp:580
↓ 82 callersMethodsetWordWrap
* Enables/disables text wordwrapping. When enabled, lines of * text are automatically split to ensure they stay within the * drawing area, otherwise
src/Interface/Text.cpp:189
↓ 78 callersMethodgetScreen
* Returns the display screen used by the game. * @return Pointer to the screen. */
src/Engine/Game.cpp:369
↓ 78 callersMethodstop
* Stops all sounds playing. */
src/Engine/Sound.cpp:92
↓ 77 callersMethodsetValue
* Changes the value used to draw the inner contents. * @param value Current value. */
src/Interface/Bar.cpp:125
↓ 76 callersMethodgetMap
* Gets the map. * @return map. */
src/Battlescape/BattlescapeGame.cpp:1582
↓ 76 callersMethodsetSecondaryColor
* Changes the secondary color used to render the text. The text * switches between the primary and secondary color whenever there's * a 0x01 in the
src/Interface/Text.cpp:281
↓ 73 callersMethodgetAmmoItem
* Gets the item's ammo item. * @return The ammo item. */
src/Savegame/BattleItem.cpp:342
↓ 73 callersMethodgetPathfinding
* Gets the pathfinding. * @return pathfinding. */
src/Battlescape/BattlescapeGame.cpp:1606
↓ 72 callersMethodempty
Is the set empty?
src/Battlescape/PathfindingOpenSet.h:66
↓ 68 callersMethodgetBuildTime
* Returns the base facility's remaining time * until it's finished building (0 = complete). * @return Time left in days. */
src/Savegame/BaseFacility.cpp:122
↓ 68 callersMethodsetBackground
* Changes the message background. * @param background Pointer to background surface. */
src/Battlescape/BattlescapeMessage.cpp:82
↓ 66 callersMethodgetMissionType
* Gets the mission type. * @return The mission type. */
src/Savegame/SavedBattleGame.cpp:503
↓ 66 callersMethodgetTiles
* Gets the array of tiles. * @return A pointer to the Tile array. */
src/Savegame/SavedBattleGame.cpp:437
↓ 66 callersMethodgetWidth
* Returns the maximum width for any character in the font. * @return Width in pixels. */
src/Engine/Font.cpp:196
↓ 65 callersFunctiongetDataFile
* Takes a filename and tries to find it in the game's Data folders, * accounting for the system's case-sensitivity and path style. * @param filename
src/Engine/CrossPlatform.cpp:388
↓ 65 callersMethodgetLatitude
* Returns the latitude of a given point. * @param i Point number (0-max). * @return Point's latitude. */
src/Geoscape/Polygon.cpp:80
↓ 64 callersMethodgetLongitude
* Returns the longitude of a given point. * @param i Point number (0-max). * @return Point's longitude. */
src/Geoscape/Polygon.cpp:100
↓ 63 callersMethodsetX
* Changes the position of the surface in the X axis. * @param x X position in pixels. */
src/Battlescape/BattlescapeMessage.cpp:60
↓ 62 callersMethodonMouseOut
* Sets a function to be called every time the mouse moves out of the surface. * @param handler Action handler. */
src/Engine/InteractiveSurface.cpp:478
↓ 62 callersMethodsetInterval
* Changes the timer's interval to a new value. * @param interval Interval in milliseconds. */
src/Engine/Timer.cpp:145
↓ 62 callersFunctionucvector_push_back
returns 1 if success, 0 if failure ==> nothing done*/
src/lodepng.cpp:264
↓ 61 callersMethodgetId
* Returns the UFO's unique ID. If it's 0, * this UFO has never been detected. * @return Unique ID. */
src/Savegame/Ufo.cpp:234
↓ 61 callersMethodgetSelectedRow
* Returns the currently selected row if the text * list is selectable. * @return Selected row, -1 if none. */
src/Interface/TextList.cpp:606
↓ 61 callersMethodgetWeapons
* Returns the list of weapons currently equipped * in the craft. * @return Pointer to weapon list. */
src/Savegame/Craft.cpp:462
↓ 61 callersMethodstart
* Starts the timer running and counting time. */
src/Engine/Timer.cpp:67
↓ 60 callersMethodonMouseIn
* Sets a function to be called every time the mouse moves into the surface. * @param handler Action handler. */
src/Engine/InteractiveSurface.cpp:460
↓ 59 callersMethodblitNShade
* Specific blit function to blit battlescape terrain data in different shades in a fast way. * Notice there is no surface locking here - you have to
src/Engine/Surface.cpp:805
↓ 59 callersFunctionlodepng_free
src/lodepng.cpp:71
↓ 58 callersMethodsetTooltip
* Changes the help description of this surface, * for example for showing in tooltips. * @param tooltip String ID. */
src/Engine/Surface.cpp:848
↓ 58 callersMethodsetY
* Changes the Y coordinate of a given point. * @param i Point number (0-max). * @param y Point's Y coordinate. */
src/Geoscape/Polygon.cpp:150
↓ 56 callersMethodonMousePress
* Sets a function to be called every time the surface is mouse pressed. * @param handler Action handler. * @param button Mouse button to check for.
src/Engine/InteractiveSurface.cpp:427
↓ 55 callersMethodgetRegions
* Returns the list of world regions. * @return Pointer to region list. */
src/Savegame/SavedGame.cpp:787
↓ 55 callersMethodgetString
* Returns the localized text with the specified ID, in the proper form for @a n. * The substitution of @a n has already happened in the returned Loca
src/Engine/Language.cpp:490
↓ 55 callersMethodisOut
* Returns whether the soldier is out of combat, dead or unconscious. * A soldier that is out, cannot perform any actions, cannot be selected, but it'
src/Savegame/BattleUnit.cpp:1092
↓ 54 callersMethodgetSurfaceSet
* Returns a specific surface set from the resource set. * @param name Name of the surface set. * @return Pointer to the surface set. */
src/Resource/ResourcePack.cpp:112
↓ 54 callersMethodgetType
* Gets the Node's type. * @return type */
src/Savegame/Node.cpp:159
↓ 54 callersMethodplay
* Plays the contained sound effect. * @param channel Use specified channel, -1 to use any channel */
src/Engine/Sound.cpp:81
↓ 54 callersMethodsetBackground
* Changes the color used to draw the background. * @param bg Color value. */
src/Interface/Frame.cpp:65
↓ 54 callersMethodsetColumns
* Changes the columns that the list contains. * While rows can be unlimited, columns need to be specified * since they can have various widths for l
src/Interface/TextList.cpp:358
↓ 53 callersMethodgetCountries
* Returns the list of countries in the game world. * @return Pointer to country list. */
src/Savegame/SavedGame.cpp:764
↓ 52 callersMethodgetFont
* Returns the font currently used by the text. * @return Pointer to font. */
src/Interface/Text.cpp:135
↓ 51 callersMethodgetTerrainLevel
* Terrainlevel goes from 0 to -24. For a larger sized unit, we need to pick the heighest terrain level, which is the lowest number... * @param pos P
src/Battlescape/Map.cpp:1327
↓ 50 callersFunctioninit
* Handles the initialization of setting up default options * and finding and loading any existing ones. * @param argc Number of arguments. * @param
src/Engine/Options.cpp:386
next →1–100 of 4,163, ranked by callers