Documentation ¶
Overview ¶
package ordoor implements the full WH40K.EXE functionality, and is used from cmd/ordoor/main.go
Entrypoint is Run()
Index ¶
- func Run(configFile string, overrideX, overrideY int) error
- type Ordoor
- func (o *Ordoor) Cursor() (*ebiten.Image, *ebiten.DrawImageOptions, error)
- func (o *Ordoor) DisplayImageFor(d time.Duration, name string) error
- func (o *Ordoor) Draw(screen *ebiten.Image) error
- func (o *Ordoor) PlayMusic(name string) error
- func (o *Ordoor) PlaySkippableVideo(name string)
- func (o *Ordoor) PlayUnskippableVideo(name string)
- func (o *Ordoor) PlayVideo(name string, skippable bool)
- func (o *Ordoor) Run() error
- func (o *Ordoor) Update(screenX, screenY int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Ordoor ¶
type Ordoor struct {
// contains filtered or unexported fields
}
func (*Ordoor) DisplayImageFor ¶
func (*Ordoor) PlayMusic ¶
Only one music track can play at a time. This is handled at the toplevel. FIXME: should take references from Sounds.dat FIXME: music probably properly belongs to flow. This package can just do initialization and wire the flow to the ship?
func (*Ordoor) PlaySkippableVideo ¶
func (*Ordoor) PlayUnskippableVideo ¶
Click to show internal directories.
Click to hide internal directories.