Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenLoco/OpenLoco
/ functions
Functions
5,416 in github.com/OpenLoco/OpenLoco
⨍
Functions
5,416
◇
Types & classes
1,159
↓ 10 callers
Function
getCharacterWidth
src/OpenLoco/src/Graphics/Gfx.cpp:493
↓ 10 callers
Function
getItemArgument
src/OpenLoco/src/Ui/Dropdown.cpp:998
↓ 10 callers
Function
getRoadOccupation
0x0047D5D6 pos.x : ax pos.y : cx pos.z : dl * kWorld::kSmallZStep tad : bp (was ebp need to check high word is zero) return: dh
src/OpenLoco/src/Vehicles/VehicleHead.cpp:4919
↓ 10 callers
Function
getSurfaceLocFromUi
0x0045F1A7
src/OpenLoco/src/Ui/ViewportInteraction.cpp:1593
↓ 10 callers
Method
getWaypoint
src/OpenLoco/src/Vehicles/Orders.cpp:75
↓ 10 callers
Function
getWorldRange
src/OpenLoco/src/Map/TileLoop.cpp:24
↓ 10 callers
Function
hideGridlines
0x00468FFE
src/OpenLoco/src/Ui/Windows/Main.cpp:74
↓ 10 callers
Method
id
src/OpenLoco/src/World/CompanyManager.cpp:1472
↓ 10 callers
Method
isConstructed
src/OpenLoco/include/OpenLoco/Map/BuildingElement.h:36
↓ 10 callers
Function
isHovering
src/OpenLoco/src/Input/MouseInput.cpp:153
↓ 10 callers
Function
loadTemporaryObject
0x0047176D TODO: Return a std::unique_ptr and a ObjectHeader3 & ObjectHeader2 for the metadata
src/OpenLoco/src/Objects/ObjectManager.cpp:487
↓ 10 callers
Function
open
0x00438B26
src/OpenLoco/src/Ui/Windows/ToolbarTop.cpp:93
↓ 10 callers
Function
openWithFlags
0x004A3B0D
src/OpenLoco/src/Ui/Windows/Construction/Common.cpp:451
↓ 10 callers
Method
read
src/OpenLoco/src/S5/SawyerStream.cpp:43
↓ 10 callers
Function
recalculateStationCenter
0x0048F716
src/OpenLoco/src/World/Station.cpp:1068
↓ 10 callers
Function
recalculateStationModes
0x0048F529
src/OpenLoco/src/World/Station.cpp:1098
↓ 10 callers
Function
reportLineError
(line, message)
scripts/format-changelog.js:16
↓ 10 callers
Function
resetSceneAge
src/OpenLoco/src/SceneManager.cpp:12
↓ 10 callers
Function
setCatchmentDisplay
0x00491D70 catchment flag should not be shifted (1, 2, 3, 4) and NOT (1 << 0, 1 << 1)
src/OpenLoco/src/World/Station.cpp:544
↓ 10 callers
Function
setConstructionArrow
src/OpenLoco/src/Map/MapSelection.cpp:300
↓ 10 callers
Function
setGhostVisibilityFlag
src/OpenLoco/src/Ui/Windows/Construction/Common.cpp:1418
↓ 10 callers
Method
setVariation
src/OpenLoco/include/OpenLoco/Map/SurfaceElement.h:108
↓ 10 callers
Function
showText
0x004CCAB2
src/OpenLoco/src/Ui/Dropdown.cpp:410
↓ 10 callers
Function
sub_4A2AD7
0x004A2AD7
src/OpenLoco/src/Vehicles/Routing.cpp:862
↓ 10 callers
Function
sub_4B92A5
* 0x004B92A5 * * @param window @<esi> */
src/OpenLoco/src/Ui/Windows/BuildVehicle.cpp:737
↓ 10 callers
Function
userStringAllocate
0x00496522
src/OpenLoco/src/Localisation/StringManager.cpp:79
↓ 9 callers
Method
begin
src/Core/include/OpenLoco/Core/BitSet.hpp:367
↓ 9 callers
Function
close
src/OpenLoco/src/Network/Network.cpp:91
↓ 9 callers
Function
countSurroundingWaterTiles
0x004C5596
src/OpenLoco/src/Map/TileManager.cpp:885
↓ 9 callers
Function
drawVehicleInline
0x004B7711 & 0x004B745B
src/OpenLoco/src/Vehicles/VehicleDraw.cpp:571
↓ 9 callers
Method
end
src/Core/include/OpenLoco/Core/BitSet.hpp:372
↓ 9 callers
Method
format
src/OpenLoco/include/OpenLoco/Localisation/StringBuffer.h:32
↓ 9 callers
Method
getCargo
src/OpenLoco/include/OpenLoco/Vehicles/Orders.h:138
↓ 9 callers
Function
getCurrentModalType
src/OpenLoco/src/Ui/WindowManager.cpp:85
↓ 9 callers
Function
getCurrentSnowLine
0x00525FB4
src/OpenLoco/src/Scenario/Scenario.cpp:155
↓ 9 callers
Function
getLevelMask
src/Diagnostics/include/OpenLoco/Diagnostics/LogLevel.h:20
↓ 9 callers
Function
getMapSelectionArea
src/OpenLoco/src/Map/MapSelection.cpp:201
↓ 9 callers
Method
getObject
src/OpenLoco/src/Map/BuildingElement.cpp:23
↓ 9 callers
Function
getOrderTable
src/OpenLoco/src/Ui/Windows/Vehicle.cpp:2858
↓ 9 callers
Method
getSpan
src/Core/src/MemoryStream.cpp:67
↓ 9 callers
Function
getSurfaceOrWaterLocFromUi
0x00460781 regs.ax = screenCoords.x; regs.bx = screenCoords.y; returns regs.edx = InteractionInfo.value (unsure if ever used) regs.ax = mapX, 0x8000 -
src/OpenLoco/src/Ui/ViewportInteraction.cpp:1551
↓ 9 callers
Method
getWaterHeight
src/OpenLoco/include/OpenLoco/Paint/Paint.h:265
↓ 9 callers
Function
hasSceneFlags
src/OpenLoco/src/SceneManager.cpp:47
↓ 9 callers
Method
inset
src/OpenLoco/include/OpenLoco/Graphics/Colour.h:232
↓ 9 callers
Function
isFocused
src/OpenLoco/src/Input/MouseInput.cpp:243
↓ 9 callers
Function
loadCurrency
0x0046E07B
src/OpenLoco/src/Graphics/Gfx.cpp:320
↓ 9 callers
Function
processMessagesMini
0x004072EC
src/OpenLoco/src/Input.cpp:89
↓ 9 callers
Method
read
src/Core/src/FileStream.cpp:160
↓ 9 callers
Function
recolourTranslucent
src/OpenLoco/include/OpenLoco/Graphics/Gfx.h:153
↓ 9 callers
Function
removeElement
0x00455916 NOTE: Element is invalid after this call and all elements on tile
src/OpenLoco/src/GameCommands/Industries/RemoveIndustry.cpp:23
↓ 9 callers
Function
reset
0x00444357
src/OpenLoco/src/Title.cpp:118
↓ 9 callers
Method
setFlag6
in tracks/roads indicates is last tile of multi tile
src/OpenLoco/include/OpenLoco/Map/TileElementBase.h:77
↓ 9 callers
Method
setHasLevelCrossing
_7 0b0010_0000 NOTE: if false may have street light
src/OpenLoco/include/OpenLoco/Map/RoadElement.h:104
↓ 9 callers
Method
setSnowCoverage
src/OpenLoco/include/OpenLoco/Map/SurfaceElement.h:80
↓ 9 callers
Function
trim
src/Utility/include/OpenLoco/Utility/String.hpp:145
↓ 9 callers
Method
var_6_003F
src/OpenLoco/src/Map/IndustryElement.cpp:33
↓ 9 callers
Method
variation
src/OpenLoco/include/OpenLoco/Map/SurfaceElement.h:106
↓ 9 callers
Function
viewportSetVisibility
* 0x004A0A18 * * @param visibility @<al> */
src/OpenLoco/src/Ui/WindowManager.cpp:1642
↓ 9 callers
Function
windowDraw
* 0x004C5EA9 * * @param w * @param left @<ax> * @param top @<bx> * @param right @<dx> * @param bottom @<bp> */
src/OpenLoco/src/Ui/WindowManager.cpp:1836
↓ 8 callers
Function
addNewOrder
order : al (first 3 bits) order argument : eax (3 - 32 bits), cx Note will move orders so do not use while iterating OrderRingView 0x004B4ECB
src/OpenLoco/src/Ui/Windows/Vehicle.cpp:3151
↓ 8 callers
Function
allocateNewStation
0x0048F8A0
src/OpenLoco/src/World/StationManager.cpp:600
↓ 8 callers
Function
calcDate
0x00495C65 eax: totalDays returns: eax: year ebx: month edx: day
src/OpenLoco/src/Date.cpp:100
↓ 8 callers
Method
calculateTextOffset
* 0x004CEB67 * * @param containerWidth @<edx> */
src/OpenLoco/src/Ui/TextInput.cpp:118
↓ 8 callers
Function
cancel
* 0x004CE6F2 */
src/OpenLoco/src/Ui/Windows/TextInputWindow.cpp:157
↓ 8 callers
Function
clearTreeCollision
src/OpenLoco/src/Map/TileClearance.cpp:540
↓ 8 callers
Method
close
src/Core/src/FileStream.cpp:120
↓ 8 callers
Function
closeAndReset
0x004C87B5
src/OpenLoco/src/Ui/Windows/ToolTip.cpp:271
↓ 8 callers
Function
drawViewCornersOnMap
0x0046BE34
src/OpenLoco/src/Ui/Windows/MapWindow.cpp:1975
↓ 8 callers
Function
exportGameStateToFile
0x00441C26
src/OpenLoco/src/S5/S5.cpp:202
↓ 8 callers
Function
get
src/OpenLoco/src/World/IndustryManager.cpp:76
↓ 8 callers
Function
getAvailableCompatibleBridges
0x0042C518, 0x0042C490
src/OpenLoco/src/Objects/ObjectUtils.cpp:189
↓ 8 callers
Function
getAvailableObjects
src/OpenLoco/src/Objects/ObjectIndex.cpp:574
↓ 8 callers
Method
getBaseQuarterOccupied
src/OpenLoco/include/OpenLoco/Map/QuarterTile.h:63
↓ 8 callers
Function
getBytesSpan
src/OpenLoco/src/GameSaveCompare.cpp:25
↓ 8 callers
Function
getCurrentStep
src/OpenLoco/src/EditorController.cpp:149
↓ 8 callers
Function
getErrorText
src/OpenLoco/src/GameCommands/GameCommands.cpp:564
↓ 8 callers
Function
getGameSpeed
src/OpenLoco/src/SceneManager.cpp:143
↓ 8 callers
Method
getHeight
src/OpenLoco/src/Map/MapGenerator/HeightMap.cpp:13
↓ 8 callers
Function
getLineHeight
src/OpenLoco/src/Graphics/TextRenderer.cpp:26
↓ 8 callers
Function
getMaxLoanSize
0x0052621A
src/OpenLoco/src/World/CompanyManager.cpp:118
↓ 8 callers
Function
getSignalState
0x0048963F but only when flags are 0xXXXX_XXXA
src/OpenLoco/src/Vehicles/Routing.cpp:243
↓ 8 callers
Method
getStatusString
0x00492A98
src/OpenLoco/src/World/Station.cpp:640
↓ 8 callers
Function
getTotalNumImages
src/OpenLoco/src/Objects/ObjectImageTable.cpp:48
↓ 8 callers
Function
getTrackSubPositon
src/OpenLoco/src/Map/Track/SubpositionData.cpp:18933
↓ 8 callers
Method
getTrackType
src/OpenLoco/src/Vehicles/Vehicle.cpp:76
↓ 8 callers
Function
getVehicleType
src/OpenLoco/include/OpenLoco/Objects/VehicleObject.h:297
↓ 8 callers
Method
hasOption
src/OpenLoco/src/CommandLine.cpp:245
↓ 8 callers
Method
hasPrimary
src/OpenLoco/include/OpenLoco/Graphics/ImageId.h:95
↓ 8 callers
Function
heightFloor
src/Engine/include/OpenLoco/Engine/World.hpp:27
↓ 8 callers
Function
invalidate
src/OpenLoco/src/ViewportManager.cpp:186
↓ 8 callers
Function
isAudioEnabled
src/OpenLoco/src/Audio/Audio.cpp:572
↓ 8 callers
Method
isOvertaking
Vehicles can be in overtaking lane (trams can stay in that lane)
src/OpenLoco/include/OpenLoco/Vehicles/Vehicle.h:142
↓ 8 callers
Method
isPlaced
src/OpenLoco/include/OpenLoco/Vehicles/VehicleHead.h:91
↓ 8 callers
Function
isSuitableForStation
0x00481D6F If there are less than 4 buildings in the area (5x5) then the station can be placed there
src/OpenLoco/src/World/CompanyAi/CompanyAi.cpp:3139
↓ 8 callers
Function
load
0x00442837
src/OpenLoco/src/Scenario/Scenario.cpp:282
↓ 8 callers
Function
makeCommonWidgets
src/OpenLoco/src/Ui/Windows/Cheats.cpp:57
↓ 8 callers
Method
midY
src/OpenLoco/src/Ui/Widget.cpp:21
↓ 8 callers
Method
open
src/Core/src/FileStream.cpp:91
↓ 8 callers
Function
paintStationCargo
0x0042F550
src/OpenLoco/src/Paint/PaintStation.cpp:23
↓ 8 callers
Function
populateCompanySelect
0x004CF2B3
src/OpenLoco/src/Ui/Dropdown.cpp:915
← previous
next →
401–500 of 5,416, ranked by callers