Update code with copyright headers

master
Skylar Ittner 8 years ago
parent 0de8a7de76
commit 697e7c2fad

@ -1,5 +1,21 @@
<?xml version='1.0' encoding='utf-8'?> <?xml version="1.0" encoding="utf-8" standalone="no"?>
<widget android-versionCode="104060" id="com.netsyms.terranquest.TerranQuest" version="1.4.6" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0" xmlns:gap="http://phonegap.com/ns/1.0"> <!--
Copyright 2016 Netsyms Technologies.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0" xmlns:gap="http://phonegap.com/ns/1.0" android-versionCode="104060" id="com.netsyms.terranquest.TerranQuest" version="1.4.6">
<name>TerranQuest</name> <name>TerranQuest</name>
<description> <description>
Augmented Reality fantasy game Augmented Reality fantasy game
@ -7,45 +23,45 @@
<author email="admin@netsyms.com" href="https://netsyms.com"> <author email="admin@netsyms.com" href="https://netsyms.com">
Netsyms Technologies Netsyms Technologies
</author> </author>
<icon src="res/icon.png" /> <icon src="res/icon.png"/>
<preference name="SplashScreen" value="res/splash.9.png" /> <preference name="SplashScreen" value="res/splash.9.png"/>
<preference name="FadeSplashScreen" value="true" /> <preference name="FadeSplashScreen" value="true"/>
<preference name="FadeSplashScreenDuration" value="2000" /> <preference name="FadeSplashScreenDuration" value="2000"/>
<preference name="SplashScreenDelay" value="1000" /> <preference name="SplashScreenDelay" value="1000"/>
<preference name="SplashMaintainAspectRatio" value="false" /> <preference name="SplashMaintainAspectRatio" value="false"/>
<preference name="SplashShowOnlyFirstTime" value="true" /> <preference name="SplashShowOnlyFirstTime" value="true"/>
<preference name="AutoHideSplashScreen" value="false" /> <preference name="AutoHideSplashScreen" value="false"/>
<preference name="ShowSplashScreen" value="true" /> <preference name="ShowSplashScreen" value="true"/>
<platform name="browser"> <platform name="browser">
<preference name="ShowSplashScreen" value="false" /> <preference name="ShowSplashScreen" value="false"/>
</platform> </platform>
<content src="index.html" /> <content src="index.html"/>
<access origin="*" /> <access origin="*"/>
<allow-navigation href="*" /> <allow-navigation href="*"/>
<allow-intent href="http://*/*" /> <allow-intent href="http://*/*"/>
<allow-intent href="https://*/*" /> <allow-intent href="https://*/*"/>
<allow-intent href="tel:*" /> <allow-intent href="tel:*"/>
<allow-intent href="sms:*" /> <allow-intent href="sms:*"/>
<allow-intent href="mailto:*" /> <allow-intent href="mailto:*"/>
<allow-intent href="geo:*" /> <allow-intent href="geo:*"/>
<platform name="android"> <platform name="android">
<allow-intent href="market:*" /> <allow-intent href="market:*"/>
</platform> </platform>
<platform name="ios"> <platform name="ios">
<allow-intent href="itms:*" /> <allow-intent href="itms:*"/>
<allow-intent href="itms-apps:*" /> <allow-intent href="itms-apps:*"/>
</platform> </platform>
<engine name="browser" spec="~4.0.0" /> <engine name="browser" spec="~4.0.0"/>
<engine name="android" spec="latest" /> <engine name="android" spec="latest"/>
<plugin name="cordova-plugin-whitelist" spec="~1.2.1" /> <plugin name="cordova-plugin-whitelist" spec="~1.2.1"/>
<plugin name="cordova-plugin-console" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-console.git" /> <plugin name="cordova-plugin-console" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-console.git"/>
<plugin name="cordova-plugin-device" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git" /> <plugin name="cordova-plugin-device" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git"/>
<plugin name="cordova-plugin-camera" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-camera.git" /> <plugin name="cordova-plugin-camera" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-camera.git"/>
<plugin name="cordova-plugin-splashscreen" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git" /> <plugin name="cordova-plugin-splashscreen" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git"/>
<plugin name="cordova-plugin-network-information" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information.git" /> <plugin name="cordova-plugin-network-information" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information.git"/>
<plugin name="cordova-plugin-dialogs" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs.git" /> <plugin name="cordova-plugin-dialogs" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs.git"/>
<plugin name="cordova-plugin-media" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-media.git" /> <plugin name="cordova-plugin-media" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-media.git"/>
<plugin name="cordova-plugin-media-capture" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture.git" /> <plugin name="cordova-plugin-media-capture" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture.git"/>
<plugin name="cordova-plugin-geolocation" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation.git" /> <plugin name="cordova-plugin-geolocation" spec="https://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation.git"/>
<plugin name="com.phonegap.plugins.barcodescanner" spec="https://github.com/Telerik-Verified-Plugins/BarcodeScanner" /> <plugin name="com.phonegap.plugins.barcodescanner" spec="https://github.com/Telerik-Verified-Plugins/BarcodeScanner"/>
</widget> </widget>

@ -1,8 +1,23 @@
auxiliary.org-netbeans-modules-cordova.cordova_5f_build_5f_script_5f_version=52 auxiliary.org-netbeans-modules-cordova.cordova_5f_build_5f_script_5f_version=52
auxiliary.org-netbeans-modules-cordova.phonegap=false auxiliary.org-netbeans-modules-cordova.phonegap=false
auxiliary.org-netbeans-modules-css-prep.less_2e_compiler_2e_options=
auxiliary.org-netbeans-modules-css-prep.less_2e_enabled=false
auxiliary.org-netbeans-modules-css-prep.less_2e_mappings=/less:/css
auxiliary.org-netbeans-modules-css-prep.sass_2e_compiler_2e_options=
auxiliary.org-netbeans-modules-css-prep.sass_2e_enabled=false
auxiliary.org-netbeans-modules-css-prep.sass_2e_mappings=/scss:/css
auxiliary.org-netbeans-modules-javascript-nodejs.enabled=false
auxiliary.org-netbeans-modules-javascript-nodejs.node_2e_default=true
auxiliary.org-netbeans-modules-javascript-nodejs.run_2e_enabled=false
auxiliary.org-netbeans-modules-javascript-nodejs.sync_2e_enabled=true
auxiliary.org-netbeans-modules-javascript2-requirejs.enabled=true
auxiliary.org-netbeans-modules-web-clientproject-api.js_2e_libs_2e_folder=js/libs auxiliary.org-netbeans-modules-web-clientproject-api.js_2e_libs_2e_folder=js/libs
browser.run=true
file.reference.TerranQuest-test=test file.reference.TerranQuest-test=test
file.reference.TerranQuest-www=www file.reference.TerranQuest-www=www
files.encoding=UTF-8 files.encoding=UTF-8
project.license=apache20
site.root.folder=${file.reference.TerranQuest-www} site.root.folder=${file.reference.TerranQuest-www}
start.file=index.html
test.folder=${file.reference.TerranQuest-test} test.folder=${file.reference.TerranQuest-test}
web.context.root=/TerranQuest

