@@ -0,0 +1,19 @@
|
||||
package background
|
||||
|
||||
import (
|
||||
inkwell "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
"git.teletypegames.org/games/realworld/internal/names"
|
||||
)
|
||||
|
||||
// alley — part of the catalogue's "Noodle háza & a sikátor" row — not in the deck.
|
||||
//
|
||||
// Not painted yet: the file is missing on purpose, and inkwell draws its
|
||||
// placeholder instead — which is exactly the greybox convention.
|
||||
func alley() inkwell.Asset {
|
||||
return inkwell.Asset{
|
||||
Name: names.BgAlley,
|
||||
Path: "assets/bg/alley.png",
|
||||
Kind: inkwell.AssetImage,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
// Package background registers one image asset per screen — one file each.
|
||||
//
|
||||
// A background is the whole of a screen's art: inkwell scales it over the
|
||||
// entire window, so every file here points at a 640×380 PNG under assets/bg/,
|
||||
// the size the concept-art deck is drawn at. Two of them are not painted yet
|
||||
// and fall back to inkwell's placeholder.
|
||||
//
|
||||
// The order below is the deck's, which is the wiki's location-catalogue order
|
||||
// (projects/realworld/entities#helyszinek).
|
||||
package background
|
||||
|
||||
import (
|
||||
inkwell "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
"git.teletypegames.org/games/realworld/internal/world"
|
||||
)
|
||||
|
||||
// Register adds every background to the game.
|
||||
func Register(w *world.World) {
|
||||
for _, a := range []inkwell.Asset{
|
||||
selector(),
|
||||
paulShop(),
|
||||
noodleHouse(),
|
||||
normanApartment(),
|
||||
policeStation(),
|
||||
alley(),
|
||||
hackerspace(),
|
||||
iceCreamShop(),
|
||||
trinketShop(),
|
||||
smallRestaurant(),
|
||||
secretClub(),
|
||||
bbsTerminal(),
|
||||
street(),
|
||||
hospital(),
|
||||
serverFarm(),
|
||||
secretLab(),
|
||||
rooftopHideout(),
|
||||
publicBbs(),
|
||||
bvkBranch(),
|
||||
curatorShop(),
|
||||
scrapMarket(),
|
||||
samizdatPress(),
|
||||
showroom(),
|
||||
columbarium(),
|
||||
} {
|
||||
w.G.AssetManager.Register(a)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package background
|
||||
|
||||
import (
|
||||
inkwell "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
"git.teletypegames.org/games/realworld/internal/names"
|
||||
)
|
||||
|
||||
// bbsTerminal — deck 11.
|
||||
func bbsTerminal() inkwell.Asset {
|
||||
return inkwell.Asset{
|
||||
Name: names.BgBBSTerminal,
|
||||
Path: "assets/bg/bbs_terminal.png",
|
||||
Kind: inkwell.AssetImage,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package background
|
||||
|
||||
import (
|
||||
inkwell "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
"git.teletypegames.org/games/realworld/internal/names"
|
||||
)
|
||||
|
||||
// bvkBranch — deck 18.
|
||||
func bvkBranch() inkwell.Asset {
|
||||
return inkwell.Asset{
|
||||
Name: names.BgBVKBranch,
|
||||
Path: "assets/bg/bvk_branch.png",
|
||||
Kind: inkwell.AssetImage,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package background
|
||||
|
||||
import (
|
||||
inkwell "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
"git.teletypegames.org/games/realworld/internal/names"
|
||||
)
|
||||
|
||||
// columbarium — deck 23.
|
||||
func columbarium() inkwell.Asset {
|
||||
return inkwell.Asset{
|
||||
Name: names.BgColumbarium,
|
||||
Path: "assets/bg/columbarium.png",
|
||||
Kind: inkwell.AssetImage,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package background
|
||||
|
||||
import (
|
||||
inkwell "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
"git.teletypegames.org/games/realworld/internal/names"
|
||||
)
|
||||
|
||||
// curatorShop — deck 19.
|
||||
func curatorShop() inkwell.Asset {
|
||||
return inkwell.Asset{
|
||||
Name: names.BgCuratorShop,
|
||||
Path: "assets/bg/curator_shop.png",
|
||||
Kind: inkwell.AssetImage,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package background
|
||||
|
||||
import (
|
||||
inkwell "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
"git.teletypegames.org/games/realworld/internal/names"
|
||||
)
|
||||
|
||||
// hackerspace — deck 06.
|
||||
func hackerspace() inkwell.Asset {
|
||||
return inkwell.Asset{
|
||||
Name: names.BgHackerspace,
|
||||
Path: "assets/bg/hackerspace.png",
|
||||
Kind: inkwell.AssetImage,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package background
|
||||
|
||||
import (
|
||||
inkwell "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
"git.teletypegames.org/games/realworld/internal/names"
|
||||
)
|
||||
|
||||
// hospital — deck 13.
|
||||
func hospital() inkwell.Asset {
|
||||
return inkwell.Asset{
|
||||
Name: names.BgHospital,
|
||||
Path: "assets/bg/hospital.png",
|
||||
Kind: inkwell.AssetImage,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package background
|
||||
|
||||
import (
|
||||
inkwell "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
"git.teletypegames.org/games/realworld/internal/names"
|
||||
)
|
||||
|
||||
// iceCreamShop — deck 07.
|
||||
func iceCreamShop() inkwell.Asset {
|
||||
return inkwell.Asset{
|
||||
Name: names.BgIceCreamShop,
|
||||
Path: "assets/bg/ice_cream_shop.png",
|
||||
Kind: inkwell.AssetImage,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package background
|
||||
|
||||
import (
|
||||
inkwell "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
"git.teletypegames.org/games/realworld/internal/names"
|
||||
)
|
||||
|
||||
// noodleHouse — deck 02.
|
||||
func noodleHouse() inkwell.Asset {
|
||||
return inkwell.Asset{
|
||||
Name: names.BgNoodleHouse,
|
||||
Path: "assets/bg/noodle_house.png",
|
||||
Kind: inkwell.AssetImage,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package background
|
||||
|
||||
import (
|
||||
inkwell "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
"git.teletypegames.org/games/realworld/internal/names"
|
||||
)
|
||||
|
||||
// normanApartment — deck 03.
|
||||
func normanApartment() inkwell.Asset {
|
||||
return inkwell.Asset{
|
||||
Name: names.BgNormanApartment,
|
||||
Path: "assets/bg/norman_apartment.png",
|
||||
Kind: inkwell.AssetImage,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package background
|
||||
|
||||
import (
|
||||
inkwell "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
"git.teletypegames.org/games/realworld/internal/names"
|
||||
)
|
||||
|
||||
// paulShop — deck 01.
|
||||
func paulShop() inkwell.Asset {
|
||||
return inkwell.Asset{
|
||||
Name: names.BgPaulShop,
|
||||
Path: "assets/bg/paul_shop.png",
|
||||
Kind: inkwell.AssetImage,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package background
|
||||
|
||||
import (
|
||||
inkwell "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
"git.teletypegames.org/games/realworld/internal/names"
|
||||
)
|
||||
|
||||
// policeStation — deck 04.
|
||||
func policeStation() inkwell.Asset {
|
||||
return inkwell.Asset{
|
||||
Name: names.BgPoliceStation,
|
||||
Path: "assets/bg/police_station.png",
|
||||
Kind: inkwell.AssetImage,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package background
|
||||
|
||||
import (
|
||||
inkwell "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
"git.teletypegames.org/games/realworld/internal/names"
|
||||
)
|
||||
|
||||
// publicBbs — deck 17.
|
||||
func publicBbs() inkwell.Asset {
|
||||
return inkwell.Asset{
|
||||
Name: names.BgPublicBBS,
|
||||
Path: "assets/bg/public_bbs.png",
|
||||
Kind: inkwell.AssetImage,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package background
|
||||
|
||||
import (
|
||||
inkwell "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
"git.teletypegames.org/games/realworld/internal/names"
|
||||
)
|
||||
|
||||
// rooftopHideout — deck 16.
|
||||
func rooftopHideout() inkwell.Asset {
|
||||
return inkwell.Asset{
|
||||
Name: names.BgRooftopHideout,
|
||||
Path: "assets/bg/rooftop_hideout.png",
|
||||
Kind: inkwell.AssetImage,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package background
|
||||
|
||||
import (
|
||||
inkwell "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
"git.teletypegames.org/games/realworld/internal/names"
|
||||
)
|
||||
|
||||
// samizdatPress — deck 21.
|
||||
func samizdatPress() inkwell.Asset {
|
||||
return inkwell.Asset{
|
||||
Name: names.BgSamizdatPress,
|
||||
Path: "assets/bg/samizdat_press.png",
|
||||
Kind: inkwell.AssetImage,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package background
|
||||
|
||||
import (
|
||||
inkwell "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
"git.teletypegames.org/games/realworld/internal/names"
|
||||
)
|
||||
|
||||
// scrapMarket — deck 20.
|
||||
func scrapMarket() inkwell.Asset {
|
||||
return inkwell.Asset{
|
||||
Name: names.BgScrapMarket,
|
||||
Path: "assets/bg/scrap_market.png",
|
||||
Kind: inkwell.AssetImage,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package background
|
||||
|
||||
import (
|
||||
inkwell "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
"git.teletypegames.org/games/realworld/internal/names"
|
||||
)
|
||||
|
||||
// secretClub — deck 10.
|
||||
func secretClub() inkwell.Asset {
|
||||
return inkwell.Asset{
|
||||
Name: names.BgSecretClub,
|
||||
Path: "assets/bg/secret_club.png",
|
||||
Kind: inkwell.AssetImage,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package background
|
||||
|
||||
import (
|
||||
inkwell "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
"git.teletypegames.org/games/realworld/internal/names"
|
||||
)
|
||||
|
||||
// secretLab — deck 15.
|
||||
func secretLab() inkwell.Asset {
|
||||
return inkwell.Asset{
|
||||
Name: names.BgSecretLab,
|
||||
Path: "assets/bg/secret_lab.png",
|
||||
Kind: inkwell.AssetImage,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package background
|
||||
|
||||
import (
|
||||
inkwell "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
"git.teletypegames.org/games/realworld/internal/names"
|
||||
)
|
||||
|
||||
// selector — the wiki's Helyszínválasztó — no deck number, and not drawn.
|
||||
//
|
||||
// Not painted yet: the file is missing on purpose, and inkwell draws its
|
||||
// placeholder instead — which is exactly the greybox convention.
|
||||
func selector() inkwell.Asset {
|
||||
return inkwell.Asset{
|
||||
Name: names.BgSelector,
|
||||
Path: "assets/bg/selector.png",
|
||||
Kind: inkwell.AssetImage,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package background
|
||||
|
||||
import (
|
||||
inkwell "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
"git.teletypegames.org/games/realworld/internal/names"
|
||||
)
|
||||
|
||||
// serverFarm — deck 14.
|
||||
func serverFarm() inkwell.Asset {
|
||||
return inkwell.Asset{
|
||||
Name: names.BgServerFarm,
|
||||
Path: "assets/bg/server_farm.png",
|
||||
Kind: inkwell.AssetImage,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package background
|
||||
|
||||
import (
|
||||
inkwell "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
"git.teletypegames.org/games/realworld/internal/names"
|
||||
)
|
||||
|
||||
// showroom — deck 22.
|
||||
func showroom() inkwell.Asset {
|
||||
return inkwell.Asset{
|
||||
Name: names.BgShowroom,
|
||||
Path: "assets/bg/showroom.png",
|
||||
Kind: inkwell.AssetImage,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package background
|
||||
|
||||
import (
|
||||
inkwell "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
"git.teletypegames.org/games/realworld/internal/names"
|
||||
)
|
||||
|
||||
// smallRestaurant — deck 09.
|
||||
func smallRestaurant() inkwell.Asset {
|
||||
return inkwell.Asset{
|
||||
Name: names.BgSmallRestaurant,
|
||||
Path: "assets/bg/small_restaurant.png",
|
||||
Kind: inkwell.AssetImage,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package background
|
||||
|
||||
import (
|
||||
inkwell "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
"git.teletypegames.org/games/realworld/internal/names"
|
||||
)
|
||||
|
||||
// street — deck 12.
|
||||
func street() inkwell.Asset {
|
||||
return inkwell.Asset{
|
||||
Name: names.BgStreet,
|
||||
Path: "assets/bg/street.png",
|
||||
Kind: inkwell.AssetImage,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package background
|
||||
|
||||
import (
|
||||
inkwell "git.teletypegames.org/engines/inkwell"
|
||||
|
||||
"git.teletypegames.org/games/realworld/internal/names"
|
||||
)
|
||||
|
||||
// trinketShop — deck 08.
|
||||
func trinketShop() inkwell.Asset {
|
||||
return inkwell.Asset{
|
||||
Name: names.BgTrinketShop,
|
||||
Path: "assets/bg/trinket_shop.png",
|
||||
Kind: inkwell.AssetImage,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user