Add Police background

This commit is contained in:
Christian Semmler 2025-08-20 11:49:08 -07:00
parent e709400dc6
commit e77a01a411
No known key found for this signature in database
GPG Key ID: 086DAA1360BEEE5C
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:fa905a7f004e86fbe8d8c14b07ab1ce8dd9bccfdfd93a69a6f8c769824f658eb
size 538678