@ -5,6 +5,7 @@
<data xmlns="http://www.netbeans.org/ns/clientside-project/1"> <data xmlns="http://www.netbeans.org/ns/clientside-project/1">
<name>TerranQuest</name> <name>TerranQuest</name>
</data> </data>
<libraries xmlns="http://www.netbeans.org/ns/cdnjs-libraries/1"/>
<spellchecker-wordlist xmlns="http://www.netbeans.org/ns/spellchecker-wordlist/1"> <spellchecker-wordlist xmlns="http://www.netbeans.org/ns/spellchecker-wordlist/1">
<word>Geocaching</word> <word>Geocaching</word>
</spellchecker-wordlist> </spellchecker-wordlist>

@ -1,3 +1,21 @@
/*
* TerranQuest - Augmented Reality fantasy game
*
* Copyright 2016 Netsyms Technologies
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
body { body {
color: #eee; color: #eee;
} }

@ -1,3 +1,20 @@
<!--
TerranQuest - Augmented Reality fantasy game
Copyright 2016 Netsyms Technologies
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">

@ -1,3 +1,21 @@
/*
* TerranQuest - Augmented Reality fantasy game
*
* Copyright 2016 Netsyms Technologies
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* /*
* Authentication and signup codez * Authentication and signup codez
*/ */

