summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomsmeding <hallo@tomsmeding.nl>2015-10-23 13:37:29 +0200
committertomsmeding <hallo@tomsmeding.nl>2015-10-23 13:37:29 +0200
commitb3f444859d30a7a4aff03fe97ff51009a46f9437 (patch)
treec01061a035c4972dff81cbbf6ac0667ace7a77aa
parent51ef2f5b93bf1ca2c45a4a6e96ac6dbabd021844 (diff)
hoi
-rw-r--r--_player_mcb.cpp1
-rw-r--r--_player_mcmaxb.cpp1
-rw-r--r--interactor/common.js3
-rw-r--r--player_mcwin.cpp1
4 files changed, 6 insertions, 0 deletions
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 <iostream>
#include <string>
+#include <climits>
#include <sys/time.h>
#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 <iostream>
#include <string>
+#include <climits>
#include <sys/time.h>
#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 <iostream>
#include <string>
+#include <climits>
#include <sys/time.h>
#include "common.h"