adcap fix

This commit is contained in:
Sky 2023-05-31 17:05:57 -04:00
parent e384ef53b9
commit 4a444104cb
42 changed files with 172 additions and 261 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,36 +0,0 @@
function CompatibilityCheck()
{var browser=(function(){var ua=navigator.userAgent,tem,M=ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[];if(/trident/i.test(M[1])){tem=/\brv[ :]+(\d+)/g.exec(ua)||[];return 'IE '+(tem[1]||'');}
if(M[1]==='Chrome'){tem=ua.match(/\bOPR\/(\d+)/)
if(tem!=null)return 'Opera '+tem[1];}
M=M[2]?[M[1],M[2]]:[navigator.appName,navigator.appVersion,'-?'];if((tem=ua.match(/version\/(\d+)/i))!=null)M.splice(1,1,tem[1]);return M.join(' ');})();var hasWebGL=(function(){if(!window.WebGLRenderingContext)
{return 0;}
var canvas=document.createElement('canvas');var gl=canvas.getContext("webgl");if(!gl)
{gl=canvas.getContext("experimental-webgl");if(!gl)
{return 0;}}
return 1;})();var mobile=(function(a){return(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0,4)))})(navigator.userAgent||navigator.vendor||window.opera);if(!0&&!hasWebGL)
{alert("You need a browser which supports WebGL to run this content. Try installing Firefox.");window.history.back();}
else if(mobile)
{if(!confirm("Please note that Unity WebGL is not currently supported on mobiles. Press Ok if you wish to continue anyways."))
window.history.back();}
else if(browser.indexOf("Firefox")==-1&&browser.indexOf("Chrome")==-1&&browser.indexOf("Safari")==-1)
{if(!confirm("Please note that your browser is not currently supported for this Unity WebGL content. Try installing Firefox, or press Ok if you wish to continue anyways."))
window.history.back();}}
CompatibilityCheck();var didShowErrorMessage=false;if(typeof window.onerror!='function')
{window.onerror=function UnityErrorHandler(err,url,line)
{console.log("Invoking error handler due to\n"+err);if(typeof dump=='function')
dump("Invoking error handler due to\n"+err);if(didShowErrorMessage)
return;if(err.indexOf("UnknownError")!=-1)
return;didShowErrorMessage=true;if(err.indexOf("DISABLE_EXCEPTION_CATCHING")!=-1)
{alert("An exception has occured, but exception handling has been disabled in this build. If you are the developer of this content, enable exceptions in your project's WebGL player settings to be able to catch the exception or see the stack trace.");return;}
if(err.indexOf("uncaught exception: abort()")!=-1)
{if(err.indexOf("Runtime.dynamicAlloc")!=-1)
{alert("Out of memory. If you are the developer of this content, try allocating more memory to your WebGL build in the WebGL player settings.");return;}}
if(err.indexOf("Invalid array buffer length")!=-1)
{alert("The browser could not allocate enough memory for the WebGL content. If you are the developer of this content, try allocating less memory to your WebGL build in the WebGL player settings.");return;}
if(err.indexOf("Script error.")!=-1&&document.URL.indexOf("file:")==0)
{alert("It seems your browser does not support running Unity WebGL content from file:// urls. Please upload it to an http server, or try a different browser.");return;}
alert("An error occured running the Unity content on this page. See your browser's JavaScript console for more info. The error was:\n"+err);}}
function SetFullscreen(fullscreen)
{if(typeof JSEvents==='undefined')
{console.log("Player not loaded yet.");return;}
var tmp=JSEvents.canPerformEventHandlerRequests;JSEvents.canPerformEventHandlerRequests=function(){return 1;};Module.cwrap('SetFullscreen','void',['number'])(fullscreen);JSEvents.canPerformEventHandlerRequests=tmp;}

View File