@ -1,355 +0,0 @@
///* global PositionError */
//
////////////////////////////////////////////////
//// GPS and terrain stuff
////////////////////////////////////////////////
//
///**
// * Handles GPS and terrain data.
// */
//
//// Globals
//lockGot = false;
//terrainGot = false;
//latitude = 0.0000;
//longitude = 0.0000;
//gpsaccuracy = 9999;
//// End Globals
//
//var lastgpstime = 0;
//var terraintypeid = 0;
//var map = L.map('map');
//var tileurl = "http://tile.stamen.com/terrain/{z}/{x}/{y}.jpg";
//map.setZoom(17);
//map.dragging.disable();
////map.touchZoom.disable();
////map.doubleClickZoom.disable();
////map.scrollWheelZoom.disable();
//map.keyboard.disable();
//$(".leaflet-control-zoom").css("visibility", "hidden");
//// Disable tap handler, if present.
////if (map.tap) {
//// map.tap.disable();
////}
//
//// Tile layer
//map.addLayer(new L.tileLayer(tileurl, {minZoom: 17, maxZoom: 18}));
//// Places layer
//var placeLayer = L.geoJson(
// {"name": "Places", "type": "FeatureCollection", "features": [{"type": "Feature", "geometry": {"type": "Point", "coordinates": [0, 0]}, "properties": {"osm_id": -1, "name": null}}]},
// {
// onEachFeature: onPlaceTap,
// pointToLayer: function (feature, latlng) {
// return L.circleMarker(latlng, {
// radius: 14,
// fillColor: "#ff7800",
// color: "#000",
// weight: 1,
// opacity: 1,
// fillOpacity: 0.6
// });
// }
// }).addTo(map);
//
//var lc = L.control.locate({
// position: 'topleft', // set the location of the control
// layer: undefined, // use your own layer for the location marker, creates a new layer by default
// drawCircle: false, // controls whether a circle is drawn that shows the uncertainty about the location
// follow: true, // follow the user's location
// setView: true, // automatically sets the map view to the user's location, enabled if `follow` is true
// keepCurrentZoomLevel: true, // keep the current map zoom level when displaying the user's location. (if `false`, use maxZoom)
// stopFollowingOnDrag: false, // stop following when the map is dragged if `follow` is true (deprecated, see below)
// remainActive: true, // if true locate control remains active on click even if the user's location is in view.
// markerClass: L.circleMarker, // L.circleMarker or L.marker
// circleStyle: {}, // change the style of the circle around the user's location
// markerStyle: {},
// followCircleStyle: {}, // set difference for the style of the circle around the user's location while following
// followMarkerStyle: {},
// icon: 'fa fa-map-marker', // class for icon, fa-location-arrow or fa-map-marker
// iconLoading: 'fa fa-spinner fa-pulse', // class for loading icon
// iconElementTag: 'span', // tag for the icon element, span or i
// circlePadding: [0, 0], // padding around accuracy circle, value is passed to setBounds
// metric: true, // use metric or imperial units
// onLocationError: function (err) {
// }, // define an error callback function
// onLocationOutsideMapBounds: function (context) { // called when outside map boundaries
// },
// showPopup: false, // display a popup when the user click on the inner marker
// strings: {
// title: ".", // title of the locate control
// metersUnit: "meters", // string for metric units
// feetUnit: "feet", // string for imperial units
// popup: "You are within {distance} {unit} from this point", // text to appear if user clicks on circle
// outsideMapBoundsMsg: "You seem located outside the boundaries of the map" // default message for onLocationOutsideMapBounds
// },
// locateOptions: {} // define location options e.g enableHighAccuracy: true or maxZoom: 10
//}).addTo(map);
//lc.start();
//function mapPos(lat, lon) {
// lockGot = true;
// hideLoading();
// loadPlaces(latitude, longitude);
// //map.setView(new L.LatLng(lat, lon), 16, {animate: true});
// //map.panTo(new L.LatLng(lat, lon));
// //map.invalidateSize();
// //redraw('.leaflet-map-pane');
//// $('.leaflet-map-plane').css('height', '90%');
//// setTimeout(function () {
//// $('#map').css('width', '100%');
//// $('#map').css('height', '100%');
//// }, 100);
//}
//
//function onPlaceTap(feature, layer) {
// layer.on('click', function (e) {
// openPlace(feature);
// });
//}
//
//function loadPlaces(lat, long) {
// $.getJSON(
// "http://earth.apis.netsyms.net/places.php?format=geojson&lat=" + lat + "&long=" + long + "&radius=.25&names=1",
// function (data) {
// if (data.type === 'FeatureCollection') {
// placeLayer.clearLayers();
// data.features.forEach(function (item) {
// item.properties.popupContent = "<span class='marker-popup-text' onclick='openplace(" + item.properties.osm_id + ")'>" + item.properties.name + "</span>";
// placeLayer.addData(item);
// });
// }
// });
//}
//
//function openPlace(feature) {
// $('#main-content').load("screens/place.html", null, function () {
// loadPlace(feature);
// $('#overlay-main').css('display', 'block');
// });
//}
//
///**
// * Hide the loading overlay if everything is loaded, otherwise do nothing
// */
//function hideLoading() {
// if (lockGot && terrainGot && gpsaccuracy < 30 && $('#loading').css('display') !== 'none') {
// $('#loading').fadeOut('slow', function () {
// $('#loading').css('display', 'none');
// });
// }
//}
//
//var updatePosition = function (position) {
// latitude = position.coords.latitude;
// longitude = position.coords.longitude;
// lastgpstime = position.timestamp;
// gpsaccuracy = position.coords.accuracy;
// if (gpsaccuracy > 30) {
// $('#no-lock').css('display', 'block');
// } else {
// $('#no-lock').css('display', 'none');
// }
// mapPos(latitude, longitude);
//};
//var updateTerrain = function (position) {
// latitude = position.coords.latitude;
// longitude = position.coords.longitude;
// lastgpstime = position.timestamp;
// gpsaccuracy = position.coords.accuracy;
// var rasterurl = "http://earth.apis.netsyms.net/terrain.php?format=json&lat="
// + latitude + "&long=" + longitude;
// $.get(rasterurl, function (data) {
// if (data.status === 'OK') {
// terraintypeid = data.typeid;
// terraintypename = data.typename;
// $('#terrain-image').attr('src', 'assets/terrain/' + terraintypeid + '.png');
// terrainGot = true;
// hideLoading();
// }
// }, "json").fail(function (err) {
// $('#terrain-image').attr('src', 'assets/terrain/0.png');
// });
//};
//function pingServer() {
// if (lockGot && gpsaccuracy < 30) {
// $.get(mkApiUrl('ping') + "?user=" + username + "&lat=" + latitude + "&long=" + longitude);
// }
//}
//;
//function onError(error) {
// $('#loading-error').text("Check your device's network and location settings, and ensure a clear view of the sky.");
//}
//
//function popGPS() {
// navigator.notification.alert("Latitude: " + latitude +
// "\nLongitude: " + longitude +
// "\nAccuracy: " + gpsaccuracy +
// "\nTerrain: " + terraintypename + " (" + terraintypeid + ")",
// null,
// "GPS Information",
// "Close");
//}
//$('#terrain-image').click(function () {
// popGPS();
//});
//// Initial GPS position and stuff
//navigator.geolocation.getCurrentPosition(updateTerrain, onError, {timeout: 10000, enableHighAccuracy: true});
//// Update position
//setInterval(function () {
// navigator.geolocation.getCurrentPosition(updatePosition, onError, {timeout: 10000, enableHighAccuracy: true});
//}, 1000);
//// Update position + terrain
//setInterval(function () {
// navigator.geolocation.getCurrentPosition(updateTerrain, onError, {timeout: 10000, enableHighAccuracy: true});
// loadPlaces(latitude, longitude);
//}, 1000 * 20);
//// Ping the server with coordinates
//setInterval(pingServer, 5000);
//// Show error if it's taking too long
//setTimeout(function () {
// onError();
//}, 15 * 1000);
//
//
////////////////////////////////////////////////
//// Profile, stats, and chat stuff
////////////////////////////////////////////////
//
//
///*
// * Handles general server communication.
// */
//
///**
// * Syncs the user's stats with the server and calls refreshStats().
// */
//function syncStats() {
// $.getJSON(mkApiUrl('getstats'), {
// user: username
// }, function (data) {
// if (data.status === 'OK') {
// maxenergy = data.stats.maxenergy;
// energy = data.stats.energy;
// level = data.stats.level;
// refreshStats();
// }
// });
//}
//
///**
// * Display the current stats on the home screen.
// */
//function refreshStats() {
// energypercent = (energy * 1.0 / maxenergy * 1.0) * 100.0;
// $('#energybar').css('width', String(energypercent) + '%');
//}
//
//function getChat() {
// if (lockGot) {
// $.getJSON(mkApiUrl('chat', 'cs'), {
// lat: latitude,
// long: longitude
// }, function (data) {
// data = sortResults(data, 'time', true);
// var content = "";
// data.forEach(function (msg) {
// content += "<span class='chat-username' onclick='openProfile(\"" + msg.username + "\");'>" + msg.username + "</span> " + msg.message + "<br />";
// });
// $('#chatmsgs').html(content);
// });
// }
//}
//
//
//syncStats();
//setInterval(function () {
// syncStats();
//}, 10 * 1000);
//setInterval(function () {
// getChat();
//}, 2000);
//// Send chat messages
//$("#chatsendform").submit(function (event) {
// message = $('#chatbox-input').val();
// if (message !== '') {
// $.post(mkApiUrl('chat', 'cs'), {
// user: username,
// lat: latitude,
// long: longitude,
// msg: message
// }, function (data) {
// if (data.status === 'OK') {
// $('#chatbox-input').val("");
// $("#chatmsgs").animate({scrollTop: $('#chatmsgs').prop("scrollHeight")}, 1000);
// }
// }, "json");
// }
// event.preventDefault();
// return false;
//});
//function toggleChat() {
// if ($('#chatmsgs').css('display') === 'none') {
// openChat();
// } else {
// closeChat();
// }
//}
//
//function closeChat() {
// $('#chatmsgs').css('display', 'none');
// $('#chatbox').css('height', 'auto');
//}
//
//function openChat() {
// $('#chatbox').css('height', '50%');
// $('#chatmsgs').css('display', 'block');
// $("#chatmsgs").animate({scrollTop: $('#chatmsgs').prop("scrollHeight")}, 1000);
//}
//
//function openProfile(user) {
// user = typeof user !== 'undefined' ? user : username;
// $('#main-content').load("screens/profile.html", null, function (x) {
// $('#overlay-main').css('display', 'block');
// loadProfile(user);
// });
//}
//
//function openRules() {
// openmodal('rules', '#rules-modal');
//}
//
//function openMenu(topage) {
// topage = typeof topage !== 'undefined' ? topage : "";
// $('#main-content').load("screens/menu.html", null, function (x) {
// $('#overlay-main').css('display', 'block');
// if (topage !== '') {
// $('#' + topage + '-tab').tab('show');
// }
// });
//}
//
//
//
////////////////////////////////////////////////
//// Other things
////////////////////////////////////////////////
//
//function closeMain() {
// $('#overlay-main').slideDown(100, function () {
// $('#overlay-main').css('display', 'none');
// $('#main-content').html("");
// });
//}
//
//// Handle back button to close things
//document.addEventListener("backbutton", function (event) {
// if ($('#overlay-main').css('display') !== 'none') {
// closeMain();
// } else if ($('#chatmsgs').css('display') !== 'none') {
// toggleChat();
// }
//}, false);
//// Show the rules
//if (localStorage.getItem("seenrules") !== 'yes') {
// openRules();
// localStorage.setItem("seenrules", 'yes');
//}

