diff --git a/assets/main.cpp b/assets/main.cpp index d239e013..ef269e97 100644 --- a/assets/main.cpp +++ b/assets/main.cpp @@ -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(); diff --git a/assets/widescreen/Police_Background_Wide.bmp b/assets/widescreen/Police_Background_Wide.bmp new file mode 100644 index 00000000..ad376bc5 --- /dev/null +++ b/assets/widescreen/Police_Background_Wide.bmp @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fa905a7f004e86fbe8d8c14b07ab1ce8dd9bccfdfd93a69a6f8c769824f658eb +size 538678