@ -1,9 +0,0 @@
var Module;if(typeof Module==='undefined')Module=eval('(function() { try { return Module || {} } catch(e) { return {} } })()');if(!Module.expectedDataFileDownloads){Module.expectedDataFileDownloads=0;Module.finishedDataFileDownloads=0;}
Module.expectedDataFileDownloads++;(function(){var PACKAGE_PATH;if(typeof window==='object'){PACKAGE_PATH=window['encodeURIComponent'](window.location.pathname.toString().substring(0,window.location.pathname.toString().lastIndexOf('/'))+'/');}else if(typeof location!=='undefined'){PACKAGE_PATH=encodeURIComponent(location.pathname.toString().substring(0,location.pathname.toString().lastIndexOf('/'))+'/');}else{throw 'using preloaded data can only be done on a web page or in a web worker';}
var PACKAGE_NAME='webgl.data';var REMOTE_PACKAGE_BASE='webgl.data';if(typeof Module['locateFilePackage']==='function'&&!Module['locateFile']){Module['locateFile']=Module['locateFilePackage'];Module.printErr('warning: you defined Module.locateFilePackage, that has been renamed to Module.locateFile (using your locateFilePackage for now)');}
var REMOTE_PACKAGE_NAME=typeof Module['locateFile']==='function'?Module['locateFile'](REMOTE_PACKAGE_BASE):((Module['filePackagePrefixURL']||'')+REMOTE_PACKAGE_BASE);var REMOTE_PACKAGE_SIZE=94384055;var PACKAGE_UUID='2d56c75e-a666-4391-b126-de77bdeb0f84';function fetchRemotePackage(packageName,packageSize,callback,errback){var xhr=new XMLHttpRequest();xhr.open('GET',packageName,true);xhr.responseType='arraybuffer';xhr.onprogress=function(event){var url=packageName;var size=packageSize;if(event.total)size=event.total;if(event.loaded){if(!xhr.addedTotal){xhr.addedTotal=true;if(!Module.dataFileDownloads)Module.dataFileDownloads={};Module.dataFileDownloads[url]={loaded:event.loaded,total:size};}else{Module.dataFileDownloads[url].loaded=event.loaded;}
var total=0;var loaded=0;var num=0;for(var download in Module.dataFileDownloads){var data=Module.dataFileDownloads[download];total+=data.total;loaded+=data.loaded;num++;}
total=Math.ceil(total*Module.expectedDataFileDownloads/num);if(Module['setStatus'])Module['setStatus']('Downloading data... ('+loaded+'/'+total+')');}else if(!Module.dataFileDownloads){if(Module['setStatus'])Module['setStatus']('Downloading data...');}};xhr.onload=function(event){var packageData=xhr.response;callback(packageData);};xhr.send(null);};function handleError(error){console.error('package error:',error);};var fetched=null,fetchedCallback=null;fetchRemotePackage(REMOTE_PACKAGE_NAME,REMOTE_PACKAGE_SIZE,function(data){if(fetchedCallback){fetchedCallback(data);fetchedCallback=null;}else{fetched=data;}},handleError);function runWithFS(){function assert(check,msg){if(!check)throw msg+new Error().stack;}
Module['FS_createPath']('/','Il2CppData',true,true);Module['FS_createPath']('/Il2CppData','Metadata',true,true);Module['FS_createPath']('/','Resources',true,true);function DataRequest(start,end,crunched,audio){this.start=start;this.end=end;this.crunched=crunched;this.audio=audio;}
DataRequest.prototype={requests:{},open:function(mode,name){this.name=name;this.requests[name]=this;Module['addRunDependency']('fp '+this.name);},send:function(){},onload:function(){var byteArray=this.byteArray.subarray(this.start,this.end);this.finish(byteArray);},finish:function(byteArray){var that=this;Module['FS_createPreloadedFile'](this.name,null,byteArray,true,true,function(){Module['removeRunDependency']('fp '+that.name);},function(){if(that.audio){Module['removeRunDependency']('fp '+that.name);}else{Module.printErr('Preloading file '+that.name+' failed');}},false,true);this.requests[this.name]=null;},};new DataRequest(0,450096,0,0).open('GET','/level0');new DataRequest(450096,881888,0,0).open('GET','/level1');new DataRequest(881888,946172,0,0).open('GET','/mainData');new DataRequest(946172,959387,0,0).open('GET','/methods_pointedto_by_uievents.xml');new DataRequest(959387,1144731,0,0).open('GET','/resources.assets');new DataRequest(1144731,4930535,0,0).open('GET','/sharedassets0.assets');new DataRequest(4930535,53349371,0,0).open('GET','/sharedassets1.assets');new DataRequest(53349371,56827461,0,0).open('GET','/sharedassets1.resource');new DataRequest(56827461,81798217,0,0).open('GET','/sharedassets2.assets');new DataRequest(81798217,88548383,0,0).open('GET','/sharedassets2.resource');new DataRequest(88548383,92306367,0,0).open('GET','/Il2CppData/Metadata/global-metadata.dat');new DataRequest(92306367,93881403,0,0).open('GET','/Resources/unity_default_resources');new DataRequest(93881403,94384055,0,0).open('GET','/Resources/unity_builtin_extra');function processPackageData(arrayBuffer){Module.finishedDataFileDownloads++;assert(arrayBuffer,'Loading data file failed.');var byteArray=new Uint8Array(arrayBuffer);var curr;DataRequest.prototype.byteArray=byteArray;DataRequest.prototype.requests["/level0"].onload();DataRequest.prototype.requests["/level1"].onload();DataRequest.prototype.requests["/mainData"].onload();DataRequest.prototype.requests["/methods_pointedto_by_uievents.xml"].onload();DataRequest.prototype.requests["/resources.assets"].onload();DataRequest.prototype.requests["/sharedassets0.assets"].onload();DataRequest.prototype.requests["/sharedassets1.assets"].onload();DataRequest.prototype.requests["/sharedassets1.resource"].onload();DataRequest.prototype.requests["/sharedassets2.assets"].onload();DataRequest.prototype.requests["/sharedassets2.resource"].onload();DataRequest.prototype.requests["/Il2CppData/Metadata/global-metadata.dat"].onload();DataRequest.prototype.requests["/Resources/unity_default_resources"].onload();DataRequest.prototype.requests["/Resources/unity_builtin_extra"].onload();Module['removeRunDependency']('datafile_webgl.data');};Module['addRunDependency']('datafile_webgl.data');if(!Module.preloadResults)Module.preloadResults={};Module.preloadResults[PACKAGE_NAME]={fromCache:false};if(fetched){processPackageData(fetched);fetched=null;}else{fetchedCallback=processPackageData;}}
if(Module['calledRun']){runWithFS();}else{if(!Module['preRun'])Module['preRun']=[];Module["preRun"].push(runWithFS);}})();

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -1,8 +0,0 @@
function UnityProgress(dom){this.progress=0.0;this.message="";this.dom=dom;var parent=dom.parentNode;this.SetProgress=function(progress){if(this.progress<progress)
this.progress=progress;if(progress==1){this.SetMessage("Preparing...");document.getElementById("bgBar").style.display="none";document.getElementById("progressBar").style.display="none";}
this.Update();}
this.SetMessage=function(message){this.message=message;this.Update();}
this.Clear=function(){document.getElementById("loadingBox").style.display="none";}
this.Update=function(){var length=200*Math.min(this.progress,1);bar=document.getElementById("progressBar")
bar.style.width=length+"px";document.getElementById("loadingInfo").innerHTML=this.message;}
this.Update();}

