Skip to content

Commit

Permalink
New environment
Browse files Browse the repository at this point in the history
  • Loading branch information
MortimerGoro committed Jan 19, 2022
1 parent 67faa2a commit 0a9ca17
Show file tree
Hide file tree
Showing 83 changed files with 3,401 additions and 30 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@ android {
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
//signingConfig getUseDebugSigningOnRelease() ? debug.signingConfig : release.signingConfig
signingConfig signingConfigs.release
buildConfigField 'String', 'PROPS_ENDPOINT', '"http://mixedreality.mozilla.org/FirefoxReality/props.json"'
buildConfigField 'String', 'PROPS_ENDPOINT', '"https://igalia.github.io/wolvic/props.json"'
}
debug {
applicationIdSuffix getDevApplicationIdSuffix()
pseudoLocalesEnabled true
buildConfigField 'String', 'PROPS_ENDPOINT', '"http://mixedreality.mozilla.org/FirefoxReality/props.json"'
buildConfigField 'String', 'PROPS_ENDPOINT', '"https://igalia.github.io/wolvic/props.json"'
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ SettingsStore getInstance(final @NonNull Context aContext) {
public final static int MAX_WINDOW_HEIGHT_DEFAULT = 1200;
public final static int POINTER_COLOR_DEFAULT_DEFAULT = Color.parseColor("#FFFFFF");
public final static int SCROLL_DIRECTION_DEFAULT = 0;
public final static String ENV_DEFAULT = "offworld";
public final static String ENV_DEFAULT = "wolvic";
public final static int MSAA_DEFAULT_LEVEL = 0;
public final static boolean AUDIO_ENABLED = false;
public final static float CYLINDER_DENSITY_ENABLED_DEFAULT = 4680.0f;
Expand Down
Binary file removed app/src/main/assets/cubemap/offworld/negx.ktx
Binary file not shown.
Binary file removed app/src/main/assets/cubemap/offworld/negx_srgb.ktx
Binary file not shown.
Binary file removed app/src/main/assets/cubemap/offworld/negy.ktx
Binary file not shown.
Binary file removed app/src/main/assets/cubemap/offworld/negy_srgb.ktx
Binary file not shown.
Binary file removed app/src/main/assets/cubemap/offworld/negz.ktx
Binary file not shown.
Binary file removed app/src/main/assets/cubemap/offworld/negz_srgb.ktx
Binary file not shown.
Binary file removed app/src/main/assets/cubemap/offworld/posx.ktx
Binary file not shown.
Binary file removed app/src/main/assets/cubemap/offworld/posx_srgb.ktx
Binary file not shown.
Binary file removed app/src/main/assets/cubemap/offworld/posy.ktx
Binary file not shown.
Binary file removed app/src/main/assets/cubemap/offworld/posy_srgb.ktx
Binary file not shown.
Binary file removed app/src/main/assets/cubemap/offworld/posz.ktx
Binary file not shown.
Binary file removed app/src/main/assets/cubemap/offworld/posz_srgb.ktx
Binary file not shown.
Binary file added app/src/main/assets/cubemap/wolvic/negx.ktx
Binary file not shown.
Binary file added app/src/main/assets/cubemap/wolvic/negx_srgb.ktx
Binary file not shown.
Binary file added app/src/main/assets/cubemap/wolvic/negy.ktx
Binary file not shown.
Binary file added app/src/main/assets/cubemap/wolvic/negy_srgb.ktx
Binary file not shown.
Binary file added app/src/main/assets/cubemap/wolvic/negz.ktx
Binary file not shown.
Binary file added app/src/main/assets/cubemap/wolvic/negz_srgb.ktx
Binary file not shown.
Binary file added app/src/main/assets/cubemap/wolvic/posx.ktx
Binary file not shown.
Binary file added app/src/main/assets/cubemap/wolvic/posx_srgb.ktx
Binary file not shown.
Binary file added app/src/main/assets/cubemap/wolvic/posy.ktx
Binary file not shown.
Binary file added app/src/main/assets/cubemap/wolvic/posy_srgb.ktx
Binary file not shown.
Binary file added app/src/main/assets/cubemap/wolvic/posz.ktx
Binary file not shown.
Binary file added app/src/main/assets/cubemap/wolvic/posz_srgb.ktx
Binary file not shown.
Binary file removed app/src/main/res/drawable/environment_offworld.jpg
Binary file not shown.
Binary file added app/src/main/res/drawable/environment_wolvic.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions app/src/main/res/values/options_values.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
<!-- Environments Options -->
<string-array name="developer_options_environments" translatable="false">
<item>@string/developer_options_env_void</item>
<item>@string/developer_options_env_offworld</item>
<item>Wolvic</item>
</string-array>

<string-array name="developer_options_environments_values" translatable="false">
<item>void</item>
<item>offworld</item>
<item>wolvic</item>
</string-array>

<array name="developer_options_environments_images" translatable="false">
<item>@color/black</item>
<item>@drawable/environment_offworld</item>
<item>@drawable/environment_wolvic</item>
</array>

<!-- Pointer Options -->
Expand Down
Binary file not shown.
Binary file not shown.
17 changes: 4 additions & 13 deletions app/src/test/resources/environments/previousVersionEnvs.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
{
"12": {
"whatsNewUrl": "https://blog.mozvr.com/firefox-reality-11/"
},
"11": {
"whatsNewUrl": "https://blog.mozvr.com/firefox-reality-11/",
"1": {
"whatsNewUrl": "https://wolvic.com/",
"environments": [
{
"value": "space",
"title": "Space",
"thumbnail": "https://mixedreality.mozilla.org/FirefoxReality/envs/space/thumbnail.jpg",
"payload": "https://mixedreality.mozilla.org/FirefoxReality/envs/space/space.zip"
},
{
"value": "meadow",
"title": "Meadow",
"value": "wolvic",
"title": "Wolvic",
"thumbnail": "https://mixedreality.mozilla.org/FirefoxReality/envs/meadow/thumbnail.jpg",
"payload": "https://mixedreality.mozilla.org/FirefoxReality/envs/meadow/space.zip"
}
Expand Down
14 changes: 4 additions & 10 deletions app/src/test/resources/environments/targetVersionEnvs.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
{
"11": {
"whatsNewUrl": "https://blog.mozvr.com/firefox-reality-11/",
"1": {
"whatsNewUrl": "https://wolvic.com/",
"environments": [
{
"value": "space",
"title": "Space",
"thumbnail": "https://mixedreality.mozilla.org/FirefoxReality/envs/space/thumbnail.jpg",
"payload": "https://mixedreality.mozilla.org/FirefoxReality/envs/space/space.zip"
},
{
"value": "meadow",
"title": "Meadow",
"value": "wolvic",
"title": "Wolvic",
"thumbnail": "https://mixedreality.mozilla.org/FirefoxReality/envs/meadow/thumbnail.jpg",
"payload": "https://mixedreality.mozilla.org/FirefoxReality/envs/meadow/space.zip"
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/test/resources/environments/testNoEnvs.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"11": {
"whatsNewUrl": "https://blog.mozvr.com/firefox-reality-11/",
"whatsNewUrl": "https://wolvic.com",
"environments": [
]
}
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 0a9ca17

Please sign in to comment.