MCPcopy Create free account

hub / github.com/BenNicholls/spaceshippers / functions

Functions358 in github.com/BenNicholls/spaceshippers

↓ 2 callersFunctionNewSimpleCommDialog
(message string)
dialogs.go:198
↓ 2 callersFunctionNewSleepJob
()
task.go:81
↓ 2 callersFunctionNewSpaceshipGame
(g *Galaxy, s *Ship)
spaceshipgame.go:68
↓ 2 callersFunctionNewStar
NewStar creates a star. c is the coordinates of the starsystem. Defaults to center of system.
starsystem.go:109
↓ 2 callersFunctionNewStarSystem
(c Coordinates)
starsystem.go:24
↓ 2 callersMethodOnInterrupt
()
task.go:6
↓ 2 callersMethodOnTick
()
task.go:5
↓ 2 callersMethodRemove
Attempts to remove item from stores. Returns the amount of item removed, or returns 0 if no item is found. If less than volume v is present in stores,
storagesystem.go:95
↓ 2 callersMethodRemoveStatus
(s StatusID)
crew.go:245
↓ 2 callersMethodRotate
()
room.go:70
↓ 2 callersMethodSetCursor
(pos vec.Coord)
galaxymapview.go:252
↓ 2 callersMethodSetWorker
(w *Crewman)
task.go:10
↓ 2 callersMethodSetupShip
SetupShip performs post-init calculations. Do after loading.
ship.go:87
↓ 2 callersMethodSetupUI
()
spaceshipgame.go:129
↓ 2 callersMethodUpdateCrewDetails
Updates variable data for crew details page. Called whenever a UI_UPDATE event for the crew is received (most frames)
ui_crewmenu.go:138
↓ 2 callersMethodUpdateEngineStats
()
propulsion.go:32
↓ 2 callersMethodUpdateExplanation
()
galaxycreatemenu.go:86
↓ 2 callersMethodUpdateHelpText
(state util.StateID)
shipdesignmenu.go:324
↓ 2 callersMethodUpdateMissionView
()
ui_gamemenu.go:86
↓ 2 callersMethodUpdateMissions
()
ui_gamemenu.go:77
↓ 2 callersMethodUpdateShipDescription
()
shipcreatemenu.go:98
↓ 2 callersMethodUpdateStorage
()
ui_shipmenu.go:113
↓ 2 callersMethodUpdateStorageOverview
()
ui_shipmenu.go:118
↓ 2 callersMethodUpdateTime
()
ui_time.go:37
↓ 2 callersMethodlocalZoomFactor
()
galaxymapview.go:161
↓ 2 callersMethodmoveLocal
(dx, dy float64)
location.go:254
↓ 2 callersMethodmoveSector
(dx, dy int)
location.go:291
↓ 2 callersMethodmoveStarSystem
(dx, dy int)
location.go:269
↓ 2 callersMethodmoveSubSector
(dx, dy int)
location.go:280
↓ 1 callersMethodAddCriteria
(c Acheivable)
mission.go:120
↓ 1 callersMethodAddEffect
(e EffectID, s StatusID)
crew.go:266
↓ 1 callersMethodAddGalacticMapObjectMarker
Adds an object to be drawn on the galactic version of the map.
galaxymapview.go:186
↓ 1 callersMethodAddGasMixture
(gm2 GasMixture)
gas.go:186
↓ 1 callersMethodAddLocalMapObjectMarker
Adds an object to be drawn on the local version of the map.
galaxymapview.go:193
↓ 1 callersMethodAddMapObjectMarker
Adds an object to be drawn in both galactic and local modes.
galaxymapview.go:180
↓ 1 callersMethodAddRoomToShip
()
shipdesignmenu.go:315
↓ 1 callersMethodAddSource
(s StatusID)
crewstatus.go:65
↓ 1 callersMethodAddStat
(RoomStat)
shipsystem.go:24
↓ 1 callersMethodAddStep
(s Acheivable)
mission.go:116
↓ 1 callersMethodBounds
()
ship.go:112
↓ 1 callersMethodBreathe
()
crew.go:140
↓ 1 callersMethodCompileInventoryList
()
ui_shipmenu.go:126
↓ 1 callersMethodComputeCourse
Returns a Course based on the parameters.
navigation.go:147
↓ 1 callersMethodComputeStraightCourse
Computes the course parameters subject to a fuel limit These formulae are the product of way too much algebra don't screw with them.
navigation.go:112
↓ 1 callersMethodCreateShipTemplate
()
shiptemplates.go:78
↓ 1 callersMethodGenerate
(t PlanetType)
starsystem.go:183
↓ 1 callersMethodGenerateEarth
Generates the Sol System (and with it, the ACTUAL STRAIGHT UP EARTH). Totally amazing.
galaxy.go:70
↓ 1 callersMethodGeneratePalette
()
ui_viewmenu.go:35
↓ 1 callersMethodGenerateRandom
()
starsystem.go:35
↓ 1 callersMethodGenerateSolSystem
()
starsystem.go:69
↓ 1 callersMethodGenerateSubSector
generates a subsector and adds it to the subsector map. if (x, y) already exists, just returns the old one
galaxy.go:188
↓ 1 callersMethodGetAllStats
()
shipsystem.go:23
↓ 1 callersMethodGetCoordStrings
Returns a string for each coordinate in the form SECTOR:SUBSECTOR:STARCOORD:LOCAL, subject to resolution limits.
location.go:173
↓ 1 callersMethodGetCurrentProgress
returns the pct of our current course that has been completed.
navigation.go:76
↓ 1 callersFunctionGetDurationString
(t int)
spacetime.go:19
↓ 1 callersMethodGetFillPct
(st StorageType)
storagesystem.go:130
↓ 1 callersMethodGetLocationType
()
location.go:20
↓ 1 callersMethodGetName
()
gas.go:44
↓ 1 callersMethodGetRoom
Returns the room for a given coord on the shipmap. Returns nil if no room found. If multiple rooms occupy a space (ex. shared wall), returns the first
ship.go:280
↓ 1 callersMethodGetStarSystem
Retreives a reference to the starsystem, given a local coord. Returns nil if coord is not local, or if coord is not within a starsystem
galaxy.go:130
↓ 1 callersMethodGetTick
returns the number of simulated seconds since launch
spaceshipgame.go:256
↓ 1 callersMethodGetTime
gets the time from the Galaxy
spaceshipgame.go:261
↓ 1 callersMethodGetViewMode
()
ui_viewmenu.go:191
↓ 1 callersMethodHandleEffects
Per-turn things for effects
crew.go:282
↓ 1 callersMethodHasStar
()
galaxy.go:209
↓ 1 callersMethodInitAtmosphere
Inits atmosphere to the target parameters. v is volume in L. o2 and p are pressures in kPa
gas.go:90
↓ 1 callersMethodInitCrewDetails
Updates the static data for the crew details page. This is only called when the selected crew member is changed.
ui_crewmenu.go:123
↓ 1 callersMethodInitStandardAtmosphere
Initializes atmosphere to standard Earth sea-level values.
gas.go:98
↓ 1 callersMethodIsComplete
()
mission.go:21
↓ 1 callersMethodIsExplored
()
location.go:21
↓ 1 callersMethodIsFailed
()
mission.go:22
↓ 1 callersMethodIsKnown
()
location.go:22
↓ 1 callersMethodLoadSpaceEvents
()
spaceevent.go:95
↓ 1 callersMethodMove
(dx, dy int, res CoordResolution)
location.go:236
↓ 1 callersMethodMoveCursor
(dir vec.Direction)
galaxymapview.go:264
↓ 1 callersFunctionNewChooseFileDialog
(dirPath, ext string, onLoad func(filename string))
dialogs.go:28
↓ 1 callersFunctionNewCommSystem
()
comms.go:23
↓ 1 callersFunctionNewCrewEffect
(e EffectID)
crewstatus.go:26
↓ 1 callersFunctionNewCrewStatus
(s StatusID)
crewstatus.go:107
↓ 1 callersFunctionNewGoToStep
(s *Ship, d Locatable)
mission.go:149
↓ 1 callersFunctionNewLifeSupportSystem
(s *Ship)
lifesupport.go:14
↓ 1 callersFunctionNewMission
(name, desc string)
mission.go:83
↓ 1 callersFunctionNewNavigationSystem
(s *Ship, g *Galaxy)
navigation.go:18
↓ 1 callersFunctionNewPlayer
(n string)
player.go:24
↓ 1 callersFunctionNewPropulsionSystem
(s *Ship)
propulsion.go:20
↓ 1 callersFunctionNewRoom
(name string, t RoomType, w, h int)
room.go:27
↓ 1 callersFunctionNewRoomFromTemplate
(temp RoomTemplate)
room.go:42
↓ 1 callersFunctionNewSector
(pos vec.Coord, density int)
galaxy.go:150
↓ 1 callersFunctionNewSectorCoordinate
NewCoordinate makes a new Coordinate object, defaulted to the center of a sector.
location.go:164
↓ 1 callersFunctionNewSetCourseDialog
(s *Ship, d Locatable, time int)
ui_setcourse.go:33
↓ 1 callersFunctionNewShipCreateMenu
(galaxy *Galaxy)
shipcreatemenu.go:30
↓ 1 callersFunctionNewShipDesignMenu
()
shipdesignmenu.go:52
↓ 1 callersFunctionNewSpaceEventDialog
(e SpaceEvent)
spaceevent.go:47
↓ 1 callersFunctionNewStayAwayCriteria
(s *Ship, d Locatable, dist float64)
mission.go:186
↓ 1 callersFunctionNewStorageSystem
(s *Ship)
storagesystem.go:42
↓ 1 callersMethodOnEnd
()
task.go:4
↓ 1 callersMethodOnEnd
when job is finished, release the lowly slave who completed it.
task.go:34
↓ 1 callersMethodOnStatUpdate
()
shipsystem.go:28
↓ 1 callersMethodProperName
generates the name of the sector based on its (x, y).
galaxy.go:173
↓ 1 callersMethodRemoveConnection
(c *Room)
room.go:111
← previousnext →101–200 of 358, ranked by callers