Add police widescreen background (#690)

* Add Police background

* Update bitmap
This commit is contained in:
Christian Semmler 2025-08-20 14:11:36 -07:00 committed by GitHub
parent e709400dc6
commit 61632ea0a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 3 deletions

View File

@ -20,10 +20,16 @@ void CreateWidescreen()
struct AssetView {
std::string name;
std::string extra;
int32_t z;
};
const AssetView widescreenBitmaps[] = {
{"GaraDoor_Background_Wide",
"World:current, StartWith:\\Lego\\Scripts\\Isle\\Isle;1160, RemoveWith:\\Lego\\Scripts\\Isle\\Isle;1161"}
"World:current, StartWith:\\Lego\\Scripts\\Isle\\Isle;1160, RemoveWith:\\Lego\\Scripts\\Isle\\Isle;1161",
-1},
{"Police_Background_Wide",
"World:\\lego\\scripts\\police\\police;0, StartWith:\\Lego\\Scripts\\Police\\Police;0, "
"RemoveWith:\\Lego\\Scripts\\Police\\Police;0",
10}
};
si::Interleaf si;
@ -44,9 +50,9 @@ void CreateWidescreen()
object->presenter_ = "MxStillPresenter";
object->name_ = asset.name;
object->filetype_ = si::MxOb::STL;
object->location_ = si::Vector3(-240.0, 0.0, -1.0);
object->location_ = si::Vector3(-240, 0.0, asset.z);
object->direction_ = si::Vector3(0, 0, 0);
object->up_ = si::Vector3(0, 1.0, 0);
object->up_ = si::Vector3(0, 1, 0);
if (!object->ReplaceWithFile(file.c_str())) {
abort();

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dc2cfb5d0522d2cc4cfbaf74d6b1b5f1f2e0512f613e398849a2359d537deff5
size 538678