From b3f444859d30a7a4aff03fe97ff51009a46f9437 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Fri, 23 Oct 2015 13:37:29 +0200 Subject: hoi --- _player_mcb.cpp | 1 + _player_mcmaxb.cpp | 1 + interactor/common.js | 3 +++ player_mcwin.cpp | 1 + 4 files changed, 6 insertions(+) diff --git a/_player_mcb.cpp b/_player_mcb.cpp index 8e91eb3..4b66abf 100644 --- a/_player_mcb.cpp +++ b/_player_mcb.cpp @@ -1,5 +1,6 @@ #include #include +#include #include #include "common.h" diff --git a/_player_mcmaxb.cpp b/_player_mcmaxb.cpp index 4148ba5..40ba674 100644 --- a/_player_mcmaxb.cpp +++ b/_player_mcmaxb.cpp @@ -1,5 +1,6 @@ #include #include +#include #include #include "common.h" diff --git a/interactor/common.js b/interactor/common.js index dbc3484..65313ce 100644 --- a/interactor/common.js +++ b/interactor/common.js @@ -41,3 +41,6 @@ function stabilise(bd){ } while(changes); return bd; } + + +Array.prototype.fill=Array.prototype.fill||function(t){if(null==this)throw new TypeError("this is null or not defined");for(var r=Object(this),n=r.length>>>0,i=arguments[1],a=i>>0,e=0>a?Math.max(n+a,0):Math.min(a,n),o=arguments[2],h=void 0===o?n:o>>0,l=0>h?Math.max(n+h,0):Math.min(h,n);l>e;)r[e]=t,e++;return r}; diff --git a/player_mcwin.cpp b/player_mcwin.cpp index 1306f92..ab8ee5f 100644 --- a/player_mcwin.cpp +++ b/player_mcwin.cpp @@ -1,5 +1,6 @@ #include #include +#include #include #include "common.h" -- cgit v1.2.3-70-g09d2