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
↓ 3 callers
Function
stage_scale2x4
* Apply the Scale2x4 effect on a group of rows. Used internally. */
src/Engine/Scalers/scalebit.cpp:84
↓ 3 callers
Function
stage_scale3x
* Apply the Scale3x effect on a group of rows. Used internally. */
src/Engine/Scalers/scalebit.cpp:102
↓ 3 callers
Method
statePushNext
* Pushes a state as the next state after the current one. * @param bs Battlestate. */
src/Battlescape/BattlescapeGame.cpp:740
↓ 3 callers
Method
think
* Checks for units panicking or falling and so on. */
src/Battlescape/BattlescapeGame.cpp:104
↓ 3 callers
Method
toBeRemoved
* Returns if a projectile should be removed. */
src/Savegame/CraftWeaponProjectile.cpp:168
↓ 3 callers
Function
ucvector_init_buffer
you can both convert from vector to buffer&size and vica versa. If you use init_buffer to take over a buffer and size, it is not needed to use cleanup
src/lodepng.cpp:255
↓ 3 callers
Function
unfilter
src/lodepng.cpp:4082
↓ 3 callers
Method
zoomIn
* Increases the zoom level on the globe. */
src/Geoscape/Globe.cpp:692
↓ 3 callers
Method
zoomMax
* Zooms the globe in as close as possible. */
src/Geoscape/Globe.cpp:725
↓ 3 callers
Method
zoomMin
* Zooms the globe out as far as possible. */
src/Geoscape/Globe.cpp:714
↓ 3 callers
Method
zoomOut
* Decreases the zoom level on the globe. */
src/Geoscape/Globe.cpp:703
↓ 2 callers
Function
FlcDeInit
src/Engine/Flc.cpp:502
↓ 2 callers
Function
FlcInit
src/Engine/Flc.cpp:482
↓ 2 callers
Function
FlcInitFirstFrame
src/Engine/Flc.cpp:472
↓ 2 callers
Function
FlcMain
src/Engine/Flc.cpp:509
↓ 2 callers
Function
FlxplayHelp
src/Engine/Flc.cpp:588
↓ 2 callers
Function
HuffmanTree_makeFromLengths2
Second step for the ...makeFromLengths and ...makeFromFrequencies functions. numcodes, lengths and maxbitlen must already be filled in correctly. retu
src/lodepng.cpp:587
↓ 2 callers
Function
Limit
src/Engine/Adlib/fmopl.cpp:245
↓ 2 callers
Function
LodePNGIText_cleanup
src/lodepng.cpp:2764
↓ 2 callers
Function
LodePNGText_cleanup
src/lodepng.cpp:2699
↓ 2 callers
Function
LodePNGUnknownChunks_cleanup
src/lodepng.cpp:2663
↓ 2 callers
Function
LodePNGUnknownChunks_init
src/lodepng.cpp:2656
↓ 2 callers
Function
OPLCreate
---------- Create one of virtual YM3812 ---------- */ 'rate' is sampling rate and 'bufsiz' is the size of the */
src/Engine/Adlib/fmopl.cpp:1208
↓ 2 callers
Function
OPLDestroy
---------- Destroy one of virtual YM3812 ---------- */
src/Engine/Adlib/fmopl.cpp:1273
↓ 2 callers
Function
OPL_CALC_CH
---------- calcrate one of channel ---------- */
src/Engine/Adlib/fmopl.cpp:453
↓ 2 callers
Function
OPL_CALC_RH
src/Engine/Adlib/fmopl.cpp:498
↓ 2 callers
Function
OPL_initalize
---------- opl initialize ---------- */
src/Engine/Adlib/fmopl.cpp:731
↓ 2 callers
Function
YM3812UpdateOne
---------- update one of chip ----------- */
src/Engine/Adlib/fmopl.cpp:1040
↓ 2 callers
Function
_wclosedir
* Close directory stream opened by opendir() function. This invalidates the * DIR structure as well as any directory entry read previously by * _wr
src/dirent.h:408
↓ 2 callers
Function
addChunk_PLTE
src/lodepng.cpp:4923
↓ 2 callers
Function
addChunk_tEXt
src/lodepng.cpp:5009
↓ 2 callers
Function
addChunk_tRNS
src/lodepng.cpp:4940
↓ 2 callers
Function
addColorBits
index: bitgroup index, bits: bitgroup size(1, 2 or 4), in: bitgroup value, out: octet array to add bits to*/
src/lodepng.cpp:2897
↓ 2 callers
Method
addFiringExp
* Adds one to the firing exp counter. */
src/Savegame/BattleUnit.cpp:1861
↓ 2 callers
Method
addMonth
* Increment the month counter. */
src/Savegame/SavedGame.cpp:1624
↓ 2 callers
Function
addPaddingBits
src/lodepng.cpp:5451
↓ 2 callers
Method
addSound
* Creates and returns a particular wave in the sound set. * @param i Sound number in the set. * @return Pointer to the respective sound. */
src/Engine/SoundSet.cpp:178
↓ 2 callers
Method
addToVisibleUnits
* Add this unit to the list of visible units. Returns true if this is a new one. * @param unit * @return */
src/Savegame/BattleUnit.cpp:1204
↓ 2 callers
Function
adler32
Return the adler32 of the bytes data[0..len-1]*/
src/lodepng.cpp:2060
↓ 2 callers
Function
adlib_set_instrument_pitch
sets pitch for particular instrument apply for adlib channels with same instrument !!! probably should also apply pitch for CHORUS instrument !!!
src/Engine/Adlib/adlplayer.cpp:382
↓ 2 callers
Method
advance
* Advances the ingame time by 5 seconds, automatically correcting * the other components when necessary and sending out a trigger when * a certain t
src/Savegame/GameTime.cpp:84
↓ 2 callers
Function
append_symbol_coins
src/lodepng.cpp:698
↓ 2 callers
Method
asBool
* Returns the pointer to the boolean option, * or throws an exception if it's not a boolean. * @return Pointer to the option. */
src/Engine/OptionInfo.cpp:223
↓ 2 callers
Method
asInt
* Returns the pointer to the integer option, * or throws an exception if it's not a integer. * @return Pointer to the option. */
src/Engine/OptionInfo.cpp:237
↓ 2 callers
Method
blit
* Blits the text list and selector. * @param surface Pointer to surface to blit onto. */
src/Interface/TextList.cpp:903
↓ 2 callers
Method
calculateThrow
* Calculates the trajectory for a curved path. * @param accuracy The unit's accuracy. * @return True when a trajectory is possible. */
src/Battlescape/Projectile.cpp:184
↓ 2 callers
Function
caseInsensitive
* Takes a path and tries to find it based on the * system's case-sensitivity. * @param base Base unaltered path. * @param path Full path to check f
src/Engine/CrossPlatform.cpp:311
↓ 2 callers
Method
castedShade
* Calculates z "grounded" value for a particular voxel (used for projectile shadow). * @param voxel The voxel to trace down. * @return z coord of "g
src/Battlescape/TileEngine.cpp:2245
↓ 2 callers
Method
checkAmmo
* Check if we have ammo and reload if needed (used for AI). * @return Do we have ammo? */
src/Savegame/BattleUnit.cpp:1794
↓ 2 callers
Method
checkForCasualties
* Checks for casualties and adjusts morale accordingly. * @param murderweapon Need to know this, for a HE explosion there is an instant death. * @pa
src/Battlescape/BattlescapeGame.cpp:487
↓ 2 callers
Method
checkForProximityGrenades
* Checks if a unit has moved next to a proximity grenade. * Checks one tile around the unit in every direction. * For a large unit we check every ti
src/Battlescape/BattlescapeGame.cpp:2023
↓ 2 callers
Method
checkViewSector
* this function checks if a tile is visible, using maths. * @param pos the position to check against * @return what the maths decide */
src/Savegame/BattleUnit.cpp:2536
↓ 2 callers
Method
clearMouseScrollingState
* Clears mouse-scrolling state (isMouseScrolling). */
src/Battlescape/BattlescapeState.cpp:1970
↓ 2 callers
Method
clearVisibleTiles
* Clear visible tiles. */
src/Savegame/BattleUnit.cpp:1270
↓ 2 callers
Method
clearVisibleUnits
* Clear visible units. */
src/Savegame/BattleUnit.cpp:1242
↓ 2 callers
Function
clear_channels
clear channel notes and samples
src/Engine/Adlib/adlplayer.cpp:347
↓ 2 callers
Function
color_tree_cleanup
src/lodepng.cpp:2929
↓ 2 callers
Function
color_tree_get
returns -1 if color not present, its index otherwise*/
src/lodepng.cpp:2943
↓ 2 callers
Function
color_tree_has
src/lodepng.cpp:2956
↓ 2 callers
Method
convertToFaction
* Converts unit to another faction (original faction is still stored). * @param f faction. */
src/Savegame/BattleUnit.cpp:2348
↓ 2 callers
Method
convertUnit
* Converts a unit into a unit of another type. * @param unit The unit to convert. * @param newType The type of unit to convert to. * @return Pointe
src/Battlescape/BattlescapeGame.cpp:1520
↓ 2 callers
Function
countZeros
src/lodepng.cpp:1403
↓ 2 callers
Function
createFolder
* Creates a folder at the specified path. * @note Only creates the last folder on the path. * @param path Full path. * @return Folder created or no
src/Engine/CrossPlatform.cpp:460
↓ 2 callers
Method
defaultLanguage
* Loads the most appropriate language * given current system and game options. */
src/Engine/Game.cpp:593
↓ 2 callers
Function
dirent_first
Get first directory entry (internal) */
src/dirent.h:459
↓ 2 callers
Function
dirent_next
Get next directory entry (internal) */
src/dirent.h:484
↓ 2 callers
Function
dirent_wcstombs_s
Convert wide-character string to multi-byte string */
src/dirent.h:767
↓ 2 callers
Method
down
* Goes one level down. */
src/Battlescape/Camera.cpp:399
↓ 2 callers
Method
draw
* Draws the view of all the facilities in the base, connectors * between them and crafts landed in hangars. */
src/Basescape/BaseView.cpp:346
↓ 2 callers
Method
draw
* Draws the whole globe, part by part. */
src/Geoscape/Globe.cpp:1066
↓ 2 callers
Function
encodeLZ77
LZ77-encode the data. Return value is error code. The input are raw bytes, the output is in the form of unsigned integers with codes representing for
src/lodepng.cpp:1431
↓ 2 callers
Method
exit
* Exits the current AI state. */
src/Battlescape/AlienBAIState.cpp:133
↓ 2 callers
Method
explode
* Handles explosions. * * HE, smoke and fire explodes in a circular pattern on 1 level only. HE however damages floor tiles of the above level. Not
src/Battlescape/TileEngine.cpp:1105
↓ 2 callers
Method
fire
* Fires a projectile from crafts weapon. * @return Pointer to the new projectile. */
src/Savegame/CraftWeapon.cpp:163
↓ 2 callers
Method
freeNode
src/Savegame/Node.cpp:174
↓ 2 callers
Method
genSoldier
* Creates a new randomly-generated soldier. * @param save Saved game the soldier belongs to. * @return Newly generated soldier. */
src/Ruleset/Ruleset.cpp:1330
↓ 2 callers
Function
generateFixedDistanceTree
get the distance code tree of a deflated block with fixed tree, as specified in the deflate specification*/
src/lodepng.cpp:882
↓ 2 callers
Function
generateFixedLitLenTree
get the literal and length code tree of a deflated block with fixed tree, as per the deflate specification*/
src/lodepng.cpp:863
↓ 2 callers
Method
generateRace
* Chooses one of the available races for this mission. * The racial distribution may vary based on the current game date. * @param monthsPassed The
src/Ruleset/RuleAlienMission.cpp:124
↓ 2 callers
Method
getAccuracyMelee
* Gets the item's accuracy for melee attacks. * @return The melee accuracy. */
src/Ruleset/RuleItem.cpp:401
↓ 2 callers
Method
getAggressiveReload
* Gets the amount of time the craft weapon takes to * reload in aggressive mode. * @return The time in game seconds. */
src/Ruleset/RuleCraftWeapon.cpp:159
↓ 2 callers
Method
getAggroSound
* Gets the unit's war cry. * @return The id of the unit's aggro sound. */
src/Ruleset/Unit.cpp:228
↓ 2 callers
Method
getAimRange
* Gets the maximum effective range of this weapon when using Aimed Shot. * @return The maximum range. */
src/Ruleset/RuleItem.cpp:717
↓ 2 callers
Method
getArmor
* Returns the info about a specific armor. * @param name Armor name. * @return Rules for the armor. */
src/Ruleset/Ruleset.cpp:890
↓ 2 callers
Method
getAutoRange
* Gets the maximim effective range of this weapon for Auto Shot. * @return The maximum range. */
src/Ruleset/RuleItem.cpp:735
↓ 2 callers
Method
getBaseMaintenance
* Adds up the monthly maintenance of all the bases. * @return Total maintenance. */
src/Savegame/SavedGame.cpp:840
↓ 2 callers
Method
getBreakOffTime
* Gets the UFO's break off time. * @return The UFO's break off time in game seconds. */
src/Ruleset/RuleUfo.cpp:210
↓ 2 callers
Method
getCarriedWeight
* Get the units carried weight in strength units. * @param draggingItem item to ignore * @return weight */
src/Savegame/BattleUnit.cpp:2433
↓ 2 callers
Method
getCautiousReload
* Gets the amount of time the craft weapon takes to * reload in cautious mode. * @return The time in game seconds. */
src/Ruleset/RuleCraftWeapon.cpp:139
↓ 2 callers
Method
getCellText
* Returns the text of a specific Text object in the list. * @param row Row number. * @param column Column number. * @return Text string. */
src/Interface/TextList.cpp:178
↓ 2 callers
Method
getCivilianTypes
* Gets the list of civilian types to use on this terrain (default MALE_CIVILIAN and FEMALE_CIVILIAN) * @return list of civilian types to use. */
src/Ruleset/RuleTerrain.cpp:232
↓ 2 callers
Method
getCivilians
* Gets the number of civilians. * @return The number of civilians. */
src/Ruleset/AlienDeployment.cpp:127
↓ 2 callers
Method
getColor
* Returns the color of the text in the list. * @return Color value. */
src/Interface/TextList.cpp:465
↓ 2 callers
Function
getConfigFolder
* Returns the game's Config folder where * settings are stored in. Normally the same * as the User folder. * @return Full path to Config folder. *
src/Engine/Options.cpp:600
↓ 2 callers
Method
getCountry
* Returns the rules for the specified country. * @param id Country type. * @return Rules for the country. */
src/Ruleset/Ruleset.cpp:636
↓ 2 callers
Method
getCraft
* Gets the craft being transferred. * @return a Pointer to craft. */
src/Savegame/Transfer.cpp:155
↓ 2 callers
Method
getCraftCount
* Returns the total amount of craft of * a certain type stored in the base. * @param craft Craft type. * @return Number of craft. */
src/Savegame/Base.cpp:887
↓ 2 callers
Function
getDataFolder
* Takes a foldername and tries to find it in the game's Data folders, * accounting for the system's case-sensitivity and path style. * @param folder
src/Engine/CrossPlatform.cpp:424
↓ 2 callers
Method
getDay
* Returns the current ingame day. * @return Day (1-31). */
src/Savegame/GameTime.cpp:190
↓ 2 callers
Method
getDeploymentData
* Gets a pointer to the data. * @return Pointer to the data. */
src/Ruleset/AlienDeployment.cpp:105
← previous
next →
1,001–1,100 of 4,163, ranked by callers