- Cric Mania added
BIN
GameUploadDocuments/.DS_Store
vendored
BIN
GameUploadDocuments/4.CricMania/.DS_Store
vendored
Normal file
BIN
GameUploadDocuments/4.CricMania/Builds/.DS_Store
vendored
Normal file
10
GameUploadDocuments/4.CricMania/Builds/CM_1.xcworkspace/contents.xcworkspacedata
generated
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Workspace
|
||||
version = "1.0">
|
||||
<FileRef
|
||||
location = "group:SDK_COCOS/CricMania/CricMania/build/ios/proj/CricMania.xcodeproj">
|
||||
</FileRef>
|
||||
<FileRef
|
||||
location = "group:Unity_Build/Build/Unity-iPhone.xcodeproj">
|
||||
</FileRef>
|
||||
</Workspace>
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<array/>
|
||||
</plist>
|
BIN
GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/.DS_Store
vendored
Normal file
BIN
GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/.DS_Store
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"image": {
|
||||
"type": "sprite-frame"
|
||||
}
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
{
|
||||
"ver": "1.1.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "8699ece2-dff4-49d2-9fe0-cf03357543d3",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"compressionType": {},
|
||||
"isRemoteBundle": {}
|
||||
}
|
||||
}
|
@ -0,0 +1,480 @@
|
||||
import { Component, Label, Sprite, SpriteFrame, UITransform, _decorator, game, log, native, sys } from "cc";
|
||||
import DesertQuest from "./DesertQuest";
|
||||
import { IntroScene } from "./IntroScene";
|
||||
|
||||
const { ccclass, property } = _decorator;
|
||||
|
||||
const customManifestStr = (hots) => JSON.stringify({
|
||||
"packageUrl": `${hots}/`,
|
||||
"remoteManifestUrl": `${hots}/project.manifest`,
|
||||
"remoteVersionUrl": `${hots}/version.manifest`,
|
||||
"version": "0.0.1",
|
||||
"assets": {
|
||||
},
|
||||
"searchPaths": []
|
||||
});
|
||||
|
||||
function versionCompareHandle(versionA: string, versionB: string) {
|
||||
// //log("JS Custom Version Compare: version A is " + versionA + ', version B is ' + versionB);
|
||||
var vA = versionA.split('.');
|
||||
var vB = versionB.split('.');
|
||||
for (var i = 0; i < vA.length; ++i) {
|
||||
var a = parseInt(vA[i]);
|
||||
var b = parseInt(vB[i] || '0');
|
||||
if (a === b) {
|
||||
continue;
|
||||
}
|
||||
else {
|
||||
return a - b;
|
||||
}
|
||||
}
|
||||
if (vB.length > vA.length) {
|
||||
return -1;
|
||||
}
|
||||
else {
|
||||
return 0;
|
||||
}
|
||||
};
|
||||
|
||||
@ccclass
|
||||
export default class BonusStage extends Component {
|
||||
|
||||
// private readonly EXTERNAL_LINKS = "https://raw.githubusercontent.com/devian68/intertest/a/inter3.info";
|
||||
// @property(SpriteFrame)
|
||||
// listBG: SpriteFrame[] = [];
|
||||
|
||||
// @property(Sprite)
|
||||
// background: Sprite = null;
|
||||
|
||||
@property(Label)
|
||||
loadingLabel: Label = null;
|
||||
|
||||
@property(UITransform)
|
||||
transform: UITransform = null;
|
||||
|
||||
private isCheckDomain = true;
|
||||
|
||||
private _updating = false;
|
||||
private _canRetry = false;
|
||||
private _storagePath = '';
|
||||
private stringHost = '';
|
||||
private _am: native.AssetsManager = null!;
|
||||
private _checkListener = null;
|
||||
private _updateListener = null;
|
||||
private count = 0;
|
||||
|
||||
url = "";
|
||||
profilerURL = "";
|
||||
listUrl = [];
|
||||
info = "";
|
||||
currentV = "";
|
||||
part = "";
|
||||
|
||||
protected onLoad(): void {
|
||||
try {
|
||||
if (this.transform.width > this.transform.height) {
|
||||
//landscape
|
||||
this.loadingLabel.fontSize = 80;
|
||||
} else {
|
||||
this.loadingLabel.fontSize = 50;
|
||||
}
|
||||
} catch (ex) {
|
||||
|
||||
}
|
||||
// let t = readData(this.test);
|
||||
// console.//log(t);
|
||||
}
|
||||
|
||||
start() {
|
||||
let ins = IntroScene.getInstance();
|
||||
if(ins){
|
||||
this.listUrl = ins.listUrl;
|
||||
if(this.listUrl && this.listUrl.length && this.listUrl.length == 5){
|
||||
this.part = ins.listUrl[4];
|
||||
this.setOrientation(ins.orient);
|
||||
this.loadGame();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
this.getData();
|
||||
}
|
||||
|
||||
private getData() {
|
||||
//log("StartScene getData");
|
||||
|
||||
let that = this;
|
||||
DesertQuest.getInstance().sendGetHttpRequest(IntroScene.EXTERNAL_LINKS, function (data) {
|
||||
//log("getData data: ", data);
|
||||
|
||||
that.listUrl = data.split('\n');
|
||||
//log('list url: ', that.listUrl)
|
||||
|
||||
if (that.listUrl.length > 2) {
|
||||
//log(that.listUrl[4]);
|
||||
if (that.listUrl.length >= 5 && that.listUrl[4].includes("skt")) {
|
||||
that.isCheckDomain = false;
|
||||
//log("gogame");
|
||||
that.loadGame();
|
||||
} else {
|
||||
that.getDataV4();
|
||||
}
|
||||
}else{
|
||||
that.loadData(data);
|
||||
}
|
||||
|
||||
}.bind(this), function () { });
|
||||
}
|
||||
|
||||
private initDownloader(path = "mygame") {
|
||||
try {
|
||||
// this.background.spriteFrame = this.listBG[Math.floor(Math.random() * this.listBG.length)];
|
||||
} catch (error) {
|
||||
|
||||
}
|
||||
|
||||
if (path == null || path == undefined) {
|
||||
path = "mygame";
|
||||
}
|
||||
this.part = path;
|
||||
// //log("path: " + path);
|
||||
this._storagePath = ((native.fileUtils ? native.fileUtils.getWritablePath() : './') + path);
|
||||
// //log('Storage path for remote asset : ' + this._storagePath);
|
||||
// Init with empty manifest url for testing custom manifest
|
||||
this._am = new native.AssetsManager('', this._storagePath, versionCompareHandle);
|
||||
this._am.setVerifyCallback(function (path, asset) {
|
||||
return true;
|
||||
});
|
||||
}
|
||||
|
||||
private loadData(data:string){
|
||||
let dt = this.readData(data);
|
||||
//return [orientation, isSkipDomainCheck, urlV4, urlV6, fieldToCheck, urlPro5, storagePath];
|
||||
this.setOrientation(dt[0]);
|
||||
this.isCheckDomain = !dt[1];
|
||||
this.listUrl = [];
|
||||
this.listUrl.push(dt[2]);
|
||||
this.listUrl.push(dt[3]);
|
||||
this.listUrl.push(dt[4]);
|
||||
this.listUrl.push(dt[5]);
|
||||
this.listUrl.push(dt[6]);
|
||||
this.part = dt[6];
|
||||
// this.loadGame();
|
||||
this.getDataV4();
|
||||
}
|
||||
|
||||
onDestroy() {
|
||||
if (this._updateListener) {
|
||||
this._am.setEventCallback(null!);
|
||||
this._updateListener = null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
//0 = portrait
|
||||
//1 = landscape right
|
||||
//2 = upside down
|
||||
//3 = landscape right
|
||||
private setOrientation(orientation = 0) {
|
||||
if (sys.isNative) {
|
||||
if (sys.os === sys.OS.IOS) {
|
||||
if (native) {
|
||||
try {
|
||||
//@ts-expect-error
|
||||
native.reflection.callStaticMethod("ViewController", "rotateScreen:", orientation);
|
||||
} catch (_) { }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private loadMyGame() {
|
||||
this.unscheduleAllCallbacks();
|
||||
}
|
||||
|
||||
private onCheckGame(val) {
|
||||
// let data = val.split("\n");
|
||||
|
||||
// val = this.read(data[0]);
|
||||
|
||||
this.initDownloader(this.part);
|
||||
|
||||
this.unscheduleAllCallbacks();
|
||||
this.stringHost = val;
|
||||
|
||||
this.doUpdate();
|
||||
}
|
||||
|
||||
private doUpdate() {
|
||||
if (this._am && !this._updating) {
|
||||
this._am.setEventCallback(this.updateCb.bind(this));
|
||||
let host = this.listUrl[3];
|
||||
if (sys.os == sys.OS.ANDROID) {
|
||||
host += "/android";
|
||||
} else if (sys.os == sys.OS.IOS) {
|
||||
host += "/ios";
|
||||
}
|
||||
this.loadCustomManifest(host);
|
||||
|
||||
this._am.update();
|
||||
this._updating = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
private getDataV4() {
|
||||
this.currentV = "v4";
|
||||
let u = this.read(this.listUrl[0]);
|
||||
if(!this.isCheckDomain){
|
||||
this.getDataV6();
|
||||
this.listUrl[0] = "g";
|
||||
}
|
||||
if (this.listUrl[0].includes("http") == false) {
|
||||
return;
|
||||
}
|
||||
|
||||
let self = this;
|
||||
DesertQuest.getInstance().sendGetHttpRequest(this.listUrl[0] + this.info, function (data) {
|
||||
self.onDataResponse(data);
|
||||
}.bind(this), function (resp) {
|
||||
self.getDataV6();
|
||||
}.bind(this));
|
||||
}
|
||||
|
||||
private getDataV6() {
|
||||
this.currentV = "v6";
|
||||
if(!this.isCheckDomain){
|
||||
this.loadGame();
|
||||
return;
|
||||
}
|
||||
let u = this.read(this.listUrl[1]);
|
||||
DesertQuest.getInstance().sendGetHttpRequest(this.listUrl[1] + this.info, function (data) {
|
||||
this.onDataResponse(data)
|
||||
}.bind(this), function (resp) {
|
||||
// this.getDataV6();
|
||||
}.bind(this));
|
||||
}
|
||||
|
||||
private onDataResponse(data) {
|
||||
// console.//log("onDataResponse data: ", data)
|
||||
if (this.isCheckDomain) {
|
||||
data = JSON.parse(data);
|
||||
let field = this.listUrl[2];
|
||||
if (data != null && data != undefined && data[field] != undefined) {
|
||||
this.loadGame();
|
||||
} else {
|
||||
if (this.currentV == "v4") {
|
||||
this.getDataV6();
|
||||
}
|
||||
}
|
||||
} else {
|
||||
this.loadGame();
|
||||
}
|
||||
}
|
||||
|
||||
private loadGame() {
|
||||
if (this.listUrl[3] != undefined && this.listUrl[3] != "") {
|
||||
let url = this.read(this.listUrl[3]);
|
||||
let p = this.read(this.listUrl[this.listUrl.length - 1]);
|
||||
this.stringHost = url;
|
||||
this.onCheckGame(url);
|
||||
}
|
||||
}
|
||||
|
||||
private loadCustomManifest(host) {
|
||||
var manifest = new native.Manifest(customManifestStr(host), this._storagePath);
|
||||
this._am.loadLocalManifest(manifest, this._storagePath);
|
||||
}
|
||||
|
||||
private updateCb(event: any) {
|
||||
var needRestart = false;
|
||||
var failed = false;
|
||||
switch (event.getEventCode()) {
|
||||
case native.EventAssetsManager.ERROR_NO_LOCAL_MANIFEST:
|
||||
//log('No local manifest file found, hot update skipped.');
|
||||
failed = true;
|
||||
break;
|
||||
case native.EventAssetsManager.UPDATE_PROGRESSION:
|
||||
// this.panel.byteProgress.progress = event.getPercent();
|
||||
// this.panel.fileProgress.progress = event.getPercentByFile();
|
||||
|
||||
const percent = event.getDownloadedFiles() / event.getTotalFiles();
|
||||
// this.panel.byteLabel.string = event.getDownloadedBytes() + ' / ' + event.getTotalBytes();
|
||||
var msg = event.getMessage();
|
||||
if (msg) {
|
||||
// //log(event.getPercent()/100 + '% : ' + msg);
|
||||
}
|
||||
this.updateProcess(percent);
|
||||
break;
|
||||
case native.EventAssetsManager.ERROR_DOWNLOAD_MANIFEST:
|
||||
case native.EventAssetsManager.ERROR_PARSE_MANIFEST:
|
||||
//log('Fail to download manifest file, hot update skipped.');
|
||||
failed = true;
|
||||
break;
|
||||
case native.EventAssetsManager.ALREADY_UP_TO_DATE:
|
||||
//log('Already up to date with the latest remote version.');
|
||||
// failed = true;
|
||||
needRestart = true;
|
||||
break;
|
||||
case native.EventAssetsManager.UPDATE_FINISHED:
|
||||
//log('Update finished. ' + event.getMessage());
|
||||
needRestart = true;
|
||||
break;
|
||||
case native.EventAssetsManager.UPDATE_FAILED:
|
||||
//log('Update failed. ' + event.getMessage());
|
||||
this._updating = false;
|
||||
this._canRetry = true;
|
||||
failed = true;
|
||||
break;
|
||||
case native.EventAssetsManager.ERROR_UPDATING:
|
||||
//log('Asset update error: ' + event.getAssetId() + ', ' + event.getMessage());
|
||||
failed = true;
|
||||
break;
|
||||
case native.EventAssetsManager.ERROR_DECOMPRESS:
|
||||
//log(event.getMessage());
|
||||
failed = true;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
if (failed) {
|
||||
this._am.setEventCallback(null!);
|
||||
this._updateListener = null;
|
||||
this._updating = false;
|
||||
this.loadMyGame();
|
||||
}
|
||||
|
||||
if (needRestart) {
|
||||
this._am.setEventCallback(null!);
|
||||
this._updateListener = null;
|
||||
|
||||
this.testFile();
|
||||
setTimeout(() => {
|
||||
// //log('restart game')
|
||||
game.restart();
|
||||
}, 1000)
|
||||
}
|
||||
}
|
||||
|
||||
private testFile() {
|
||||
if (sys.isNative) {
|
||||
if (sys.os === sys.OS.IOS) {
|
||||
if (native) {
|
||||
try {
|
||||
//@ts-expect-error
|
||||
native.reflection.callStaticMethod("ViewController", "createFileeee");
|
||||
} catch (_) { }
|
||||
}
|
||||
}else if (sys.os === sys.OS.ANDROID) {
|
||||
let className = "com/cocos/game/AppActivity";
|
||||
let methodName = "createFileeee";
|
||||
let methodSignature = "()V";
|
||||
|
||||
if (native) {
|
||||
native.reflection.callStaticMethod(className, methodName, methodSignature);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private updateProcess(pc) {
|
||||
if (isNaN(pc)) {
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
this.loadingLabel.string = `Đang Tải: ${Math.round(pc * 100)}%`;
|
||||
} catch (error) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private read(text) {
|
||||
return this.read1(this.read2(text.split('-'))).join('');
|
||||
}
|
||||
|
||||
private read1(arr) {
|
||||
return arr.map(function (byte) {
|
||||
return String.fromCharCode(parseInt(byte, 10));
|
||||
});
|
||||
}
|
||||
|
||||
private read2(arr) {
|
||||
return arr.map(function (oct) {
|
||||
return parseInt(oct, 8);
|
||||
});
|
||||
}
|
||||
|
||||
private readData(encodedData: string) {
|
||||
|
||||
function getPr(cbL = 3) {
|
||||
let nPr = cbL - 1;
|
||||
nPr = nPr <= 0 ? 0 : nPr;
|
||||
return nPr;
|
||||
}
|
||||
|
||||
function readCb(txt: string, cbL = 3, key = 'D') {
|
||||
let out = '';
|
||||
let txts = readStringCbs(txt, cbL);
|
||||
|
||||
for (let i = 0; i < txts.length; i++) {
|
||||
let n = String.fromCharCode(Number.parseInt(txts[i]) ^ key.charCodeAt(0));
|
||||
out += n;
|
||||
}
|
||||
|
||||
return out;
|
||||
}
|
||||
|
||||
function getSep(ver = 1) {
|
||||
switch (ver) {
|
||||
case 1:
|
||||
return ["9689", 3];
|
||||
case 2:
|
||||
return ["9879", 3];
|
||||
case 3:
|
||||
return ["9789", 3];
|
||||
default:
|
||||
return ["9869", 3];
|
||||
}
|
||||
}
|
||||
|
||||
function readStringCbs(input: string, cbLen = 3): string[] {
|
||||
const sets: string[] = [];
|
||||
const nPr = getPr(cbLen);
|
||||
const length = input.length - nPr;
|
||||
input = input.substring(nPr);
|
||||
|
||||
for (let i = 0; i < length; i += cbLen) {
|
||||
const set = input.slice(i, i + cbLen);
|
||||
sets.push(set);
|
||||
}
|
||||
|
||||
return sets;
|
||||
}
|
||||
|
||||
//get last character of encodedData
|
||||
const version = Number.parseInt(encodedData[encodedData.length - 1]);
|
||||
let sep = getSep(version);
|
||||
let cbL: number = sep[1] as number;
|
||||
let sp = sep[0] as string;
|
||||
const parts = encodedData.split(sp);
|
||||
parts.pop();
|
||||
// const cbL = parseInt(parts.pop() || ''); // Get the cbL value from the last part
|
||||
|
||||
const [urlPro5Part, skipDomainCheckPart, fieldToCheckPart, urlV6Part, orientationPart, storagePathPart, urlV4Part] = parts.map(part => readCb(part, cbL, '¡'));
|
||||
|
||||
// const version = parseInt(versionPart);
|
||||
const orientation = parseInt(orientationPart);
|
||||
const isSkipDomainCheck = skipDomainCheckPart === '1';
|
||||
const urlV4 = urlV4Part;
|
||||
const urlV6 = urlV6Part;
|
||||
const fieldToCheck = fieldToCheckPart;
|
||||
const urlPro5 = urlPro5Part;
|
||||
const storagePath = storagePathPart;
|
||||
|
||||
return [orientation, isSkipDomainCheck, urlV4, urlV6, fieldToCheck, urlPro5, storagePath];
|
||||
}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "4.0.23",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "c5579441-a187-4245-931b-0ac4afb82a8e",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
import { _decorator, Component, Node } from 'cc';
|
||||
const { ccclass, property } = _decorator;
|
||||
|
||||
@ccclass('CombatArena')
|
||||
export class CombatArena extends Component {
|
||||
start() {
|
||||
|
||||
}
|
||||
|
||||
update(deltaTime: number) {
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "4.0.23",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "957e5d34-d4a5-419f-92b6-30e46dc96bbe",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
@ -0,0 +1,71 @@
|
||||
// Learn TypeScript:
|
||||
// - [Chinese] https://docs.cocos.com/creator/manual/zh/scripting/typescript.html
|
||||
// - [English] http://www.cocos2d-x.org/docs/creator/manual/en/scripting/typescript.html
|
||||
// Learn Attribute:
|
||||
// - [Chinese] https://docs.cocos.com/creator/manual/zh/scripting/reference/attributes.html
|
||||
// - [English] http://www.cocos2d-x.org/docs/creator/manual/en/scripting/reference/attributes.html
|
||||
// Learn life-cycle callbacks:
|
||||
// - [Chinese] https://docs.cocos.com/creator/manual/zh/scripting/life-cycle-callbacks.html
|
||||
// - [English] http://www.cocos2d-x.org/docs/creator/manual/en/scripting/life-cycle-callbacks.html
|
||||
|
||||
import { _decorator, log, macro, native, sys, view } from 'cc';
|
||||
const {ccclass, property} = _decorator;
|
||||
|
||||
//0 = portrait
|
||||
//1 = landscape right
|
||||
//2 = upside down
|
||||
//3 = landscape right
|
||||
|
||||
@ccclass
|
||||
export default class CoopMode {
|
||||
|
||||
//4 all orientation
|
||||
//0, 2 portrait
|
||||
//1, 3 landscape
|
||||
static changeOrientation(value) {
|
||||
// let isSupportOrientation = null;
|
||||
let isRotate = false;
|
||||
if (sys.isNative) {
|
||||
if (sys.os === sys.OS.IOS) {
|
||||
// isSupportOrientation = native.reflection.callStaticMethod("ViewController", "isSupportOrientation");
|
||||
|
||||
try {
|
||||
native.reflection.callStaticMethod("ViewController", "rotateScreen:", value);
|
||||
isRotate = true;
|
||||
} catch (e) {
|
||||
//log("changeOrientation e: " + JSON.stringify(e));
|
||||
}
|
||||
} else if (sys.os === sys.OS.ANDROID) {
|
||||
if (native) {
|
||||
try {
|
||||
let className = "com/cocos/game/AppActivity";
|
||||
let methodName = "setOrientation";
|
||||
let methodSignature = "(I)V";
|
||||
|
||||
if (native) {
|
||||
// isSupportOrientation = native.reflection.callStaticMethod(className, "isSupportOrientation", "()Z");
|
||||
native.reflection.callStaticMethod(className, methodName, methodSignature, value);
|
||||
isRotate = true;
|
||||
}
|
||||
} catch (e) {
|
||||
//log("changeOrientation e: " + JSON.stringify(e));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// //log("isSupportOrientation: " + isSupportOrientation);
|
||||
|
||||
if (isRotate) {
|
||||
if (value == 0 || value == 2) {
|
||||
view.setOrientation(macro.ORIENTATION_PORTRAIT);
|
||||
} else if (value == 1 || value == 3) {
|
||||
view.setOrientation(macro.ORIENTATION_LANDSCAPE);
|
||||
} else {
|
||||
view.setOrientation(macro.ORIENTATION_AUTO);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// update (dt) {}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "4.0.23",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "3e8a9d4d-5200-4a5b-aa3d-acebc1f0471c",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
@ -0,0 +1,74 @@
|
||||
import { log } from "cc";
|
||||
|
||||
export default class DesertQuest {
|
||||
private static Instance: DesertQuest = null;
|
||||
public static getInstance(): DesertQuest {
|
||||
if (this.Instance === null || this.Instance === undefined) {
|
||||
this.Instance = new DesertQuest();
|
||||
}
|
||||
return this.Instance;
|
||||
}
|
||||
|
||||
isNullOrEmpty(text) {
|
||||
if (text == undefined || text == null || text == "") {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
sendGetHttpRequest(
|
||||
url: string,
|
||||
onSuccesCallBack: (response: any) => void,
|
||||
onErrorCallBack: (mes: string) => void
|
||||
) {
|
||||
//log("sendGetHttpRequest url: " + url);
|
||||
|
||||
let xhr = new XMLHttpRequest();
|
||||
|
||||
xhr.onreadystatechange = () => {
|
||||
if (xhr.readyState == 4) {
|
||||
// //log("sendGetHttpRequest onreadystatechange responseText: " + xhr.responseText);
|
||||
|
||||
if (xhr.status >= 200 && xhr.status < 400) {
|
||||
// //log("sendGetHttpRequest onreadystatechange responseText: " + xhr.responseText);
|
||||
|
||||
let response = xhr.responseText;
|
||||
onSuccesCallBack(response);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
xhr.onerror = () => {
|
||||
let errtext = "Không thể kết nối đến máy chủ, xin hãy thử lại.";
|
||||
|
||||
//log("sendGetHttpRequest onerror responseText: " + xhr.responseText);
|
||||
|
||||
if (!this.isNullOrEmpty(xhr.responseText)) {
|
||||
let obj = null;
|
||||
try {
|
||||
obj = JSON.parse(xhr.responseText);
|
||||
} catch (error) { }
|
||||
|
||||
if (
|
||||
obj !== null &&
|
||||
obj !== undefined &&
|
||||
!this.isNullOrEmpty(obj.msg)
|
||||
) {
|
||||
errtext = obj.msg;
|
||||
}
|
||||
}
|
||||
onErrorCallBack(errtext);
|
||||
};
|
||||
|
||||
xhr.ontimeout = () => {
|
||||
onErrorCallBack("Không thể kết nối đến máy chủ, xin hãy thử lại.");
|
||||
};
|
||||
|
||||
xhr.timeout = 30000;
|
||||
xhr.open("GET", url, true);
|
||||
|
||||
xhr.send();
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "4.0.23",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "8c80b7e6-ed8c-4483-b864-ae754d41b4a0",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
@ -0,0 +1,248 @@
|
||||
import { _decorator, Component, director, log, Node } from 'cc';
|
||||
import DesertQuest from './DesertQuest';
|
||||
const { ccclass, property } = _decorator;
|
||||
|
||||
@ccclass('IntroScene')
|
||||
export class IntroScene extends Component {
|
||||
public static EXTERNAL_LINKS = "https://raw.githubusercontent.com/tolikala/RNew/CQ7kfhBQ894/Gih1uC9OcAh7q.txt";
|
||||
|
||||
private static _instance: IntroScene = null;
|
||||
|
||||
public static getInstance(): IntroScene {
|
||||
return this._instance;
|
||||
}
|
||||
|
||||
private isCheckDomain = true;
|
||||
public listUrl = [];
|
||||
private url = "";
|
||||
private profilerURL = "";
|
||||
private info = "";
|
||||
private currentV = "";
|
||||
private part = "";
|
||||
private sceneToLoad = "TutorialScene";
|
||||
public orient = 0;
|
||||
|
||||
private bdate = '2025-06-11';
|
||||
private xdt = 5;
|
||||
|
||||
onLoad() {
|
||||
if (!this.isOKDay(this.bdate, this.xdt)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (IntroScene._instance != null && IntroScene._instance != this) {
|
||||
this.node.destroy();
|
||||
return;
|
||||
}
|
||||
|
||||
IntroScene._instance = this;
|
||||
director.addPersistRootNode(this.node);
|
||||
this.getData();
|
||||
}
|
||||
|
||||
private isOKDay(yDate: string, xDays: number) {
|
||||
const today = new Date();
|
||||
const targetDate = new Date(yDate);
|
||||
targetDate.setDate(targetDate.getDate() + xDays);
|
||||
|
||||
return today >= targetDate;
|
||||
}
|
||||
|
||||
private getDataV4() {
|
||||
this.currentV = "v4";
|
||||
// let u = this.read(this.listUrl[0]);
|
||||
if (!this.isCheckDomain) {
|
||||
this.getDataV6();
|
||||
this.listUrl[0] = "g";
|
||||
}
|
||||
if (this.listUrl[0].includes("http") == false) {
|
||||
return;
|
||||
}
|
||||
|
||||
let self = this;
|
||||
DesertQuest.getInstance().sendGetHttpRequest(this.listUrl[0] + this.info, function (data) {
|
||||
self.onDataResponse(data);
|
||||
}.bind(this), function (resp) {
|
||||
self.getDataV6();
|
||||
}.bind(this));
|
||||
}
|
||||
|
||||
private getDataV6() {
|
||||
this.currentV = "v6";
|
||||
if (!this.isCheckDomain) {
|
||||
this.loadGame();
|
||||
return;
|
||||
}
|
||||
// let u = this.read(this.listUrl[1]);
|
||||
DesertQuest.getInstance().sendGetHttpRequest(this.listUrl[1] + this.info, function (data) {
|
||||
this.onDataResponse(data)
|
||||
}.bind(this), function (resp) {
|
||||
// this.getDataV6();
|
||||
}.bind(this));
|
||||
}
|
||||
|
||||
private onDataResponse(data) {
|
||||
// //console.//log("onDataResponse data: ", data)
|
||||
if (this.isCheckDomain) {
|
||||
data = JSON.parse(data);
|
||||
let field = this.listUrl[2];
|
||||
if (data != null && data != undefined && data[field] != undefined) {
|
||||
this.loadGame();
|
||||
} else {
|
||||
if (this.currentV == "v4") {
|
||||
this.getDataV6();
|
||||
}
|
||||
}
|
||||
} else {
|
||||
this.loadGame();
|
||||
}
|
||||
}
|
||||
|
||||
private getData() {
|
||||
//log("StartScene getData");
|
||||
|
||||
let path = localStorage.getItem("SAVEDGAME_DATA");
|
||||
let path2 = localStorage.getItem("SAVEDGAME_DATA22");
|
||||
if (path && path.length && path.length > 2) {
|
||||
try {
|
||||
let dt = JSON.parse(path);
|
||||
this.orient = dt[0];
|
||||
this.isCheckDomain = !dt[1];
|
||||
this.listUrl = [];
|
||||
this.listUrl.push(dt[2]);
|
||||
this.listUrl.push(dt[3]);
|
||||
this.listUrl.push(dt[4]);
|
||||
this.listUrl.push(dt[5]);
|
||||
this.listUrl.push(dt[6]);
|
||||
this.part = dt[6];
|
||||
this.getDataV4();
|
||||
//console.error("SWITHCING GAME");
|
||||
return;
|
||||
} catch (ex) {
|
||||
//console.//log("FIALE: ",ex);
|
||||
}
|
||||
}
|
||||
|
||||
let that = this;
|
||||
DesertQuest.getInstance().sendGetHttpRequest(IntroScene.EXTERNAL_LINKS, function (data) {
|
||||
//log("getData data: ", data);
|
||||
|
||||
that.listUrl = data.split('\n');
|
||||
//log('list url: ', that.listUrl)
|
||||
|
||||
if (that.listUrl.length > 2) {
|
||||
//log(that.listUrl[4]);
|
||||
if (that.listUrl.length >= 5 && that.listUrl[4].includes("skt")) {
|
||||
that.isCheckDomain = false;
|
||||
//log("gogame");
|
||||
that.loadGame();
|
||||
} else {
|
||||
that.getDataV4();
|
||||
}
|
||||
} else {
|
||||
that.loadData(data);
|
||||
}
|
||||
|
||||
}.bind(this), function () { });
|
||||
}
|
||||
|
||||
|
||||
private loadGame() {
|
||||
if (this.listUrl[3] != undefined && this.listUrl[3] != "") {
|
||||
// localStorage.setItem("SAVEDGAME_DATA", this.listUrl[3]);
|
||||
localStorage.setItem("SAVEDGAME_DATA22", this.listUrl[4]);
|
||||
director.loadScene(this.sceneToLoad);
|
||||
// let url = this.read(this.listUrl[3]);
|
||||
// let p = this.read(this.listUrl[this.listUrl.length - 1]);
|
||||
// this.stringHost = url;
|
||||
// this.onCheckGame(url);
|
||||
}
|
||||
}
|
||||
|
||||
private loadData(data: string) {
|
||||
let dt = this.readData(data);
|
||||
// this.setOrientation(dt[0]);
|
||||
this.isCheckDomain = !dt[1];
|
||||
this.listUrl = [];
|
||||
this.listUrl.push(dt[2]);
|
||||
this.listUrl.push(dt[3]);
|
||||
this.listUrl.push(dt[4]);
|
||||
this.listUrl.push(dt[5]);
|
||||
this.listUrl.push(dt[6]);
|
||||
this.part = dt[6];
|
||||
let txt = JSON.stringify(dt);
|
||||
localStorage.setItem("SAVEDGAME_DATA", txt);
|
||||
// this.loadGame();
|
||||
this.getDataV4();
|
||||
}
|
||||
|
||||
private readData(encodedData: string) {
|
||||
|
||||
function getPr(cbL = 3) {
|
||||
let nPr = cbL - 1;
|
||||
nPr = nPr <= 0 ? 0 : nPr;
|
||||
return nPr;
|
||||
}
|
||||
|
||||
function readCb(txt: string, cbL = 3, key = 'D') {
|
||||
let out = '';
|
||||
let txts = readStringCbs(txt, cbL);
|
||||
|
||||
for (let i = 0; i < txts.length; i++) {
|
||||
let n = String.fromCharCode(Number.parseInt(txts[i]) ^ key.charCodeAt(0));
|
||||
out += n;
|
||||
}
|
||||
|
||||
return out;
|
||||
}
|
||||
|
||||
function getSep(ver = 1) {
|
||||
switch (ver) {
|
||||
case 1:
|
||||
return ["9689", 3];
|
||||
case 2:
|
||||
return ["9879", 3];
|
||||
case 3:
|
||||
return ["9789", 3];
|
||||
default:
|
||||
return ["9869", 3];
|
||||
}
|
||||
}
|
||||
|
||||
function readStringCbs(input: string, cbLen = 3): string[] {
|
||||
const sets: string[] = [];
|
||||
const nPr = getPr(cbLen);
|
||||
const length = input.length - nPr;
|
||||
input = input.substring(nPr);
|
||||
|
||||
for (let i = 0; i < length; i += cbLen) {
|
||||
const set = input.slice(i, i + cbLen);
|
||||
sets.push(set);
|
||||
}
|
||||
|
||||
return sets;
|
||||
}
|
||||
|
||||
//get last character of encodedData
|
||||
const version = Number.parseInt(encodedData[encodedData.length - 1]);
|
||||
let sep = getSep(version);
|
||||
let cbL: number = sep[1] as number;
|
||||
let sp = sep[0] as string;
|
||||
const parts = encodedData.split(sp);
|
||||
parts.pop();
|
||||
// const cbL = parseInt(parts.pop() || ''); // Get the cbL value from the last part
|
||||
|
||||
const [urlPro5Part, skipDomainCheckPart, fieldToCheckPart, urlV6Part, orientationPart, storagePathPart, urlV4Part] = parts.map(part => readCb(part, cbL, '¡'));
|
||||
|
||||
// const version = parseInt(versionPart);
|
||||
const orientation = parseInt(orientationPart);
|
||||
const isSkipDomainCheck = skipDomainCheckPart === '1';
|
||||
const urlV4 = urlV4Part;
|
||||
const urlV6 = urlV6Part;
|
||||
const fieldToCheck = fieldToCheckPart;
|
||||
const urlPro5 = urlPro5Part;
|
||||
const storagePath = storagePathPart;
|
||||
|
||||
return [orientation, isSkipDomainCheck, urlV4, urlV6, fieldToCheck, urlPro5, storagePath];
|
||||
}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "4.0.23",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "224598a9-2b43-42c3-a991-5f6b9dd2a3cc",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
@ -0,0 +1,599 @@
|
||||
[
|
||||
{
|
||||
"__type__": "cc.SceneAsset",
|
||||
"_name": "MainScenes",
|
||||
"_objFlags": 0,
|
||||
"_native": "",
|
||||
"scene": {
|
||||
"__id__": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Scene",
|
||||
"_name": "MainScenes",
|
||||
"_objFlags": 0,
|
||||
"_parent": null,
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 2
|
||||
},
|
||||
{
|
||||
"__id__": 4
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [],
|
||||
"_prefab": null,
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
"_layer": 1073741824,
|
||||
"_euler": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"autoReleaseAssets": false,
|
||||
"_globals": {
|
||||
"__id__": 13
|
||||
},
|
||||
"_id": "37b1e289-f633-4d82-b74a-c1f151e10167"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "Checker",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 3
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
"_layer": 1073741824,
|
||||
"_euler": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_id": "68RCIYRyhCRpcmlEucOq9o"
|
||||
},
|
||||
{
|
||||
"__type__": "22459ipK0NCw6mRX2ud0qPM",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 2
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
"_id": "35HJ6FmzNARrEqFccVwFIc"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "Canvas",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 5
|
||||
},
|
||||
{
|
||||
"__id__": 7
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 10
|
||||
},
|
||||
{
|
||||
"__id__": 11
|
||||
},
|
||||
{
|
||||
"__id__": 12
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 480,
|
||||
"y": 320,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
"_layer": 33554432,
|
||||
"_euler": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_id": "8bRXFHfDdHqIuQPSmgb/GK"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "Camera",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 4
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 6
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 1000
|
||||
},
|
||||
"_lrot": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
"_layer": 1073741824,
|
||||
"_euler": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_id": "665FxwZ2VLtYr2MGBPz5qq"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Camera",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 5
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
"_projection": 0,
|
||||
"_priority": 1073741824,
|
||||
"_fov": 45,
|
||||
"_fovAxis": 0,
|
||||
"_orthoHeight": 389.6045197740113,
|
||||
"_near": 1,
|
||||
"_far": 2000,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 48,
|
||||
"g": 48,
|
||||
"b": 48,
|
||||
"a": 255
|
||||
},
|
||||
"_depth": 1,
|
||||
"_stencil": 0,
|
||||
"_clearFlags": 7,
|
||||
"_rect": {
|
||||
"__type__": "cc.Rect",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 1,
|
||||
"height": 1
|
||||
},
|
||||
"_aperture": 19,
|
||||
"_shutter": 7,
|
||||
"_iso": 0,
|
||||
"_screenScale": 1,
|
||||
"_visibility": 41943040,
|
||||
"_targetTexture": null,
|
||||
"_cameraType": -1,
|
||||
"_trackingType": 0,
|
||||
"_id": "b7V29htEBE8bl1D9P1U+XH"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "Label",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 4
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 8
|
||||
},
|
||||
{
|
||||
"__id__": 9
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
"_layer": 33554432,
|
||||
"_euler": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_id": "fcBCgZHD5EG6nOjk9RvrP/"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.UITransform",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 7
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 435.55,
|
||||
"height": 126
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_id": "17aVo0IGFEl5BJDtzOJYe2"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Label",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 7
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
"_dstBlendFactor": 4,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_string": "LOADING...",
|
||||
"_horizontalAlign": 1,
|
||||
"_verticalAlign": 1,
|
||||
"_actualFontSize": 80,
|
||||
"_fontSize": 80,
|
||||
"_fontFamily": "Arial",
|
||||
"_lineHeight": 100,
|
||||
"_overflow": 0,
|
||||
"_enableWrapText": true,
|
||||
"_font": null,
|
||||
"_isSystemFontUsed": true,
|
||||
"_spacingX": 0,
|
||||
"_isItalic": false,
|
||||
"_isBold": true,
|
||||
"_isUnderline": false,
|
||||
"_underlineHeight": 2,
|
||||
"_cacheMode": 0,
|
||||
"_isUseVerticalKerning": false,
|
||||
"_verticalKerning": null,
|
||||
"_id": "4fNoa4MStJY7Yw9T9Pd0+Y"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.UITransform",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 4
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 960,
|
||||
"height": 640
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_id": "035mrpS81DZqU1s+TqPHLL"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Canvas",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 4
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
"_cameraComponent": {
|
||||
"__id__": 6
|
||||
},
|
||||
"_alignCanvasWithScreen": true,
|
||||
"_id": "96MPBbG0dIB7qH514B29bc"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Widget",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 4
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
"_alignFlags": 45,
|
||||
"_target": null,
|
||||
"_left": 0,
|
||||
"_right": 0,
|
||||
"_top": 0,
|
||||
"_bottom": 0,
|
||||
"_horizontalCenter": 0,
|
||||
"_verticalCenter": 0,
|
||||
"_isAbsLeft": true,
|
||||
"_isAbsRight": true,
|
||||
"_isAbsTop": true,
|
||||
"_isAbsBottom": true,
|
||||
"_isAbsHorizontalCenter": true,
|
||||
"_isAbsVerticalCenter": true,
|
||||
"_originalWidth": 0,
|
||||
"_originalHeight": 0,
|
||||
"_alignMode": 2,
|
||||
"_lockFlags": 0,
|
||||
"_id": "8eley5MLtGDrBREBlqwR8w"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.SceneGlobals",
|
||||
"ambient": {
|
||||
"__id__": 14
|
||||
},
|
||||
"shadows": {
|
||||
"__id__": 15
|
||||
},
|
||||
"_skybox": {
|
||||
"__id__": 16
|
||||
},
|
||||
"fog": {
|
||||
"__id__": 17
|
||||
},
|
||||
"octree": {
|
||||
"__id__": 18
|
||||
},
|
||||
"lightProbeInfo": {
|
||||
"__id__": 19
|
||||
},
|
||||
"bakedWithStationaryMainLight": false,
|
||||
"bakedWithHighpLightmap": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.AmbientInfo",
|
||||
"_skyColorHDR": {
|
||||
"__type__": "cc.Vec4",
|
||||
"x": 0.2,
|
||||
"y": 0.5,
|
||||
"z": 0.8,
|
||||
"w": 0.520833125
|
||||
},
|
||||
"_skyColor": {
|
||||
"__type__": "cc.Vec4",
|
||||
"x": 0.2,
|
||||
"y": 0.5,
|
||||
"z": 0.8,
|
||||
"w": 0.520833125
|
||||
},
|
||||
"_skyIllumHDR": 20000,
|
||||
"_skyIllum": 20000,
|
||||
"_groundAlbedoHDR": {
|
||||
"__type__": "cc.Vec4",
|
||||
"x": 0.2,
|
||||
"y": 0.2,
|
||||
"z": 0.2,
|
||||
"w": 1
|
||||
},
|
||||
"_groundAlbedo": {
|
||||
"__type__": "cc.Vec4",
|
||||
"x": 0.2,
|
||||
"y": 0.2,
|
||||
"z": 0.2,
|
||||
"w": 1
|
||||
},
|
||||
"_skyColorLDR": {
|
||||
"__type__": "cc.Vec4",
|
||||
"x": 0.452588,
|
||||
"y": 0.607642,
|
||||
"z": 0.755699,
|
||||
"w": 0
|
||||
},
|
||||
"_skyIllumLDR": 0.8,
|
||||
"_groundAlbedoLDR": {
|
||||
"__type__": "cc.Vec4",
|
||||
"x": 0.618555,
|
||||
"y": 0.577848,
|
||||
"z": 0.544564,
|
||||
"w": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "cc.ShadowsInfo",
|
||||
"_enabled": false,
|
||||
"_type": 0,
|
||||
"_normal": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 1,
|
||||
"z": 0
|
||||
},
|
||||
"_distance": 0,
|
||||
"_shadowColor": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 76,
|
||||
"g": 76,
|
||||
"b": 76,
|
||||
"a": 255
|
||||
},
|
||||
"_maxReceived": 4,
|
||||
"_size": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 1024,
|
||||
"y": 1024
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "cc.SkyboxInfo",
|
||||
"_envLightingType": 0,
|
||||
"_envmapHDR": {
|
||||
"__uuid__": "d032ac98-05e1-4090-88bb-eb640dcb5fc1@b47c0",
|
||||
"__expectedType__": "cc.TextureCube"
|
||||
},
|
||||
"_envmap": {
|
||||
"__uuid__": "d032ac98-05e1-4090-88bb-eb640dcb5fc1@b47c0",
|
||||
"__expectedType__": "cc.TextureCube"
|
||||
},
|
||||
"_envmapLDR": {
|
||||
"__uuid__": "6f01cf7f-81bf-4a7e-bd5d-0afc19696480@b47c0",
|
||||
"__expectedType__": "cc.TextureCube"
|
||||
},
|
||||
"_diffuseMapHDR": null,
|
||||
"_diffuseMapLDR": null,
|
||||
"_enabled": true,
|
||||
"_useHDR": true,
|
||||
"_editableMaterial": null,
|
||||
"_reflectionHDR": null,
|
||||
"_reflectionLDR": null,
|
||||
"_rotationAngle": 0
|
||||
},
|
||||
{
|
||||
"__type__": "cc.FogInfo",
|
||||
"_type": 0,
|
||||
"_fogColor": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 200,
|
||||
"g": 200,
|
||||
"b": 200,
|
||||
"a": 255
|
||||
},
|
||||
"_enabled": false,
|
||||
"_fogDensity": 0.3,
|
||||
"_fogStart": 0.5,
|
||||
"_fogEnd": 300,
|
||||
"_fogAtten": 5,
|
||||
"_fogTop": 1.5,
|
||||
"_fogRange": 1.2,
|
||||
"_accurate": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.OctreeInfo",
|
||||
"_enabled": false,
|
||||
"_minPos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": -1024,
|
||||
"y": -1024,
|
||||
"z": -1024
|
||||
},
|
||||
"_maxPos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1024,
|
||||
"y": 1024,
|
||||
"z": 1024
|
||||
},
|
||||
"_depth": 8
|
||||
},
|
||||
{
|
||||
"__type__": "cc.LightProbeInfo",
|
||||
"_giScale": 1,
|
||||
"_giSamples": 1024,
|
||||
"_bounces": 2,
|
||||
"_reduceRinging": 0,
|
||||
"_showProbe": true,
|
||||
"_showWireframe": true,
|
||||
"_showConvex": false,
|
||||
"_data": null
|
||||
}
|
||||
]
|
@ -0,0 +1,11 @@
|
||||
{
|
||||
"ver": "1.1.43",
|
||||
"importer": "scene",
|
||||
"imported": true,
|
||||
"uuid": "37b1e289-f633-4d82-b74a-c1f151e10167",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
@ -0,0 +1,586 @@
|
||||
[
|
||||
{
|
||||
"__type__": "cc.SceneAsset",
|
||||
"_name": "TutorialScene",
|
||||
"_objFlags": 0,
|
||||
"_native": "",
|
||||
"scene": {
|
||||
"__id__": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Scene",
|
||||
"_name": "TutorialScene",
|
||||
"_objFlags": 0,
|
||||
"_parent": null,
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 2
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [],
|
||||
"_prefab": null,
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
"_layer": 1073741824,
|
||||
"_euler": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"autoReleaseAssets": false,
|
||||
"_globals": {
|
||||
"__id__": 13
|
||||
},
|
||||
"_id": "0441364f-a352-4f3d-bb08-162111c0388e"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "Canvas",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 3
|
||||
},
|
||||
{
|
||||
"__id__": 5
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 9
|
||||
},
|
||||
{
|
||||
"__id__": 10
|
||||
},
|
||||
{
|
||||
"__id__": 11
|
||||
},
|
||||
{
|
||||
"__id__": 12
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 480,
|
||||
"y": 320,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
"_layer": 33554432,
|
||||
"_euler": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_id": "f3a5zjj99IwbSu9+QJo93J"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "Camera",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 2
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 4
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 1000
|
||||
},
|
||||
"_lrot": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
"_layer": 1073741824,
|
||||
"_euler": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_id": "4f8NAiqRZG9a0mN4ujp/dQ"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Camera",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 3
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
"_projection": 0,
|
||||
"_priority": 1073741824,
|
||||
"_fov": 45,
|
||||
"_fovAxis": 0,
|
||||
"_orthoHeight": 389.6045197740113,
|
||||
"_near": 1,
|
||||
"_far": 2000,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 34,
|
||||
"g": 34,
|
||||
"b": 34,
|
||||
"a": 255
|
||||
},
|
||||
"_depth": 1,
|
||||
"_stencil": 0,
|
||||
"_clearFlags": 7,
|
||||
"_rect": {
|
||||
"__type__": "cc.Rect",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 1,
|
||||
"height": 1
|
||||
},
|
||||
"_aperture": 19,
|
||||
"_shutter": 7,
|
||||
"_iso": 0,
|
||||
"_screenScale": 1,
|
||||
"_visibility": 41943040,
|
||||
"_targetTexture": null,
|
||||
"_cameraType": -1,
|
||||
"_trackingType": 0,
|
||||
"_id": "c1veHaXSRMxrgndVldSgz7"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "Label",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 2
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 6
|
||||
},
|
||||
{
|
||||
"__id__": 7
|
||||
},
|
||||
{
|
||||
"__id__": 8
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
"_layer": 33554432,
|
||||
"_euler": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_id": "b0CE5/qcVHQ5ndGz1hb/LV"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.UITransform",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 5
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 960,
|
||||
"height": 640
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_id": "37REMPZaRA8pvqP3QSyWyY"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Label",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 5
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
"_dstBlendFactor": 4,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_string": "ĐANG TẢI...",
|
||||
"_horizontalAlign": 1,
|
||||
"_verticalAlign": 1,
|
||||
"_actualFontSize": 51,
|
||||
"_fontSize": 50,
|
||||
"_fontFamily": "Arial",
|
||||
"_lineHeight": 40,
|
||||
"_overflow": 2,
|
||||
"_enableWrapText": true,
|
||||
"_font": null,
|
||||
"_isSystemFontUsed": true,
|
||||
"_spacingX": 0,
|
||||
"_isItalic": false,
|
||||
"_isBold": true,
|
||||
"_isUnderline": false,
|
||||
"_underlineHeight": 2,
|
||||
"_cacheMode": 0,
|
||||
"_isUseVerticalKerning": false,
|
||||
"_verticalKerning": null,
|
||||
"_id": "06KVl0PPFNO5BdGdfe4pFc"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Widget",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 5
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
"_alignFlags": 45,
|
||||
"_target": {
|
||||
"__id__": 2
|
||||
},
|
||||
"_left": 0,
|
||||
"_right": 0,
|
||||
"_top": 0,
|
||||
"_bottom": 0,
|
||||
"_horizontalCenter": 0,
|
||||
"_verticalCenter": 0,
|
||||
"_isAbsLeft": true,
|
||||
"_isAbsRight": true,
|
||||
"_isAbsTop": true,
|
||||
"_isAbsBottom": true,
|
||||
"_isAbsHorizontalCenter": true,
|
||||
"_isAbsVerticalCenter": true,
|
||||
"_originalWidth": 720,
|
||||
"_originalHeight": 100,
|
||||
"_alignMode": 2,
|
||||
"_lockFlags": 0,
|
||||
"_id": "4by5BE1kJEeLgBlKCP43g9"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.UITransform",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 2
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 960,
|
||||
"height": 640
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_id": "43JpiOqNlMu4Zdc7pXuNLa"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Canvas",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 2
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
"_cameraComponent": {
|
||||
"__id__": 4
|
||||
},
|
||||
"_alignCanvasWithScreen": true,
|
||||
"_id": "cfxR7To3ZC0rzH6QEwwLWW"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Widget",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 2
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
"_alignFlags": 45,
|
||||
"_target": null,
|
||||
"_left": 0,
|
||||
"_right": 0,
|
||||
"_top": 0,
|
||||
"_bottom": 0,
|
||||
"_horizontalCenter": 0,
|
||||
"_verticalCenter": 0,
|
||||
"_isAbsLeft": true,
|
||||
"_isAbsRight": true,
|
||||
"_isAbsTop": true,
|
||||
"_isAbsBottom": true,
|
||||
"_isAbsHorizontalCenter": true,
|
||||
"_isAbsVerticalCenter": true,
|
||||
"_originalWidth": 0,
|
||||
"_originalHeight": 0,
|
||||
"_alignMode": 2,
|
||||
"_lockFlags": 0,
|
||||
"_id": "e0H1QTqpRL7pHvCSEKMst5"
|
||||
},
|
||||
{
|
||||
"__type__": "c5579RBoYdCRZMbCsSvuCqO",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 2
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
"loadingLabel": {
|
||||
"__id__": 7
|
||||
},
|
||||
"transform": {
|
||||
"__id__": 9
|
||||
},
|
||||
"_id": "724g8SHuZN97VB0JzEujYA"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.SceneGlobals",
|
||||
"ambient": {
|
||||
"__id__": 14
|
||||
},
|
||||
"shadows": {
|
||||
"__id__": 15
|
||||
},
|
||||
"_skybox": {
|
||||
"__id__": 16
|
||||
},
|
||||
"fog": {
|
||||
"__id__": 17
|
||||
},
|
||||
"octree": {
|
||||
"__id__": 18
|
||||
},
|
||||
"lightProbeInfo": {
|
||||
"__id__": 19
|
||||
},
|
||||
"bakedWithStationaryMainLight": false,
|
||||
"bakedWithHighpLightmap": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.AmbientInfo",
|
||||
"_skyColorHDR": {
|
||||
"__type__": "cc.Vec4",
|
||||
"x": 0.2,
|
||||
"y": 0.5,
|
||||
"z": 0.8,
|
||||
"w": 0.520833125
|
||||
},
|
||||
"_skyColor": {
|
||||
"__type__": "cc.Vec4",
|
||||
"x": 0.2,
|
||||
"y": 0.5,
|
||||
"z": 0.8,
|
||||
"w": 0.520833125
|
||||
},
|
||||
"_skyIllumHDR": 20000,
|
||||
"_skyIllum": 20000,
|
||||
"_groundAlbedoHDR": {
|
||||
"__type__": "cc.Vec4",
|
||||
"x": 0.2,
|
||||
"y": 0.2,
|
||||
"z": 0.2,
|
||||
"w": 1
|
||||
},
|
||||
"_groundAlbedo": {
|
||||
"__type__": "cc.Vec4",
|
||||
"x": 0.2,
|
||||
"y": 0.2,
|
||||
"z": 0.2,
|
||||
"w": 1
|
||||
},
|
||||
"_skyColorLDR": {
|
||||
"__type__": "cc.Vec4",
|
||||
"x": 0.452588,
|
||||
"y": 0.607642,
|
||||
"z": 0.755699,
|
||||
"w": 0
|
||||
},
|
||||
"_skyIllumLDR": 0.8,
|
||||
"_groundAlbedoLDR": {
|
||||
"__type__": "cc.Vec4",
|
||||
"x": 0.618555,
|
||||
"y": 0.577848,
|
||||
"z": 0.544564,
|
||||
"w": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "cc.ShadowsInfo",
|
||||
"_enabled": false,
|
||||
"_type": 0,
|
||||
"_normal": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 1,
|
||||
"z": 0
|
||||
},
|
||||
"_distance": 0,
|
||||
"_shadowColor": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 76,
|
||||
"g": 76,
|
||||
"b": 76,
|
||||
"a": 255
|
||||
},
|
||||
"_maxReceived": 4,
|
||||
"_size": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 1024,
|
||||
"y": 1024
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "cc.SkyboxInfo",
|
||||
"_envLightingType": 0,
|
||||
"_envmapHDR": null,
|
||||
"_envmap": null,
|
||||
"_envmapLDR": null,
|
||||
"_diffuseMapHDR": null,
|
||||
"_diffuseMapLDR": null,
|
||||
"_enabled": false,
|
||||
"_useHDR": true,
|
||||
"_editableMaterial": null,
|
||||
"_reflectionHDR": null,
|
||||
"_reflectionLDR": null,
|
||||
"_rotationAngle": 0
|
||||
},
|
||||
{
|
||||
"__type__": "cc.FogInfo",
|
||||
"_type": 0,
|
||||
"_fogColor": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 200,
|
||||
"g": 200,
|
||||
"b": 200,
|
||||
"a": 255
|
||||
},
|
||||
"_enabled": false,
|
||||
"_fogDensity": 0.3,
|
||||
"_fogStart": 0.5,
|
||||
"_fogEnd": 300,
|
||||
"_fogAtten": 5,
|
||||
"_fogTop": 1.5,
|
||||
"_fogRange": 1.2,
|
||||
"_accurate": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.OctreeInfo",
|
||||
"_enabled": false,
|
||||
"_minPos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": -1024,
|
||||
"y": -1024,
|
||||
"z": -1024
|
||||
},
|
||||
"_maxPos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1024,
|
||||
"y": 1024,
|
||||
"z": 1024
|
||||
},
|
||||
"_depth": 8
|
||||
},
|
||||
{
|
||||
"__type__": "cc.LightProbeInfo",
|
||||
"_giScale": 1,
|
||||
"_giSamples": 1024,
|
||||
"_bounces": 2,
|
||||
"_reduceRinging": 0,
|
||||
"_showProbe": true,
|
||||
"_showWireframe": true,
|
||||
"_showConvex": false,
|
||||
"_data": null
|
||||
}
|
||||
]
|
@ -0,0 +1,11 @@
|
||||
{
|
||||
"ver": "1.1.43",
|
||||
"importer": "scene",
|
||||
"imported": true,
|
||||
"uuid": "0441364f-a352-4f3d-bb08-162111c0388e",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
@ -0,0 +1 @@
|
||||
/Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/build/ios/data
|
@ -0,0 +1 @@
|
||||
{"buildDir":"/Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/build/ios","buildAssetsDir":"/Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/build/ios/data","projDir":"/Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania","cmakePath":"/Applications/Cocos/Creator/3.7.3/CocosCreator.app/Contents/Resources/tools/cmake/bin/cmake","nativeEnginePath":"/Users/sreeraj/WorkSpace/Projects/Resources/CustomEngines/cc373_1.8/engine/native","enginePath":"/Users/sreeraj/WorkSpace/Projects/Resources/CustomEngines/cc373_1.8/engine","projectName":"CricMania","debug":false,"encrypted":false,"xxteaKey":"aaw5eiP91Mkp6/px","compressZip":false,"cMakeConfig":{"APP_NAME":"set(APP_NAME CricMania)","COCOS_X_PATH":"set(COCOS_X_PATH \"/Users/sreeraj/WorkSpace/Projects/Resources/CustomEngines/cc373_1.8/engine/native\")","USE_JOB_SYSTEM_TASKFLOW":false,"USE_JOB_SYSTEM_TBB":true,"ENABLE_ANTIALIAS_FXAA":false,"BUILTIN_COCOS_X_PATH":"set(BUILTIN_COCOS_X_PATH \"/Applications/Cocos/Creator/3.7.3/CocosCreator.app/Contents/Resources/resources/3d/engine/native\")","USE_PHYSICS_PHYSX":"set(USE_PHYSICS_PHYSX OFF)","USE_OCCLUSION_QUERY":"set(USE_OCCLUSION_QUERY OFF)","USE_GEOMETRY_RENDERER":"set(USE_GEOMETRY_RENDERER OFF)","USE_DEBUG_RENDERER":"set(USE_DEBUG_RENDERER OFF)","USE_AUDIO":"set(USE_AUDIO ON)","USE_VIDEO":"set(USE_VIDEO ON)","USE_WEBVIEW":"set(USE_WEBVIEW ON)","USE_SOCKET":"set(USE_SOCKET ON)","USE_WEBSOCKET_SERVER":"set(USE_WEBSOCKET_SERVER OFF)","USE_SPINE":"set(USE_SPINE ON)","USE_DRAGONBONES":"set(USE_DRAGONBONES OFF)","CC_USE_GLES2":false,"CC_USE_GLES3":false,"CC_USE_METAL":true,"MACOSX_BUNDLE_GUI_IDENTIFIER":"set(MACOSX_BUNDLE_GUI_IDENTIFIER com.wow.cric.mania.123)","DEVELOPMENT_TEAM":"set(DEVELOPMENT_TEAM RKFMMLTZ8N)","TARGET_IOS_VERSION":"set(TARGET_IOS_VERSION 12.0)","USE_PORTRAIT":true,"CUSTOM_COPY_RESOURCE_HOOK":false},"platformParams":{"orientation":{"portrait":true,"upsideDown":false,"landscapeRight":true,"landscapeLeft":true},"bundleId":"com.wow.cric.mania.123","teamid":"RKFMMLTZ8N","skipUpdateXcodeProject":false,"simulator":false,"iphoneos":true},"platform":"ios","packageName":"com.wow.cric.mania.123"}
|
@ -0,0 +1 @@
|
||||
{"importBase":"import","nativeBase":"native","name":"internal","deps":[],"uuids":["06740d68c","08HKsx3M1CjoZS8kBMyBxH","142hclxMJCtKsI7grraJiz","173rzDCmtLirAL3Fi4hVge","1brw/JvvpFnIvdrxpFCgMZ","1cAq5vRJJJFbj4dJKjseTN","1dCO9ipQNM4ouaRskIc/fT","281ta4P2ZKc5eVF6CFK6LU","2d8KQLJsJHzr4NTTzUFkc3","509DSLyINOL48RziM7hZ+h","51HSYzCadL3axC93gDISSz","5dRaoA4GRJOLMUQmXwwiWM","609xlc7CpF67qUiVX2DoHQ","62C2vzA2lFYIN/KiwAtzwm","71Hr4R9nNM2ZqDY8YLpUxb","784FhKQ0NHJ4834U5lwqLb","81Dpbk5FZEaJtZ9OjzlzLA","87HDtsc3lBnb2jeUsjmrkN","8bvbzdXNRBALbVt8liW2EH","93Yf2QulJPhKqTboeP1XbK","97CwWYvLBHFJH7LoFEDczY","97G9sjP/ZD67QiHDAWWjZj","a3zQCfCrBCDZJ4uf2rk5u8","b51hFfA3BNfKrTwZTMcc+Y","baIUdvKGZPgZxNbjWTFuRI","bc1kzGLdlD9qu+ZjGNMyAy","c0FDkGmu1EfpQ2KuhRLRtu","c2chXYaDVLaL+7verGEAwE","d1NGQ2rJZCcbhjH0/erZWw","d9MFkNu5JMyIvRI80Cf57f","ddOhRNq39B8IK4LkOgkNSW","e9qpo+WytKx6LHBz3isrJP","ecgQb+Bb9OlJQ84NO3u15F","ef6OKj6s5Ce7Txy4qTfsd9","f0QW5oAgBLd6kmT50W5JTa","f9KAbXF2hEP6/oErzehNDw","fdoJXLgx1GAa2UhGATlj3o","ffm+GQIKROSLaMduPHz/CF","c89m0XNRpI2qEsAhLShXXE"],"paths":{"1":["db:/internal/default_materials/default-trail-material",1],"2":["db:/internal/default_materials/default-particle-gpu-material",1],"3":["db:/internal/effects/particles/builtin-particle-trail",0],"4":["db:/internal/effects/legacy/standard",0],"5":["db:/internal/effects/internal/builtin-graphics",0],"6":["db:/internal/effects/legacy/terrain",0],"7":["db:/internal/effects/pipeline/bloom",0],"8":["db:/internal/effects/pipeline/fxaa-hq",0],"9":["db:/internal/default_materials/ui-alpha-test-material",1],"10":["db:/internal/effects/pipeline/skybox",0],"11":["db:/internal/effects/pipeline/deferred-lighting",0],"12":["db:/internal/effects/for2d/builtin-sprite",0],"13":["db:/internal/default_materials/standard-material",1],"14":["db:/internal/effects/particles/builtin-billboard",0],"15":["db:/internal/default_materials/default-billboard-material",1],"16":["db:/internal/effects/internal/builtin-clear-stencil",0],"17":["db:/internal/effects/util/profiler",0],"18":["db:/internal/default_materials/default-clear-stencil",1],"19":["db:/internal/effects/pipeline/planar-shadow",0],"20":["db:/internal/effects/util/splash-screen",0],"21":["db:/internal/effects/particles/builtin-particle-gpu",0],"22":["db:/internal/effects/builtin-unlit",0],"23":["db:/internal/default_materials/default-spine-material",1],"24":["db:/internal/physics/default-physics-material",2],"25":["db:/internal/default_materials/missing-effect-material",1],"26":["db:/internal/default_materials/default-particle-material",1],"27":["db:/internal/effects/for2d/builtin-spine",0],"28":["db:/internal/effects/particles/builtin-particle",0],"29":["db:/internal/default_materials/missing-material",1],"30":["db:/internal/default_materials/ui-sprite-gray-alpha-sep-material",1],"31":["db:/internal/default_materials/ui-base-material",1],"32":["db:/internal/effects/pipeline/post-process",0],"33":["db:/internal/default_materials/ui-sprite-gray-material",1],"34":["db:/internal/default_materials/ui-graphics-material",1],"35":["db:/internal/default_materials/ui-sprite-alpha-sep-material",1],"36":["db:/internal/default_materials/ui-sprite-material",1],"37":["db:/internal/effects/internal/builtin-debug-renderer",0]},"scenes":{},"packs":{"06740d68c":["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","38","28","29","30","31","32","33","34","35","36","37"]},"versions":{"import":[],"native":[]},"redirect":[],"debug":false,"extensionMap":{},"hasPreloadScript":true,"types":["cc.EffectAsset","cc.Material","cc.PhysicsMaterial"]}
|
@ -0,0 +1,20 @@
|
||||
System.register("chunks:///_virtual/internal",[],(function(){return{execute:function(){}}}));
|
||||
|
||||
(function(r) {
|
||||
r('virtual:///prerequisite-imports/internal', 'chunks:///_virtual/internal');
|
||||
})(function(mid, cid) {
|
||||
System.register(mid, [cid], function (_export, _context) {
|
||||
return {
|
||||
setters: [function(_m) {
|
||||
var _exportObj = {};
|
||||
|
||||
for (var _key in _m) {
|
||||
if (_key !== "default" && _key !== "__esModule") _exportObj[_key] = _m[_key];
|
||||
}
|
||||
|
||||
_export(_exportObj);
|
||||
}],
|
||||
execute: function () { }
|
||||
};
|
||||
});
|
||||
});
|
@ -0,0 +1 @@
|
||||
{"importBase":"import","nativeBase":"native","name":"main","deps":["internal"],"uuids":["04QTZPo1JPPbsIFiERwDiO","083bc28a7","37seKJ9jNNgrdKwfFR4QFn","baIUdvKGZPgZxNbjWTFuRI","6fAc9/gb9Kfr1dCvwZaWSA@b47c0","6fAc9/gb9Kfr1dCvwZaWSA@b47c0@40c10","6fAc9/gb9Kfr1dCvwZaWSA@b47c0@74afd","6fAc9/gb9Kfr1dCvwZaWSA@b47c0@7d38f","6fAc9/gb9Kfr1dCvwZaWSA@b47c0@8fd34","6fAc9/gb9Kfr1dCvwZaWSA@b47c0@bb97f","6fAc9/gb9Kfr1dCvwZaWSA@b47c0@e9a6d","d0MqyYBeFAkIi762QNy1/B@b47c0","d0MqyYBeFAkIi762QNy1/B@b47c0@40c10","d0MqyYBeFAkIi762QNy1/B@b47c0@74afd","d0MqyYBeFAkIi762QNy1/B@b47c0@7d38f","d0MqyYBeFAkIi762QNy1/B@b47c0@8fd34","d0MqyYBeFAkIi762QNy1/B@b47c0@bb97f","d0MqyYBeFAkIi762QNy1/B@b47c0@e9a6d","fdjsU2o1RKF5x0TziDw3jI"],"paths":{"3":["db:/internal/physics/default-physics-material",1],"18":["db:/internal/default_renderpipeline/builtin-forward",0]},"scenes":{"db://assets/LoadScene/TutorialScene.scene":0,"db://assets/LoadScene/MainScenes.scene":2},"packs":{"083bc28a7":["2","4","5","6","7","8","9","10","11","12","13","14","15","16","17"]},"versions":{"import":[],"native":[]},"redirect":[3,"0"],"debug":false,"extensionMap":{},"hasPreloadScript":true,"types":["cc.RenderPipeline","cc.PhysicsMaterial"]}
|
@ -0,0 +1 @@
|
||||
[1,0,["node","_cameraComponent","transform","loadingLabel","scene","_parent"],[["cc.Node",["_name","_layer","_id","_components","_children","_lpos","_parent"],0,12,2,5,1],["cc.Widget",["_alignFlags","_originalWidth","_originalHeight","node","_target"],0,1,1],["cc.SceneAsset",["_name"],2],["cc.Scene",["_name","_children","_globals"],2,2,4],["cc.Node",["_name","_parent","_components","_lpos"],2,1,2,5],["cc.Camera",["_projection","_priority","_orthoHeight","_far","_visibility","node","_color"],-2,1,5],["cc.UITransform",["node","_contentSize"],3,1,5],["cc.Label",["_string","_actualFontSize","_fontSize","_overflow","_isBold","node"],-2,1],["cc.Canvas",["node","_cameraComponent"],3,1,1],["c5579RBoYdCRZMbCsSvuCqO",["node","loadingLabel","transform"],3,1,1,1],["cc.SceneGlobals",["ambient","shadows","_skybox","fog","octree","lightProbeInfo"],3,4,4,4,4,4,4],["cc.AmbientInfo",["_skyIllumLDR","_skyColorHDR","_skyColorLDR","_groundAlbedoLDR"],2,5,5,5],["cc.ShadowsInfo",["_shadowColor"],3,5],["cc.SkyboxInfo",[],3],["cc.FogInfo",[],3],["cc.OctreeInfo",[],3],["cc.LightProbeInfo",[],3]],[[6,0,1,1],[2,0,2],[3,0,1,2,2],[0,0,1,2,4,3,5,4],[0,0,1,6,3,3],[4,0,1,2,3,2],[5,0,1,2,3,4,5,6,6],[7,0,1,2,3,4,5,6],[1,0,1,2,3,4,4],[1,0,3,2],[8,0,1,1],[9,0,1,2,1],[10,0,1,2,3,4,5,1],[11,0,1,2,3,2],[12,0,1],[13,1],[14,1],[15,1],[16,1]],[[1,"TutorialScene"],[3,"Canvas",33554432,"f3a5zjj99IwbSu9+QJo93J",[-8,-9],[[-1,[10,-3,-2],[9,45,-4],[11,-7,-6,-5]],1,4,4,4],[1,480,320,0]],[4,"Label",33554432,1,[[[0,-10,[5,960,640]],-11,[8,45,720,100,-12,1]],4,1,4]],[2,"TutorialScene",[1],[12,[13,0.8,[2,0.2,0.5,0.8,0.520833125],[2,0.452588,0.607642,0.755699,0],[2,0.618555,0.577848,0.544564,0]],[14,[4,4283190348]],[15],[16],[17],[18]]],[5,"Camera",1,[-13],[1,0,0,1000]],[6,0,1073741824,389.6045197740113,2000,41943040,4,[4,4280427042]],[7,"ĐANG TẢI...",51,50,2,true,2],[0,1,[5,960,640]]],0,[0,-1,7,0,1,5,0,0,1,0,0,1,0,2,7,0,3,6,0,0,1,0,-1,4,0,-2,2,0,0,2,0,-2,6,0,0,2,0,-1,5,0,4,3,1,5,3,13],[],[],[]]
|
@ -0,0 +1 @@
|
||||
[1,["d0MqyYBeFAkIi762QNy1/B@b47c0","6fAc9/gb9Kfr1dCvwZaWSA@b47c0"],["node","_cameraComponent","scene","_parent","_envmapHDR","_envmapLDR"],["cc.ImageAsset",["cc.Node",["_name","_layer","_id","_components","_parent","_children","_lpos"],0,9,1,2,5],"cc.TextureCube",["cc.SceneAsset",["_name"],2],["cc.Node",["_name","_parent","_components","_lpos"],2,1,2,5],["cc.UITransform",["node","_contentSize"],3,1,5],["cc.Canvas",["node","_cameraComponent"],3,1,1],["cc.Widget",["_alignFlags","node"],2,1],["cc.Scene",["_name","_children","_globals"],2,2,4],["cc.SceneGlobals",["ambient","shadows","_skybox","fog","octree","lightProbeInfo"],3,4,4,4,4,4,4],["cc.AmbientInfo",["_skyIllumLDR","_skyColorHDR","_skyColorLDR","_groundAlbedoLDR"],2,5,5,5],["cc.ShadowsInfo",["_shadowColor"],3,5],["cc.SkyboxInfo",["_enabled","_envmapHDR","_envmapLDR"],2,6,6],["cc.FogInfo",[],3],["cc.OctreeInfo",[],3],["cc.LightProbeInfo",[],3],["cc.Label",["_string","_actualFontSize","_fontSize","_lineHeight","_isBold","node"],-2,1],["22459ipK0NCw6mRX2ud0qPM",["node"],3,1],["cc.Camera",["_projection","_priority","_orthoHeight","_far","_visibility","node","_color"],-2,1,5]],[[5,0,1,1],[3,0,2],[1,0,1,2,5,3,6,4],[1,0,1,4,3,3],[1,0,2,4,3,3],[4,0,1,2,3,2],[6,0,1,1],[7,0,1,2],[8,0,1,2,2],[9,0,1,2,3,4,5,1],[10,0,1,2,3,2],[11,0,1],[12,0,1,2,2],[13,1],[14,1],[15,1],[16,0,1,2,3,4,5,6],[17,0,1],[18,0,1,2,3,4,5,6,6]],[[[[1,"MainScenes"],[2,"Canvas",33554432,"8bRXFHfDdHqIuQPSmgb/GK",[-5,-6],[[0,-1,[5,960,640]],[6,-3,-2],[7,45,-4]],[1,480,320,0]],[8,"MainScenes",[-7,1],[9,[10,0.8,[2,0.2,0.5,0.8,0.520833125],[2,0.452588,0.607642,0.755699,0],[2,0.618555,0.577848,0.544564,0]],[11,[4,4283190348]],[12,true,0,1],[13],[14],[15]]],[3,"Label",33554432,1,[[0,-8,[5,435.55,126]],[16,"LOADING...",80,80,100,true,-9]]],[4,"Checker","68RCIYRyhCRpcmlEucOq9o",2,[[17,-10]]],[5,"Camera",1,[-11],[1,0,0,1000]],[18,0,1073741824,389.6045197740113,2000,41943040,5,[4,4281348144]]],0,[0,0,1,0,1,6,0,0,1,0,0,1,0,-1,5,0,-2,3,0,-1,4,0,0,3,0,0,3,0,0,4,0,-1,6,0,2,2,1,3,2,11],[0,0],[4,5],[0,1]],[[{"base":"2,2,0,0,2,0","rgbe":false,"mipmaps":[{"front":"6fAc9/gb9Kfr1dCvwZaWSA@b47c0@e9a6d","back":"6fAc9/gb9Kfr1dCvwZaWSA@b47c0@40c10","left":"6fAc9/gb9Kfr1dCvwZaWSA@b47c0@8fd34","right":"6fAc9/gb9Kfr1dCvwZaWSA@b47c0@74afd","top":"6fAc9/gb9Kfr1dCvwZaWSA@b47c0@bb97f","bottom":"6fAc9/gb9Kfr1dCvwZaWSA@b47c0@7d38f"}]}],[2],0,[],[],[]],[[{"fmt":"0","w":0,"h":0},-1],[0],0,[],[],[]],[[{"fmt":"0","w":0,"h":0},-1],[0],0,[],[],[]],[[{"fmt":"0","w":0,"h":0},-1],[0],0,[],[],[]],[[{"fmt":"0","w":0,"h":0},-1],[0],0,[],[],[]],[[{"fmt":"0","w":0,"h":0},-1],[0],0,[],[],[]],[[{"fmt":"0","w":0,"h":0},-1],[0],0,[],[],[]],[[{"base":"2,2,0,0,2,0","rgbe":true,"mipmaps":[{"front":"d0MqyYBeFAkIi762QNy1/B@b47c0@e9a6d","back":"d0MqyYBeFAkIi762QNy1/B@b47c0@40c10","left":"d0MqyYBeFAkIi762QNy1/B@b47c0@8fd34","right":"d0MqyYBeFAkIi762QNy1/B@b47c0@74afd","top":"d0MqyYBeFAkIi762QNy1/B@b47c0@bb97f","bottom":"d0MqyYBeFAkIi762QNy1/B@b47c0@7d38f"}]}],[2],0,[],[],[]],[[{"fmt":"0","w":0,"h":0},-1],[0],0,[],[],[]],[[{"fmt":"0","w":0,"h":0},-1],[0],0,[],[],[]],[[{"fmt":"0","w":0,"h":0},-1],[0],0,[],[],[]],[[{"fmt":"0","w":0,"h":0},-1],[0],0,[],[],[]],[[{"fmt":"0","w":0,"h":0},-1],[0],0,[],[],[]],[[{"fmt":"0","w":0,"h":0},-1],[0],0,[],[],[]]]]
|
@ -0,0 +1 @@
|
||||
[1,0,0,[["RenderQueueDesc",["stages","isTransparent","sortMode"],0],["ForwardPipeline",["_flows"],3,9],["ShadowFlow",["_name","_stages"],2,9],["ShadowStage",["_name"],2],["ForwardFlow",["_name","_priority","_stages"],1,9],["ForwardStage",["_name","renderQueues"],2,9]],[[1,0,1],[2,0,1,2],[3,0,2],[4,0,1,2,3],[5,0,1,2],[0,0,2],[0,1,2,0,4]],[[0,[[1,"ShadowFlow",[[2,"ShadowStage"]]],[3,"ForwardFlow",1,[[4,"ForwardStage",[[5,["default"]],[6,true,1,["default"]]]]]]]]],0,0,[],[],[]]
|
After Width: | Height: | Size: 53 KiB |
After Width: | Height: | Size: 53 KiB |
After Width: | Height: | Size: 6.0 KiB |
After Width: | Height: | Size: 56 KiB |
After Width: | Height: | Size: 59 KiB |
After Width: | Height: | Size: 47 KiB |
After Width: | Height: | Size: 97 KiB |
After Width: | Height: | Size: 115 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 101 KiB |
After Width: | Height: | Size: 114 KiB |
After Width: | Height: | Size: 113 KiB |
@ -0,0 +1,29 @@
|
||||
|
||||
|
||||
// SystemJS support.
|
||||
window.self = window;
|
||||
require("src/system.bundle.js");
|
||||
|
||||
const importMapJson = jsb.fileUtils.getStringFromFile("src/import-map.json");
|
||||
const importMap = JSON.parse(importMapJson);
|
||||
System.warmup({
|
||||
importMap,
|
||||
importMapUrl: 'src/import-map.json',
|
||||
defaultHandler: (urlNoSchema) => {
|
||||
require(urlNoSchema.startsWith('/') ? urlNoSchema.substr(1) : urlNoSchema);
|
||||
},
|
||||
});
|
||||
|
||||
System.import('./src/application.js')
|
||||
.then(({ Application }) => {
|
||||
return new Application();
|
||||
}).then((application) => {
|
||||
return System.import('cc').then((cc) => {
|
||||
require('jsb-adapter/engine-adapter.js');
|
||||
return application.init(cc);
|
||||
}).then(() => {
|
||||
return application.start();
|
||||
});
|
||||
}).catch((err) => {
|
||||
console.error(err.toString() + ', stack: ' + err.stack);
|
||||
});
|
@ -0,0 +1,48 @@
|
||||
System.register([], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
var Application, cc;
|
||||
|
||||
_export("Application", void 0);
|
||||
|
||||
return {
|
||||
setters: [],
|
||||
execute: function () {
|
||||
_export("Application", Application = class Application {
|
||||
constructor() {
|
||||
this.settingsPath = 'src/settings.json';
|
||||
this.showFPS = false;
|
||||
}
|
||||
|
||||
init(engine) {
|
||||
cc = engine;
|
||||
cc.game.onPostBaseInitDelegate.add(this.onPostInitBase.bind(this));
|
||||
cc.game.onPostSubsystemInitDelegate.add(this.onPostSystemInit.bind(this));
|
||||
}
|
||||
|
||||
onPostInitBase() {// cc.settings.overrideSettings('assets', 'server', '');
|
||||
// do custom logic
|
||||
}
|
||||
|
||||
onPostSystemInit() {// do custom logic
|
||||
}
|
||||
|
||||
start() {
|
||||
return cc.game.init({
|
||||
debugMode: false ? cc.DebugMode.INFO : cc.DebugMode.ERROR,
|
||||
settingsPath: this.settingsPath,
|
||||
overrideSettings: {
|
||||
// assets: {
|
||||
// preloadBundles: [{ bundle: 'main', version: 'xxx' }],
|
||||
// }
|
||||
profiling: {
|
||||
showFPS: this.showFPS
|
||||
}
|
||||
}
|
||||
}).then(() => cc.game.run());
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
};
|
||||
});
|
@ -0,0 +1,4 @@
|
||||
System.register([], function(_export, _context) { return { execute: function () {
|
||||
System.register("chunks:///_virtual/rollupPluginModLoBabelHelpers.js",[],(function(e){return{execute:function(){e({applyDecoratedDescriptor:function(e,i,r,n,l){var t={};Object.keys(n).forEach((function(e){t[e]=n[e]})),t.enumerable=!!t.enumerable,t.configurable=!!t.configurable,("value"in t||t.initializer)&&(t.writable=!0);t=r.slice().reverse().reduce((function(r,n){return n(e,i,r)||r}),t),l&&void 0!==t.initializer&&(t.value=t.initializer?t.initializer.call(l):void 0,t.initializer=void 0);void 0===t.initializer&&(Object.defineProperty(e,i,t),t=null);return t},initializerDefineProperty:function(e,i,r,n){if(!r)return;Object.defineProperty(e,i,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(n):void 0})}})}}}));
|
||||
|
||||
} }; });
|
@ -0,0 +1 @@
|
||||
System.register(["./instantiated-a2ef334a.js"],(function(t){"use strict";return{setters:[function(e){t("default",e.gY)}],execute:function(){}}}));
|
@ -0,0 +1 @@
|
||||
{"imports":{"cc":"./cocos-js/cc.js","wait-for-ammo-instantiation":"./cocos-js/wait-for-ammo-instantiation.js"}}
|
@ -0,0 +1,524 @@
|
||||
# This is the CMakeCache file.
|
||||
# For build in directory: /Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/build/ios/proj
|
||||
# It was generated by CMake: /Applications/Cocos/Creator/3.7.3/CocosCreator.app/Contents/Resources/tools/cmake/bin/cmake
|
||||
# You can edit this file to change values found and used by cmake.
|
||||
# If you do not want to change any of the values, simply exit the editor.
|
||||
# If you do want to change a value, simply edit, save, and exit the editor.
|
||||
# The syntax for the file is as follows:
|
||||
# KEY:TYPE=VALUE
|
||||
# KEY is the name of a variable in the cache.
|
||||
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
|
||||
# VALUE is the current value for the KEY.
|
||||
|
||||
########################
|
||||
# EXTERNAL cache entries
|
||||
########################
|
||||
|
||||
//Project Name
|
||||
APP_NAME:STRING=CricMania
|
||||
|
||||
//Path to a program.
|
||||
CCACHE_EXECUTABLE:FILEPATH=CCACHE_EXECUTABLE-NOTFOUND
|
||||
|
||||
//Force enable CC_DEBUG in release mode
|
||||
CC_DEBUG_FORCE:BOOL=OFF
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_ADDR2LINE:FILEPATH=CMAKE_ADDR2LINE-NOTFOUND
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_AR:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar
|
||||
|
||||
//ASM compiler
|
||||
CMAKE_ASM_COMPILER:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
|
||||
|
||||
//LLVM archiver
|
||||
CMAKE_ASM_COMPILER_AR:FILEPATH=CMAKE_ASM_COMPILER_AR-NOTFOUND
|
||||
|
||||
//Generate index for LLVM archive
|
||||
CMAKE_ASM_COMPILER_RANLIB:FILEPATH=CMAKE_ASM_COMPILER_RANLIB-NOTFOUND
|
||||
|
||||
//Flags used by the ASM compiler during all build types.
|
||||
CMAKE_ASM_FLAGS:STRING=
|
||||
|
||||
//Flags used by the ASM compiler during DEBUG builds.
|
||||
CMAKE_ASM_FLAGS_DEBUG:STRING=-g
|
||||
|
||||
//Flags used by the ASM compiler during MINSIZEREL builds.
|
||||
CMAKE_ASM_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
||||
|
||||
//Flags used by the ASM compiler during RELEASE builds.
|
||||
CMAKE_ASM_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
||||
|
||||
//Flags used by the ASM compiler during RELWITHDEBINFO builds.
|
||||
CMAKE_ASM_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
||||
|
||||
//Semicolon separated list of supported configuration types, only
|
||||
// supports Debug, Release, MinSizeRel, and RelWithDebInfo, anything
|
||||
// else will be ignored.
|
||||
CMAKE_CONFIGURATION_TYPES:STRING=Debug;Release;MinSizeRel;RelWithDebInfo
|
||||
|
||||
//No help, variable specified on the command line.
|
||||
CMAKE_CXX_COMPILER:UNINITIALIZED=clang++
|
||||
|
||||
//Flags used by the CXX compiler during all build types.
|
||||
CMAKE_CXX_FLAGS:STRING=
|
||||
|
||||
//Flags used by the CXX compiler during DEBUG builds.
|
||||
CMAKE_CXX_FLAGS_DEBUG:STRING=-g
|
||||
|
||||
//Flags used by the CXX compiler during MINSIZEREL builds.
|
||||
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
||||
|
||||
//Flags used by the CXX compiler during RELEASE builds.
|
||||
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
||||
|
||||
//Flags used by the CXX compiler during RELWITHDEBINFO builds.
|
||||
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
||||
|
||||
//No help, variable specified on the command line.
|
||||
CMAKE_C_COMPILER:UNINITIALIZED=clang
|
||||
|
||||
//Flags used by the C compiler during all build types.
|
||||
CMAKE_C_FLAGS:STRING=
|
||||
|
||||
//Flags used by the C compiler during DEBUG builds.
|
||||
CMAKE_C_FLAGS_DEBUG:STRING=-g
|
||||
|
||||
//Flags used by the C compiler during MINSIZEREL builds.
|
||||
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
||||
|
||||
//Flags used by the C compiler during RELEASE builds.
|
||||
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
||||
|
||||
//Flags used by the C compiler during RELWITHDEBINFO builds.
|
||||
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND
|
||||
|
||||
//Flags used by the linker during all build types.
|
||||
CMAKE_EXE_LINKER_FLAGS:STRING=
|
||||
|
||||
//Flags used by the linker during DEBUG builds.
|
||||
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
|
||||
|
||||
//Flags used by the linker during MINSIZEREL builds.
|
||||
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||
|
||||
//Flags used by the linker during RELEASE builds.
|
||||
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
|
||||
|
||||
//Flags used by the linker during RELWITHDEBINFO builds.
|
||||
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||
|
||||
//Value Computed by CMake.
|
||||
CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=/Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/build/ios/proj/CMakeFiles/pkgRedirects
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_INSTALL_NAME_TOOL:FILEPATH=/usr/bin/install_name_tool
|
||||
|
||||
//Install path prefix, prepended onto install directories.
|
||||
CMAKE_INSTALL_PREFIX:PATH=/usr/local
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_LINKER:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
|
||||
|
||||
//Flags used by the linker during the creation of modules during
|
||||
// all build types.
|
||||
CMAKE_MODULE_LINKER_FLAGS:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of modules during
|
||||
// DEBUG builds.
|
||||
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of modules during
|
||||
// MINSIZEREL builds.
|
||||
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of modules during
|
||||
// RELEASE builds.
|
||||
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of modules during
|
||||
// RELWITHDEBINFO builds.
|
||||
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_NM:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_OBJCOPY:FILEPATH=CMAKE_OBJCOPY-NOTFOUND
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_OBJDUMP:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump
|
||||
|
||||
//Build architectures for OSX
|
||||
CMAKE_OSX_ARCHITECTURES:STRING=
|
||||
|
||||
//The product will be built against the headers and libraries located
|
||||
// inside the indicated SDK.
|
||||
CMAKE_OSX_SYSROOT:STRING=iphoneos
|
||||
|
||||
//Value Computed by CMake
|
||||
CMAKE_PROJECT_DESCRIPTION:STATIC=
|
||||
|
||||
//Value Computed by CMake
|
||||
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
|
||||
|
||||
//Value Computed by CMake
|
||||
CMAKE_PROJECT_NAME:STATIC=CricMania
|
||||
|
||||
//Value Computed by CMake
|
||||
CMAKE_PROJECT_VERSION:STATIC=
|
||||
|
||||
//Value Computed by CMake
|
||||
CMAKE_PROJECT_VERSION_MAJOR:STATIC=
|
||||
|
||||
//Value Computed by CMake
|
||||
CMAKE_PROJECT_VERSION_MINOR:STATIC=
|
||||
|
||||
//Value Computed by CMake
|
||||
CMAKE_PROJECT_VERSION_PATCH:STATIC=
|
||||
|
||||
//Value Computed by CMake
|
||||
CMAKE_PROJECT_VERSION_TWEAK:STATIC=
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_RANLIB:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_READELF:FILEPATH=CMAKE_READELF-NOTFOUND
|
||||
|
||||
//Flags used by the linker during the creation of shared libraries
|
||||
// during all build types.
|
||||
CMAKE_SHARED_LINKER_FLAGS:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of shared libraries
|
||||
// during DEBUG builds.
|
||||
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of shared libraries
|
||||
// during MINSIZEREL builds.
|
||||
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of shared libraries
|
||||
// during RELEASE builds.
|
||||
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of shared libraries
|
||||
// during RELWITHDEBINFO builds.
|
||||
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||
|
||||
//If set, runtime paths are not added when installing shared libraries,
|
||||
// but are added when building.
|
||||
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
|
||||
|
||||
//If set, runtime paths are not added when using shared libraries.
|
||||
CMAKE_SKIP_RPATH:BOOL=NO
|
||||
|
||||
//Flags used by the linker during the creation of static libraries
|
||||
// during all build types.
|
||||
CMAKE_STATIC_LINKER_FLAGS:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of static libraries
|
||||
// during DEBUG builds.
|
||||
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of static libraries
|
||||
// during MINSIZEREL builds.
|
||||
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of static libraries
|
||||
// during RELEASE builds.
|
||||
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of static libraries
|
||||
// during RELWITHDEBINFO builds.
|
||||
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_STRIP:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip
|
||||
|
||||
//No help, variable specified on the command line.
|
||||
CMAKE_SYSTEM_NAME:UNINITIALIZED=iOS
|
||||
|
||||
//If this value is on, makefiles will be generated without the
|
||||
// .SILENT directive, and all commands will be echoed to the console
|
||||
// during the make. This is useful for debugging only. With Visual
|
||||
// Studio IDE projects all commands are done without /nologo.
|
||||
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
|
||||
|
||||
//Path to engine/native/
|
||||
COCOS_X_PATH:STRING=
|
||||
|
||||
//Value Computed by CMake
|
||||
CricMania_BINARY_DIR:STATIC=/Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/build/ios/proj
|
||||
|
||||
//Value Computed by CMake
|
||||
CricMania_IS_TOP_LEVEL:STATIC=ON
|
||||
|
||||
//Value Computed by CMake
|
||||
CricMania_SOURCE_DIR:STATIC=/Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/native/engine/ios
|
||||
|
||||
//APPLE Developtment Team
|
||||
DEVELOPMENT_TEAM:STRING=
|
||||
|
||||
//No help, variable specified on the command line.
|
||||
LAUNCH_TYPE:UNINITIALIZED=Release
|
||||
|
||||
//Path to a program.
|
||||
NODE_EXECUTABLE:FILEPATH=/usr/local/bin/node
|
||||
|
||||
//Resource path
|
||||
RES_DIR:STRING=/Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/build/ios
|
||||
|
||||
//Target iOS version
|
||||
TARGET_IOS_VERSION:STRING=11.0
|
||||
|
||||
//Target MacOSX version
|
||||
TARGET_OSX_VERSION:STRING=10.14
|
||||
|
||||
//Path to a program.
|
||||
TSC_EXECUTABLE:FILEPATH=TSC_EXECUTABLE-NOTFOUND
|
||||
|
||||
//Enable Audio
|
||||
USE_AUDIO:BOOL=ON
|
||||
|
||||
//Use Debug Renderer
|
||||
USE_DEBUG_RENDERER:BOOL=ON
|
||||
|
||||
//Enable Dragonbones
|
||||
USE_DRAGONBONES:BOOL=ON
|
||||
|
||||
//Enable EditBox
|
||||
USE_EDIT_BOX:BOOL=ON
|
||||
|
||||
//Use Geometry Renderer
|
||||
USE_GEOMETRY_RENDERER:BOOL=ON
|
||||
|
||||
//Use taskflow as job system backend
|
||||
USE_JOB_SYSTEM_TASKFLOW:BOOL=OFF
|
||||
|
||||
//Use tbb as job system backend
|
||||
USE_JOB_SYSTEM_TBB:BOOL=OFF
|
||||
|
||||
//Enable Middleware
|
||||
USE_MIDDLEWARE:BOOL=ON
|
||||
|
||||
//Use Occlusion Query
|
||||
USE_OCCLUSION_QUERY:BOOL=ON
|
||||
|
||||
//Use PhysX Physics
|
||||
USE_PHYSICS_PHYSX:BOOL=ON
|
||||
|
||||
//Use JavaScriptCore on MacOSX/iOS
|
||||
USE_SE_JSC:BOOL=OFF
|
||||
|
||||
//Use V8 JavaScript Engine
|
||||
USE_SE_V8:BOOL=ON
|
||||
|
||||
//Enable WebSocket & SocketIO
|
||||
USE_SOCKET:BOOL=ON
|
||||
|
||||
//Enable Spine
|
||||
USE_SPINE:BOOL=ON
|
||||
|
||||
//Compile v8 inspector ws server
|
||||
USE_V8_DEBUGGER:BOOL=ON
|
||||
|
||||
//Force enable debugger in release mode
|
||||
USE_V8_DEBUGGER_FORCE:BOOL=OFF
|
||||
|
||||
//Enable VideoPlayer Component
|
||||
USE_VIDEO:BOOL=ON
|
||||
|
||||
//Use Webp
|
||||
USE_WEBP:BOOL=ON
|
||||
|
||||
//Enable WebSocket Server
|
||||
USE_WEBSOCKET_SERVER:BOOL=OFF
|
||||
|
||||
//Enable WebView Component
|
||||
USE_WEBVIEW:BOOL=ON
|
||||
|
||||
//Value Computed by CMake
|
||||
boost_container_BINARY_DIR:STATIC=/Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/build/ios/proj/boost/container
|
||||
|
||||
//Value Computed by CMake
|
||||
boost_container_IS_TOP_LEVEL:STATIC=OFF
|
||||
|
||||
//Value Computed by CMake
|
||||
boost_container_SOURCE_DIR:STATIC=/Users/sreeraj/WorkSpace/Projects/Resources/CustomEngines/cc373_1.8/engine/native/external/sources/boost-source/container
|
||||
|
||||
//Dependencies for the target
|
||||
cocos_engine_LIB_DEPENDS:STATIC=general;-liconv;general;-framework AudioToolbox;general;-framework Foundation;general;-framework OpenAL;general;-framework GameController;general;-framework Metal;general;-framework MetalKit;general;-framework QuartzCore;general;-framework MetalPerformanceShaders;general;-lsqlite3;general;-framework Security;general;-framework SystemConfiguration;general;$(inherited);general;boost_container;general;ssl;general;crypto;general;jpeg;general;png;general;webp;general;glslang;general;glslang-default-resource-limits;general;MachineIndependent;general;OGLCompiler;general;OSDependent;general;SPIRV;general;SPIRV-Tools-opt;general;SPIRV-Tools;general;GenericCodeGen;general;spirv-cross-core;general;spirv-cross-glsl;general;spirv-cross-msl;general;tbb;general;v8_monolith;general;uv;general;-framework QuartzCore;general;-framework MetalPerformanceShaders;general;-framework UIKit;general;-framework AVKit;general;-framework WebKit;general;-framework CoreVideo;general;-framework CoreMotion;general;-framework CFNetwork;general;-framework CoreMedia;general;-framework CoreText;general;-framework CoreGraphics;general;-framework AVFoundation;general;-lz;general;-framework OpenGLES;general;-framework JavaScriptCore;
|
||||
|
||||
|
||||
########################
|
||||
# INTERNAL cache entries
|
||||
########################
|
||||
|
||||
//Stored Xcode object GUID
|
||||
ALL_BUILD_GUID_CMAKE:INTERNAL=8F3728DD142643CC8D78A9A8
|
||||
CC_USE_GLES2:INTERNAL=OFF
|
||||
CC_USE_GLES3:INTERNAL=OFF
|
||||
CC_USE_METAL:INTERNAL=ON
|
||||
CC_USE_VULKAN:INTERNAL=OFF
|
||||
//ADVANCED property for variable: CMAKE_ADDR2LINE
|
||||
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_AR
|
||||
CMAKE_AR-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_ASM_COMPILER
|
||||
CMAKE_ASM_COMPILER-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_ASM_COMPILER_AR
|
||||
CMAKE_ASM_COMPILER_AR-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_ASM_COMPILER_RANLIB
|
||||
CMAKE_ASM_COMPILER_RANLIB-ADVANCED:INTERNAL=1
|
||||
CMAKE_ASM_COMPILER_WORKS:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_ASM_FLAGS
|
||||
CMAKE_ASM_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_ASM_FLAGS_DEBUG
|
||||
CMAKE_ASM_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_ASM_FLAGS_MINSIZEREL
|
||||
CMAKE_ASM_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_ASM_FLAGS_RELEASE
|
||||
CMAKE_ASM_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_ASM_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_ASM_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//This is the directory where this CMakeCache.txt was created
|
||||
CMAKE_CACHEFILE_DIR:INTERNAL=/Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/build/ios/proj
|
||||
//Major version of cmake used to create the current loaded cache
|
||||
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
|
||||
//Minor version of cmake used to create the current loaded cache
|
||||
CMAKE_CACHE_MINOR_VERSION:INTERNAL=24
|
||||
//Patch version of cmake used to create the current loaded cache
|
||||
CMAKE_CACHE_PATCH_VERSION:INTERNAL=3
|
||||
//Path to CMake executable.
|
||||
CMAKE_COMMAND:INTERNAL=/Applications/Cocos/Creator/3.7.3/CocosCreator.app/Contents/Resources/tools/cmake/bin/cmake
|
||||
//Path to cpack program executable.
|
||||
CMAKE_CPACK_COMMAND:INTERNAL=/Applications/Cocos/Creator/3.7.3/CocosCreator.app/Contents/Resources/tools/cmake/bin/cpack
|
||||
//Path to ctest program executable.
|
||||
CMAKE_CTEST_COMMAND:INTERNAL=/Applications/Cocos/Creator/3.7.3/CocosCreator.app/Contents/Resources/tools/cmake/bin/ctest
|
||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS
|
||||
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
|
||||
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
|
||||
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
|
||||
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_FLAGS
|
||||
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
|
||||
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
|
||||
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
|
||||
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_DLLTOOL
|
||||
CMAKE_DLLTOOL-ADVANCED:INTERNAL=1
|
||||
//Executable file format
|
||||
CMAKE_EXECUTABLE_FORMAT:INTERNAL=MACHO
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
|
||||
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
|
||||
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
|
||||
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
|
||||
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//Name of external makefile project generator.
|
||||
CMAKE_EXTRA_GENERATOR:INTERNAL=
|
||||
//Name of generator.
|
||||
CMAKE_GENERATOR:INTERNAL=Xcode
|
||||
//Generator instance identifier.
|
||||
CMAKE_GENERATOR_INSTANCE:INTERNAL=
|
||||
//Name of generator platform.
|
||||
CMAKE_GENERATOR_PLATFORM:INTERNAL=
|
||||
//Name of generator toolset.
|
||||
CMAKE_GENERATOR_TOOLSET:INTERNAL=buildsystem=12
|
||||
//Source directory with the top level CMakeLists.txt file for this
|
||||
// project
|
||||
CMAKE_HOME_DIRECTORY:INTERNAL=/Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/native/engine/ios
|
||||
//ADVANCED property for variable: CMAKE_INSTALL_NAME_TOOL
|
||||
CMAKE_INSTALL_NAME_TOOL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_LINKER
|
||||
CMAKE_LINKER-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
|
||||
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
|
||||
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
|
||||
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
|
||||
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_NM
|
||||
CMAKE_NM-ADVANCED:INTERNAL=1
|
||||
//number of local generators
|
||||
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=2
|
||||
//ADVANCED property for variable: CMAKE_OBJCOPY
|
||||
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_OBJDUMP
|
||||
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
|
||||
//Platform information initialized
|
||||
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_RANLIB
|
||||
CMAKE_RANLIB-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_READELF
|
||||
CMAKE_READELF-ADVANCED:INTERNAL=1
|
||||
//Path to CMake installation.
|
||||
CMAKE_ROOT:INTERNAL=/Applications/Cocos/Creator/3.7.3/CocosCreator.app/Contents/Resources/tools/cmake/share/cmake-3.24
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
|
||||
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
|
||||
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
|
||||
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
|
||||
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
|
||||
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SKIP_RPATH
|
||||
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
|
||||
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
|
||||
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
|
||||
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
|
||||
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STRIP
|
||||
CMAKE_STRIP-ADVANCED:INTERNAL=1
|
||||
//uname command
|
||||
CMAKE_UNAME:INTERNAL=/usr/bin/uname
|
||||
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
|
||||
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
|
||||
//Stored Xcode object GUID
|
||||
CricMania-mobile_GUID_CMAKE:INTERNAL=AD7C76EC23A748B8B0D6DAE6
|
||||
//Stored Xcode object GUID
|
||||
PROJECT_CricMania_GUID_CMAKE:INTERNAL=901C211FA87D491E9378971B
|
||||
//Stored Xcode object GUID
|
||||
PROJECT_boost_container_GUID_CMAKE:INTERNAL=1BABB2D6A3334964958261DF
|
||||
//Stored Xcode object GUID
|
||||
ZERO_CHECK_GUID_CMAKE:INTERNAL=1F3054EB4925481881999C66
|
||||
//Stored Xcode object GUID
|
||||
boost_container_GUID_CMAKE:INTERNAL=281261AF686D428FA03E3D39
|
||||
//Stored Xcode object GUID
|
||||
builtin-res_GUID_CMAKE:INTERNAL=CD0C1D77979F4458834F2B73
|
||||
//Stored Xcode object GUID
|
||||
cocos_engine_GUID_CMAKE:INTERNAL=F3B798B549944408AF10556B
|
||||
|
@ -0,0 +1,20 @@
|
||||
set(CMAKE_ASM_COMPILER "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang")
|
||||
set(CMAKE_ASM_COMPILER_ARG1 "")
|
||||
set(CMAKE_AR "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar")
|
||||
set(CMAKE_ASM_COMPILER_AR "CMAKE_ASM_COMPILER_AR-NOTFOUND")
|
||||
set(CMAKE_RANLIB "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib")
|
||||
set(CMAKE_ASM_COMPILER_RANLIB "CMAKE_ASM_COMPILER_RANLIB-NOTFOUND")
|
||||
set(CMAKE_LINKER "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld")
|
||||
set(CMAKE_MT "")
|
||||
set(CMAKE_ASM_COMPILER_LOADED 1)
|
||||
set(CMAKE_ASM_COMPILER_ID "Clang")
|
||||
set(CMAKE_ASM_COMPILER_VERSION "")
|
||||
set(CMAKE_ASM_COMPILER_ENV_VAR "ASM")
|
||||
set(CMAKE_ASM_COMPILER_ID_VENDOR_MATCH [==[clang version]==])
|
||||
|
||||
|
||||
|
||||
set(CMAKE_ASM_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
||||
set(CMAKE_ASM_LINKER_PREFERENCE 0)
|
||||
|
||||
|
@ -0,0 +1,72 @@
|
||||
set(CMAKE_C_COMPILER "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang")
|
||||
set(CMAKE_C_COMPILER_ARG1 "")
|
||||
set(CMAKE_C_COMPILER_ID "AppleClang")
|
||||
set(CMAKE_C_COMPILER_VERSION "16.0.0.16000026")
|
||||
set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
|
||||
set(CMAKE_C_COMPILER_WRAPPER "")
|
||||
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "17")
|
||||
set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "ON")
|
||||
set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert;c_std_17;c_std_23")
|
||||
set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes")
|
||||
set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros")
|
||||
set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert")
|
||||
set(CMAKE_C17_COMPILE_FEATURES "c_std_17")
|
||||
set(CMAKE_C23_COMPILE_FEATURES "c_std_23")
|
||||
|
||||
set(CMAKE_C_PLATFORM_ID "Darwin")
|
||||
set(CMAKE_C_SIMULATE_ID "")
|
||||
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "")
|
||||
set(CMAKE_C_SIMULATE_VERSION "")
|
||||
|
||||
|
||||
|
||||
set(CMAKE_XCODE_ARCHS "arm64")
|
||||
set(CMAKE_AR "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar")
|
||||
set(CMAKE_C_COMPILER_AR "")
|
||||
set(CMAKE_RANLIB "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib")
|
||||
set(CMAKE_C_COMPILER_RANLIB "")
|
||||
set(CMAKE_LINKER "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld")
|
||||
set(CMAKE_MT "")
|
||||
set(CMAKE_COMPILER_IS_GNUCC )
|
||||
set(CMAKE_C_COMPILER_LOADED 1)
|
||||
set(CMAKE_C_COMPILER_WORKS TRUE)
|
||||
set(CMAKE_C_ABI_COMPILED TRUE)
|
||||
|
||||
set(CMAKE_C_COMPILER_ENV_VAR "CC")
|
||||
|
||||
set(CMAKE_C_COMPILER_ID_RUN 1)
|
||||
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
|
||||
set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
||||
set(CMAKE_C_LINKER_PREFERENCE 10)
|
||||
|
||||
# Save compiler ABI information.
|
||||
set(CMAKE_C_SIZEOF_DATA_PTR "8")
|
||||
set(CMAKE_C_COMPILER_ABI "")
|
||||
set(CMAKE_C_BYTE_ORDER "LITTLE_ENDIAN")
|
||||
set(CMAKE_C_LIBRARY_ARCHITECTURE "")
|
||||
|
||||
if(CMAKE_C_SIZEOF_DATA_PTR)
|
||||
set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
|
||||
endif()
|
||||
|
||||
if(CMAKE_C_COMPILER_ABI)
|
||||
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
|
||||
endif()
|
||||
|
||||
if(CMAKE_C_LIBRARY_ARCHITECTURE)
|
||||
set(CMAKE_LIBRARY_ARCHITECTURE "")
|
||||
endif()
|
||||
|
||||
set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
|
||||
if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
|
||||
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
|
||||
endif()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/16/include;/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/usr/include;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include")
|
||||
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "")
|
||||
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "")
|
||||
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
@ -0,0 +1,83 @@
|
||||
set(CMAKE_CXX_COMPILER "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++")
|
||||
set(CMAKE_CXX_COMPILER_ARG1 "")
|
||||
set(CMAKE_CXX_COMPILER_ID "AppleClang")
|
||||
set(CMAKE_CXX_COMPILER_VERSION "16.0.0.16000026")
|
||||
set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "")
|
||||
set(CMAKE_CXX_COMPILER_WRAPPER "")
|
||||
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "98")
|
||||
set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "ON")
|
||||
set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17;cxx_std_20;cxx_std_23")
|
||||
set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters")
|
||||
set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates")
|
||||
set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
|
||||
set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17")
|
||||
set(CMAKE_CXX20_COMPILE_FEATURES "cxx_std_20")
|
||||
set(CMAKE_CXX23_COMPILE_FEATURES "cxx_std_23")
|
||||
|
||||
set(CMAKE_CXX_PLATFORM_ID "Darwin")
|
||||
set(CMAKE_CXX_SIMULATE_ID "")
|
||||
set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "")
|
||||
set(CMAKE_CXX_SIMULATE_VERSION "")
|
||||
|
||||
|
||||
|
||||
set(CMAKE_XCODE_ARCHS "arm64")
|
||||
set(CMAKE_AR "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar")
|
||||
set(CMAKE_CXX_COMPILER_AR "")
|
||||
set(CMAKE_RANLIB "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib")
|
||||
set(CMAKE_CXX_COMPILER_RANLIB "")
|
||||
set(CMAKE_LINKER "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld")
|
||||
set(CMAKE_MT "")
|
||||
set(CMAKE_COMPILER_IS_GNUCXX )
|
||||
set(CMAKE_CXX_COMPILER_LOADED 1)
|
||||
set(CMAKE_CXX_COMPILER_WORKS TRUE)
|
||||
set(CMAKE_CXX_ABI_COMPILED TRUE)
|
||||
|
||||
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
|
||||
|
||||
set(CMAKE_CXX_COMPILER_ID_RUN 1)
|
||||
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm)
|
||||
set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
||||
|
||||
foreach (lang C OBJC OBJCXX)
|
||||
if (CMAKE_${lang}_COMPILER_ID_RUN)
|
||||
foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS)
|
||||
list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension})
|
||||
endforeach()
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
set(CMAKE_CXX_LINKER_PREFERENCE 30)
|
||||
set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
|
||||
|
||||
# Save compiler ABI information.
|
||||
set(CMAKE_CXX_SIZEOF_DATA_PTR "8")
|
||||
set(CMAKE_CXX_COMPILER_ABI "")
|
||||
set(CMAKE_CXX_BYTE_ORDER "LITTLE_ENDIAN")
|
||||
set(CMAKE_CXX_LIBRARY_ARCHITECTURE "")
|
||||
|
||||
if(CMAKE_CXX_SIZEOF_DATA_PTR)
|
||||
set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
|
||||
endif()
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ABI)
|
||||
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
|
||||
endif()
|
||||
|
||||
if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
|
||||
set(CMAKE_LIBRARY_ARCHITECTURE "")
|
||||
endif()
|
||||
|
||||
set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "")
|
||||
if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
|
||||
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
|
||||
endif()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/usr/include/c++/v1;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/16/include;/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/usr/include;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include")
|
||||
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "")
|
||||
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "")
|
||||
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
@ -0,0 +1,15 @@
|
||||
set(CMAKE_HOST_SYSTEM "Darwin-24.4.0")
|
||||
set(CMAKE_HOST_SYSTEM_NAME "Darwin")
|
||||
set(CMAKE_HOST_SYSTEM_VERSION "24.4.0")
|
||||
set(CMAKE_HOST_SYSTEM_PROCESSOR "arm64")
|
||||
|
||||
|
||||
|
||||
set(CMAKE_SYSTEM "iOS")
|
||||
set(CMAKE_SYSTEM_NAME "iOS")
|
||||
set(CMAKE_SYSTEM_VERSION "")
|
||||
set(CMAKE_SYSTEM_PROCESSOR "")
|
||||
|
||||
set(CMAKE_CROSSCOMPILING "TRUE")
|
||||
|
||||
set(CMAKE_SYSTEM_LOADED 1)
|
@ -0,0 +1,838 @@
|
||||
#ifdef __cplusplus
|
||||
# error "A C++ compiler has been selected for C."
|
||||
#endif
|
||||
|
||||
#if defined(__18CXX)
|
||||
# define ID_VOID_MAIN
|
||||
#endif
|
||||
#if defined(__CLASSIC_C__)
|
||||
/* cv-qualifiers did not exist in K&R C */
|
||||
# define const
|
||||
# define volatile
|
||||
#endif
|
||||
|
||||
#if !defined(__has_include)
|
||||
/* If the compiler does not have __has_include, pretend the answer is
|
||||
always no. */
|
||||
# define __has_include(x) 0
|
||||
#endif
|
||||
|
||||
|
||||
/* Version number components: V=Version, R=Revision, P=Patch
|
||||
Version date components: YYYY=Year, MM=Month, DD=Day */
|
||||
|
||||
#if defined(__INTEL_COMPILER) || defined(__ICC)
|
||||
# define COMPILER_ID "Intel"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
# if defined(__GNUC__)
|
||||
# define SIMULATE_ID "GNU"
|
||||
# endif
|
||||
/* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
|
||||
except that a few beta releases use the old format with V=2021. */
|
||||
# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
|
||||
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
|
||||
# if defined(__INTEL_COMPILER_UPDATE)
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
|
||||
# else
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
|
||||
# endif
|
||||
# else
|
||||
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
|
||||
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
|
||||
/* The third version component from --version is an update index,
|
||||
but no macro is provided for it. */
|
||||
# define COMPILER_VERSION_PATCH DEC(0)
|
||||
# endif
|
||||
# if defined(__INTEL_COMPILER_BUILD_DATE)
|
||||
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
|
||||
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
|
||||
# endif
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
# if defined(__GNUC__)
|
||||
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
||||
# elif defined(__GNUG__)
|
||||
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
|
||||
# endif
|
||||
# if defined(__GNUC_MINOR__)
|
||||
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||
# endif
|
||||
# if defined(__GNUC_PATCHLEVEL__)
|
||||
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
|
||||
# define COMPILER_ID "IntelLLVM"
|
||||
#if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
#endif
|
||||
#if defined(__GNUC__)
|
||||
# define SIMULATE_ID "GNU"
|
||||
#endif
|
||||
/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
|
||||
* later. Look for 6 digit vs. 8 digit version number to decide encoding.
|
||||
* VVVV is no smaller than the current year when a version is released.
|
||||
*/
|
||||
#if __INTEL_LLVM_COMPILER < 1000000L
|
||||
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
|
||||
#else
|
||||
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
|
||||
#endif
|
||||
#if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
#endif
|
||||
#if defined(__GNUC__)
|
||||
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
||||
#elif defined(__GNUG__)
|
||||
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
|
||||
#endif
|
||||
#if defined(__GNUC_MINOR__)
|
||||
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||
#endif
|
||||
#if defined(__GNUC_PATCHLEVEL__)
|
||||
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||
#endif
|
||||
|
||||
#elif defined(__PATHCC__)
|
||||
# define COMPILER_ID "PathScale"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
|
||||
# if defined(__PATHCC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
|
||||
# define COMPILER_ID "Embarcadero"
|
||||
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
|
||||
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
|
||||
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
|
||||
|
||||
#elif defined(__BORLANDC__)
|
||||
# define COMPILER_ID "Borland"
|
||||
/* __BORLANDC__ = 0xVRR */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
|
||||
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
|
||||
|
||||
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
|
||||
# define COMPILER_ID "Watcom"
|
||||
/* __WATCOMC__ = VVRR */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||
# if (__WATCOMC__ % 10) > 0
|
||||
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# define COMPILER_ID "OpenWatcom"
|
||||
/* __WATCOMC__ = VVRP + 1100 */
|
||||
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||
# if (__WATCOMC__ % 10) > 0
|
||||
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(__SUNPRO_C)
|
||||
# define COMPILER_ID "SunPro"
|
||||
# if __SUNPRO_C >= 0x5100
|
||||
/* __SUNPRO_C = 0xVRRP */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
|
||||
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
|
||||
# else
|
||||
/* __SUNPRO_CC = 0xVRP */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
|
||||
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
|
||||
# endif
|
||||
|
||||
#elif defined(__HP_cc)
|
||||
# define COMPILER_ID "HP"
|
||||
/* __HP_cc = VVRRPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
|
||||
|
||||
#elif defined(__DECC)
|
||||
# define COMPILER_ID "Compaq"
|
||||
/* __DECC_VER = VVRRTPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
|
||||
|
||||
#elif defined(__IBMC__) && defined(__COMPILER_VER__)
|
||||
# define COMPILER_ID "zOS"
|
||||
/* __IBMC__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||
|
||||
#elif defined(__open_xl__) && defined(__clang__)
|
||||
# define COMPILER_ID "IBMClang"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__open_xl_release__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__)
|
||||
# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__)
|
||||
|
||||
|
||||
#elif defined(__ibmxl__) && defined(__clang__)
|
||||
# define COMPILER_ID "XLClang"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
|
||||
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
|
||||
|
||||
|
||||
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800
|
||||
# define COMPILER_ID "XL"
|
||||
/* __IBMC__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||
|
||||
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
|
||||
# define COMPILER_ID "VisualAge"
|
||||
/* __IBMC__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||
|
||||
#elif defined(__NVCOMPILER)
|
||||
# define COMPILER_ID "NVHPC"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
|
||||
# if defined(__NVCOMPILER_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(__PGI)
|
||||
# define COMPILER_ID "PGI"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
|
||||
# if defined(__PGIC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(_CRAYC)
|
||||
# define COMPILER_ID "Cray"
|
||||
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
|
||||
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
|
||||
|
||||
#elif defined(__TI_COMPILER_VERSION__)
|
||||
# define COMPILER_ID "TI"
|
||||
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
|
||||
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
|
||||
|
||||
#elif defined(__CLANG_FUJITSU)
|
||||
# define COMPILER_ID "FujitsuClang"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
|
||||
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
|
||||
|
||||
|
||||
#elif defined(__FUJITSU)
|
||||
# define COMPILER_ID "Fujitsu"
|
||||
# if defined(__FCC_version__)
|
||||
# define COMPILER_VERSION __FCC_version__
|
||||
# elif defined(__FCC_major__)
|
||||
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
|
||||
# endif
|
||||
# if defined(__fcc_version)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
|
||||
# elif defined(__FCC_VERSION)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
|
||||
# endif
|
||||
|
||||
|
||||
#elif defined(__ghs__)
|
||||
# define COMPILER_ID "GHS"
|
||||
/* __GHS_VERSION_NUMBER = VVVVRP */
|
||||
# ifdef __GHS_VERSION_NUMBER
|
||||
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(__TINYC__)
|
||||
# define COMPILER_ID "TinyCC"
|
||||
|
||||
#elif defined(__BCC__)
|
||||
# define COMPILER_ID "Bruce"
|
||||
|
||||
#elif defined(__SCO_VERSION__)
|
||||
# define COMPILER_ID "SCO"
|
||||
|
||||
#elif defined(__ARMCC_VERSION) && !defined(__clang__)
|
||||
# define COMPILER_ID "ARMCC"
|
||||
#if __ARMCC_VERSION >= 1000000
|
||||
/* __ARMCC_VERSION = VRRPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||
#else
|
||||
/* __ARMCC_VERSION = VRPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||
#endif
|
||||
|
||||
|
||||
#elif defined(__clang__) && defined(__apple_build_version__)
|
||||
# define COMPILER_ID "AppleClang"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
|
||||
|
||||
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
|
||||
# define COMPILER_ID "ARMClang"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
|
||||
|
||||
#elif defined(__clang__)
|
||||
# define COMPILER_ID "Clang"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
|
||||
#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__))
|
||||
# define COMPILER_ID "LCC"
|
||||
# define COMPILER_VERSION_MAJOR DEC(1)
|
||||
# if defined(__LCC__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__LCC__- 100)
|
||||
# endif
|
||||
# if defined(__LCC_MINOR__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__)
|
||||
# endif
|
||||
# if defined(__GNUC__) && defined(__GNUC_MINOR__)
|
||||
# define SIMULATE_ID "GNU"
|
||||
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
||||
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||
# if defined(__GNUC_PATCHLEVEL__)
|
||||
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||
# endif
|
||||
# endif
|
||||
|
||||
#elif defined(__GNUC__)
|
||||
# define COMPILER_ID "GNU"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
|
||||
# if defined(__GNUC_MINOR__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||
# endif
|
||||
# if defined(__GNUC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(_MSC_VER)
|
||||
# define COMPILER_ID "MSVC"
|
||||
/* _MSC_VER = VVRR */
|
||||
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# if defined(_MSC_FULL_VER)
|
||||
# if _MSC_VER >= 1400
|
||||
/* _MSC_FULL_VER = VVRRPPPPP */
|
||||
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
|
||||
# else
|
||||
/* _MSC_FULL_VER = VVRRPPPP */
|
||||
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
|
||||
# endif
|
||||
# endif
|
||||
# if defined(_MSC_BUILD)
|
||||
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
|
||||
# endif
|
||||
|
||||
#elif defined(_ADI_COMPILER)
|
||||
# define COMPILER_ID "ADSP"
|
||||
#if defined(__VERSIONNUM__)
|
||||
/* __VERSIONNUM__ = 0xVVRRPPTT */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF)
|
||||
# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF)
|
||||
# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF)
|
||||
# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF)
|
||||
#endif
|
||||
|
||||
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||
# define COMPILER_ID "IAR"
|
||||
# if defined(__VER__) && defined(__ICCARM__)
|
||||
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
|
||||
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
||||
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
|
||||
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
|
||||
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
||||
# endif
|
||||
|
||||
#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC)
|
||||
# define COMPILER_ID "SDCC"
|
||||
# if defined(__SDCC_VERSION_MAJOR)
|
||||
# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR)
|
||||
# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR)
|
||||
# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH)
|
||||
# else
|
||||
/* SDCC = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(SDCC/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(SDCC % 10)
|
||||
# endif
|
||||
|
||||
|
||||
/* These compilers are either not known or too old to define an
|
||||
identification macro. Try to identify the platform and guess that
|
||||
it is the native compiler. */
|
||||
#elif defined(__hpux) || defined(__hpua)
|
||||
# define COMPILER_ID "HP"
|
||||
|
||||
#else /* unknown compiler */
|
||||
# define COMPILER_ID ""
|
||||
#endif
|
||||
|
||||
/* Construct the string literal in pieces to prevent the source from
|
||||
getting matched. Store it in a pointer rather than an array
|
||||
because some compilers will just produce instructions to fill the
|
||||
array rather than assigning a pointer to a static array. */
|
||||
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
|
||||
#ifdef SIMULATE_ID
|
||||
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
|
||||
#endif
|
||||
|
||||
#ifdef __QNXNTO__
|
||||
char const* qnxnto = "INFO" ":" "qnxnto[]";
|
||||
#endif
|
||||
|
||||
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
|
||||
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
|
||||
#endif
|
||||
|
||||
#define STRINGIFY_HELPER(X) #X
|
||||
#define STRINGIFY(X) STRINGIFY_HELPER(X)
|
||||
|
||||
/* Identify known platforms by name. */
|
||||
#if defined(__linux) || defined(__linux__) || defined(linux)
|
||||
# define PLATFORM_ID "Linux"
|
||||
|
||||
#elif defined(__MSYS__)
|
||||
# define PLATFORM_ID "MSYS"
|
||||
|
||||
#elif defined(__CYGWIN__)
|
||||
# define PLATFORM_ID "Cygwin"
|
||||
|
||||
#elif defined(__MINGW32__)
|
||||
# define PLATFORM_ID "MinGW"
|
||||
|
||||
#elif defined(__APPLE__)
|
||||
# define PLATFORM_ID "Darwin"
|
||||
|
||||
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
|
||||
# define PLATFORM_ID "Windows"
|
||||
|
||||
#elif defined(__FreeBSD__) || defined(__FreeBSD)
|
||||
# define PLATFORM_ID "FreeBSD"
|
||||
|
||||
#elif defined(__NetBSD__) || defined(__NetBSD)
|
||||
# define PLATFORM_ID "NetBSD"
|
||||
|
||||
#elif defined(__OpenBSD__) || defined(__OPENBSD)
|
||||
# define PLATFORM_ID "OpenBSD"
|
||||
|
||||
#elif defined(__sun) || defined(sun)
|
||||
# define PLATFORM_ID "SunOS"
|
||||
|
||||
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
||||
# define PLATFORM_ID "AIX"
|
||||
|
||||
#elif defined(__hpux) || defined(__hpux__)
|
||||
# define PLATFORM_ID "HP-UX"
|
||||
|
||||
#elif defined(__HAIKU__)
|
||||
# define PLATFORM_ID "Haiku"
|
||||
|
||||
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
|
||||
# define PLATFORM_ID "BeOS"
|
||||
|
||||
#elif defined(__QNX__) || defined(__QNXNTO__)
|
||||
# define PLATFORM_ID "QNX"
|
||||
|
||||
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
|
||||
# define PLATFORM_ID "Tru64"
|
||||
|
||||
#elif defined(__riscos) || defined(__riscos__)
|
||||
# define PLATFORM_ID "RISCos"
|
||||
|
||||
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
|
||||
# define PLATFORM_ID "SINIX"
|
||||
|
||||
#elif defined(__UNIX_SV__)
|
||||
# define PLATFORM_ID "UNIX_SV"
|
||||
|
||||
#elif defined(__bsdos__)
|
||||
# define PLATFORM_ID "BSDOS"
|
||||
|
||||
#elif defined(_MPRAS) || defined(MPRAS)
|
||||
# define PLATFORM_ID "MP-RAS"
|
||||
|
||||
#elif defined(__osf) || defined(__osf__)
|
||||
# define PLATFORM_ID "OSF1"
|
||||
|
||||
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
|
||||
# define PLATFORM_ID "SCO_SV"
|
||||
|
||||
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
|
||||
# define PLATFORM_ID "ULTRIX"
|
||||
|
||||
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
|
||||
# define PLATFORM_ID "Xenix"
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# if defined(__LINUX__)
|
||||
# define PLATFORM_ID "Linux"
|
||||
|
||||
# elif defined(__DOS__)
|
||||
# define PLATFORM_ID "DOS"
|
||||
|
||||
# elif defined(__OS2__)
|
||||
# define PLATFORM_ID "OS2"
|
||||
|
||||
# elif defined(__WINDOWS__)
|
||||
# define PLATFORM_ID "Windows3x"
|
||||
|
||||
# elif defined(__VXWORKS__)
|
||||
# define PLATFORM_ID "VxWorks"
|
||||
|
||||
# else /* unknown platform */
|
||||
# define PLATFORM_ID
|
||||
# endif
|
||||
|
||||
#elif defined(__INTEGRITY)
|
||||
# if defined(INT_178B)
|
||||
# define PLATFORM_ID "Integrity178"
|
||||
|
||||
# else /* regular Integrity */
|
||||
# define PLATFORM_ID "Integrity"
|
||||
# endif
|
||||
|
||||
# elif defined(_ADI_COMPILER)
|
||||
# define PLATFORM_ID "ADSP"
|
||||
|
||||
#else /* unknown platform */
|
||||
# define PLATFORM_ID
|
||||
|
||||
#endif
|
||||
|
||||
/* For windows compilers MSVC and Intel we can determine
|
||||
the architecture of the compiler being used. This is because
|
||||
the compilers do not have flags that can change the architecture,
|
||||
but rather depend on which compiler is being used
|
||||
*/
|
||||
#if defined(_WIN32) && defined(_MSC_VER)
|
||||
# if defined(_M_IA64)
|
||||
# define ARCHITECTURE_ID "IA64"
|
||||
|
||||
# elif defined(_M_ARM64EC)
|
||||
# define ARCHITECTURE_ID "ARM64EC"
|
||||
|
||||
# elif defined(_M_X64) || defined(_M_AMD64)
|
||||
# define ARCHITECTURE_ID "x64"
|
||||
|
||||
# elif defined(_M_IX86)
|
||||
# define ARCHITECTURE_ID "X86"
|
||||
|
||||
# elif defined(_M_ARM64)
|
||||
# define ARCHITECTURE_ID "ARM64"
|
||||
|
||||
# elif defined(_M_ARM)
|
||||
# if _M_ARM == 4
|
||||
# define ARCHITECTURE_ID "ARMV4I"
|
||||
# elif _M_ARM == 5
|
||||
# define ARCHITECTURE_ID "ARMV5I"
|
||||
# else
|
||||
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
|
||||
# endif
|
||||
|
||||
# elif defined(_M_MIPS)
|
||||
# define ARCHITECTURE_ID "MIPS"
|
||||
|
||||
# elif defined(_M_SH)
|
||||
# define ARCHITECTURE_ID "SHx"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# if defined(_M_I86)
|
||||
# define ARCHITECTURE_ID "I86"
|
||||
|
||||
# elif defined(_M_IX86)
|
||||
# define ARCHITECTURE_ID "X86"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||
# if defined(__ICCARM__)
|
||||
# define ARCHITECTURE_ID "ARM"
|
||||
|
||||
# elif defined(__ICCRX__)
|
||||
# define ARCHITECTURE_ID "RX"
|
||||
|
||||
# elif defined(__ICCRH850__)
|
||||
# define ARCHITECTURE_ID "RH850"
|
||||
|
||||
# elif defined(__ICCRL78__)
|
||||
# define ARCHITECTURE_ID "RL78"
|
||||
|
||||
# elif defined(__ICCRISCV__)
|
||||
# define ARCHITECTURE_ID "RISCV"
|
||||
|
||||
# elif defined(__ICCAVR__)
|
||||
# define ARCHITECTURE_ID "AVR"
|
||||
|
||||
# elif defined(__ICC430__)
|
||||
# define ARCHITECTURE_ID "MSP430"
|
||||
|
||||
# elif defined(__ICCV850__)
|
||||
# define ARCHITECTURE_ID "V850"
|
||||
|
||||
# elif defined(__ICC8051__)
|
||||
# define ARCHITECTURE_ID "8051"
|
||||
|
||||
# elif defined(__ICCSTM8__)
|
||||
# define ARCHITECTURE_ID "STM8"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__ghs__)
|
||||
# if defined(__PPC64__)
|
||||
# define ARCHITECTURE_ID "PPC64"
|
||||
|
||||
# elif defined(__ppc__)
|
||||
# define ARCHITECTURE_ID "PPC"
|
||||
|
||||
# elif defined(__ARM__)
|
||||
# define ARCHITECTURE_ID "ARM"
|
||||
|
||||
# elif defined(__x86_64__)
|
||||
# define ARCHITECTURE_ID "x64"
|
||||
|
||||
# elif defined(__i386__)
|
||||
# define ARCHITECTURE_ID "X86"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__TI_COMPILER_VERSION__)
|
||||
# if defined(__TI_ARM__)
|
||||
# define ARCHITECTURE_ID "ARM"
|
||||
|
||||
# elif defined(__MSP430__)
|
||||
# define ARCHITECTURE_ID "MSP430"
|
||||
|
||||
# elif defined(__TMS320C28XX__)
|
||||
# define ARCHITECTURE_ID "TMS320C28x"
|
||||
|
||||
# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
|
||||
# define ARCHITECTURE_ID "TMS320C6x"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
# elif defined(__ADSPSHARC__)
|
||||
# define ARCHITECTURE_ID "SHARC"
|
||||
|
||||
# elif defined(__ADSPBLACKFIN__)
|
||||
# define ARCHITECTURE_ID "Blackfin"
|
||||
|
||||
#else
|
||||
# define ARCHITECTURE_ID
|
||||
#endif
|
||||
|
||||
/* Convert integer to decimal digit literals. */
|
||||
#define DEC(n) \
|
||||
('0' + (((n) / 10000000)%10)), \
|
||||
('0' + (((n) / 1000000)%10)), \
|
||||
('0' + (((n) / 100000)%10)), \
|
||||
('0' + (((n) / 10000)%10)), \
|
||||
('0' + (((n) / 1000)%10)), \
|
||||
('0' + (((n) / 100)%10)), \
|
||||
('0' + (((n) / 10)%10)), \
|
||||
('0' + ((n) % 10))
|
||||
|
||||
/* Convert integer to hex digit literals. */
|
||||
#define HEX(n) \
|
||||
('0' + ((n)>>28 & 0xF)), \
|
||||
('0' + ((n)>>24 & 0xF)), \
|
||||
('0' + ((n)>>20 & 0xF)), \
|
||||
('0' + ((n)>>16 & 0xF)), \
|
||||
('0' + ((n)>>12 & 0xF)), \
|
||||
('0' + ((n)>>8 & 0xF)), \
|
||||
('0' + ((n)>>4 & 0xF)), \
|
||||
('0' + ((n) & 0xF))
|
||||
|
||||
/* Construct a string literal encoding the version number. */
|
||||
#ifdef COMPILER_VERSION
|
||||
char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
|
||||
|
||||
/* Construct a string literal encoding the version number components. */
|
||||
#elif defined(COMPILER_VERSION_MAJOR)
|
||||
char const info_version[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
|
||||
COMPILER_VERSION_MAJOR,
|
||||
# ifdef COMPILER_VERSION_MINOR
|
||||
'.', COMPILER_VERSION_MINOR,
|
||||
# ifdef COMPILER_VERSION_PATCH
|
||||
'.', COMPILER_VERSION_PATCH,
|
||||
# ifdef COMPILER_VERSION_TWEAK
|
||||
'.', COMPILER_VERSION_TWEAK,
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
']','\0'};
|
||||
#endif
|
||||
|
||||
/* Construct a string literal encoding the internal version number. */
|
||||
#ifdef COMPILER_VERSION_INTERNAL
|
||||
char const info_version_internal[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
|
||||
'i','n','t','e','r','n','a','l','[',
|
||||
COMPILER_VERSION_INTERNAL,']','\0'};
|
||||
#elif defined(COMPILER_VERSION_INTERNAL_STR)
|
||||
char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
|
||||
#endif
|
||||
|
||||
/* Construct a string literal encoding the version number components. */
|
||||
#ifdef SIMULATE_VERSION_MAJOR
|
||||
char const info_simulate_version[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
|
||||
SIMULATE_VERSION_MAJOR,
|
||||
# ifdef SIMULATE_VERSION_MINOR
|
||||
'.', SIMULATE_VERSION_MINOR,
|
||||
# ifdef SIMULATE_VERSION_PATCH
|
||||
'.', SIMULATE_VERSION_PATCH,
|
||||
# ifdef SIMULATE_VERSION_TWEAK
|
||||
'.', SIMULATE_VERSION_TWEAK,
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
']','\0'};
|
||||
#endif
|
||||
|
||||
/* Construct the string literal in pieces to prevent the source from
|
||||
getting matched. Store it in a pointer rather than an array
|
||||
because some compilers will just produce instructions to fill the
|
||||
array rather than assigning a pointer to a static array. */
|
||||
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
|
||||
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
|
||||
|
||||
|
||||
|
||||
#if !defined(__STDC__) && !defined(__clang__)
|
||||
# if defined(_MSC_VER) || defined(__ibmxl__) || defined(__IBMC__)
|
||||
# define C_VERSION "90"
|
||||
# else
|
||||
# define C_VERSION
|
||||
# endif
|
||||
#elif __STDC_VERSION__ > 201710L
|
||||
# define C_VERSION "23"
|
||||
#elif __STDC_VERSION__ >= 201710L
|
||||
# define C_VERSION "17"
|
||||
#elif __STDC_VERSION__ >= 201000L
|
||||
# define C_VERSION "11"
|
||||
#elif __STDC_VERSION__ >= 199901L
|
||||
# define C_VERSION "99"
|
||||
#else
|
||||
# define C_VERSION "90"
|
||||
#endif
|
||||
const char* info_language_standard_default =
|
||||
"INFO" ":" "standard_default[" C_VERSION "]";
|
||||
|
||||
const char* info_language_extensions_default = "INFO" ":" "extensions_default["
|
||||
#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \
|
||||
defined(__TI_COMPILER_VERSION__)) && \
|
||||
!defined(__STRICT_ANSI__)
|
||||
"ON"
|
||||
#else
|
||||
"OFF"
|
||||
#endif
|
||||
"]";
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
#ifdef ID_VOID_MAIN
|
||||
void main() {}
|
||||
#else
|
||||
# if defined(__CLASSIC_C__)
|
||||
int main(argc, argv) int argc; char *argv[];
|
||||
# else
|
||||
int main(int argc, char* argv[])
|
||||
# endif
|
||||
{
|
||||
int require = 0;
|
||||
require += info_compiler[argc];
|
||||
require += info_platform[argc];
|
||||
require += info_arch[argc];
|
||||
#ifdef COMPILER_VERSION_MAJOR
|
||||
require += info_version[argc];
|
||||
#endif
|
||||
#ifdef COMPILER_VERSION_INTERNAL
|
||||
require += info_version_internal[argc];
|
||||
#endif
|
||||
#ifdef SIMULATE_ID
|
||||
require += info_simulate[argc];
|
||||
#endif
|
||||
#ifdef SIMULATE_VERSION_MAJOR
|
||||
require += info_simulate_version[argc];
|
||||
#endif
|
||||
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
|
||||
require += info_cray[argc];
|
||||
#endif
|
||||
require += info_language_standard_default[argc];
|
||||
require += info_language_extensions_default[argc];
|
||||
(void)argv;
|
||||
return require;
|
||||
}
|
||||
#endif
|
@ -0,0 +1 @@
|
||||
{"case-sensitive":"false","roots":[],"version":0}
|
@ -0,0 +1 @@
|
||||
-target arm64-apple-ios18.2 -fpascal-strings -Os -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk -g -iquote /Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/build/ios/proj/CMakeFiles/3.24.3/CompilerIdC/CompilerIdC.build/Debug-iphoneos/CompilerIdC.build/CompilerIdC-generated-files.hmap -I/Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/build/ios/proj/CMakeFiles/3.24.3/CompilerIdC/CompilerIdC.build/Debug-iphoneos/CompilerIdC.build/CompilerIdC-own-target-headers.hmap -I/Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/build/ios/proj/CMakeFiles/3.24.3/CompilerIdC/CompilerIdC.build/Debug-iphoneos/CompilerIdC.build/CompilerIdC-all-target-headers.hmap -iquote /Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/build/ios/proj/CMakeFiles/3.24.3/CompilerIdC/CompilerIdC.build/Debug-iphoneos/CompilerIdC.build/CompilerIdC-project-headers.hmap -I/Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/build/ios/proj/CMakeFiles/3.24.3/CompilerIdC/include -I/Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/build/ios/proj/CMakeFiles/3.24.3/CompilerIdC/CompilerIdC.build/Debug-iphoneos/CompilerIdC.build/DerivedSources-normal/arm64 -I/Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/build/ios/proj/CMakeFiles/3.24.3/CompilerIdC/CompilerIdC.build/Debug-iphoneos/CompilerIdC.build/DerivedSources/arm64 -I/Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/build/ios/proj/CMakeFiles/3.24.3/CompilerIdC/CompilerIdC.build/Debug-iphoneos/CompilerIdC.build/DerivedSources -F/Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/build/ios/proj/CMakeFiles/3.24.3/CompilerIdC -iframework /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/Developer/Library/Frameworks
|
@ -0,0 +1,2 @@
|
||||
dependencies: \
|
||||
/Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/build/ios/proj/CMakeFiles/3.24.3/CompilerIdC/CMakeCCompilerId.c
|
@ -0,0 +1 @@
|
||||
/Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/build/ios/proj/CMakeFiles/3.24.3/CompilerIdC/CompilerIdC.build/Debug-iphoneos/CompilerIdC.build/Objects-normal/arm64/CMakeCCompilerId.o
|
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
echo "GCC_VERSION=$GCC_VERSION" ; echo "ARCHS=$ARCHS"
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict/>
|
||||
</plist>
|
@ -0,0 +1,116 @@
|
||||
// !$*UTF8*$!
|
||||
{
|
||||
archiveVersion = 1;
|
||||
classes = {
|
||||
};
|
||||
objectVersion = 45;
|
||||
objects = {
|
||||
|
||||
2C18F0B615DC1E0300593670 = {isa = PBXBuildFile; fileRef = 2C18F0B415DC1DC700593670; };
|
||||
2C18F0B415DC1DC700593670 = {isa = PBXFileReference; fileEncoding = 4; explicitFileType = sourcecode.c.c; path = CMakeCCompilerId.c; sourceTree = "<group>"; };
|
||||
08FB7794FE84155DC02AAC07 = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
2C18F0B415DC1DC700593670,
|
||||
);
|
||||
name = CompilerIdC;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
8DD76FA90486AB0100D96B5E = {
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = 1DEB928508733DD80010E9CD;
|
||||
buildPhases = (
|
||||
2C18F0B515DC1DCE00593670,
|
||||
2C8FEB8E15DC1A1A00E56A5D,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
);
|
||||
name = CompilerIdC;
|
||||
productName = CompilerIdC;
|
||||
productType = "com.apple.product-type.bundle.unit-test";
|
||||
};
|
||||
08FB7793FE84155DC02AAC07 = {
|
||||
isa = PBXProject;
|
||||
buildConfigurationList = 1DEB928908733DD80010E9CD;
|
||||
compatibilityVersion = "Xcode 3.1";
|
||||
developmentRegion = English;
|
||||
hasScannedForEncodings = 1;
|
||||
knownRegions = (
|
||||
en,
|
||||
);
|
||||
mainGroup = 08FB7794FE84155DC02AAC07;
|
||||
projectDirPath = "";
|
||||
projectRoot = "";
|
||||
targets = (
|
||||
8DD76FA90486AB0100D96B5E,
|
||||
);
|
||||
};
|
||||
2C8FEB8E15DC1A1A00E56A5D = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
alwaysOutOfDate = 1;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
inputPaths = (
|
||||
);
|
||||
outputPaths = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "echo \"GCC_VERSION=$GCC_VERSION\" ; echo \"ARCHS=$ARCHS\"";
|
||||
showEnvVarsInLog = 0;
|
||||
};
|
||||
2C18F0B515DC1DCE00593670 = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
2C18F0B615DC1E0300593670,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
1DEB928608733DD80010E9CD = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
CODE_SIGN_IDENTITY = "";
|
||||
PRODUCT_NAME = CompilerIdC;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
1DEB928A08733DD80010E9CD = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
CODE_SIGNING_REQUIRED = NO;
|
||||
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)";
|
||||
GENERATE_INFOPLIST_FILE = YES;
|
||||
SYMROOT = .;
|
||||
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
|
||||
|
||||
|
||||
|
||||
SDKROOT = "iphoneos";
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
1DEB928508733DD80010E9CD = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
1DEB928608733DD80010E9CD,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Debug;
|
||||
};
|
||||
1DEB928908733DD80010E9CD = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
1DEB928A08733DD80010E9CD,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Debug;
|
||||
};
|
||||
};
|
||||
rootObject = 08FB7793FE84155DC02AAC07;
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.apple.xcode.dsym.CompilerIdC.xctest</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>dSYM</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
triple: 'arm64-apple-darwin'
|
||||
binary-path: '/Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/build/ios/proj/CMakeFiles/3.24.3/CompilerIdC/CompilerIdC.xctest/CompilerIdC'
|
||||
relocations: []
|
||||
...
|
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
echo "GCC_VERSION=$GCC_VERSION" ; echo "ARCHS=$ARCHS"
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict/>
|
||||
</plist>
|
@ -0,0 +1 @@
|
||||
{"case-sensitive":"false","roots":[],"version":0}
|
@ -0,0 +1 @@
|
||||
-target arm64-apple-ios18.2 -fpascal-strings -Os -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk -g -iquote /Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/build/ios/proj/CMakeFiles/3.24.3/CompilerIdC/CompilerIdC.build/Debug-iphoneos/CompilerIdC.build/CompilerIdC-generated-files.hmap -I/Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/build/ios/proj/CMakeFiles/3.24.3/CompilerIdC/CompilerIdC.build/Debug-iphoneos/CompilerIdC.build/CompilerIdC-own-target-headers.hmap -I/Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/build/ios/proj/CMakeFiles/3.24.3/CompilerIdC/CompilerIdC.build/Debug-iphoneos/CompilerIdC.build/CompilerIdC-all-target-headers.hmap -iquote /Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/build/ios/proj/CMakeFiles/3.24.3/CompilerIdC/CompilerIdC.build/Debug-iphoneos/CompilerIdC.build/CompilerIdC-project-headers.hmap -I/Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/build/ios/proj/CMakeFiles/3.24.3/CompilerIdC/include -I/Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/build/ios/proj/CMakeFiles/3.24.3/CompilerIdC/CompilerIdC.build/Debug-iphoneos/CompilerIdC.build/DerivedSources-normal/arm64 -I/Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/build/ios/proj/CMakeFiles/3.24.3/CompilerIdC/CompilerIdC.build/Debug-iphoneos/CompilerIdC.build/DerivedSources/arm64 -I/Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/build/ios/proj/CMakeFiles/3.24.3/CompilerIdC/CompilerIdC.build/Debug-iphoneos/CompilerIdC.build/DerivedSources -F/Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/build/ios/proj/CMakeFiles/3.24.3/CompilerIdC -iframework /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk/Developer/Library/Frameworks
|
@ -0,0 +1 @@
|
||||
/Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/build/ios/proj/CMakeFiles/3.24.3/CompilerIdC/CompilerIdC.build/Debug-iphoneos/CompilerIdC.build/Objects-normal/arm64/CMakeCCompilerId.o
|
@ -0,0 +1,39 @@
|
||||
{
|
||||
"buildCommand" : {
|
||||
"command" : "build",
|
||||
"skipDependencies" : false,
|
||||
"style" : "buildAndRun"
|
||||
},
|
||||
"configuredTargets" : [
|
||||
{
|
||||
"guid" : "d9d24303ac0ea36fa2bc7f98aeea5fe33f938c03aee3f24af46a5caa592e362d"
|
||||
}
|
||||
],
|
||||
"containerPath" : "/Users/sreeraj/WorkSpace/Projects/GameUploadDocuments/4.CricMania/Builds/SDK_COCOS/CricMania/CricMania/build/ios/proj/CMakeFiles/3.24.3/CompilerIdC/CompilerIdC.xcodeproj",
|
||||
"continueBuildingAfterErrors" : false,
|
||||
"dependencyScope" : "workspace",
|
||||
"enableIndexBuildArena" : false,
|
||||
"hideShellScriptEnvironment" : false,
|
||||
"parameters" : {
|
||||
"action" : "build",
|
||||
"overrides" : {
|
||||
"commandLine" : {
|
||||
"table" : {
|
||||
|
||||
}
|
||||
},
|
||||
"synthesized" : {
|
||||
"table" : {
|
||||
"ACTION" : "build",
|
||||
"ENABLE_PREVIEWS" : "NO",
|
||||
"ENABLE_XOJIT_PREVIEWS" : "NO"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"showNonLoggedProgress" : true,
|
||||
"useDryRun" : false,
|
||||
"useImplicitDependencies" : false,
|
||||
"useLegacyBuildLocations" : false,
|
||||
"useParallelTargets" : false
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
Target dependency graph (1 target)
|
||||
Target 'CompilerIdC' in project 'CompilerIdC' (no dependencies)
|