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
↓ 2 callers
Function
switchDisplay
* Switches old/new display options for temporarily * testing a new display setup. */
src/Engine/Options.cpp:634
↓ 2 callers
Method
think
* The timer keeps calculating the passed time while it's running, * calling the respective action handler whenever the set interval passes. * @param
src/Engine/Timer.cpp:110
↓ 2 callers
Method
toggleScreen
* Toggles the full-screen flag. Used by windows to * keep the previous screen in display while the window * is still "popping up". */
src/Engine/State.cpp:105
↓ 2 callers
Method
unitOpensDoor
* Opens a door (if any) by rightclick, or by walking through it. The unit has to face in the right direction. * @param unit Unit. * @param rClick Wh
src/Battlescape/TileEngine.cpp:1797
↓ 2 callers
Method
up
* Goes one level up. */
src/Battlescape/Camera.cpp:386
↓ 2 callers
Method
updateGeoscapeStats
src/Savegame/BattleUnit.cpp:1890
↓ 2 callers
Function
updateHashChain
wpos = pos & (windowsize - 1)*/
src/lodepng.cpp:1415
↓ 2 callers
Method
validateThrow
* Validates a throw action. * @param action The action to validate. * @param originVoxel The origin point of the action. * @param targetVoxel The t
src/Battlescape/TileEngine.cpp:2677
↓ 2 callers
Method
validateUpDown
* Checks, for the up/down button, if the movement is valid. Either there is a grav lift or the unit can fly and there are no obstructions. * @param b
src/Battlescape/Pathfinding.cpp:805
↓ 2 callers
Method
visible
* Checks for an opposing unit on this tile. * @param currentUnit The watcher. * @param tile The tile to check for * @return True if visible. */
src/Battlescape/TileEngine.cpp:388
↓ 2 callers
Function
writeLZ77data
write the lz77-encoded data, which has lit, len and dist codes, to compressed stream using huffman trees. tree_ll: the tree for lit and len codes. tre
src/lodepng.cpp:1642
↓ 1 callers
Function
Adam7_deinterlace
in: Adam7 interlaced image, with no padding bits between scanlines, but between reduced images so that each reduced image starts at a byte. out: the
src/lodepng.cpp:4124
↓ 1 callers
Function
Adam7_interlace
in: non-interlaced image with size w*h out: the same pixels, but re-ordered according to PNG's Adam7 interlacing, with no padding bits between scanli
src/lodepng.cpp:5484
↓ 1 callers
Function
BLACK
src/Engine/Flc.cpp:384
↓ 1 callers
Function
COLORS256
src/Engine/Flc.cpp:182
↓ 1 callers
Function
CSMKeyControll
CSM Key Controll */
src/Engine/Adlib/fmopl.cpp:714
↓ 1 callers
Function
DECODE_BRUN
src/Engine/Flc.cpp:271
↓ 1 callers
Function
DECODE_COLOR
src/Engine/Flc.cpp:344
↓ 1 callers
Function
DECODE_COPY
src/Engine/Flc.cpp:372
↓ 1 callers
Function
DECODE_LC
src/Engine/Flc.cpp:303
↓ 1 callers
Function
FlcCheckFrame
src/Engine/Flc.cpp:147
↓ 1 callers
Function
FlcCheckHeader
src/Engine/Flc.cpp:105
↓ 1 callers
Function
FlcDoOneFrame
src/Engine/Flc.cpp:395
↓ 1 callers
Function
HuffmanTree_make2DTree
the tree representation used by the decoder. return value is error*/
src/lodepng.cpp:523
↓ 1 callers
Method
LineClip
src/Engine/FastLineClip.cpp:74
↓ 1 callers
Function
LodePNGIText_copy
src/lodepng.cpp:2780
↓ 1 callers
Function
LodePNGIText_init
src/lodepng.cpp:2755
↓ 1 callers
Function
LodePNGText_copy
src/lodepng.cpp:2711
↓ 1 callers
Function
LodePNGText_init
src/lodepng.cpp:2692
↓ 1 callers
Function
LodePNGUnknownChunks_copy
src/lodepng.cpp:2669
↓ 1 callers
Function
OPLCloseTable
src/Engine/Adlib/fmopl.cpp:705
↓ 1 callers
Function
OPLOpenTable
---------- generic table initialize ---------- */
src/Engine/Adlib/fmopl.cpp:612
↓ 1 callers
Function
OPLResetChip
---------- reset one of chip ---------- */
src/Engine/Adlib/fmopl.cpp:1163
↓ 1 callers
Function
OPL_LockTable
lock/unlock for common table */
src/Engine/Adlib/fmopl.cpp:1010
↓ 1 callers
Function
OPL_STATUSMASK_SET
IRQ mask set */
src/Engine/Adlib/fmopl.cpp:287
↓ 1 callers
Function
OPL_UnLockTable
src/Engine/Adlib/fmopl.cpp:1025
↓ 1 callers
Function
SDLWaitFrame
src/Engine/Flc.cpp:447
↓ 1 callers
Function
SS2
src/Engine/Flc.cpp:210
↓ 1 callers
Function
ShaderCrop
* Create warper from cropped Surface and provided offset * @param s standard 8bit OpenXcom surface * @param x offset on x * @param y offset on y
src/Engine/ShaderMove.h:142
↓ 1 callers
Function
Transpose
src/Engine/Adlib/adlplayer.cpp:166
↓ 1 callers
Function
_wopendir
* Open directory stream DIRNAME for read and return a pointer to the * internal working area that is used to retrieve individual directory * entries
src/dirent.h:249
↓ 1 callers
Function
_wrewinddir
* Rewind directory stream such that _wreaddir() returns the very first * file name again. */
src/dirent.h:443
↓ 1 callers
Function
addBitsToStreamReversed
src/lodepng.cpp:413
↓ 1 callers
Function
addChunk_IDAT
src/lodepng.cpp:4985
↓ 1 callers
Function
addChunk_IEND
src/lodepng.cpp:5000
↓ 1 callers
Function
addChunk_IHDR
src/lodepng.cpp:4902
↓ 1 callers
Function
addChunk_bKGD
src/lodepng.cpp:5093
↓ 1 callers
Function
addChunk_iTXt
src/lodepng.cpp:5052
↓ 1 callers
Function
addChunk_pHYs
src/lodepng.cpp:5140
↓ 1 callers
Function
addChunk_tIME
src/lodepng.cpp:5123
↓ 1 callers
Function
addChunk_zTXt
src/lodepng.cpp:5025
↓ 1 callers
Method
addKillCount
* Add a kill to the counter. */
src/Savegame/Soldier.cpp:371
↓ 1 callers
Method
addKillCount
* Add a kill to the counter. */
src/Savegame/BattleUnit.cpp:2310
↓ 1 callers
Function
addLengthDistance
src/lodepng.cpp:1314
↓ 1 callers
Method
addLight
* Adds circular light pattern starting from center and losing power with distance travelled. * @param center Center. * @param power Power. * @param
src/Battlescape/TileEngine.cpp:195
↓ 1 callers
Method
addMeleeExp
* Adds one to the firing exp counter. */
src/Savegame/BattleUnit.cpp:1885
↓ 1 callers
Method
addMissionCount
* Add a mission to the counter. */
src/Savegame/Soldier.cpp:363
↓ 1 callers
Method
addMove
src/Engine/ShaderMove.h:84
↓ 1 callers
Method
addPoppedResearch
* marks a research topic as having already come up as "we can now research" * @param research is the project we want to add to the vector */
src/Savegame/SavedGame.cpp:1633
↓ 1 callers
Method
addProduction
* Add a new Production to the Base * @param p A pointer to a Production */
src/Savegame/Base.cpp:970
↓ 1 callers
Method
addReactionExp
* Adds one to the reaction exp counter. */
src/Savegame/BattleUnit.cpp:1853
↓ 1 callers
Method
addResearch
* Add A new ResearchProject to Base * @param project The project to add */
src/Savegame/Base.cpp:979
↓ 1 callers
Method
addThrowingExp
* Adds one to the firing exp counter. */
src/Savegame/BattleUnit.cpp:1869
↓ 1 callers
Method
addToVisibleTiles
* Add this unit to the list of visible tiles. Returns true if this is a new one. * @param tile * @return */
src/Savegame/BattleUnit.cpp:1252
↓ 1 callers
Function
add_coins
src/lodepng.cpp:673
↓ 1 callers
Method
adjustStats
* common function to adjust a unit's stats according to difficulty setting. * @param diff difficulty level (for stat adjustement). */
src/Savegame/BattleUnit.cpp:2585
↓ 1 callers
Function
adlib_get_unused_channel
gets unused adlib channel and checks if old sample is the same
src/Engine/Adlib/adlplayer.cpp:401
↓ 1 callers
Function
adlib_init
initialises adlib parameters
src/Engine/Adlib/adlplayer.cpp:328
↓ 1 callers
Method
allocateNode
src/Savegame/Node.cpp:169
↓ 1 callers
Method
allowReselect
* Mark this unit as reselectable. */
src/Savegame/BattleUnit.cpp:1525
↓ 1 callers
Method
animate
* Handles animating tiles. 8 Frames per animation. * @param redraw Redraw the battlescape? */
src/Battlescape/Map.cpp:1194
↓ 1 callers
Method
arrangeGround
* Arranges items on the ground for the inventory display. * Since items on the ground aren't assigned to anyone, * they don't actually have permanen
src/Battlescape/Inventory.cpp:801
↓ 1 callers
Method
blit
* Handle blitting of Geoscape and Dogfights. */
src/Geoscape/GeoscapeState.cpp:443
↓ 1 callers
Method
btnCenterClick
* Centers on the currently selected soldier. * @param action Pointer to an action. */
src/Battlescape/BattlescapeState.cpp:917
↓ 1 callers
Method
btnOkClick
* Returns to the previous screen. * @param action Pointer to an action. */
src/Battlescape/MiniMapState.cpp:126
↓ 1 callers
Method
btnOkClick
* Returns to the previous screen. * @param action Pointer to an action. */
src/Menu/NewGameState.cpp:133
↓ 1 callers
Method
build
* Handles the facility building every day. */
src/Savegame/BaseFacility.cpp:140
↓ 1 callers
Method
calcStatString
* Calculates the list of StatStrings that apply to certain unit stats. * @param currentStats Unit stats. * @param statStrings List of statString rul
src/Ruleset/StatString.cpp:104
↓ 1 callers
Method
calculateModuleMap
* calculate the number of map modules remaining by counting the map objects * on the top floor who have the baseModule flag set. we store this data i
src/Savegame/SavedBattleGame.cpp:1738
↓ 1 callers
Method
calculateParabola
* Calculates a parabola trajectory, used for throwing items. * @param origin Orign in voxelspace. * @param target Target in voxelspace. * @param st
src/Battlescape/TileEngine.cpp:2186
↓ 1 callers
Method
canRetaliate
* Returns if the race can participate in retaliation missions. * @return True if it can retaliate. */
src/Ruleset/AlienRace.cpp:71
↓ 1 callers
Method
cancel
* Cancels the current BattleState. */
src/Battlescape/BattleState.cpp:65
↓ 1 callers
Method
checkSlotInPosition
* Gets the slot located in the specified mouse position. * @param x Mouse X position. Returns the slot's X position. * @param y Mouse Y position. Re
src/Ruleset/RuleInventory.cpp:135
↓ 1 callers
Method
checkup
* Checks the condition of all the craft's systems * to define its new status (eg. when arriving at base). */
src/Savegame/Craft.cpp:656
↓ 1 callers
Method
chooseRandomMission
* Choose one missions available for @a region. * @param region The region id. * @return The mission id. */
src/Savegame/AlienStrategy.cpp:136
↓ 1 callers
Method
chooseRandomRegion
* Choose one of the regions for a mission. * @param rules Pointer to the ruleset. * @return The region id. */
src/Savegame/AlienStrategy.cpp:119
↓ 1 callers
Method
circle_norm
* Function returning normal vector of sphere surface * @param ox x cord of sphere center * @param oy y cord of sphere center * @param r
src/Geoscape/Globe.cpp:89
↓ 1 callers
Method
cleanupDeleted
src/Battlescape/BattlescapeGame.cpp:2060
↓ 1 callers
Method
closeUfoDoor
src/Savegame/Tile.cpp:348
↓ 1 callers
Method
closeUfoDoors
* Closes ufo doors. * @return Whether doors are closed. */
src/Battlescape/TileEngine.cpp:1983
↓ 1 callers
Function
closedir
* Close directory stream. */
src/dirent.h:676
↓ 1 callers
Function
coin_cleanup
argument c is void* so that this dtor can be given as function pointer to the vector resize function*/
src/lodepng.cpp:662
↓ 1 callers
Function
coin_copy
src/lodepng.cpp:667
↓ 1 callers
Function
coin_init
src/lodepng.cpp:656
↓ 1 callers
Function
color_profile_cleanup
src/lodepng.cpp:3516
↓ 1 callers
Function
color_profile_init
src/lodepng.cpp:3489
↓ 1 callers
Method
completeTransfer
* Completes the transfer between bases. */
src/Basescape/TransferItemsState.cpp:244
↓ 1 callers
Method
consumeFuel
* Consumes the craft's fuel every 10 minutes * while it's on the air. */
src/Savegame/Craft.cpp:706
↓ 1 callers
Method
convertToCorpse
* Converts an unconscious body into a dead one. * @param rules the rules of the corpse item to convert this item into. */
src/Savegame/BattleItem.cpp:526
↓ 1 callers
Method
copyPath
* Makes a copy of the current path. * @return a copy of the path. */
src/Battlescape/Pathfinding.cpp:1183
← previous
next →
1,301–1,400 of 4,163, ranked by callers