@ -1,4 +1,21 @@
/* global PositionError */ /*
* TerranQuest - Augmented Reality fantasy game
*
* Copyright 2016 Netsyms Technologies
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
////////////////////////////////////////////// //////////////////////////////////////////////
// GPS and terrain stuff // GPS and terrain stuff

@ -1,3 +1,21 @@
/*
* TerranQuest - Augmented Reality fantasy game
*
* Copyright 2016 Netsyms Technologies
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Constants // Constants
username = ""; username = "";
password = ""; password = "";

@ -1,3 +1,21 @@
/*
* TerranQuest - Augmented Reality fantasy game
*
* Copyright 2016 Netsyms Technologies
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
////////////////////////////////////////////// //////////////////////////////////////////////
// Profile, stats, and chat stuff // Profile, stats, and chat stuff
////////////////////////////////////////////// //////////////////////////////////////////////

@ -1,3 +1,20 @@
<!--
TerranQuest - Augmented Reality fantasy game
Copyright 2016 Netsyms Technologies
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<div class="h4">Choose Your Magic</div> <div class="h4">Choose Your Magic</div>
<p>Before you can harness the power of magic, you must make a difficult choice. <p>Before you can harness the power of magic, you must make a difficult choice.
<br /> <br />

@ -1,3 +1,20 @@
<!--
TerranQuest - Augmented Reality fantasy game
Copyright 2016 Netsyms Technologies
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<div id="loading"> <div id="loading">
<div style="position: absolute; width: 100%; height: 100%; top: 0; left: 0; background-color: #324150;"> <div style="position: absolute; width: 100%; height: 100%; top: 0; left: 0; background-color: #324150;">
<img src="assets/logonobg.svg" alt="" style="display: block; position: absolute; max-width: 90%; top: 0; left: 0; right: 0; bottom: 25%; margin: auto; max-height: 20%;" /> <img src="assets/logonobg.svg" alt="" style="display: block; position: absolute; max-width: 90%; top: 0; left: 0; right: 0; bottom: 25%; margin: auto; max-height: 20%;" />

@ -1,3 +1,20 @@
<!--
TerranQuest - Augmented Reality fantasy game
Copyright 2016 Netsyms Technologies
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<div id="intro-modal" class="modal fade" tabindex="-1" role="dialog"> <div id="intro-modal" class="modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog"> <div class="modal-dialog">
<div class="modal-content"> <div class="modal-content">

@ -1,3 +1,20 @@
<!--
TerranQuest - Augmented Reality fantasy game
Copyright 2016 Netsyms Technologies
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<div class="scrollable-box"> <div class="scrollable-box">
<div class="list-group" id="inventory-list"> <div class="list-group" id="inventory-list">
<div class="list-group-item"> <div class="list-group-item">

@ -1,199 +1,216 @@
<div id="license-modal" class="modal fade" tabindex="-1" role="dialog"> <!--
<div class="modal-dialog"> TerranQuest - Augmented Reality fantasy game
<div class="modal-content">
<div class="modal-header"> Copyright 2016 Netsyms Technologies
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">Open Source Licenses</h4> Licensed under the Apache License, Version 2.0 (the "License");
</div> you may not use this file except in compliance with the License.
<div class="modal-body"> You may obtain a copy of the License at
<h4>Apache Cordova</h4>
<p>Apache License<br>Version 2.0, January 2004<br> http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/</p>
<p>TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION</p> Unless required by applicable law or agreed to in writing, software
<p><strong>1. Definitions</strong>.</p> distributed under the License is distributed on an "AS IS" BASIS,
<p>"License" shall mean the terms and conditions for use, reproduction, and WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
distribution as defined by Sections 1 through 9 of this document.</p> See the License for the specific language governing permissions and
<p>"Licensor" shall mean the copyright owner or entity authorized by the limitations under the License.
copyright owner that is granting the License.</p> -->
<p>"Legal Entity" shall mean the union of the acting entity and all other <div id="license-modal" class="modal fade" tabindex="-1" role="dialog">
entities that control, are controlled by, or are under common control with <div class="modal-dialog">
that entity. For the purposes of this definition, "control" means (i) the <div class="modal-content">
power, direct or indirect, to cause the direction or management of such <div class="modal-header">
entity, whether by contract or otherwise, or (ii) ownership of fifty <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
percent (50%) or more of the outstanding shares, or (iii) beneficial <h4 class="modal-title">Open Source Licenses</h4>
ownership of such entity.</p> </div>
<p>"You" (or "Your") shall mean an individual or Legal Entity exercising <div class="modal-body">
permissions granted by this License.</p> <h4>TerranQuest, Apache Cordova</h4>
<p>"Source" form shall mean the preferred form for making modifications, <p>Apache License<br>Version 2.0, January 2004<br>
including but not limited to software source code, documentation source, http://www.apache.org/licenses/</p>
and configuration files.</p> <p>TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION</p>
<p>"Object" form shall mean any form resulting from mechanical transformation <p><strong>1. Definitions</strong>.</p>
or translation of a Source form, including but not limited to compiled <p>"License" shall mean the terms and conditions for use, reproduction, and
object code, generated documentation, and conversions to other media types.</p> distribution as defined by Sections 1 through 9 of this document.</p>
<p>"Work" shall mean the work of authorship, whether in Source or Object form, <p>"Licensor" shall mean the copyright owner or entity authorized by the
made available under the License, as indicated by a copyright notice that copyright owner that is granting the License.</p>
is included in or attached to the work (an example is provided in the <p>"Legal Entity" shall mean the union of the acting entity and all other
Appendix below).</p> entities that control, are controlled by, or are under common control with
<p>"Derivative Works" shall mean any work, whether in Source or Object form, that entity. For the purposes of this definition, "control" means (i) the
that is based on (or derived from) the Work and for which the editorial power, direct or indirect, to cause the direction or management of such
revisions, annotations, elaborations, or other modifications represent, as entity, whether by contract or otherwise, or (ii) ownership of fifty
a whole, an original work of authorship. For the purposes of this License, percent (50%) or more of the outstanding shares, or (iii) beneficial
Derivative Works shall not include works that remain separable from, or ownership of such entity.</p>
merely link (or bind by name) to the interfaces of, the Work and Derivative <p>"You" (or "Your") shall mean an individual or Legal Entity exercising
Works thereof.</p> permissions granted by this License.</p>
<p>"Contribution" shall mean any work of authorship, including the original <p>"Source" form shall mean the preferred form for making modifications,
version of the Work and any modifications or additions to that Work or including but not limited to software source code, documentation source,
Derivative Works thereof, that is intentionally submitted to Licensor for and configuration files.</p>
inclusion in the Work by the copyright owner or by an individual or Legal <p>"Object" form shall mean any form resulting from mechanical transformation
Entity authorized to submit on behalf of the copyright owner. For the or translation of a Source form, including but not limited to compiled
purposes of this definition, "submitted" means any form of electronic, object code, generated documentation, and conversions to other media types.</p>
verbal, or written communication sent to the Licensor or its <p>"Work" shall mean the work of authorship, whether in Source or Object form,
representatives, including but not limited to communication on electronic made available under the License, as indicated by a copyright notice that
mailing lists, source code control systems, and issue tracking systems that is included in or attached to the work (an example is provided in the
are managed by, or on behalf of, the Licensor for the purpose of discussing Appendix below).</p>
and improving the Work, but excluding communication that is conspicuously <p>"Derivative Works" shall mean any work, whether in Source or Object form,
marked or otherwise designated in writing by the copyright owner as "Not a that is based on (or derived from) the Work and for which the editorial
Contribution."</p> revisions, annotations, elaborations, or other modifications represent, as
<p>"Contributor" shall mean Licensor and any individual or Legal Entity on a whole, an original work of authorship. For the purposes of this License,
behalf of whom a Contribution has been received by Licensor and Derivative Works shall not include works that remain separable from, or
subsequently incorporated within the Work.</p> merely link (or bind by name) to the interfaces of, the Work and Derivative
<p><strong>2. Grant of Copyright License</strong>. Subject to the Works thereof.</p>
terms and conditions of this License, each Contributor hereby grants to You <p>"Contribution" shall mean any work of authorship, including the original
a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable version of the Work and any modifications or additions to that Work or
copyright license to reproduce, prepare Derivative Works of, publicly Derivative Works thereof, that is intentionally submitted to Licensor for
display, publicly perform, sublicense, and distribute the Work and such inclusion in the Work by the copyright owner or by an individual or Legal
Derivative Works in Source or Object form.</p> Entity authorized to submit on behalf of the copyright owner. For the
<p><strong>3. Grant of Patent License</strong>. Subject to the terms purposes of this definition, "submitted" means any form of electronic,
and conditions of this License, each Contributor hereby grants to You a verbal, or written communication sent to the Licensor or its
perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable representatives, including but not limited to communication on electronic
(except as stated in this section) patent license to make, have made, use, mailing lists, source code control systems, and issue tracking systems that
offer to sell, sell, import, and otherwise transfer the Work, where such are managed by, or on behalf of, the Licensor for the purpose of discussing
license applies only to those patent claims licensable by such Contributor and improving the Work, but excluding communication that is conspicuously
that are necessarily infringed by their Contribution(s) alone or by marked or otherwise designated in writing by the copyright owner as "Not a
combination of their Contribution(s) with the Work to which such Contribution."</p>
Contribution(s) was submitted. If You institute patent litigation against <p>"Contributor" shall mean Licensor and any individual or Legal Entity on
any entity (including a cross-claim or counterclaim in a lawsuit) alleging behalf of whom a Contribution has been received by Licensor and
that the Work or a Contribution incorporated within the Work constitutes subsequently incorporated within the Work.</p>
direct or contributory patent infringement, then any patent licenses <p><strong>2. Grant of Copyright License</strong>. Subject to the
granted to You under this License for that Work shall terminate as of the terms and conditions of this License, each Contributor hereby grants to You
date such litigation is filed.</p> a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable
<p><strong>4. Redistribution</strong>. You may reproduce and copyright license to reproduce, prepare Derivative Works of, publicly
distribute copies of the Work or Derivative Works thereof in any medium, display, publicly perform, sublicense, and distribute the Work and such
with or without modifications, and in Source or Object form, provided that Derivative Works in Source or Object form.</p>
You meet the following conditions:</p> <p><strong>3. Grant of Patent License</strong>. Subject to the terms
<ol style="list-style: lower-latin;"> and conditions of this License, each Contributor hereby grants to You a
<li>You must give any other recipients of the Work or Derivative Works a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copy of this License; and</li> (except as stated in this section) patent license to make, have made, use,
offer to sell, sell, import, and otherwise transfer the Work, where such
<li>You must cause any modified files to carry prominent notices stating license applies only to those patent claims licensable by such Contributor
that You changed the files; and</li> that are necessarily infringed by their Contribution(s) alone or by
combination of their Contribution(s) with the Work to which such
<li>You must retain, in the Source form of any Derivative Works that You Contribution(s) was submitted. If You institute patent litigation against
distribute, all copyright, patent, trademark, and attribution notices from any entity (including a cross-claim or counterclaim in a lawsuit) alleging
the Source form of the Work, excluding those notices that do not pertain to that the Work or a Contribution incorporated within the Work constitutes
any part of the Derivative Works; and</li> direct or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate as of the
<li>If the Work includes a "NOTICE" text file as part of its distribution, date such litigation is filed.</p>
then any Derivative Works that You distribute must include a readable copy <p><strong>4. Redistribution</strong>. You may reproduce and
of the attribution notices contained within such NOTICE file, excluding distribute copies of the Work or Derivative Works thereof in any medium,
those notices that do not pertain to any part of the Derivative Works, in with or without modifications, and in Source or Object form, provided that
at least one of the following places: within a NOTICE text file distributed You meet the following conditions:</p>
as part of the Derivative Works; within the Source form or documentation, <ol style="list-style: lower-latin;">
if provided along with the Derivative Works; or, within a display generated <li>You must give any other recipients of the Work or Derivative Works a
by the Derivative Works, if and wherever such third-party notices normally copy of this License; and</li>
appear. The contents of the NOTICE file are for informational purposes only
and do not modify the License. You may add Your own attribution notices <li>You must cause any modified files to carry prominent notices stating
within Derivative Works that You distribute, alongside or as an addendum to that You changed the files; and</li>
the NOTICE text from the Work, provided that such additional attribution
notices cannot be construed as modifying the License. <li>You must retain, in the Source form of any Derivative Works that You
<br/> distribute, all copyright, patent, trademark, and attribution notices from
<br/> the Source form of the Work, excluding those notices that do not pertain to
You may add Your own copyright statement to Your modifications and may any part of the Derivative Works; and</li>
provide additional or different license terms and conditions for use,
reproduction, or distribution of Your modifications, or for any such <li>If the Work includes a "NOTICE" text file as part of its distribution,
Derivative Works as a whole, provided Your use, reproduction, and then any Derivative Works that You distribute must include a readable copy
distribution of the Work otherwise complies with the conditions stated in of the attribution notices contained within such NOTICE file, excluding
this License. those notices that do not pertain to any part of the Derivative Works, in
</li> at least one of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or documentation,
</ol> if provided along with the Derivative Works; or, within a display generated
by the Derivative Works, if and wherever such third-party notices normally
<p><strong>5. Submission of Contributions</strong>. Unless You appear. The contents of the NOTICE file are for informational purposes only
explicitly state otherwise, any Contribution intentionally submitted for and do not modify the License. You may add Your own attribution notices
inclusion in the Work by You to the Licensor shall be under the terms and within Derivative Works that You distribute, alongside or as an addendum to
conditions of this License, without any additional terms or conditions. the NOTICE text from the Work, provided that such additional attribution
Notwithstanding the above, nothing herein shall supersede or modify the notices cannot be construed as modifying the License.
terms of any separate license agreement you may have executed with Licensor <br/>
regarding such Contributions.</p> <br/>
<p><strong>6. Trademarks</strong>. This License does not grant You may add Your own copyright statement to Your modifications and may
permission to use the trade names, trademarks, service marks, or product provide additional or different license terms and conditions for use,
names of the Licensor, except as required for reasonable and customary use reproduction, or distribution of Your modifications, or for any such
in describing the origin of the Work and reproducing the content of the Derivative Works as a whole, provided Your use, reproduction, and
NOTICE file.</p> distribution of the Work otherwise complies with the conditions stated in
<p><strong>7. Disclaimer of Warranty</strong>. Unless required by this License.
applicable law or agreed to in writing, Licensor provides the Work (and </li>
each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, </ol>
without limitation, any warranties or conditions of TITLE,
NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You <p><strong>5. Submission of Contributions</strong>. Unless You
are solely responsible for determining the appropriateness of using or explicitly state otherwise, any Contribution intentionally submitted for
redistributing the Work and assume any risks associated with Your exercise inclusion in the Work by You to the Licensor shall be under the terms and
of permissions under this License.</p> conditions of this License, without any additional terms or conditions.
<p><strong>8. Limitation of Liability</strong>. In no event and Notwithstanding the above, nothing herein shall supersede or modify the
under no legal theory, whether in tort (including negligence), contract, or terms of any separate license agreement you may have executed with Licensor
otherwise, unless required by applicable law (such as deliberate and regarding such Contributions.</p>
grossly negligent acts) or agreed to in writing, shall any Contributor be <p><strong>6. Trademarks</strong>. This License does not grant
liable to You for damages, including any direct, indirect, special, permission to use the trade names, trademarks, service marks, or product
incidental, or consequential damages of any character arising as a result names of the Licensor, except as required for reasonable and customary use
of this License or out of the use or inability to use the Work (including in describing the origin of the Work and reproducing the content of the
but not limited to damages for loss of goodwill, work stoppage, computer NOTICE file.</p>
failure or malfunction, or any and all other commercial damages or losses), <p><strong>7. Disclaimer of Warranty</strong>. Unless required by
even if such Contributor has been advised of the possibility of such applicable law or agreed to in writing, Licensor provides the Work (and
damages.</p> each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT
<p><strong>9. Accepting Warranty or Additional Liability</strong>. WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including,
While redistributing the Work or Derivative Works thereof, You may choose without limitation, any warranties or conditions of TITLE,
to offer, and charge a fee for, acceptance of support, warranty, indemnity, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You
or other liability obligations and/or rights consistent with this License. are solely responsible for determining the appropriateness of using or
However, in accepting such obligations, You may act only on Your own behalf redistributing the Work and assume any risks associated with Your exercise
and on Your sole responsibility, not on behalf of any other Contributor, of permissions under this License.</p>
and only if You agree to indemnify, defend, and hold each Contributor <p><strong>8. Limitation of Liability</strong>. In no event and
harmless for any liability incurred by, or claims asserted against, such under no legal theory, whether in tort (including negligence), contract, or
Contributor by reason of your accepting any such warranty or additional otherwise, unless required by applicable law (such as deliberate and
liability.</p> grossly negligent acts) or agreed to in writing, shall any Contributor be
<p>END OF TERMS AND CONDITIONS</p> liable to You for damages, including any direct, indirect, special,
<h5 id="apply">APPENDIX: How to apply the Apache License to your work</h5> incidental, or consequential damages of any character arising as a result
<p>To apply the Apache License to your work, attach the following boilerplate of this License or out of the use or inability to use the Work (including
notice, with the fields enclosed by brackets "[]" replaced with your own but not limited to damages for loss of goodwill, work stoppage, computer
identifying information. (Don't include the brackets!) The text should be failure or malfunction, or any and all other commercial damages or losses),
enclosed in the appropriate comment syntax for the file format. We also even if such Contributor has been advised of the possibility of such
recommend that a file or class name and description of purpose be included damages.</p>
on the same "printed page" as the copyright notice for easier <p><strong>9. Accepting Warranty or Additional Liability</strong>.
identification within third-party archives.</p> While redistributing the Work or Derivative Works thereof, You may choose
<div class="codehilite"><pre>Copyright [yyyy] [name of copyright owner] to offer, and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this License.
Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); However, in accepting such obligations, You may act only on Your own behalf
you may not use this file except in compliance with the License. and on Your sole responsibility, not on behalf of any other Contributor,
You may obtain a copy of the License at and only if You agree to indemnify, defend, and hold each Contributor
harmless for any liability incurred by, or claims asserted against, such
http://www.apache.org/licenses/LICENSE-2.0 Contributor by reason of your accepting any such warranty or additional
liability.</p>
Unless required by applicable law or agreed to in writing, software <p>END OF TERMS AND CONDITIONS</p>
distributed under the License is distributed on an &quot;AS IS&quot; BASIS, <h5 id="apply">APPENDIX: How to apply the Apache License to your work</h5>
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. <p>To apply the Apache License to your work, attach the following boilerplate
See the License for the specific language governing permissions and notice, with the fields enclosed by brackets "[]" replaced with your own
limitations under the License. identifying information. (Don't include the brackets!) The text should be
</pre></div> enclosed in the appropriate comment syntax for the file format. We also
recommend that a file or class name and description of purpose be included
<h4>PhoneGap Plugin BarcodeScanner</h4> on the same "printed page" as the copyright notice for easier
<p>The MIT License</p> identification within third-party archives.</p>
<p>Copyright (c) 2010 Matt Kane</p> <div class="codehilite"><pre>Copyright [yyyy] [name of copyright owner]
<p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p>
<p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p> Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
<p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p> you may not use this file except in compliance with the License.
</div> You may obtain a copy of the License at
<div class="modal-footer">
<button type="button" data-dismiss="modal" class="btn btn-default"><i class="fa fa-times"></i> Close</button> http://www.apache.org/licenses/LICENSE-2.0
</div>
</div> Unless required by applicable law or agreed to in writing, software
</div> distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
</pre></div>
<h4>PhoneGap Plugin BarcodeScanner</h4>
<p>The MIT License</p>
<p>Copyright (c) 2010 Matt Kane</p>
<p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p>
<p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>
<p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
</div>
<div class="modal-footer">
<button type="button" data-dismiss="modal" class="btn btn-default"><i class="fa fa-times"></i> Close</button>
</div>
</div>
</div>
</div> </div>

@ -1,3 +1,20 @@
<!--
TerranQuest - Augmented Reality fantasy game
Copyright 2016 Netsyms Technologies
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<div id="loading"> <div id="loading">
<div style="position: absolute; width: 100%; height: 100%; top: 0; left: 0; background-color: #324150;"> <div style="position: absolute; width: 100%; height: 100%; top: 0; left: 0; background-color: #324150;">
<img src="assets/logonobg.svg" alt="" style="display: block; position: absolute; max-width: 90%; top: 0; left: 0; right: 0; bottom: 25%; margin: auto; max-height: 20%;" /> <img src="assets/logonobg.svg" alt="" style="display: block; position: absolute; max-width: 90%; top: 0; left: 0; right: 0; bottom: 25%; margin: auto; max-height: 20%;" />

@ -1,24 +1,41 @@
<div> <!--
TerranQuest - Augmented Reality fantasy game
<!-- Nav tabs --> Copyright 2016 Netsyms Technologies
<ul class="nav nav-tabs" role="tablist" id="menutablist">
<li role="presentation" class="active"><a href="#inventory" aria-controls="inventory" role="tab" data-toggle="tab" id="inventory-tab">Inventory</a></li>
<li role="presentation"><a href="#profile" aria-controls="profile" role="tab" data-toggle="tab" id="profile-tab">Profile</a></li>
<li role="presentation"><a href="#settings" aria-controls="settings" role="tab" data-toggle="tab" id="settings-tab">Settings</a></li>
</ul>
<!-- Tab panes --> Licensed under the Apache License, Version 2.0 (the "License");
<div class="tab-content" id="menutabcontent"> you may not use this file except in compliance with the License.
<div role="tabpanel" class="tab-pane active" id="inventory">...</div> You may obtain a copy of the License at
<div role="tabpanel" class="tab-pane" id="profile"></div>
<div role="tabpanel" class="tab-pane" id="settings">...</div>
</div>
</div> http://www.apache.org/licenses/LICENSE-2.0
<script>
$('#menutabcontent #profile').load("screens/profile.html", null, function (x) { Unless required by applicable law or agreed to in writing, software
loadProfile(username); distributed under the License is distributed on an "AS IS" BASIS,
}); WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
$('#menutabcontent #settings').load("screens/settings.html"); See the License for the specific language governing permissions and
$('#menutabcontent #inventory').load("screens/inventory.html"); limitations under the License.
-->
<div>
<!-- Nav tabs -->
<ul class="nav nav-tabs" role="tablist" id="menutablist">
<li role="presentation" class="active"><a href="#inventory" aria-controls="inventory" role="tab" data-toggle="tab" id="inventory-tab">Inventory</a></li>
<li role="presentation"><a href="#profile" aria-controls="profile" role="tab" data-toggle="tab" id="profile-tab">Profile</a></li>
<li role="presentation"><a href="#settings" aria-controls="settings" role="tab" data-toggle="tab" id="settings-tab">Settings</a></li>
</ul>
<!-- Tab panes -->
<div class="tab-content" id="menutabcontent">
<div role="tabpanel" class="tab-pane active" id="inventory">...</div>
<div role="tabpanel" class="tab-pane" id="profile"></div>
<div role="tabpanel" class="tab-pane" id="settings">...</div>
</div>
</div>
<script>
$('#menutabcontent #profile').load("screens/profile.html", null, function (x) {
loadProfile(username);
});
$('#menutabcontent #settings').load("screens/settings.html");
$('#menutabcontent #inventory').load("screens/inventory.html");
</script> </script>

@ -1,3 +1,20 @@
<!--
TerranQuest - Augmented Reality fantasy game
Copyright 2016 Netsyms Technologies
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<iframe id="munzeeoauth" src="about:blank"></iframe> <iframe id="munzeeoauth" src="about:blank"></iframe>
<script> <script>

@ -1,3 +1,20 @@
<!--
TerranQuest - Augmented Reality fantasy game
Copyright 2016 Netsyms Technologies
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<div class="scrollable-box"> <div class="scrollable-box">
<div class="h4" id="place-name"></div> <div class="h4" id="place-name"></div>
<div id="place-info-div"> <div id="place-info-div">

@ -1,3 +1,20 @@
<!--
TerranQuest - Augmented Reality fantasy game
Copyright 2016 Netsyms Technologies
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<div class="h4" id="player-name"></div> <div class="h4" id="player-name"></div>
<div id="player-level"></div> <div id="player-level"></div>
<div class="h5" id="badge-header">Badges</div> <div class="h5" id="badge-header">Badges</div>

@ -1,3 +1,20 @@
<!--
TerranQuest - Augmented Reality fantasy game
Copyright 2016 Netsyms Technologies
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<div id="rules-modal" class="modal fade" tabindex="-1" role="dialog"> <div id="rules-modal" class="modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog"> <div class="modal-dialog">
<div class="modal-content"> <div class="modal-content">

@ -1,3 +1,20 @@
<!--
TerranQuest - Augmented Reality fantasy game
Copyright 2016 Netsyms Technologies
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<div style="position: absolute; width: 100%; height: 100%; top: 0; left: 0; background-color: #324150; z-index: 9999;"> <div style="position: absolute; width: 100%; height: 100%; top: 0; left: 0; background-color: #324150; z-index: 9999;">
<img src="assets/logonobg.svg" alt="" style="display: block; position: absolute; max-width: 90%; top: 0; left: 0; right: 0; bottom: 25%; margin: auto; max-height: 20%;" /> <img src="assets/logonobg.svg" alt="" style="display: block; position: absolute; max-width: 90%; top: 0; left: 0; right: 0; bottom: 25%; margin: auto; max-height: 20%;" />
<p style="font-family: sans-serif; color: white; position: absolute; max-width: 90%; left: 0; right: 0; bottom: 30%; margin: auto; text-align: center;"> <p style="font-family: sans-serif; color: white; position: absolute; max-width: 90%; left: 0; right: 0; bottom: 30%; margin: auto; text-align: center;">

@ -1,3 +1,20 @@
<!--
TerranQuest - Augmented Reality fantasy game
Copyright 2016 Netsyms Technologies
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<div class="scrollable-box"> <div class="scrollable-box">
<div class='list-group'> <div class='list-group'>
<div class='list-group-item' onclick='openIntro()'> <div class='list-group-item' onclick='openIntro()'>

@ -1,45 +1,62 @@
<div class="row"> <!--
<div class="col-lg-12 text-center"> TerranQuest - Augmented Reality fantasy game
<div class="panel panel-default">
<div class="panel-heading whitetext" id="signupheader" style="color: white;"> Copyright 2016 Netsyms Technologies
Create Netsyms Account
</div> Licensed under the Apache License, Version 2.0 (the "License");
<div class="panel-body"> you may not use this file except in compliance with the License.
<div id="errorbase" class="alert alert-danger alert-dismissable" style="display: none;"> You may obtain a copy of the License at
<p id="errormsg">An error occurred.</p>
</div> http://www.apache.org/licenses/LICENSE-2.0
<div class="input-group">
<span class="input-group-addon" id="basic-addon-usericon"><i class="fa fa-user fa-fw"></i></span> Unless required by applicable law or agreed to in writing, software
<input type="text" placeholder="Username" id="usernameBox" class="form-control" aria-describedby="basic-addon-usericon" autocorrect="off" autocapitalize="off" spellcheck="false"/> distributed under the License is distributed on an "AS IS" BASIS,
</div> WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
<br /> See the License for the specific language governing permissions and
<div class="input-group"> limitations under the License.
<span class="input-group-addon" id="basic-addon-passicon"><i class="fa fa-key fa-fw"></i></span> -->
<input type="password" placeholder="Password" id="passwordBox" class="form-control" aria-describedby="basic-addon-passicon" autocorrect="off" autocapitalize="off" spellcheck="false" /> <div class="row">
</div> <div class="col-lg-12 text-center">
<br /> <div class="panel panel-default">
<div class="input-group"> <div class="panel-heading whitetext" id="signupheader" style="color: white;">
<span class="input-group-addon" id="basic-addon-passicon2"><i class="fa fa-check fa-fw"></i></span> Create Netsyms Account
<input type="password" placeholder="Confirm Password" id="passwordBox2" class="form-control" aria-describedby="basic-addon-passicon2" autocorrect="off" autocapitalize="off" spellcheck="false" /> </div>
</div> <div class="panel-body">
<br /> <div id="errorbase" class="alert alert-danger alert-dismissable" style="display: none;">
<div class="input-group"> <p id="errormsg">An error occurred.</p>
<span class="input-group-addon" id="basic-addon-emailicon"><i class="fa fa-envelope fa-fw"></i></span> </div>
<input type="email" placeholder="Email" id="emailBox" class="form-control" aria-describedby="basic-addon-emailicon" autocorrect="off" autocapitalize="off" spellcheck="false" /> <div class="input-group">
</div> <span class="input-group-addon" id="basic-addon-usericon"><i class="fa fa-user fa-fw"></i></span>
<br /> <input type="text" placeholder="Username" id="usernameBox" class="form-control" aria-describedby="basic-addon-usericon" autocorrect="off" autocapitalize="off" spellcheck="false"/>
<div class="input-group"> </div>
<span class="input-group-addon" id="basic-addon-nameicon"><i class="fa fa-male fa-fw"></i></span> <br />
<input type="text" placeholder="Real Name" id="nameBox" class="form-control" aria-describedby="basic-addon-nameicon" autocorrect="off" autocapitalize="off" spellcheck="false" /> <div class="input-group">
</div> <span class="input-group-addon" id="basic-addon-passicon"><i class="fa fa-key fa-fw"></i></span>
<br /> <input type="password" placeholder="Password" id="passwordBox" class="form-control" aria-describedby="basic-addon-passicon" autocorrect="off" autocapitalize="off" spellcheck="false" />
<p>By signing up, you agree to the Netsyms Technologies Terms of Service and Privacy Policy at netsyms.com/legal</p> </div>
</div> <br />
<div class="panel-footer"> <div class="input-group">
<a href="#" onclick="dosignup()" id="signupBtn" class="btn btn-success btn-wide"><i class="fa fa-user-plus"></i> Sign Up</a><br /><br /> <span class="input-group-addon" id="basic-addon-passicon2"><i class="fa fa-check fa-fw"></i></span>
<a href="#" onclick="openscreen('login')" id="cancelSignupBtn" class="btn btn-danger btn-wide"><i class="fa fa-times"></i> Cancel</a> <input type="password" placeholder="Confirm Password" id="passwordBox2" class="form-control" aria-describedby="basic-addon-passicon2" autocorrect="off" autocapitalize="off" spellcheck="false" />
</div> </div>
</div> <br />
</div> <div class="input-group">
</div> <span class="input-group-addon" id="basic-addon-emailicon"><i class="fa fa-envelope fa-fw"></i></span>
<input type="email" placeholder="Email" id="emailBox" class="form-control" aria-describedby="basic-addon-emailicon" autocorrect="off" autocapitalize="off" spellcheck="false" />
</div>
<br />
<div class="input-group">
<span class="input-group-addon" id="basic-addon-nameicon"><i class="fa fa-male fa-fw"></i></span>
<input type="text" placeholder="Real Name" id="nameBox" class="form-control" aria-describedby="basic-addon-nameicon" autocorrect="off" autocapitalize="off" spellcheck="false" />
</div>
<br />
<p>By signing up, you agree to the Netsyms Technologies Terms of Service and Privacy Policy at netsyms.com/legal</p>
</div>
<div class="panel-footer">
<a href="#" onclick="dosignup()" id="signupBtn" class="btn btn-success btn-wide"><i class="fa fa-user-plus"></i> Sign Up</a><br /><br />
<a href="#" onclick="openscreen('login')" id="cancelSignupBtn" class="btn btn-danger btn-wide"><i class="fa fa-times"></i> Cancel</a>
</div>
</div>
</div>
</div>
<script src="js/auth.js"></script> <script src="js/auth.js"></script>

@ -1,9 +1,26 @@
<div style="position: absolute; width: 100%; height: 100%; top: 0; left: 0; background-color: #324150; z-index: 9999;"> <!--
<img src="assets/logonobg.svg" alt="" style="display: block; position: absolute; max-width: 90%; top: 0; left: 0; right: 0; bottom: 25%; margin: auto; max-height: 20%;" /> TerranQuest - Augmented Reality fantasy game
<p style="font-family: sans-serif; color: white; position: absolute; max-width: 90%; left: 0; right: 0; bottom: 30%; margin: auto; text-align: center;">
Loading... Copyright 2016 Netsyms Technologies
<br /><i class="fa fa-spinner fa-pulse fa-fw"></i>
<br /> Licensed under the Apache License, Version 2.0 (the "License");
<span id="loading-error"></span></p> you may not use this file except in compliance with the License.
<div style="background: url(assets/mountains-simple.svg) repeat-x; background-size: auto 100%; height: 20%; position: absolute; bottom: 0; width: 100%;"></div> You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<div style="position: absolute; width: 100%; height: 100%; top: 0; left: 0; background-color: #324150; z-index: 9999;">
<img src="assets/logonobg.svg" alt="" style="display: block; position: absolute; max-width: 90%; top: 0; left: 0; right: 0; bottom: 25%; margin: auto; max-height: 20%;" />
<p style="font-family: sans-serif; color: white; position: absolute; max-width: 90%; left: 0; right: 0; bottom: 30%; margin: auto; text-align: center;">
Loading...
<br /><i class="fa fa-spinner fa-pulse fa-fw"></i>
<br />
<span id="loading-error"></span></p>
<div style="background: url(assets/mountains-simple.svg) repeat-x; background-size: auto 100%; height: 20%; position: absolute; bottom: 0; width: 100%;"></div>
</div> </div>