View File

@ -1,24 +0,0 @@
html,body{margin:0;padding:0}canvas{padding:0;margin:0 auto;display:block;width:1024px;height:640px}body{overflow:hidden}div#loadingBox{width:100%;height:20px;position:absolute;top:50%;margin-top:-10px;text-align:center}div#bgBar{position:absolute;width:200px;margin-left:-100px;left:50%;height:2px;display:block;background-color:#333}div#progressBar{left:50%;position:absolute;margin-left:-100px;width:0;height:2px;background-color:#fff;border-radius:2px}div#bgBar{border-radius:2px}p#loadingInfo{color:#666;letter-spacing:1px;position:absolute;width:100%;font-family:monaco,sans-serif;text-transform:uppercase;text-align:center;font-size:14px;margin-top:10px}
body {margin: 0; padding: 0}.webgl-content * {border: 0; margin: 0; padding: 0}
.webgl-content {position: absolute} .webgl-content, #gameContainer, #unityContainer, canvas {width:100%!important; height: 100%!important}
.webgl-content .logo, .progress {position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);}
.webgl-content .logo {background: url('progressLogo.Light.png') no-repeat center / contain; width: 154px; height: 130px;}
.webgl-content .progress {height: 18px; width: 141px; margin-top: 90px;}
.webgl-content .progress .empty {background: url('progressEmpty.Light.png') no-repeat right / cover; float: right; width: 100%; height: 100%; display: inline-block;}
.webgl-content .progress .full {background: url('progressFull.Light.png') no-repeat left / cover; float: left; width: 0%; height: 100%; display: inline-block;}
.webgl-content .logo.Dark {background-image: url('progressLogo.Dark.png');}
.webgl-content .progress.Dark .empty {background-image: url('progressEmpty.Dark.png');}
.webgl-content .progress.Dark .full {background-image: url('progressFull.Dark.png');}
.webgl-content .footer {margin-top: 5px; height: 38px; line-height: 38px; font-family: Helvetica, Verdana, Arial, sans-serif; font-size: 18px;}
.webgl-content .footer .webgl-logo, .title, .fullscreen {height: 100%; display: inline-block; background: transparent center no-repeat;}
/*.webgl-content .footer .webgl-logo {background-image: url('webgl-logo.png'); width: 204px; float: left;}*/
.webgl-content .footer .title {margin-right: 10px; float: right;}
.webgl-content .footer .fullscreen {background-image: url('fullscreen.png'); width: 38px; float: right;}
* {
background-color: #2C3547;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 218 KiB

View File

@ -1,118 +0,0 @@
<!doctype html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Unity WebGL Player | AdVenture Capitalist!</title>
<link rel="stylesheet" href="TemplateData/style.css">
<script src="TemplateData/UnityProgress.js"></script>
</head>
<body class="template">
<div class="webgl-content">
<div id="unityContainer" style="width: 960px; height: 600px; padding: 0px; margin: 0px; border: 0px; position: relative; background: rgb(35, 31, 32);">
<canvas class="emscripten" id="canvas" oncontextmenu="event.preventDefault()" id="canvas"width=335 height=667 style="width: 100%; height: 100%; background: #231F20"></canvas>
<div id="loadingBox">
<div id="bgBar"></div>
<div id="progressBar"></div>
<p id="loadingInfo">Loading...</p>
</div>
<script type='text/javascript'>
// connect to canvas
var Module = {
TOTAL_MEMORY: 201326592,
filePackagePrefixURL: "Release/",
memoryInitializerPrefixURL: "Release/",
preRun: [],
postRun: [],
print: (function() {
return function(text) {
console.log(text);
};
})(),
printErr: function(text) {
console.error(text);
},
canvas: document.getElementById('canvas'),
progress: null,
setStatus: function(text) {
if (this.progress == null) {
if (typeof UnityProgress != 'function')
return;
this.progress = new UnityProgress(canvas);
}
if (!Module.setStatus.last) Module.setStatus.last = {
time: Date.now(),
text: ''
};
if (text === Module.setStatus.text) return;
this.progress.SetMessage(text);
var m = text.match(/([^(]+)\((\d+(\.\d+)?)\/(\d+)\)/);
if (m)
this.progress.SetProgress(parseInt(m[2]) / parseInt(m[4]));
if (text === "")
this.progress.Clear()
},
totalDependencies: 0,
monitorRunDependencies: function(left) {
this.totalDependencies = Math.max(this.totalDependencies, left);
Module.setStatus(left ? 'Preparing... (' + (this.totalDependencies - left) + '/' + this.totalDependencies + ')' : 'All downloads complete.');
}
};
Module.setStatus('Downloading (0.0/1)');
</script>
<script src="Release/UnityConfig.js"></script>
<script src="Release/fileloader.js"></script>
<script>
if (!(!Math.fround)) {
var script = document.createElement('script');
script.src = "Release/webgl.js";
document.body.appendChild(script);
} else {
var codeXHR = new XMLHttpRequest();
codeXHR.open('GET', 'Release/webgl.js', true);
codeXHR.onload = function() {
var code = codeXHR.responseText;
if (!Math.fround) {
try {
console.log('optimizing out Math.fround calls');
var m = /var ([^=]+)=global\.Math\.fround;/.exec(code);
var minified = m[1];
if (!minified) throw 'fail';
var startAsm = code.indexOf('// EMSCRIPTEN_START_FUNCS');
var endAsm = code.indexOf('// EMSCRIPTEN_END_FUNCS');
var asm = code.substring(startAsm, endAsm);
do {
var moar = false; // we need to re-do, as x(x( will not be fixed
asm = asm.replace(new RegExp('[^a-zA-Z0-9\\$\\_]' + minified + '\\(', 'g'), function(s) {
moar = true;
return s[0] + '('
});
} while (moar);
code = code.substring(0, startAsm) + asm + code.substring(endAsm);
code = code.replace("'use asm'", "'almost asm'");
} catch (e) {
console.log('failed to optimize out Math.fround calls ' + e)
}
}
var blob = new Blob([code], {
type: 'text/javascript'
});
codeXHR = null;
var src = URL.createObjectURL(blob);
var script = document.createElement('script');
script.src = URL.createObjectURL(blob);
script.onload = function() {
URL.revokeObjectURL(script.src);
};
document.body.appendChild(script);
};
codeXHR.send(null);
}
</script>
</body>
</html>

View File

@ -0,0 +1,22 @@
{
"files": {
"main.css": "/adventure-capitalist/static/css/main.39e638da.chunk.css",
"main.js": "/adventure-capitalist/static/js/main.18e3ecab.chunk.js",
"main.js.map": "/adventure-capitalist/static/js/main.18e3ecab.chunk.js.map",
"runtime-main.js": "/adventure-capitalist/static/js/runtime-main.c9f02682.js",
"runtime-main.js.map": "/adventure-capitalist/static/js/runtime-main.c9f02682.js.map",
"static/js/2.d0016a81.chunk.js": "/adventure-capitalist/static/js/2.d0016a81.chunk.js",
"static/js/2.d0016a81.chunk.js.map": "/adventure-capitalist/static/js/2.d0016a81.chunk.js.map",
"index.html": "/adventure-capitalist/index.html",
"precache-manifest.d67976a8def8f442f3d95b14e77d92a2.js": "/adventure-capitalist/precache-manifest.d67976a8def8f442f3d95b14e77d92a2.js",
"service-worker.js": "/adventure-capitalist/service-worker.js",
"static/css/main.39e638da.chunk.css.map": "/adventure-capitalist/static/css/main.39e638da.chunk.css.map",
"static/js/2.d0016a81.chunk.js.LICENSE.txt": "/adventure-capitalist/static/js/2.d0016a81.chunk.js.LICENSE.txt"
},
"entrypoints": [
"static/js/runtime-main.c9f02682.js",
"static/js/2.d0016a81.chunk.js",
"static/css/main.39e638da.chunk.css",
"static/js/main.18e3ecab.chunk.js"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1010 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

View File

@ -0,0 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/adventure-capitalist/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/adventure-capitalist/logo192.png"/><link rel="manifest" href="/adventure-capitalist/manifest.json"/><title>Adventure Capitalist</title><link href="https://fonts.googleapis.com/css2?family=Kalam:wght@400;700&display=swap" rel="stylesheet"><link href="/adventure-capitalist/static/css/main.39e638da.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function t(t){for(var n,a,i=t[0],l=t[1],p=t[2],f=0,s=[];f<i.length;f++)a=i[f],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&s.push(o[a][0]),o[a]=0;for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n]);for(c&&c(t);s.length;)s.shift()();return u.push.apply(u,p||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,i=1;i<r.length;i++){var l=r[i];0!==o[l]&&(n=!1)}n&&(u.splice(t--,1),e=a(a.s=r[0]))}return e}var n={},o={1:0},u=[];function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.m=e,a.c=n,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(r,n,function(t){return e[t]}.bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="/adventure-capitalist/";var i=this["webpackJsonpadventure-capitalist"]=this["webpackJsonpadventure-capitalist"]||[],l=i.push.bind(i);i.push=t,i=i.slice();for(var p=0;p<i.length;p++)t(i[p]);var c=l;r()}([])</script><script src="/adventure-capitalist/static/js/2.d0016a81.chunk.js"></script><script src="/adventure-capitalist/static/js/main.18e3ecab.chunk.js"></script></body></html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

View File

@ -0,0 +1,25 @@
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "logo192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "logo512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}

View File

@ -0,0 +1,26 @@
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "21bea7d181b6ffbddf8923763a0abef7",
"url": "/adventure-capitalist/index.html"
},
{
"revision": "56d9311051bcb46d3253",
"url": "/adventure-capitalist/static/css/main.39e638da.chunk.css"
},
{
"revision": "8b257dcf9fb7cf98b879",
"url": "/adventure-capitalist/static/js/2.d0016a81.chunk.js"
},
{
"revision": "c64c486544348f10a6d6c716950bc223",
"url": "/adventure-capitalist/static/js/2.d0016a81.chunk.js.LICENSE.txt"
},
{
"revision": "56d9311051bcb46d3253",
"url": "/adventure-capitalist/static/js/main.18e3ecab.chunk.js"
},
{
"revision": "d613010d3fc993ec28b5",
"url": "/adventure-capitalist/static/js/runtime-main.c9f02682.js"
}
]);

