MCPcopy Create free account

hub / github.com/BenNicholls/spaceshippers / functions

Functions358 in github.com/BenNicholls/spaceshippers

↓ 1 callersMethodRemoveRoom
(r *Room)
ship.go:163
↓ 1 callersMethodRemoveSource
(s StatusID)
crewstatus.go:73
↓ 1 callersMethodRemoveVolume
Removes a volume of gas v (L) from the atmosphere. Returns the volume of gas removed.
gas.go:141
↓ 1 callersMethodSave
()
shiptemplates.go:26
↓ 1 callersMethodSaveShip
()
spaceshipgame.go:269
↓ 1 callersMethodSetCourse
(l Locatable, c Course)
ship.go:251
↓ 1 callersMethodSetKnown
()
location.go:97
↓ 1 callersMethodSetLocation
(l Locatable)
ship.go:135
↓ 1 callersMethodSetRoom
(room *Room)
shipdesignmenu.go:438
↓ 1 callersMethodSetValid
(valid bool)
shipdesignmenu.go:449
↓ 1 callersMethodSetup
(s *Ship)
ui_shipmenu.go:61
↓ 1 callersMethodString
()
location.go:43
↓ 1 callersMethodUpdate
Called once per tick to update durations and such.
crewstatus.go:78
↓ 1 callersMethodUpdateAllRoomList
()
shipdesignmenu.go:370
↓ 1 callersMethodUpdateContacts
()
ui_commmenu.go:140
↓ 1 callersMethodUpdateCrewList
()
ui_crewmenu.go:107
↓ 1 callersMethodUpdateFileText
()
dialogs.go:156
↓ 1 callersMethodUpdateInventoryList
()
ui_shipmenu.go:136
↓ 1 callersMethodUpdateItemDescription
()
ui_shipmenu.go:152
↓ 1 callersMethodUpdateLocalInfo
()
ui_galaxymenu.go:153
↓ 1 callersMethodUpdateLogs
()
ui_commmenu.go:165
↓ 1 callersMethodUpdateViewModeData
()
ui_viewmenu.go:166
↓ 1 callersMethodVolume
Volume returns the interior volume of the room in m^3
room.go:154
↓ 1 callersMethodZoomIn
()
galaxymapview.go:68
↓ 1 callersMethodZoomOut
()
galaxymapview.go:88
↓ 1 callersMethodrandomizeName
()
crew.go:67
MethodAddStat
(s RoomStat)
shipsystem.go:47
MethodApplyUpkeep
(spaceTime int)
room.go:141
MethodBounds
()
galaxy.go:57
MethodCalcMinBurnTime
Calculates the required burntime required to brake the ship down to V_f. If V_f > ship speed, returns 0.
navigation.go:138
MethodChangeAmount
(d float64)
item.go:23
MethodChangeAmount
(d float64)
gas.go:62
MethodDone
()
dialogs.go:77
MethodDone
()
dialogs.go:174
MethodDone
()
dialogs.go:221
MethodDone
()
spaceevent.go:91
MethodDone
()
ui_setcourse.go:128
MethodDraw
(dst_canvas *gfx.Canvas, offset vec.Coord, depth int)
room.go:158
MethodDrawObjectMarkers
()
galaxymapview.go:199
MethodGenerate
()
galaxycreatemenu.go:143
MethodGetAllStats
()
shipsystem.go:43
MethodGetAmount
()
item.go:15
MethodGetAmount
returns the molar value of the gas (L * kPa)
gas.go:53
MethodGetColour
(val float64)
ui_viewmenu.go:45
MethodGetCoords
()
location.go:105
MethodGetDesc
()
shipsystem.go:120
MethodGetDescription
()
location.go:19
MethodGetDescription
()
location.go:81
MethodGetDescription
()
mission.go:24
MethodGetDescription
()
mission.go:40
MethodGetDescription
()
storagesystem.go:14
MethodGetDescription
()
item.go:34
MethodGetDescription
()
task.go:29
MethodGetDescription
()
gas.go:48
MethodGetDuration
()
task.go:7
MethodGetDuration
()
task.go:21
MethodGetLocationType
()
location.go:85
MethodGetLocations
This default method actually doesn't work, we don't want the Location object. Hmm.
location.go:120
MethodGetLocations
Returns a list of all locations in the system. Right now that means the star and planets, but it's set up to automatically grab locations in a hierarc
starsystem.go:91
MethodGetLocations
NOTE: When moons and orbitting stuff gets implemented, be sure to add those here.
starsystem.go:208
MethodGetName
()
shipsystem.go:116
MethodGetName
()
location.go:18
MethodGetName
()
location.go:77
MethodGetName
()
mission.go:36
MethodGetName
()
item.go:11
MethodGetName
()
task.go:25
MethodGetStat
(s StatType)
shipsystem.go:35
MethodGetStatus
()
room.go:122
MethodGetStorageType
()
item.go:19
MethodGetStorageType
()
gas.go:70
MethodGetVisitDistance
Returns orbital distance or docking distance. Only works for local locations, returns 0 otherwise.
location.go:110
MethodGetVisitSpeed
Returns orbital speed or docking speed. Only works for local locations, returns 0 otherwise.
location.go:115
MethodGetVisuals
()
crew.go:71
MethodGetVisuals
()
starsystem.go:126
MethodGetVisuals
()
starsystem.go:168
MethodHandleEvent
(game_event event.Event)
galaxycreatemenu.go:151
MethodHandleEvent
(event event.Event)
spaceshipgame.go:207
MethodHandleKeypress
(key_event *input.KeyboardEvent)
ui_galaxymenu.go:90
MethodHandleKeypress
(key_event *input.KeyboardEvent)
shipdesignmenu.go:247
MethodHandleKeypress
(key_event *input.KeyboardEvent)
input.go:5
MethodHandleKeypress
(key_event *input.KeyboardEvent)
dialogs.go:67
MethodHandleKeypress
(key_event *input.KeyboardEvent)
dialogs.go:141
MethodHandleKeypress
(key_event *input.KeyboardEvent)
galaxymapview.go:225
MethodHandleKeypress
(key_event *input.KeyboardEvent)
startmenu.go:39
MethodHandleKeypress
(key_event *input.KeyboardEvent)
ui_commmenu.go:65
MethodHandleKeypress
(key_event *input.KeyboardEvent)
spaceevent.go:78
MethodHandleKeypress
(key_event *input.KeyboardEvent)
ui_setcourse.go:95
MethodInit
(g *Galaxy, s *Ship)
ui_galaxymenu.go:34
MethodInit
()
ui_viewmenu.go:136
MethodInit
(pos vec.Coord, g *Galaxy)
ui_time.go:19
MethodInit
(s *Ship)
ui_shipstats.go:23
MethodInit
(size vec.Dims, pos vec.Coord, depth int, galaxy *Galaxy)
galaxymapview.go:48
MethodInit
(size vec.Dims, pos vec.Coord, depth, starFrequency, shiftFrequency int)
starfield.go:22
MethodInit
()
ui_mainmenu.go:11
MethodInit
(s *Ship)
ui_crewmenu.go:37
MethodInitStats
()
shipsystem.go:64
MethodIsComplete
()
mission.go:44
MethodIsExplored
()
location.go:89
MethodIsFailed
()
mission.go:52
MethodIsKnown
()
location.go:101
← previousnext →201–300 of 358, ranked by callers