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
↓ 1 callers
Method
save
* Saves new battle data to a YAML file. * @param filename YAML filename. */
src/Menu/NewBattleState.cpp:352
↓ 1 callers
Method
saveBinary
* Saves the tile to binary. * @param buffer pointer to buffer. */
src/Savegame/Tile.cpp:173
↓ 1 callers
Method
saveZoomDogfight
* Stores the zoom used before a dogfight. */
src/Geoscape/Globe.cpp:736
↓ 1 callers
Function
save_file
write given buffer to the file, overwriting the file, it doesn't append to it.*/
src/lodepng.cpp:6056
↓ 1 callers
Function
scale2x
* Apply the Scale2x effect on a bitmap. * The destination bitmap is filled with the scaled version of the source bitmap. * The source bitmap isn't m
src/Engine/Scalers/scalebit.cpp:138
↓ 1 callers
Function
scale2x3
* Apply the Scale2x3 effect on a bitmap. * The destination bitmap is filled with the scaled version of the source bitmap. * The source bitmap isn't
src/Engine/Scalers/scalebit.cpp:183
↓ 1 callers
Function
scale2x3_16_mmx
* Scale by a factor of 2x3 a row of pixels of 16 bits. * This function operates like scale2x_16_mmx() but with an expansion * factor of 2x3 instead
src/Engine/Scalers/scale2x.cpp:1392
↓ 1 callers
Function
scale2x3_32_mmx
* Scale by a factor of 2x3 a row of pixels of 32 bits. * This function operates like scale2x_32_mmx() but with an expansion * factor of 2x3 instead
src/Engine/Scalers/scale2x.cpp:1408
↓ 1 callers
Function
scale2x3_8_mmx
* Scale by a factor of 2x3 a row of pixels of 8 bits. * This function operates like scale2x_8_mmx() but with an expansion * factor of 2x3 instead of
src/Engine/Scalers/scale2x.cpp:1376
↓ 1 callers
Function
scale2x4
* Apply the Scale2x4 effect on a bitmap. * The destination bitmap is filled with the scaled version of the source bitmap. * The source bitmap isn't
src/Engine/Scalers/scalebit.cpp:228
↓ 1 callers
Function
scale2x4_16_mmx
* Scale by a factor of 2x4 a row of pixels of 16 bits. * This function operates like scale2x_16_mmx() but with an expansion * factor of 2x4 instead
src/Engine/Scalers/scale2x.cpp:1441
↓ 1 callers
Function
scale2x4_32_mmx
* Scale by a factor of 2x4 a row of pixels of 32 bits. * This function operates like scale2x_32_mmx() but with an expansion * factor of 2x4 instead
src/Engine/Scalers/scale2x.cpp:1458
↓ 1 callers
Function
scale2x4_8_mmx
* Scale by a factor of 2x4 a row of pixels of 8 bits. * This function operates like scale2x_8_mmx() but with an expansion * factor of 2x4 instead of
src/Engine/Scalers/scale2x.cpp:1424
↓ 1 callers
Function
scale2x_16_mmx
* Scale by a factor of 2 a row of pixels of 16 bits. * This function operates like scale2x_8_mmx() but for 16 bits pixels. * \param src0 Pointer at
src/Engine/Scalers/scale2x.cpp:1340
↓ 1 callers
Function
scale2x_32_mmx
* Scale by a factor of 2 a row of pixels of 32 bits. * This function operates like scale2x_8_mmx() but for 32 bits pixels. * \param src0 Pointer at
src/Engine/Scalers/scale2x.cpp:1361
↓ 1 callers
Function
scale2x_8_mmx
* Scale by a factor of 2 a row of pixels of 8 bits. * This is a very fast MMX implementation. * The implementation uses a combination of cmp/and/not
src/Engine/Scalers/scale2x.cpp:1319
↓ 1 callers
Function
scale3x
* Apply the Scale3x effect on a bitmap. * The destination bitmap is filled with the scaled version of the source bitmap. * The source bitmap isn't m
src/Engine/Scalers/scalebit.cpp:273
↓ 1 callers
Function
scale3x_16_def
* Scale by a factor of 3 a row of pixels of 16 bits. * This function operates like scale3x_8_def() but for 16 bits pixels. * \param src0 Pointer at
src/Engine/Scalers/scale3x.cpp:693
↓ 1 callers
Function
scale3x_16_def_center
src/Engine/Scalers/scale3x.cpp:406
↓ 1 callers
Function
scale3x_16_def_whole
src/Engine/Scalers/scale3x.cpp:262
↓ 1 callers
Function
scale3x_32_def
* Scale by a factor of 3 a row of pixels of 32 bits. * This function operates like scale3x_8_def() but for 32 bits pixels. * \param src0 Pointer at
src/Engine/Scalers/scale3x.cpp:716
↓ 1 callers
Function
scale3x_32_def_center
src/Engine/Scalers/scale3x.cpp:603
↓ 1 callers
Function
scale3x_32_def_whole
src/Engine/Scalers/scale3x.cpp:459
↓ 1 callers
Function
scale3x_8_def
* Scale by a factor of 3 a row of pixels of 8 bits. * The function is implemented in C. * The pixels over the left and right borders are assumed of
src/Engine/Scalers/scale3x.cpp:670
↓ 1 callers
Function
scale3x_8_def_center
src/Engine/Scalers/scale3x.cpp:208
↓ 1 callers
Function
scale3x_8_def_whole
src/Engine/Scalers/scale3x.cpp:64
↓ 1 callers
Function
scale4x
* Apply the Scale4x effect on a bitmap. * The destination bitmap is filled with the scaled version of the source bitmap. * The source bitmap isn't m
src/Engine/Scalers/scalebit.cpp:401
↓ 1 callers
Function
scale4x_buf
* Apply the Scale4x effect on a bitmap. * The destination bitmap is filled with the scaled version of the source bitmap. * The source bitmap isn't m
src/Engine/Scalers/scalebit.cpp:321
↓ 1 callers
Method
secondaryAction
* Activates secondary action (right click). * @param pos Position on the map. */
src/Battlescape/BattlescapeGame.cpp:1369
↓ 1 callers
Method
setAborted
* Sets whether the mission was aborted or successful. * @param flag True, if the mission was aborted, or false, if the mission was successful. */
src/Savegame/SavedBattleGame.cpp:1044
↓ 1 callers
Method
setAction
* Links with an action and fills in the text fields. * @param action The battlescape action. * @param description The actions description. * @param
src/Battlescape/ActionMenuItem.cpp:86
↓ 1 callers
Method
setAlienBase
* Sets the alien base involved in the battle. * @param base Pointer to alien base. */
src/Battlescape/BattlescapeGenerator.cpp:1833
↓ 1 callers
Method
setAlienItemlevel
* Sets the alien item level. This is used to determine how advanced the equipment of the aliens will be. * note: this only applies to "New Battle" ty
src/Battlescape/BattlescapeGenerator.cpp:145
↓ 1 callers
Method
setAlienRace
* Sets the alien race on the mission. This is used to determine the various alien types to spawn. * @param alienRace Alien (main) race. */
src/Battlescape/BattlescapeGenerator.cpp:132
↓ 1 callers
Method
setAlign
* Changes the horizontal alignment of the text in the list. This doesn't change * the alignment of existing text, just the alignment of text added fr
src/Interface/TextList.cpp:526
↓ 1 callers
Method
setAltMCD
* Sets the alternative object ID. * @param value The alternative object ID. */
src/Ruleset/MapData.cpp:346
↓ 1 callers
Method
setAmmoQuantity
* Changes the quantity of ammo in this item. * @param qty Ammo quantity. */
src/Savegame/BattleItem.cpp:186
↓ 1 callers
Method
setAnimationFrame
* Sets the animation frame for animated units. * @param frame Frame number. */
src/Battlescape/UnitSprite.cpp:133
↓ 1 callers
Method
setBackground
* Changes the surface used to draw the background of the combo box. * @param bg New background. */
src/Interface/ComboBox.cpp:140
↓ 1 callers
Method
setBase
* Changes the base currently displayed on screen. * @param base Pointer to new base to display. */
src/Basescape/BasescapeState.cpp:229
↓ 1 callers
Method
setBaseOnly
* Changes the base the craft belongs to. (without setting the craft's coordinates) * @param base Pointer to base. */
src/Savegame/Craft.cpp:334
↓ 1 callers
Method
setBattleUnit
* Links this sprite to a BattleUnit to get the data for rendering. * @param unit Pointer to the BattleUnit. * @param part The part number for large
src/Battlescape/UnitSprite.cpp:79
↓ 1 callers
Method
setBig
* Changes the text list to use the big-size font. */
src/Interface/TextList.cpp:564
↓ 1 callers
Method
setBigWall
* Sets the bigWall value. * @param bigWall The new bigWall value. */
src/Ruleset/MapData.cpp:505
↓ 1 callers
Function
setBitOfReversedStream0
src/lodepng.cpp:2338
↓ 1 callers
Method
setButtonsPressed
* Sets mouse-buttons' pressed state. * @param button Index of the button. * @param pressed The state of the button. */
src/Battlescape/Map.cpp:1500
↓ 1 callers
Method
setColor
* Changes the color for the button and text. * @param color Color value. */
src/Interface/TextButton.cpp:73
↓ 1 callers
Method
setCrashId
Sets the UFO's crash site ID.
src/Savegame/Ufo.cpp:666
↓ 1 callers
Method
setDangerZone
* mark a region of the map as "dangerous" for a turn. * @param pos is the epicenter of the explosion. * @param radius how far to spread out. * @par
src/Battlescape/TileEngine.cpp:2872
↓ 1 callers
Method
setEngineers
* Changes the engineers being transferred. * @param engineers Amount of engineers. */
src/Savegame/Transfer.cpp:193
↓ 1 callers
Method
setFaceDirection
* Changes the BattleUnit's (horizontal) face direction. * Only used for strafing moves. * @param direction new face direction */
src/Savegame/BattleUnit.cpp:353
↓ 1 callers
Function
setFolders
* Sets up the game's Data folder where the data files * are loaded from and the User folder and Config * folder where settings and saves are stored
src/Engine/Options.cpp:423
↓ 1 callers
Method
setFootstepSound
* Sets the index to the footstep sound. * @param value The sound ID. */
src/Ruleset/MapData.cpp:328
↓ 1 callers
Method
setFunding
* Changes the country's current monthly funding. * @param funding Monthly funding. */
src/Savegame/Country.cpp:105
↓ 1 callers
Method
setGlobeZoom
* Changes the current zoom level of the Geoscape globe. * @param zoom Zoom level. */
src/Savegame/SavedGame.cpp:691
↓ 1 callers
Method
setGraphCountryToggles
* Sets the GraphCountryToggles. * @param value The new value for GraphCountryToggles. */
src/Savegame/SavedGame.cpp:1607
↓ 1 callers
Method
setGraphFinanceToggles
* Sets the GraphFinanceToggles. * @param value The new value for GraphFinanceToggles. */
src/Savegame/SavedGame.cpp:1616
↓ 1 callers
Method
setGraphRegionToggles
* Sets the GraphRegionToggles. * @param value The new value for GraphRegionToggles. */
src/Savegame/SavedGame.cpp:1598
↓ 1 callers
Method
setHEBlock
* Sets the amount of HE blockage. * @param HEBlock The high explosive blockage. */
src/Ruleset/MapData.cpp:210
↓ 1 callers
Method
setHealQuantity
* Sets the heal quantity of the item. * @param heal The new heal quantity. */
src/Savegame/BattleItem.cpp:435
↓ 1 callers
Method
setHeight
* Special handling for setting the height of the map viewport. * @param height the new base screen height. */
src/Battlescape/Map.cpp:1526
↓ 1 callers
Method
setHighContrast
* Enables/disables high contrast color. Mostly used for * Battlescape text. * @param contrast High contrast setting. */
src/Interface/TextList.cpp:507
↓ 1 callers
Method
setInterceptionNumber
* Sets interception number. Used to draw proper number when window minimized. * @param number ID number. */
src/Geoscape/DogfightState.cpp:1672
↓ 1 callers
Method
setInterceptionOrder
* Sets interception order (first craft to leave the base gets 1, second 2, etc.). * @param order Interception order. */
src/Savegame/Craft.cpp:890
↓ 1 callers
Method
setIronman
* Changes if the game is set to ironman mode. * Ironman games cannot be manually saved. * @param ironman Tony Stark */
src/Savegame/SavedGame.cpp:602
↓ 1 callers
Method
setLightSource
* Sets the amount of light the object is emitting. * @param value The amount of light emitted. */
src/Ruleset/MapData.cpp:386
↓ 1 callers
Method
setMiniMapIndex
* Sets the SCANG.DAT index for minimap. * @param i The minimap index. */
src/Ruleset/MapData.cpp:487
↓ 1 callers
Method
setMissed
* Marks the projectile as a one which missed it's target. */
src/Savegame/CraftWeaponProjectile.cpp:218
↓ 1 callers
Method
setMove
src/Engine/ShaderMove.h:79
↓ 1 callers
Method
setNewBaseHoverPos
src/Geoscape/Globe.cpp:1374
↓ 1 callers
Method
setNewPact
* sign a new pact at month's end. */
src/Savegame/Country.cpp:240
↓ 1 callers
Method
setNoFloor
* set the "no floor" flag. * @param isNoFloor set the flag to THIS. */
src/Ruleset/MapData.cpp:550
↓ 1 callers
Method
setOriginVoxel
* Set the origin voxel, used for the blaster launcher. * @param pos the origin voxel. */
src/Battlescape/ProjectileFlyBState.cpp:667
↓ 1 callers
Method
setPainKillerQuantity
* Sets the pain killer quantity of the item. * @param pk The new pain killer quantity. */
src/Savegame/BattleItem.cpp:453
↓ 1 callers
Method
setPalette
* Changes the 8bpp palette used to render the screen's contents. * @param colors Pointer to the set of colors. * @param firstcolor Offset of the fir
src/Engine/Screen.cpp:231
↓ 1 callers
Method
setPalette
* Changes the palette of all the graphics in the resource set. * @param colors Pointer to the set of colors. * @param firstcolor Offset of the first
src/Resource/ResourcePack.cpp:247
↓ 1 callers
Method
setPosition
* Changes the BattleUnit's position. * @param pos position * @param updateLastPos refresh last stored position */
src/Savegame/BattleUnit.cpp:303
↓ 1 callers
Method
setRange
* Sets maximum range of projectile. */
src/Savegame/CraftWeaponProjectile.cpp:235
↓ 1 callers
Method
setRankInt
* Change the numeric version of the unit's rank. * @param rank unit rank, 0 = lowest */
src/Savegame/BattleUnit.cpp:2494
↓ 1 callers
Method
setRules
* Changes the ruleset for the craft's type. * @param rules Pointer to ruleset. * @warning NOT TO BE USED IN NORMAL CIRCUMSTANCES. */
src/Savegame/Craft.cpp:269
↓ 1 callers
Method
setScientists
* Changes the scientists being transferred. * @param scientists Amount of scientists. */
src/Savegame/Transfer.cpp:184
↓ 1 callers
Method
setScrollTimer
* Sets the camera's scrolling timer. * @param mouse Pointer to mouse timer. * @param key Pointer to key timer. */
src/Battlescape/Camera.cpp:59
↓ 1 callers
Method
setSecondaryColor
* Changes the secondary color of the text in the list. * @param color Color value. */
src/Interface/TextList.cpp:474
↓ 1 callers
Function
setSeed
* Changes the current seed in use by the generator. * @param n New seed. */
src/Engine/RNG.cpp:63
↓ 1 callers
Method
setSelectable
* If enabled, the list will respond to player input, * highlighting selected rows and receiving clicks. * @param selectable Selectable setting. */
src/Interface/TextList.cpp:556
↓ 1 callers
Method
setSellItems
src/Savegame/Production.cpp:84
↓ 1 callers
Method
setSender
* Changes the interactive surface that triggered * this action (the sender). * @param sender Pointer to interactive surface. */
src/Engine/Action.cpp:191
↓ 1 callers
Method
setShotDownByCraftId
src/Savegame/Ufo.cpp:539
↓ 1 callers
Method
setSizeZ
* Sets the MapBlock size z. * @param size_z The size z. */
src/Ruleset/MapBlock.cpp:87
↓ 1 callers
Method
setSmall
* Changes the text list to use the small-size font. */
src/Interface/TextList.cpp:579
↓ 1 callers
Method
setSmall
* Changes the text to use the small-size font. */
src/Interface/TextButton.cpp:111
↓ 1 callers
Method
setSpawnUnit
* Set the unit that is spawned when this one dies. * @param spawnUnit unit. */
src/Savegame/BattleUnit.cpp:2284
↓ 1 callers
Method
setSprite
* Sets the sprite index for a certain frame. * @param frameID Animation frame * @param value The sprite index in the surfaceset of the mapdataset.
src/Ruleset/MapData.cpp:76
↓ 1 callers
Method
setStimulantQuantity
* Sets the stimulant quantity of the item. * @param stimulant The new stimulant quantity. */
src/Savegame/BattleItem.cpp:471
↓ 1 callers
Method
setSurfaces
* Changes the surface sets for the UnitSprite to get resources for rendering. * @param unitSurface Pointer to the unit surface set. * @param itemSur
src/Battlescape/UnitSprite.cpp:66
↓ 1 callers
Method
setTUCosts
* Sets the TU cost to move over the object. * @param walk The walking TU cost. * @param fly The flying TU cost. * @param slide The sliding TU cost.
src/Ruleset/MapData.cpp:290
↓ 1 callers
Method
setTUFly
* Sets the TUFly value. * @param TUFly The new TUFly value. */
src/Ruleset/MapData.cpp:523
↓ 1 callers
Method
setTUSlide
* Sets the TUSlide value. * @param TUSlide The new TUSlide value. */
src/Ruleset/MapData.cpp:532
↓ 1 callers
Method
setTexture
* Changes the texture used to draw the polygon. * @param tex Texture sprite number. */
src/Geoscape/Polygon.cpp:169
↓ 1 callers
Method
setThinBorder
* Changes the window to have a thin border. */
src/Interface/Window.cpp:285
← previous
next →
1,701–1,800 of 4,163, ranked by callers