This commit is contained in:
parent
1b1b69dce4
commit
44450a9ef0
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('card',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('card',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'extra',
|
||||
connect:true,
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('card',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('card',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'gujian',
|
||||
card:{
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('card',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('card',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'guozhan',
|
||||
connect:true,
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('card',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('card',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'hearth',
|
||||
card:{
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('card',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('card',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'sp',
|
||||
connect:true,
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('card',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('card',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'standard',
|
||||
connect:true,
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('card',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('card',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'swd',
|
||||
card:{
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('card',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('card',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'yunchou',
|
||||
card:{
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('card',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('card',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'zhenfa',
|
||||
card:{
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('character',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('character',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'diy',
|
||||
character:{
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('character',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('character',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'extra',
|
||||
character:{
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('character',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('character',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'gujian',
|
||||
character:{
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('character',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('character',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'gwent',
|
||||
character:{
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('character',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('character',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'hearth',
|
||||
character:{
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('character',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('character',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'jiange',
|
||||
character:{
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('character',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('character',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'old',
|
||||
character:{
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('character',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('character',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'ow',
|
||||
character:{
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('character',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('character',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'refresh',
|
||||
connect:true,
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('character',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('character',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'shenhua',
|
||||
connect:true,
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('character',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('character',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'sp',
|
||||
connect:true,
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('character',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('character',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'standard',
|
||||
connect:true,
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('character',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('character',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'swd',
|
||||
character:{
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('character',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('character',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'xiake',
|
||||
character:{
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('character',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('character',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'xianjian',
|
||||
character:{
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('character',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('character',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'yijiang',
|
||||
connect:true,
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('character',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('character',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'yxs',
|
||||
character:{
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('character',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('character',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'zhuogui',
|
||||
character:{
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('play',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('play',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'boss',
|
||||
init:function(){
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('play',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('play',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'cardpile',
|
||||
arenaReady:function(){
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('play',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('play',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'coin',
|
||||
init:function(){
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('play',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('play',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'wuxing',
|
||||
arenaReady:function(){
|
||||
|
|
21
game/game.js
21
game/game.js
|
@ -418,6 +418,12 @@
|
|||
else{
|
||||
map.touchscreen.hide();
|
||||
}
|
||||
if(lib.device||lib.node){
|
||||
map.auto_check_update.show();
|
||||
}
|
||||
else{
|
||||
map.auto_check_update.hide();
|
||||
}
|
||||
if(lib.device){
|
||||
map.enable_vibrate.show();
|
||||
map.keep_awake.show();
|
||||
|
@ -20796,20 +20802,7 @@
|
|||
if(!lib.imported[type]){
|
||||
lib.imported[type]={};
|
||||
}
|
||||
var bool_ui=!window.ui;
|
||||
var bool_get=!window.get;
|
||||
var bool_ai=!window.ai;
|
||||
var bool_lib=!window.lib;
|
||||
window.ui=ui;
|
||||
window.get=get;
|
||||
window.ai=ai;
|
||||
window.lib=lib;
|
||||
window._status=_status;
|
||||
var content2=content();
|
||||
if(bool_ui) delete window.ui;
|
||||
if(bool_get) delete window.get;
|
||||
if(bool_ai) delete window.ai;
|
||||
if(bool_lib) delete window.lib;
|
||||
var content2=content(lib,game,ui,get,ai,_status);
|
||||
if(content2.name){
|
||||
lib.imported[type][content2.name]=content2;
|
||||
delete content2.name;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
window.noname_update={
|
||||
version:'1.9.24.1',
|
||||
version:'1.9.24.2',
|
||||
// update:'1.9.23',
|
||||
changeLog:[
|
||||
'bug修复',
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('mode',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'boss',
|
||||
start:function(){
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('mode',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'brawl',
|
||||
game:{
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('mode',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'chess',
|
||||
canvasUpdates2:[],
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('mode',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'connect',
|
||||
start:function(){
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('mode',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'guozhan',
|
||||
startBefore:function(){
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('mode',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'identity',
|
||||
start:function(){
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('mode',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'realtime',
|
||||
start:function(){
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('mode',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'stone',
|
||||
start:function(){
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('mode',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'tafang',
|
||||
canvasUpdates2:[],
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
'use strict';
|
||||
game.import('mode',function(){
|
||||
var game=window.game;
|
||||
var ui=window.ui;
|
||||
var get=window.get;
|
||||
var ai=window.ai;
|
||||
var lib=window.lib;
|
||||
var _status=window._status;
|
||||
game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||
return {
|
||||
name:'versus',
|
||||
init:function(){
|
||||
|
|
Loading…
Reference in New Issue