MCPcopy Create free account

hub / github.com/OpenXcom/OpenXcom / functions

Functions4,163 in github.com/OpenXcom/OpenXcom

↓ 7 callersMethodsetSlotX
* Sets the item's inventory X position. * @param x X position. */
src/Savegame/BattleItem.cpp:288
↓ 7 callersMethodsetSmoke
* Set the amount of turns this tile is smoking. 0 = no smoke. * @param smoke : amount of turns this tile is smoking. */
src/Savegame/Tile.cpp:678
↓ 7 callersMethodsetThickness
* Changes the thickness of the border to draw. * @param thickness Thickness in pixels. */
src/Interface/Frame.cpp:95
↓ 7 callersMethodsetTurnsSinceSpotted
* Set how long since this unit was last exposed. * @param turns number of turns */
src/Savegame/BattleUnit.cpp:2449
↓ 7 callersMethodsetUnitPosition
* Places units on the map. Handles large units that are placed on multiple tiles. * @param bu The unit to be placed. * @param position The position
src/Savegame/SavedBattleGame.cpp:1422
↓ 7 callersMethodsetVolume
* Changes the audio volume of the music and * sound effect channels. * @param sound Sound volume, from 0 to MIX_MAX_VOLUME. * @param music Music vo
src/Engine/Game.cpp:338
↓ 7 callersMethodsetX
* Changes the position of the surface in the X axis. * @param x X position in pixels. */
src/Interface/Slider.cpp:77
↓ 7 callersMethodthink
* Runs the game timer and handles popups. */
src/Geoscape/GeoscapeState.cpp:539
↓ 7 callersMethodtop
* Select the most likely option. * This MUST be called on non-empty objects. * @return The key of the selected choice. */
src/Savegame/WeightedOptions.cpp:55
↓ 7 callersMethodturn
* Advances the turning towards the target direction. * @param turret True to turn the turret, false to turn the unit. */
src/Savegame/BattleUnit.cpp:610
↓ 6 callersFunctionHuffmanTree_getCode
src/lodepng.cpp:851
↓ 6 callersFunctionInterpolate_3
src/Engine/Scalers/common.h:73
↓ 6 callersFunctionOPLWrite
---------- YM3812 I/O interface ---------- */
src/Engine/Adlib/fmopl.cpp:1319
↓ 6 callersFunctionOPLWriteReg
---------- write a OPL registers ---------- */
src/Engine/Adlib/fmopl.cpp:752
↓ 6 callersMethodaddFinishedResearch
* Add a ResearchProject to the list of already discovered ResearchProject * @param r The newly found ResearchProject * @param ruleset the game Rules
src/Savegame/SavedGame.cpp:901
↓ 6 callersFunctionaddHuffmanSymbol
bitlen is the size in bits of the code*/
src/lodepng.cpp:1288
↓ 6 callersFunctionadlib_play_note
starts playing note of particular instrument
src/Engine/Adlib/adlplayer.cpp:434
↓ 6 callersMethodaim
* Aim. (shows the right hand sprite and weapon holding) * @param aiming true/false */
src/Savegame/BattleUnit.cpp:776
↓ 6 callersMethodblit
* Blits the slider contents * @param surface Pointer to surface to blit onto. */
src/Interface/Slider.cpp:246
↓ 6 callersMethodcalculateTerrainLighting
* Recalculates lighting for the terrain: objects,items,fire. */
src/Battlescape/TileEngine.cpp:115
↓ 6 callersMethodcategory
* Returns the category of the option. Options with * categories show up in the Options screens. * @return Language string ID for the category. */
src/Engine/OptionInfo.cpp:213
↓ 6 callersFunctiondirent_set_errno
Set errno variable */
src/dirent.h:822
↓ 6 callersMethoddrawHandSprite
* Draws and centers the hand sprite on a surface * according to its dimensions. * @param texture Pointer to the surface set to get the sprite from.
src/Ruleset/RuleItem.cpp:502
↓ 6 callersMethodflip
* Renders the buffer's contents onto the screen, applying * any necessary filters or conversions in the process. * If the scaling factor is bigger t
src/Engine/Screen.cpp:184
↓ 6 callersFunctionfolderExists
* Checks if a certain path exists and is a folder. * @param path Full path to folder. * @return Does it exist? */
src/Engine/CrossPlatform.cpp:598
↓ 6 callersMethodgetAggression
* Gets the aggression. Determines the chance of revenge and taking cover. * @return The unit's aggression. */
src/Ruleset/Unit.cpp:201
↓ 6 callersMethodgetAmountProduced
src/Savegame/Production.cpp:180
↓ 6 callersMethodgetAnimationOffset
* Get the number of frames the fire or smoke animation is off-sync. * To void fire and smoke animations of different tiles moving nice in sync - it l
src/Savegame/Tile.cpp:699
↓ 6 callersMethodgetBlock
* Gets the amount of blockage of a certain type. * @param type Type. * @return The blockage (0-255). */
src/Ruleset/MapData.cpp:168
↓ 6 callersMethodgetCache
* Check if the unit is still cached in the Map cache. * When the unit changes it needs to be re-cached. * @param invalid Get if the cache is invalid
src/Savegame/BattleUnit.cpp:737
↓ 6 callersMethodgetCenterPosition
* Gets map's center position. * @return Map's center position. */
src/Battlescape/Camera.cpp:445
↓ 6 callersMethodgetCost
* Returns the cost of the ResearchProject * @return the cost of the ResearchProject(in man/day) */
src/Savegame/ResearchProject.cpp:94
↓ 6 callersMethodgetCost
* Gets the transfer cost of the currently selected item. * @return Transfer cost. */
src/Basescape/TransferItemsState.cpp:486
↓ 6 callersMethodgetCraftWeapon
* Returns the rules for the specified craft weapon. * @param id Craft weapon type. * @return Rules for the craft weapon. */
src/Ruleset/Ruleset.cpp:720
↓ 6 callersMethodgetCursorLeftBlackBand
* Returns the screen's left black forbidden to cursor band's width. * @return Width in pixel. */
src/Engine/Screen.cpp:486
↓ 6 callersMethodgetCursorTopBlackBand
* Returns the screen's top black forbidden to cursor band's height. * @return Height in pixel. */
src/Engine/Screen.cpp:477
↓ 6 callersMethodgetDangerous
* get the danger flag on this tile. * @return the danger flag for this tile. */
src/Savegame/Tile.cpp:918
↓ 6 callersMethodgetInventories
* Returns the list of inventories. * @return Pointer to inventory list. */
src/Ruleset/Ruleset.cpp:971
↓ 6 callersMethodgetLaboratories
* Gets the amount of laboratory space this facility provides * for research projects. * @return The laboratory space. */
src/Ruleset/RuleBaseFacility.cpp:264
↓ 6 callersMethodgetLook
* Returns the soldier's look. * @return Look. */
src/Savegame/Soldier.cpp:336
↓ 6 callersMethodgetLowFuel
* Returns whether the craft is currently low on fuel * (only has enough to head back to base). * @return True if it's low, false otherwise. */
src/Savegame/Craft.cpp:562
↓ 6 callersMethodgetMorale
* Returns the soldier's amount of morale. * @return Morale. */
src/Savegame/BattleUnit.cpp:867
↓ 6 callersMethodgetPersonnel
* Gets the number of base personnel (soldiers, scientists, * engineers) this facility can contain. * @return The number of personnel. */
src/Ruleset/RuleBaseFacility.cpp:235
↓ 6 callersMethodgetSecondsRemaining
* Returns the amount of remaining seconds the UFO has left on the ground. * After this many seconds thet UFO will take off, if landed, or disappear,
src/Savegame/Ufo.cpp:326
↓ 6 callersMethodgetSpaceAvailable
* Returns the amount of space available for * soldiers and vehicles. * @return Space available. */
src/Savegame/Craft.cpp:829
↓ 6 callersMethodgetTUUse
* Gets the number of Time Units needed to use this item. * @return The number of Time Units needed to use this item. */
src/Ruleset/RuleItem.cpp:577
↓ 6 callersMethodgetTotalSize
* Returns the total size of the items in the container. * @param rule Pointer to ruleset. * @return Total item size. */
src/Savegame/ItemContainer.cpp:141
↓ 6 callersMethodgetTurn
* Gets the current turn number. * @return The current turn. */
src/Savegame/SavedBattleGame.cpp:773
↓ 6 callersMethodgetTurnsSinceSpotted
* Get how long since this unit was exposed. * @return number of turns */
src/Savegame/BattleUnit.cpp:2458
↓ 6 callersMethodgetUfo
* Returns the rules for the specified UFO. * @param id UFO type. * @return Rules for the UFO. */
src/Ruleset/Ruleset.cpp:764
↓ 6 callersMethodgetWaveCount
Gets the number of waves.
src/Ruleset/RuleAlienMission.h:76
↓ 6 callersMethodgetWorkshops
* Gets the amount of workshop space this facility provides * for manufacturing projects. * @return The workshop space. */
src/Ruleset/RuleBaseFacility.cpp:274
↓ 6 callersMethodgetY
* Returns the position of the surface in the Y axis. * @return Y position in pixels. */
src/Engine/Surface.h:121
↓ 6 callersMethodinstaKill
* Set health to 0 and set status dead - used when getting zombified. */
src/Savegame/BattleUnit.cpp:2356
↓ 6 callersMethodisInBattlescape
* Gets the UFO's battlescape status. * @return bool */
src/Savegame/Ufo.cpp:514
↓ 6 callersMethodisUfoDoorOpen
* Check if the ufo door is open or opening. Used for visibility/light blocking checks. * This function assumes that there never are 2 doors on 1 til
src/Savegame/Tile.h:144
↓ 6 callersMethodjumpXY
* Handles jumping with given deviation. * @param x X deviation. * @param y Y deviation. */
src/Battlescape/Camera.cpp:375
↓ 6 callersFunctionlodepng_chunk_length
src/lodepng.cpp:2362
↓ 6 callersFunctionlodepng_read32bitInt
src/lodepng.cpp:319
↓ 6 callersMethodneedsAmmo
* Determines if the item uses ammo. * @return True if ammo is used. */
src/Savegame/BattleItem.cpp:351
↓ 6 callersMethodoccupiesSlot
* Checks if the item is covering certain inventory slot(s). * @param x Slot X position. * @param y Slot Y position. * @param item Item to check for
src/Savegame/BattleItem.cpp:318
↓ 6 callersMethodonLeftArrowClick
* Sets a function to be called every time the left arrows are mouse clicked. * @param handler Action handler. */
src/Interface/TextList.cpp:675
↓ 6 callersMethodonRightArrowClick
* Sets a function to be called every time the right arrows are mouse clicked. * @param handler Action handler. */
src/Interface/TextList.cpp:714
↓ 6 callersMethodpromoteRank
* Increase the soldier's military rank. */
src/Savegame/Soldier.cpp:295
↓ 6 callersMethodrotateStop
* Resets the rotation speed and timer. */
src/Geoscape/Globe.cpp:640
↓ 6 callersMethodrotateStopLat
* Resets latitude rotation speed and timer. */
src/Geoscape/Globe.cpp:662
↓ 6 callersMethodrotateStopLon
* Resets longitude rotation speed and timer. */
src/Geoscape/Globe.cpp:650
↓ 6 callersFunctionscale2x_16_def_border
src/Engine/Scalers/scale2x.cpp:272
↓ 6 callersFunctionscale2x_16_mmx_border
src/Engine/Scalers/scale2x.cpp:914
↓ 6 callersFunctionscale2x_32_def_border
src/Engine/Scalers/scale2x.cpp:421
↓ 6 callersFunctionscale2x_32_mmx_border
src/Engine/Scalers/scale2x.cpp:1105
↓ 6 callersFunctionscale2x_8_def_border
src/Engine/Scalers/scale2x.cpp:123
↓ 6 callersFunctionscale2x_8_mmx_border
* Apply the Scale2x effect at a single row. * This function must be called only by the other scale2x functions. * * Considering the pixel map : *
src/Engine/Scalers/scale2x.cpp:723
↓ 6 callersMethodsetAltitude
* Changes the current altitude of the UFO. * @param altitude Altitude. */
src/Savegame/Ufo.cpp:364
↓ 6 callersMethodsetArrowColumn
* Sets the position of the column of arrow buttons * in the text list. * @param pos X in pixels (-1 to disable). * @param type Arrow orientation ty
src/Interface/TextList.cpp:663
↓ 6 callersMethodsetCharging
* Set the units we are charging towards. * @param chargeTarget Charge Target */
src/Savegame/BattleUnit.cpp:2414
↓ 6 callersMethodsetDetected
* Changes whether this UFO has been detected by radars. * @param detected Detection status. */
src/Savegame/Ufo.cpp:315
↓ 6 callersMethodsetEngineers
* Changes the amount of engineers currently in the base. * @param engineers Number of engineers. */
src/Savegame/Base.cpp:357
↓ 6 callersMethodsetFocus
* Controls the blinking animation when * the text edit is focused. * @param focus True if focused, false otherwise. * @param modal True to lock inp
src/Interface/TextEdit.cpp:82
↓ 6 callersMethodsetInvertColor
When this is set, Surface::invert() is called with the value from mid when it's time to invert the button
src/Interface/ToggleTextButton.cpp:62
↓ 6 callersMethodsetLowFuel
* Changes whether the craft is currently low on fuel * (only has enough to head back to base). * @param low True if it's low, false otherwise. */
src/Savegame/Craft.cpp:572
↓ 6 callersMethodsetRace
Sets the mission's race.
src/Savegame/AlienMission.h:76
↓ 6 callersMethodsetRearming
* Changes whether this craft weapon needs rearming * (for example, in case there's no more ammo). * @param rearming Rearming status. */
src/Savegame/CraftWeapon.cpp:120
↓ 6 callersMethodsetRegion
* Sets the mission's region. if the region is incompatible with * actually carrying out an attack, use the "fallback" region as * defined in the rul
src/Savegame/AlienMission.cpp:663
↓ 6 callersMethodsetScientists
* Changes the amount of scientists currently in the base. * @param scientists Number of scientists. */
src/Savegame/Base.cpp:339
↓ 6 callersMethodsetShape
* Changes the shape for the arrow button. * @param shape Shape of the arrow. */
src/Interface/ArrowButton.cpp:75
↓ 6 callersMethodsetTUMarker
* set the number to be displayed for pathfinding preview. * @param tu */
src/Savegame/Tile.cpp:875
↓ 6 callersMethodsetupCursor
* Sets the cursor according to the selected action. */
src/Battlescape/BattlescapeGame.cpp:663
↓ 6 callersFunctionstring_cleanup
free the above pair again*/
src/lodepng.cpp:297
↓ 6 callersFunctionstring_init
init a {char*, size_t} pair for use as string*/
src/lodepng.cpp:290
↓ 6 callersFunctionstring_set
src/lodepng.cpp:303
↓ 6 callersMethodtype
* Returns the variable type of the option. * @return Option type. */
src/Engine/OptionInfo.cpp:193
↓ 6 callersFunctionuivector_resize
returns 1 if success, 0 if failure ==> nothing done*/
src/lodepng.cpp:143
↓ 5 callersFunctionHuffmanTree_makeFromLengths
given the code lengths (as stored in the PNG file), generate the tree as defined by Deflate. maxbitlen is the maximum bits that a code in the tree can
src/lodepng.cpp:631
↓ 5 callersMethodcalculateLine
* Calculates a line trajectory, using bresenham algorithm in 3D. * @param origin Origin (voxel??). * @param target Target (also voxel??). * @param
src/Battlescape/TileEngine.cpp:2020
↓ 5 callersMethodcheckForTerrainExplosions
* Checks for chained explosions. * * Chained explosions are explosions which occur after an explosive map object is destroyed. * May be due a direc
src/Battlescape/TileEngine.cpp:1426
↓ 5 callersMethodconvertScreenToMap
* Converts screen coordinates to map coordinates. * @param screenX Screen x position. * @param screenY Screen y position. * @param mapX Map x posit
src/Battlescape/Camera.cpp:458
↓ 5 callersMethoddescription
* Returns the description of the option. Options with * descriptions show up in the Options screens. * @return Language string ID for the descriptio
src/Engine/OptionInfo.cpp:203
↓ 5 callersMethoddontReselect
* Mark this unit as not reselectable. */
src/Savegame/BattleUnit.cpp:1517
↓ 5 callersMethoddraw
* Draws the graphic that the surface contains before it * gets blitted onto other surfaces. The surface is only * redrawn if the flag is set by a pr
src/Engine/Surface.cpp:488
← previousnext →501–600 of 4,163, ranked by callers