View File

@ -0,0 +1,3 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow:

View File

@ -0,0 +1,39 @@
/**
* Welcome to your Workbox-powered service worker!
*
* You'll need to register this file in your web app and you should
* disable HTTP caching for this file too.
* See https://goo.gl/nhQhGp
*
* The rest of the code is auto-generated. Please don't update this file
* directly; instead, make changes to your Workbox build configuration
* and re-run your build process.
* See https://goo.gl/2aRDsh
*/
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
importScripts(
"/adventure-capitalist/precache-manifest.d67976a8def8f442f3d95b14e77d92a2.js"
);
self.addEventListener('message', (event) => {
if (event.data && event.data.type === 'SKIP_WAITING') {
self.skipWaiting();
}
});
workbox.core.clientsClaim();
/**
* The workboxSW.precacheAndRoute() method efficiently caches and responds to
* requests for URLs in the manifest.
* See https://goo.gl/S9QRab
*/
self.__precacheManifest = [].concat(self.__precacheManifest || []);
workbox.precaching.precacheAndRoute(self.__precacheManifest, {});
workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("/adventure-capitalist/index.html"), {
blacklist: [/^\/_/,/\/[^/?]+\.[^/]+$/],
});

View File

@ -0,0 +1,2 @@
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,"Courier New",monospace}.progress-bar{height:30px;position:relative;margin:15px 0;background:#555;border-radius:25px;padding:5px;box-shadow:inset 0 -1px 1px hsla(0,0%,100%,.3)}.progress-bar>span{display:block;height:100%;-webkit-border-top-right-radius:20px;-webkit-border-bottom-right-radius:20px;-moz-border-radius-topright:20px;-moz-border-radius-bottomright:20px;border-top-right-radius:20px;border-bottom-right-radius:20px;-webkit-border-top-left-radius:20px;-webkit-border-bottom-left-radius:20px;-moz-border-radius-topleft:20px;-moz-border-radius-bottomleft:20px;border-top-left-radius:20px;border-bottom-left-radius:20px;background-color:#2bc253;box-shadow:inset 0 2px 9px hsla(0,0%,100%,.3),inset 0 -2px 6px rgba(0,0,0,.4);position:relative;overflow:hidden}.progress-bar>span:after{content:"";background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);background-size:1rem 1rem;-webkit-animation:progress-bar-stripes 1s linear infinite;animation:progress-bar-stripes 1s linear infinite;position:absolute;top:0;left:0;bottom:0;right:0}@-webkit-keyframes progress-bar-stripes{0%{background-position:1rem 0}to{background-position:0 0}}@keyframes progress-bar-stripes{0%{background-position:1rem 0}to{background-position:0 0}}.business{display:flex;align-items:flex-end;flex-basis:50%;padding:15px;box-sizing:border-box}.business-icon{margin-right:10px;cursor:pointer}.business-content{flex-grow:1}.business-quantity{width:70px;border-radius:20px;background-color:#df8a4e;color:#fff;font-size:18px;text-align:center;border:1px solid #dedede}.business-buy-and-timer{display:flex;flex-wrap:wrap}.business-buy{padding:5px 10px 0;flex-grow:1;border:2px solid #dedede;border-radius:5px;margin-right:10px;display:flex;justify-content:space-between;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.business-buy.active{background-color:#df8a4e}.business-timer{padding-top:5px;width:80px;text-align:center;border:2px solid #dedede;border-radius:5px}.business-progress{position:relative;cursor:pointer}.business-progress .business-profit{position:absolute;top:8px;left:15px}.business-unpurchased{width:100%;margin:auto;text-align:center;padding:5px;font-size:22px;background-color:#8c8176;border-radius:10px;color:#333;background-repeat:no-repeat;background-position:10px;opacity:.5}.business-unpurchased.active{background-color:#df8a4e;cursor:pointer;background-image:none!important;opacity:1}.business-unpurchased .price{color:#fff}@media (max-width:1100px){.business{flex-basis:100%}}.manager-btn{font-size:24px;border:2px solid #dedede;padding:10px 30px;border-radius:50%;cursor:pointer}.manager-btn.active{background-color:#df8a4e}.manager{display:flex;align-items:center;justify-content:space-between;margin:auto auto 20px;max-width:450px}.manager .manager-info{margin-right:15px}.manager .manager-name{font-size:22px;color:#df8a4e}.manager .manager-desc{font-size:18px;color:#666}.manager button{padding:10px;width:150px;font-size:22px;border-radius:5px;border:none;cursor:pointer}.manager button:not([disabled]){background-color:#1993ce;color:#fff}.manager-list{max-height:65vh;overflow:auto}.come-back-info{margin:30px 0;font-size:24px;text-align:center}.come-back-info .away-time{color:#df8a4e}.come-back-info .earning-amount{color:#1993ce}body{background-color:#1993ce;font-family:"Kalam",cursive;font-size:18px;color:#dedede;font-weight:700}.App{max-width:1200px;margin:auto;background-color:#272727;box-shadow:0 .5rem 1rem rgba(0,0,0,.7);display:flex}.main{flex-grow:1;padding:20px}.side-bar{background-color:#444;padding:10px}.side-bar img{height:auto;width:150px}.businesses{display:flex;flex-wrap:wrap}.balance{font-size:55px}.text-center{text-align:center}.modal{position:fixed;background-color:rgba(0,0,0,.7);z-index:3;margin:auto;top:0;left:0;bottom:0;right:0}.modal .modal-content{max-width:600px;margin:20px auto auto;padding:20px;background-color:#272727;position:relative}.modal .modal-close{cursor:pointer;position:absolute;right:15px;top:15px}.modal .modal-close img{width:50px}.modal h2{font-size:42px;text-align:center;margin:0;color:#1993ce}.modal .sub-title{text-align:center;margin-top:0}@media (max-width:1100px){.App{flex-direction:column}.side-bar{display:flex;align-items:center;justify-content:space-between}.side-bar img{width:100px}.businesses{flex-direction:column}}
/*# sourceMappingURL=main.39e638da.chunk.css.map */

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,41 @@
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/
/** @license React v0.19.1
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v16.13.1
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v16.13.1
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
!function(e){function t(t){for(var n,a,i=t[0],l=t[1],p=t[2],f=0,s=[];f<i.length;f++)a=i[f],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&s.push(o[a][0]),o[a]=0;for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n]);for(c&&c(t);s.length;)s.shift()();return u.push.apply(u,p||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,i=1;i<r.length;i++){var l=r[i];0!==o[l]&&(n=!1)}n&&(u.splice(t--,1),e=a(a.s=r[0]))}return e}var n={},o={1:0},u=[];function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.m=e,a.c=n,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(r,n,function(t){return e[t]}.bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="/adventure-capitalist/";var i=this["webpackJsonpadventure-capitalist"]=this["webpackJsonpadventure-capitalist"]||[],l=i.push.bind(i);i.push=t,i=i.slice();for(var p=0;p<i.length;p++)t(i[p]);var c=l;r()}([]);
//# sourceMappingURL=runtime-main.c9f02682.js.map

File diff suppressed because one or more lines are too long

View File

@ -44,8 +44,10 @@
<a href="./fridaynightfunkin/index.html"><div class="game"><img src="./fridaynightfunkin/fnf-icon.jpg" alt="Friday Night FUnkin Logo"><h1>Friday Night Funkin</h1></div></a>
<a href="./hardestgame/index.html"><div class="game"><img src="./hardestgame/icon.png" alt="Hardest Game Logo"><h1>Worlds Hardest Game</h1></div></a>
<a href="./mario/index.html"><div class="game"><img src="./mario/icon.png" alt="Mario Logo"><h1>Mario</h1></div></a>
<a href="./60sburgerrun/index.html"><div class="game"><img src="./60sburgerrun/icon.png" alt="60sburgerurn Logo"><h1>60s Burger Run</h1></div></a>
<a href="./cluster-rush/index.html"><div class="game"><img src="./cluster-rush/icon.jpg" alt="Cluster Rush Logo"><h1>Cluster Rush</h1></div></a>
<a href="./vex3/index.html"><div class="game"><img src="./vex3/icon.png" alt="Vex 3 Logo"><h1>Vex 3</h1></div></a>
<a href="./adventure-capitalist/index.html"><div class="game"><img src="./adventure-capitalist/icon.png" alt="adcap Logo"><h1>Adventure Capitalist</h1></div></a>
<a href="./btd3/index.html"><div class="game"><img src="./btd3/icon.png" alt="BTD3 Logo"><h1>Bloons TD 3</h1></div></a>
<a href="./avalanche/index.html"><div class="game"><img src="./avalanche/icon.png" alt="avalanche Logo"><h1>Avalanche</h1></div></a>
<a href="./slope/index.html"><div class="game"><img src="./slope/slope4.jpeg" alt="Slope Logo"><h1>Slope</h1></div></a>